WO2020215568A1 - Communication number changing method, apparatus and system, computer device and storage medium - Google Patents

Communication number changing method, apparatus and system, computer device and storage medium Download PDF

Info

Publication number
WO2020215568A1
WO2020215568A1 PCT/CN2019/103341 CN2019103341W WO2020215568A1 WO 2020215568 A1 WO2020215568 A1 WO 2020215568A1 CN 2019103341 W CN2019103341 W CN 2019103341W WO 2020215568 A1 WO2020215568 A1 WO 2020215568A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication number
target application
verification information
server
replacement
Prior art date
Application number
PCT/CN2019/103341
Other languages
French (fr)
Chinese (zh)
Inventor
黄锦伦
沈张锋
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020215568A1 publication Critical patent/WO2020215568A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/18Network architectures or network communication protocols for network security using different networks or channels, e.g. using out of band channels

Definitions

  • This application relates to the field of cloud computing technology, and in particular to a method, device, system, computer equipment, and storage medium for changing communication numbers.
  • a communication number is usually bound to multiple applications or platforms. In some cases, many users want to change the communication number, but because the communication number is bound to more applications or platforms, it is very troublesome to unbind the old communication number and bind the new communication number one by one, and some still need it. Go to the scene to apply. On the other hand, when the user changes the communication number, some applications or platforms have been replaced, and some applications or platforms forgot to replace or did not have time to replace, but the old communication number has been disabled, and there is no way to pass the old one. The communication number is used to obtain the verification code for unbinding operation. In this case, it is very inconvenient to bind a new communication number.
  • the embodiments of the present application provide a method, device, system, computer equipment, and storage medium for changing communication numbers, which can change the communication numbers of multiple target applications at one time, and improve the efficiency of changing communication numbers.
  • an embodiment of the present application provides a method for changing a communication number, which is applied to the server side of a preset replacement platform, the preset replacement platform further includes a client communicating with the server, the client The application is installed on the computer, the method includes:
  • the number replacement request includes the original communication number bound to all applications on the client, the new communication number that needs to be re-bound, and the change binding
  • the number replacement request includes the original communication number bound to all applications on the client, the new communication number that needs to be re-bound, and the change binding
  • the server side of the program so that the server side of the target application program replaces the original communication number with the new communication number according to the verification information; the server side receiving the target application program returns a successful or failed replacement news.
  • another embodiment of the present application provides a method for changing a communication number, which is applied to the server side of a target application, and the method includes:
  • the generated public key is encrypted, where the private key and the public key are a pair of secret keys, and the number replacement request includes the original communication number that has been bound to all applications on the client of the preset replacement platform,
  • the binding new communication number and the verification information required to change the binding use the private key to decrypt the first encrypted data to obtain the original communication number, the new communication number, and the corresponding information for the target application Verification information; according to the original communication number, search for the pre-stored verification information of the original communication number, and determine whether the pre-stored verification information is consistent with the decrypted verification information; if the pre-stored verification information is consistent with the decrypted verification information, the The original communication number corresponding to the target application is replaced with the new decrypted communication number, and a message of successful replacement is sent to the server of the
  • an embodiment of the present application provides a device for changing a communication number.
  • the device for changing a communication number includes: a first input receiving unit configured to receive and save the number replacement input by the user through the client of the preset replacement platform Request, wherein the number replacement request includes the original communication number bound to all applications on the client, the new communication number that needs to be re-bound, and the verification information required to change the binding; the first application determining unit uses According to the original communication number in the number replacement request, the application program matching the original communication number is searched in the database of the preset replacement platform as the target application program; the verification information sending unit is used to send the number replacement request Sent to the server end of the target application so that the server end of the target application replaces the original communication number with the new communication number through the verification message; and a first result receiving unit for receiving all The replacement success or failure message returned by the server of the target application.
  • an embodiment of the present application provides a device for changing a communication number.
  • the device for changing a communication number includes: a verification message receiving unit configured to receive a number replacement request sent by a server of a preset replacement platform; The unit extracts the original communication number, the new communication number and the verification information corresponding to the target application in the number replacement request; the first search and judgment unit is used to search for the verification information pre-stored in the original communication number according to the extracted original communication number, And determine whether the extracted verification information corresponding to the target application program is consistent with the pre-stored verification information corresponding to the original communication number; the first replacement unit is used for if the extracted verification information corresponding to the target application program matches the original communication number The pre-stored verification information corresponding to the number is consistent, and the original communication number of the target application is replaced with the extracted new communication number; and the first result sending unit is used to send the replacement to the server of the preset platform after the replacement is completed A successful message, and if the extracted verification information corresponding to the target application is inconsistent with
  • an embodiment of the present application provides a system for changing a communication number.
  • the system for changing a communication number includes a server side of a preset replacement platform and a server side of at least one target application, wherein the preset The server side of the replacement platform is configured with the communication number replacement device described in the third aspect; the server side of the target application is configured with the communication number replacement device described in the fourth aspect.
  • an embodiment of the present application provides a computer device that includes a memory and a processor connected to the memory; the memory is used to store a computer program; the computer device is applied to a preset replacement platform
  • the preset replacement platform further includes a client communicating with the computer device, an application program is installed on the client, and the processor is configured to run the computer program stored in the memory to execute the first aspect described above The steps of the method for changing the communication number.
  • an embodiment of the present application provides a computer device including a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the computer program stored in the memory , To perform the steps of the method for changing a communication number described in the second aspect.
  • an embodiment of the present application provides a computer-readable storage medium that stores a computer program, and the computer-readable storage medium is applied to the server side of a preset replacement platform. It is assumed that the replacement platform further includes a client communicating with the server, and an application program is installed on the client. When the computer program is executed by the processor, the processor executes the replacement communication number described in the first aspect. Steps of the method.
  • an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the above-mentioned second aspect. The steps described in the method of changing the communication number.
  • FIG. 1 is a sequence diagram of a method for changing a communication number provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of a sequence of a method for changing a communication number provided by another embodiment of the present application.
  • FIG. 3 is a schematic diagram of a sequence of a method for changing a communication number according to another embodiment of the present application.
  • FIG. 4 is a schematic block diagram of a system for changing a communication number provided by an embodiment of the present application.
  • FIG. 5 is a schematic block diagram of a system for changing a communication number provided by another embodiment of the present application.
  • FIG. 6 is a schematic block diagram of a system for changing a communication number provided by another embodiment of the present application.
  • Fig. 7 is a schematic block diagram of a computer device provided by an embodiment of the present application.
  • the client of the preset replacement platform, the server of the preset replacement platform, and the server of the target application are included.
  • the preset replacement platform in the embodiment of the present application includes the client of the preset replacement platform and the server of the preset replacement platform.
  • the communication number replacement system in the embodiment of the present application includes a server end of a preset replacement platform and a server end of a target application program.
  • the preset replacement platform already exists. In some embodiments, if the preset replacement platform does not exist, then the preset replacement platform needs to be developed.
  • the preset replacement platform developed includes a client of the preset replacement platform and a server end of the preset replacement platform.
  • the client of the preset replacement platform includes an input interface for verification information that needs to be entered for all applications to replace communication numbers.
  • the server end of the preset replacement platform is used to process the verification information input by the user through the input interface. In the input interface, you also need to enter the original communication number, the verification code corresponding to the original communication number, and the new communication number to be re-bound. Understandably, actively collect all the verification information that applications need to enter to change the communication number.
  • the verification information includes the mailbox, ID card information (including ID card picture, ID card number), fingerprints, voiceprints, facial images, gesture passwords, videos with predetermined requirements, the original communication number, the The verification code corresponding to the original communication number, the new communication number, etc. Among them, the original communication number, the verification code corresponding to the original communication number, and the new communication number are required.
  • Develop the preset replacement platform based on the verification information that needs to be entered for all the collected applications to replace the communication number. It should be noted that all the applications mentioned in this application do not really refer to all the applications that exist on the market, but rather to the applications that may be bound to the mobile phone number, or the applications that have a high usage rate and exist. The application bound to the mobile phone number.
  • the preset replacement platform Through the preset replacement platform, a unified and safe replacement of communication numbers can be realized. The user only needs to perform one operation on the preset replacement platform to input verification information, and all applications can complete the update of communication numbers.
  • the preset replacement platform can exist in the form of a module, such as in an influential application, or it can also be understood as the preset replacement platform is a part of an application.
  • the preset replacement platform may exist in the form of an APP.
  • the APP may be operated independently or in the form of a small program (the preset replacement platform can be called by other applications). Corresponding applet).
  • Fig. 1 is a sequence diagram of a method for changing a communication number provided by an embodiment of the present application. As shown in Figure 1, the method includes the following steps S101-S109. Among them, steps S101-S103 and S109 run on the server side of the preset replacement platform, and steps S104-S108 run on the server side of the target application.
  • the server side of the preset replacement platform receives and saves the number replacement request entered by the user through the client of the preset replacement platform, where the number replacement request includes the original communication numbers that have been bound to all applications on the client, and The new communication number to be re-bound and the verification information required to change the binding.
  • the user inputs all verification information, the original communication number, the new communication number, etc. of the communication numbers of all applications on the replacement client at a time through the client of the preset replacement platform.
  • the entered verification information includes the verification code corresponding to the original phone.
  • the user's verification code acquisition instruction is received, obtain the original communication number entered by the user through the client of the preset replacement platform; generate a verification code; send the generated verification code through the acquired original communication number To the client; if the user's submission instruction is received, verify that the verification code entered by the user in the submission instruction is consistent with the generated verification code and whether the verification code is valid; if the verification code is consistent and the verification code is valid, then the user in the submission instruction is received Enter the verification information, and save the received verification information; otherwise, prompt the user to re-enter.
  • the server of the preset replacement platform searches the database of the preset replacement platform for the application program matching the original communication number as the target application according to the original communication number in the number replacement request.
  • the database on the server side of the preset replacement platform saves various applications bound to the communication number.
  • the methods for the server side of the preset replacement platform to obtain various applications bound to the communication number may include the following. For example, when a user is using an application, when it needs to bind or enter a communication number, after receiving the user's bound or input communication number, the application server will simultaneously the communication number and the corresponding application The program information is sent to the server side of the preset replacement platform, and the server side of the preset replacement platform saves the communication number and corresponding application program information; for example, the server side of the preset replacement platform regularly obtains it from the server side of various applications The message of the updated communication number; for example, the server side of various applications periodically sends the message of the updated communication number to the server side of the preset replacement platform.
  • the way in which the server of the preset replacement platform obtains the various applications bound to the communication number is not limited, as long as the preset replacement platform saves the communication number and various applications bound to the communication number
  • the server of the preset replacement platform searches the database of the preset replacement platform for the matching application bound to the original communication number according to the original communication number in the received number replacement request, and then queries the matching application As the target application.
  • the application program that has a binding relationship with the queried original communication number is determined as the target application program.
  • the server of the preset replacement platform sends the number replacement request to the server of the target application so that the server of the target application replaces the original communication number with the original communication number according to the verification message. New communication number.
  • step S103 includes: the server side of the preset replacement platform obtains the verification information corresponding to each target application from the verification message according to the target application, and includes the verification information of the target application.
  • the number replacement request corresponding to the verification information is sent to the server end of each target application so that the server end of the target application replaces the original communication number with the new communication according to the verification information corresponding to the target application Number, where the number replacement request is not the verification information required for all applications to change binding, but the verification information corresponding to each target application.
  • the database on the server side of the preset replacement platform stores the type of verification information corresponding to each application, such as email, ID card, fingerprint, voiceprint, face image, gesture password, and video with predetermined requirements. One or more of the other types.
  • the verification information corresponding to different target applications may be different.
  • the verification information in the number replacement request sent to the target application A includes the face image; if the target application The type of verification information required to change the binding corresponding to program B includes voiceprint, and the verification information in the number replacement request sent to target application B includes voiceprint.
  • the verification information required to change the binding of all applications received is automatically assigned to each target application, and the verification information corresponding to each target application is determined. Change the communication number.
  • step S103 includes: sending the number change request to the server side of the target application, so that the server side of the target application extracts the location of the target application according to the verification information. Corresponding verification information, and replacing the original communication number with the new communication number according to the verification information corresponding to the target application.
  • the verification message sent to the server side of each target application includes all the verification information required by the application to change the binding.
  • the target application program automatically determines the verification information corresponding to the target application program after receiving all verification information required by the application program to change the binding.
  • S104 The server end of the target application receives a number replacement request.
  • the server side of the target application extracts the original communication number, the new communication number and the verification information corresponding to the target application in the number replacement request.
  • the verification information corresponding to the target application includes verification information other than the verification code, such as email address, ID card information (including ID card picture, ID number), fingerprints, voiceprints, face images, Gesture password, one or more of the videos with predetermined requirements, etc. If a certain target application only changes the communication number according to the verification code, the verification information corresponding to the target application is empty.
  • the verification information required to change the binding of all applications is automatically allocated, that is, the verification information in the number replacement request includes the verification information corresponding to the target application
  • the "server-side of the target application” in this step Extracting the original communication number, the new communication number and the verification information corresponding to the target application in the number change request" is understood as "the server side of the target application obtains the original communication number, The new communication number and the verification information corresponding to the target application”.
  • the verification information required to change binding of all applications has not been processed, that is, the verification information in the number replacement request includes the verification information required to change binding of all applications
  • the " The server side extracts the original communication number, the new communication number, and the verification information corresponding to the target application in the number replacement request" which is understood to mean that the target application is automatically extracted from the verification information required to change the binding of all applications Verification information corresponding to the program.
  • the server side of the target application extracts the original communication number, the new communication number and the verification information corresponding to the target application in the number replacement request.
  • S106 Search for the verification information pre-stored in the original communication number according to the extracted original communication number, and determine whether the extracted verification information corresponding to the target application program is consistent with the pre-stored verification information corresponding to the original communication number.
  • the verification information corresponding to the target application is empty, and the verification information pre-stored in the original communication number does not exist, then the verification information corresponding to the target application is considered to be consistent with the pre-stored verification information. It can be understood that when many applications change the phone number, they only need to enter the original communication number (some also include verification codes, etc.) and the new communication number, so there is no corresponding verification information.
  • the process of replacing the original communication number in the target application with a new communication number includes the process of unbinding the original communication number and binding the new communication number.
  • the server of the target application sends a message indicating that the replacement is successful to the server of the preset replacement platform, and if the target application is If the corresponding verification information is inconsistent with the pre-stored verification information corresponding to the original communication number, a replacement failure message is sent to the server of the preset replacement platform.
  • the corresponding verification information is inconsistent with the pre-stored verification information, it can be considered that it is not the operation of the person.
  • the server side of the preset replacement platform receives a replacement success or failure message returned by the server side of the target application.
  • the message that the server side received the replacement success and replacement identification can be displayed on the client side of the preset replacement platform, so as to facilitate the user to understand which applications have successfully replaced the communication numbers and which applications have failed.
  • the server side of the target application before the step of replacing the original communication number in the target application with a new communication number, the server side of the target application further performs the step of sending a confirmation of changing the communication number to the client corresponding to the original communication number Information; if the confirmation message sent by the client corresponding to the original communication number is received, perform the step of replacing the original communication number in the target application with the new communication number. In this way, it is further ensured whether the replacement of the communication number is a personal operation, etc., and the safety of the replacement of the communication number is improved.
  • the server of the target application after replacing the original communication number of the target application with a new communication number, the server of the target application further executes the step of: replacing the replaced new communication number with the one corresponding to the target application.
  • the application information (which can be application identification information, etc. to facilitate the server side identification of the preset replacement platform) is sent to the server side of the preset replacement platform, so that the server side of the preset replacement platform saves the replaced new communication number, and Update the information in the database. In this way, the data in the database of the preset replacement platform is updated in real time.
  • the original communication numbers that have been bound to all applications, the new communication numbers that need to be re-bound, and the verification information required to change the binding are received by the client of the preset replacement platform, and the original communication numbers All target applications matching the original communication number are queried in the database, so that all target applications replace the original communication number with the new communication number in the verification information.
  • the server of the preset replacement platform automatically docks each target application to change the communication number.
  • the communication numbers of multiple target applications can be modified at one time, which improves the efficiency of changing communication numbers and avoids changing the communication numbers of some applications, and the communication numbers of other applications are not changed in time. Problems, improve the user experience.
  • FIG. 2 is a schematic diagram of a sequence of a method for changing a communication number provided by another embodiment of the present application. As shown in Figure 2, the method includes the following steps S201-S213. Among them, steps S201-S204, S206-S207, and S213 run on the server side of the preset replacement platform, and steps S205, S208-S212 run on the server side of the target application.
  • the server of the preset replacement platform receives and saves the number replacement request input by the user through the client of the preset replacement platform, where the number replacement request includes the original communication numbers bound to all applications on the client , The new communication number to be re-bound and the verification information required to change the binding.
  • S202 The server end of the preset replacement platform searches the database of the preset replacement platform for the application program matching the original communication number as the target application according to the original communication number in the number replacement request.
  • S203 The server of the preset replacement platform generates a pair of public key and private key through an asymmetric encryption algorithm.
  • the asymmetric encryption algorithm will generate a pair of secret keys in the process of use, that is, a public key and a private key.
  • the public key is used for encryption and the private key is used for decryption.
  • Asymmetric algorithms such as RSA algorithm. It should be noted that for different target applications, the generated pair of public and private keys are different.
  • S204 The server side of the preset replacement platform sends the generated private key to the server side of the target application.
  • S205 The server of the target application receives the private key sent by the server of the preset replacement platform.
  • S206 The server of the preset replacement platform encrypts the number replacement request using the generated public key to obtain the first encrypted data.
  • this step includes: the server side of the preset replacement platform obtains, according to the target application, the verification message required for all the application change bindings in the number replacement request to obtain the location of each target application.
  • Corresponding verification information, and the number replacement request that includes the verification information corresponding to the target application is encrypted with the generated public key to obtain the first encrypted data. Among them, not all applications change binding in the number replacement request
  • the required verification information is the verification information corresponding to each target application.
  • the verification information required for changing binding of all applications is automatically allocated, so that the data before encryption corresponding to each target application may be different.
  • the verification information in the number replacement request in this step is the verification information required for all applications to change the binding.
  • the data before encryption corresponding to each target application is exactly the same.
  • S207 The server side of the preset replacement platform sends the first encrypted data to the server side of the target application.
  • the server side of the target application receives the first encrypted data sent by the server side of the preset replacement platform.
  • S209 The server of the target application uses the private key to decrypt the first encrypted data to obtain the original communication number, the new communication number, and verification information corresponding to the target application.
  • the verification information required to change the binding of all applications is automatically assigned, that is, the verification information in the number replacement request only includes the verification information corresponding to the target application, and the server of the target application uses the private key After decrypting the first encrypted data, the original communication number, the new communication number, and the verification information corresponding to the target application can be directly obtained.
  • the verification information required to change binding of all applications is not processed, that is, the verification information in the number replacement request includes the verification information required to change binding of all applications, and the server side of the target application uses the After the private key is used to decrypt the first encrypted data, the verification information corresponding to the target application program needs to be automatically extracted from the decrypted data. In this way, the original communication number, the new communication number, and the verification information corresponding to the target application can be obtained.
  • the server of the target application Since the server of the target application has the correct private key data, only the correct private key can decrypt the first encrypted data encrypted with the public key in the secret key pair. If other terminals do not have a private key, they cannot decrypt the first encrypted data.
  • the use of secret key pairs ensures the security of information. For example, at least the security of the verification information transmission process is guaranteed.
  • S210 The server of the target application searches for the verification information pre-stored in the original communication number according to the original communication number, and judges whether the pre-stored verification information is consistent with the verification information obtained by decryption.
  • the pre-stored verification information is inconsistent with the decrypted verification information, it is considered that it is not the operation of the person, or the operation of the person, and the corresponding verification information has been modified during the transmission process or the verification information input is inaccurate. . For safety reasons, the communication number will not be changed.
  • S213 Receive a replacement success or failure message returned by the server of the target application.
  • the server side of the target application before the step of replacing the original communication number in the target application with a new communication number, the server side of the target application further performs the step of sending a confirmation of changing the communication number to the client corresponding to the original communication number Information; if the confirmation message sent by the client corresponding to the original communication number is received, perform the step of replacing the original communication number in the target application with the new communication number. In this way, it is further ensured whether the replacement of the communication number is performed by the person, etc., and the safety of the replacement of the communication number is improved.
  • the server of the target application after replacing the original communication number of the target application with a new communication number, the server of the target application further executes the step of: replacing the replaced new communication number with the one corresponding to the target application.
  • the application information (which can be application identification information, etc. to facilitate the server side identification of the preset replacement platform) is sent to the server side of the preset replacement platform, so that the server side of the preset replacement platform saves the replaced new communication number, and Update the information in the database. In this way, the data in the database of the preset replacement platform is updated in real time.
  • this embodiment uses an asymmetric encryption algorithm to encrypt the number verification request (the number verification request includes the original communication number, the new communication number, the verification information corresponding to the target application, etc.) to ensure the security of the verification information and improve the information transmission. safety.
  • FIG. 3 is a sequence diagram of a method for changing a communication number provided by another embodiment of the present application. As shown in Fig. 3, the method includes the following steps S301-S317. Among them, steps S301-S305, S310-S311, and S317 run on the server side of the preset replacement platform, and steps S306-S309 and S312-S316 run on the server side of the target application.
  • the server side of the preset replacement platform receives and saves the number replacement request input by the user through the client of the preset replacement platform, where the number replacement request includes the original communication numbers bound to all applications on the client , The new communication number to be re-bound and the verification information required to change the binding.
  • the server end of the preset replacement platform searches the database of the preset replacement platform for the application program matching the original communication number as the target application according to the original communication number in the number replacement request.
  • the server of the preset replacement platform generates a pair of public key and private key through an asymmetric encryption algorithm.
  • S304 The server side of the preset replacement platform encrypts the identification information of the target application program through a message digest algorithm to obtain second encrypted data.
  • the identification information of the target application corresponding to the original communication number will be stored in the database of the preset replacement platform.
  • Identification information refers to information that can identify an application.
  • the main feature of the message digest algorithm is that the encryption process does not require a key, and the encrypted data cannot be decrypted. Only by entering the same plaintext data (data that needs to be encrypted) can the same ciphertext be obtained through the same message digest algorithm ( Encrypted data). It should be noted that different target applications correspond to different identification information, and the second encrypted data obtained by encrypting the corresponding identification information by different target applications are all different.
  • step S303 and step S304 is not strictly limited. In other embodiments, step S304 may be performed first, and then step S303 is performed.
  • S305 Send the generated private key and the generated second encrypted data to the server of the target application.
  • S306 The server of the target application receives the private key and the second encrypted data sent by the server of the preset replacement platform.
  • S307 The server side of the target application obtains the identification information of the target application, and uses the same message digest algorithm to encrypt the identification information to obtain third encrypted data.
  • the identification information of the target application is also stored on the server side of the target application.
  • S308 The server of the target application judges whether the second encrypted data is consistent with the third encrypted data.
  • the data generated by the message digest algorithm is almost difficult or impossible to decrypt. Since the third encrypted data is generated by the server of the target application program according to the same message digest algorithm, the second encrypted data is generated and sent by the server of the preset replacement platform. If the second encrypted data is consistent with the third encrypted data, it means that the identification information of the application program is consistent with the identification information stored in the preset replacement platform, and it also indicates that the network is relatively safe, and at least the second encrypted data is completely safe. Then it is also believed that the sent private key is accurate, and there is no situation such as malicious modification. If the target application returns the change failure message, there are two situations. First, the identification information of the application saved by the preset replacement platform does not match the real identification information of the application. Second, the network is not secure, at least the second Encrypted data has been modified during transmission.
  • the second encrypted data and third encrypted data obtained through the message digest algorithm further confirm whether the information of the target application is correct, to further determine whether the target application needs to actually change the phone number, and also to determine whether the network is secure. In this way, the target application is further confirmed and the information security is further improved.
  • this step includes: the server side of the preset replacement platform obtains, according to the target application, the verification message required for all the application change bindings in the number replacement request to obtain the location of each target application.
  • Corresponding verification information, and the number replacement request that includes the verification information corresponding to the target application is encrypted with the generated public key to obtain the first encrypted data. Among them, not all applications change binding in the number replacement request
  • the required verification information is the verification information corresponding to each target application.
  • the verification information required for changing binding of all applications is automatically allocated, so that the data before encryption corresponding to each target application may be different.
  • the verification information in the number replacement request in this step is the verification information required for all applications to change the binding.
  • the data before encryption corresponding to each target application is exactly the same.
  • S312 Receive the first encrypted data sent by the server of the preset replacement platform.
  • the verification information required to change the binding of all applications is automatically assigned, that is, the verification information in the number replacement request only includes the verification information corresponding to the target application, and the server of the target application uses the private key After decrypting the first encrypted data, the original communication number, the new communication number, and the verification information corresponding to the target application can be directly obtained.
  • the verification information required to change binding of all applications is not processed, that is, the verification information in the number replacement request includes the verification information required to change binding of all applications, and the server side of the target application uses the After the private key is used to decrypt the first encrypted data, the verification information corresponding to the target application program needs to be automatically extracted from the decrypted data. In this way, the original communication number, the new communication number, and the verification information corresponding to the target application can be obtained.
  • S314 Search for the pre-stored verification information of the original communication number according to the original communication number, and determine whether the pre-stored verification information is consistent with the decrypted verification information.
  • S317 Receive a replacement success or failure message returned by the server of the target application.
  • the server side of the target application before the step of replacing the original communication number in the target application with a new communication number, the server side of the target application further performs the step of sending a confirmation of changing the communication number to the client corresponding to the original communication number Information; if the confirmation message sent by the client corresponding to the original communication number is received, perform the step of replacing the original communication number in the target application with the new communication number. In this way, it is further ensured whether the replacement of the communication number is a personal operation, etc., and the safety of the replacement of the communication number is improved.
  • the server of the target application after replacing the original communication number of the target application with a new communication number, the server of the target application further executes the step of: replacing the replaced new communication number with the one corresponding to the target application.
  • the application information (which can be application identification information, etc. to facilitate the server side identification of the preset replacement platform) is sent to the server side of the preset replacement platform, so that the server side of the preset replacement platform saves the replaced new communication number, and Update the information in the database. In this way, the data in the database of the preset replacement platform is updated in real time.
  • the embodiment of the present application further encrypts the identification information of the target application stored in the preset replacement platform by a message digest algorithm to obtain the second encrypted data, and encrypts the identification information stored in the target application by the same message digest algorithm.
  • the third encrypted data is obtained, and the second encrypted data is compared with the third encrypted data to further determine whether the identification information of the target application is correct and to further determine whether the network is secure. In this way, the target application is further confirmed, and the security of information and information transmission is further improved.
  • Fig. 4 is a schematic block diagram of a system for changing a communication number provided by an embodiment of the present application.
  • the system 100 includes a server end of a preset replacement platform, and a server end of at least one target application.
  • the server side of the preset replacement platform is configured with a device 110 for replacing the communication number.
  • the server side of the target application is equipped with a device 120 for changing the communication number.
  • the communication number replacement device 110 configured on the server side of the preset replacement platform includes a first input receiving unit 111, a first application determining unit 112, a verification information sending unit 113, and a first result receiving unit 114.
  • the device 120 for changing the communication number configured on the server side of the target application includes a verification message receiving unit 121, a first extraction unit 122, a first search and judgment unit 123, a first replacement unit 124, and a first result sending unit 125.
  • the first input receiving unit 111 is configured to receive and save the number replacement request input by the user through the client terminal of the preset replacement platform, wherein the number replacement request includes the original communication number bound to all applications on the client terminal, The new communication number to be re-bound and the verification information required to change the binding.
  • the first application determining unit 112 is configured to query the application program matching the original communication number in the database of the preset replacement platform as the target application program according to the original communication number in the number replacement request.
  • the verification information sending unit 113 is configured to send the number replacement request to the server side of the target application so that the server side of the target application can replace the original communication number with the new communication number through the verification message. Communication number.
  • the first result receiving unit 114 is configured to receive a replacement success or failure message returned by the server of the target application.
  • the verification message receiving unit 121 is configured to receive the number replacement request sent by the server of the preset replacement platform.
  • the first extraction unit 122 extracts the original communication number, the new communication number and the verification information corresponding to the target application in the number replacement request.
  • the first search and judgment unit 123 is configured to search for the verification information pre-stored in the original communication number according to the extracted original communication number, and determine whether the verification information corresponding to the extracted target application program and the verification information pre-stored corresponding to the original communication number are Consistent.
  • the first replacement unit 124 is configured to replace the original communication number of the target application with the extracted new communication number if the extracted verification information corresponding to the target application is consistent with the pre-stored verification information corresponding to the original communication number .
  • the first result sending unit 125 is configured to send a successful replacement message to the server side of the preset platform after the replacement is completed, and if the verification information corresponding to the target application is extracted and the pre-stored verification corresponding to the original communication number If the information is inconsistent, a replacement failure message is sent to the server of the preset replacement platform.
  • the device 120 for changing the communication number configured on the server side of the target application further includes a confirmation information sending unit.
  • the confirmation information sending unit is used to send confirmation information for changing the communication number to the client corresponding to the original communication number.
  • the first replacement unit 124 is triggered to replace the original communication number of the target application with the extracted new communication number.
  • the device 120 for changing a communication number configured on the server side of the target application further includes a replacement information sending unit.
  • the replacement information sending unit is used to send the replaced new communication number and the application information corresponding to the target application to the server of the preset replacement platform, so that the server of the preset replacement platform will replace the The new communication number is saved.
  • Fig. 5 is a schematic block diagram of a system for changing a communication number provided by another embodiment of the present application.
  • the system 20 includes a server end of a preset replacement platform, and a server end of at least one target application.
  • the server side of the preset replacement platform is configured with a device 210 for replacing the communication number.
  • the server side of the target application is equipped with a device 220 for changing the communication number.
  • the device for changing communication numbers configured on the server side of the preset changing platform includes 210 including a second input receiving unit 211, a second application determining unit 212, a first secret key generating unit 213, and a first private key sending unit.
  • the device 220 for changing the communication number configured on the server side of the target application includes a first private key receiving unit 221, a first encrypted data receiving unit 222, a second extraction unit 223, a second search and judgment unit 224, a second replacement unit 225, and The second result sending unit 226.
  • the second input receiving unit 211 is configured to receive and save the number replacement request input by the user through the client of the preset replacement platform, wherein the number replacement request includes the original communication number bound to all applications on the client , The new communication number to be re-bound and the verification information required to change the binding.
  • the second application determining unit 212 is configured to query the application program matching the original communication number in the database of the preset replacement platform as the target application program according to the original communication number in the number replacement request.
  • the first secret key generating unit 213 is used to generate a pair of public key and private key through an asymmetric encryption algorithm.
  • the first private key sending unit 214 is configured to send the generated private key to the server of the target application.
  • the first public key encryption unit 215 is configured to encrypt the number replacement request with the generated public key to obtain the first encrypted data.
  • the first encrypted data sending unit 216 is configured to send the first encrypted data to the server of the target application.
  • the second result receiving unit 217 is configured to receive a replacement success or failure message returned by the server of the target application.
  • the first private key receiving unit 221 is configured to receive the private key sent by the server of the preset replacement platform.
  • the first encrypted data receiving unit 222 is configured to receive the first encrypted data sent by the server of the preset replacement platform.
  • the second extraction unit 223 is configured to use the private key to decrypt the first encrypted data to obtain the original communication number, the new communication number, and the verification information corresponding to the target application.
  • the second search and judgment unit 224 is configured to search for the pre-stored verification information of the original communication number according to the original communication number, and determine whether the pre-stored verification information is consistent with the decrypted verification information.
  • the second replacement unit 225 is configured to replace the original communication number of the target application with the new decrypted communication number if the pre-stored verification information is consistent with the decrypted verification information.
  • the second result sending unit 226 is used to send a successful replacement message to the server of the preset platform after the replacement, and if the pre-stored verification information is inconsistent with the decrypted verification information, send to the server of the preset replacement platform Replacement failure message.
  • the first secret key generation unit 213, the first private key transmission unit 214, the first public key encryption unit 215, and the first encrypted data transmission unit 216 are equivalent to the verification in the embodiment of FIG. 4
  • the message sending unit 113 it is understandable that the verification message sending unit 113 includes a first secret key generating unit 213, a first private key sending unit 214, a first public key encryption unit 215, and a first encrypted data sending unit 216.
  • the first private key receiving unit 221 and the first encrypted data receiving unit 222 are equivalent to the verification message receiving unit 121 in the embodiment of FIG. 4. It is understandable that the verification message receiving unit 121 includes a first private key receiving unit 221, a first encryption Data receiving unit 222.
  • the device 220 for changing the communication number configured on the server side of the target application further includes a confirmation information sending unit.
  • the confirmation information sending unit is used to send confirmation information for changing the communication number to the client corresponding to the original communication number. If the confirmation message sent by the client corresponding to the original communication number is received, the second replacement unit 225 is triggered to replace the original communication number of the target application with the new decrypted communication number.
  • the device 220 for changing a communication number configured on the server side of the target application further includes a replacement information sending unit.
  • the replacement information sending unit is used to send the replaced new communication number and the application information corresponding to the target application to the server of the preset replacement platform, so that the server of the preset replacement platform will replace the The new communication number is saved.
  • Fig. 6 is a schematic block diagram of a system for changing a communication number provided by another embodiment of the present application.
  • the system 300 includes a server end of a preset replacement platform, and a server end of at least one target application.
  • the server side of the preset replacement platform is configured with a device 310 for replacing the communication number.
  • the server side of the target application is equipped with a device 320 for changing the communication number. As shown in FIG.
  • the communication number replacement device 310 configured on the server side of the preset replacement platform includes a third input receiving unit 311, a third application determining unit 312, a second secret key generating unit 313, and a first digest generating unit 314 ,
  • the device 320 for changing the communication number configured on the server side of the target application includes a second private key receiving unit 321, a second digest generating unit 322, a digest data judging unit 323, a digest result sending unit 324, a second encrypted data receiving unit 325,
  • the third input receiving unit 311 is configured to receive and save the number replacement request input by the user through the client of the preset replacement platform, wherein the number replacement request includes the original communication number bound to all applications on the client , The new communication number to be re-bound and the verification information required to change the binding.
  • the third application determining unit 312 is configured to query the application program matching the original communication number in the database of the preset replacement platform as the target application program according to the original communication number in the number replacement request.
  • the second secret key generating unit 313 is used to generate a pair of public key and private key through an asymmetric encryption algorithm.
  • the first digest generating unit 314 is configured to encrypt the identification information of the target application through a message digest algorithm to obtain second encrypted data.
  • the second private key sending unit 315 is configured to send the generated private key and the generated second encrypted data to the server of the target application.
  • the second public key encryption unit 316 is configured to, if the confirmation message returned by the server of the target application is received, encrypt the number replacement request with the generated public key to obtain the first encrypted data.
  • the second encrypted data sending unit 317 is configured to send the first encrypted data to the server of the target application.
  • the third result receiving unit 318 is configured to receive a replacement success or failure message returned by the server of the target application.
  • the second private key receiving unit 321 is configured to receive the private key and the second encrypted data sent by the server of the preset replacement platform.
  • the second digest generating unit 322 is configured to obtain the identification information of the target application, and encrypt the identification information using the same message digest algorithm to obtain the third encrypted data.
  • the summary data judging unit 323 is configured to judge whether the second encrypted data and the third encrypted data are consistent.
  • the summary result sending unit 324 is configured to send confirmation information to the server of the preset replacement platform if the second encrypted data is consistent with the third encrypted data; if the second encrypted data and the third encrypted data If they are inconsistent, send a replacement failure message to the server of the preset platform.
  • the second encrypted data receiving unit 325 is configured to receive the first encrypted data sent by the server of the preset replacement platform.
  • the third extraction unit 326 is configured to use the private key to decrypt the first encrypted data to obtain the original communication number, the new communication number, and the verification information corresponding to the target application.
  • the third searching and judging unit 327 is configured to search for the pre-stored verification information of the original communication number according to the original communication number, and determine whether the pre-stored verification information is consistent with the decrypted verification information.
  • the third replacement unit 328 is configured to replace the original communication number of the target application with the new decrypted communication number if the pre-stored verification information is consistent with the decrypted verification information.
  • the third result sending unit 329 is used to send a successful replacement message to the server of the preset platform after the replacement, and if the pre-stored verification information is inconsistent with the decrypted verification information, send to the server of the preset replacement platform Replacement failure message.
  • the second secret key generation unit 313, the first digest generation unit 314, the second private key transmission unit 315, the second public key encryption unit 316, and the second encrypted data transmission unit 317 are equivalent to The verification message sending unit 113 in the embodiment of FIG. 4 can be understood that the verification message sending unit 113 includes a second secret key generating unit 313, a first digest generating unit 314, a second private key sending unit 315, and a second public key encryption Unit 316, a second encrypted data sending unit 317.
  • the second private key receiving unit 321, the second digest generating unit 322, the digest data determining unit 323, the digest result sending unit 324, and the second encrypted data receiving unit 325 are equivalent to the verification message in the embodiment of FIG.
  • the receiving unit 121 includes a second private key receiving unit 321, a second digest generating unit 322, a digest data judging unit 323, a digest result sending unit 324, and a second encrypted data receiving unit 325.
  • the device 320 for changing the communication number configured on the server side of the target application further includes a confirmation information sending unit.
  • the confirmation information sending unit is used to send confirmation information for changing the communication number to the client corresponding to the original communication number.
  • the third replacement unit 328 is triggered to replace the original communication number of the target application with the new decrypted communication number.
  • the device 320 for changing the communication number configured on the server side of the target application further includes a replacement information sending unit.
  • the replacement information sending unit is used to send the replaced new communication number and the application information corresponding to the target application to the server of the preset replacement platform, so that the server of the preset replacement platform will replace the The new communication number is saved.
  • the communication number replacement device configured on the server side of the preset replacement platform and the communication number replacement device configured on the server side of the target application can all exist independently. Since the components corresponding to each unit module when they exist independently are the same as those in the system for changing communication numbers, they will not be described separately.
  • the above-mentioned device may be implemented in the form of a computer program, and the computer program may run on the computer device as shown in FIG. 7.
  • FIG. 7 is a schematic block diagram of a computer device provided by an embodiment of the application.
  • the equipment is a server and other equipment, such as a server in the PaaS platform.
  • the device 400 includes a processor 402, a memory, and a network interface 403 connected through a system bus 401, where the memory may include a non-volatile storage medium 404 and an internal memory 405.
  • the non-volatile storage medium 404 can store an operating system 4041 and a computer program 4042.
  • the computer program 4042 stored in the non-volatile storage medium is executed by the processor 402, the above-mentioned method of changing the communication number running on the server side of the preset changing platform can be realized.
  • the processor 402 is used to provide computing and control capabilities, and support the operation of the entire device 400.
  • the internal memory 405 provides an environment for the operation of the computer program in the non-volatile storage medium.
  • the processor 402 can execute the above-mentioned replacement communication number running on the server side of the preset replacement platform. method.
  • the network interface 403 is used for network communication.
  • the structure shown in the figure is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the device to which the solution of the present application is applied.
  • the specific device may include a diagram More or fewer components are shown in, or some components are combined, or have different component arrangements.
  • the processor 402 is configured to run a computer program stored in a memory to implement any embodiment of the method for changing a communication number running on the server side of the preset changing platform.
  • FIG. 7 Another embodiment of the present application also provides a schematic block diagram of a computer device.
  • the device is a server. Please refer to Fig. 7 for details.
  • the computer device includes the same structure as the computer device shown in Fig. 7.
  • the computer device is different from the computer device shown in FIG. 7 in that when the computer program stored in the non-volatile storage medium in the computer device is executed by the processor 402, the above-mentioned replacement communication number running on the server side of the target application can be realized. Any embodiment of the method.
  • the processor 402 may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors or digital signal processors (DSP). , Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the computer program may be stored in a storage medium, and the storage medium may be a computer-readable storage medium.
  • the computer program is executed by at least one processor in the computer system to implement the process steps of the foregoing method embodiment.
  • the storage medium may be a computer-readable storage medium, and the computer-readable storage medium includes a non-volatile computer-readable storage medium.
  • the storage medium stores a computer program, and when the computer program is executed by the processor, it implements any embodiment of the communication number replacement method that runs on the server side of the preset replacement platform.
  • the storage medium may be a computer-readable storage medium, and the computer-readable storage medium includes a non-volatile computer-readable storage medium.
  • the storage medium stores a computer program, and when the computer program is executed by a processor, it can implement any embodiment of the method for changing a communication number running on the server side of the target application program.
  • the storage medium is a physical, non-transitory storage medium, such as a U disk, a mobile hard disk, a read-only memory (Read-Only Memory, ROM), a magnetic disk, or an optical disk that can store program codes. medium.
  • a physical, non-transitory storage medium such as a U disk, a mobile hard disk, a read-only memory (Read-Only Memory, ROM), a magnetic disk, or an optical disk that can store program codes. medium.

Abstract

Provided are a communication number changing method, apparatus and system, a computer device and a storage medium. The method comprises: receiving and saving a number changing request input by a user by means of a client of a preset changing platform; according to an original communication number in the number changing request, querying, from a database of the preset changing platform, an application program matching the original communication number and taking the application program as a target application program; sending verification information to a server side of the target application program, such that the server side of the target application program changes, by means of the received verification information, the original communication number to a new communication number in the number changing request; and receiving a changing success or failure message returned by the server side of the target application program.

Description

更换通信号码的方法、装置、系统、计算机设备及存储介质Method, device, system, computer equipment and storage medium for changing communication number
本申请要求2019年4月23日提交中国专利局、申请号为201910326624.5,申请名称为“更换通信号码的方法、装置、系统、计算机设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on April 23, 2019, the application number is 201910326624.5, and the application title is "Methods, Devices, Systems, Computer Equipment and Storage Media for Changing Communication Numbers", and its entire contents Incorporated in this application by reference.
技术领域Technical field
本申请涉及云计算技术领域,尤其涉及一种更换通信号码的方法、装置、系统、计算机设备及存储介质。This application relates to the field of cloud computing technology, and in particular to a method, device, system, computer equipment, and storage medium for changing communication numbers.
背景技术Background technique
为了方便使用,一个通信号码通常会绑定多个应用程序或者平台。在一些情况下,很多用户想更换通信号码但由于该通信号码绑定了较多的应用程序或平台,一个一个去解绑旧的通信号码再绑定新的通信号码非常麻烦,有的还需要去现场办理。另一方面,用户在更换通信号码时,有的应用程序或者平台已经更换了,而有一些应用程序或者平台忘记更换或者没来得及更换,但是旧的通信号码已经停用了,没办法通过旧的通信号码来获取验证码进行解绑操作,这种情况若想绑定新的通信号码非常不方便。For ease of use, a communication number is usually bound to multiple applications or platforms. In some cases, many users want to change the communication number, but because the communication number is bound to more applications or platforms, it is very troublesome to unbind the old communication number and bind the new communication number one by one, and some still need it. Go to the scene to apply. On the other hand, when the user changes the communication number, some applications or platforms have been replaced, and some applications or platforms forgot to replace or did not have time to replace, but the old communication number has been disabled, and there is no way to pass the old one. The communication number is used to obtain the verification code for unbinding operation. In this case, it is very inconvenient to bind a new communication number.
发明内容Summary of the invention
本申请实施例提供一种更换通信号码的方法、装置、系统、计算机设备及存储介质,可一次性更换多个目标应用程序的通信号码,提高了更换通信号码的效率。The embodiments of the present application provide a method, device, system, computer equipment, and storage medium for changing communication numbers, which can change the communication numbers of multiple target applications at one time, and improve the efficiency of changing communication numbers.
第一方面,本申请实施例提供了一种更换通信号码的方法,应用于预设更换平台的服务器端,所述预设更换平台还包括与所述服务器端通信的客户端,所述客户端上安装有应用程序,该方法包括:In the first aspect, an embodiment of the present application provides a method for changing a communication number, which is applied to the server side of a preset replacement platform, the preset replacement platform further includes a client communicating with the server, the client The application is installed on the computer, the method includes:
接收并保存用户通过所述客户端输入的号码更换请求,其中,所述号码更换请求包括所述客户端上所有应用程序已绑定的原通信号码、需重新绑定的新通信号码以及更改绑定所需的验证信息;根据所述原通信号码,在预设更换平 台的数据库中查询与所述原通信号码匹配的应用程序作为目标应用程序;将所述号码更换请求发送至所述目标应用程序的服务器端,以使所述目标应用程序的服务器端根据所述验证信息将所述原通信号码更换为所述新通信号码;接收所述目标应用程序的服务器端返回的更换成功或者失败的消息。Receive and save the number replacement request entered by the user through the client, where the number replacement request includes the original communication number bound to all applications on the client, the new communication number that needs to be re-bound, and the change binding Determine the required verification information; according to the original communication number, query the application program matching the original communication number in the database of the preset replacement platform as the target application program; send the number replacement request to the target application The server side of the program, so that the server side of the target application program replaces the original communication number with the new communication number according to the verification information; the server side receiving the target application program returns a successful or failed replacement news.
第二方面,本申请另一实施例提供了一种更换通信号码的方法,应用于目标应用程序的服务器端,该方法包括:In the second aspect, another embodiment of the present application provides a method for changing a communication number, which is applied to the server side of a target application, and the method includes:
接收预设更换平台的服务器端发送的私钥;接收预设更换平台的服务器端发送的第一加密数据,其中,所述第一加密数据是预设更换平台的服务器端将号码更换请求利用所生成的公钥进行加密得到的,其中,所述私钥和公钥是一对秘钥,所述号码更换请求包括预设更换平台的客户端上所有应用已绑定的原通信号码、需重新绑定的新通信号码以及更改绑定所需的验证信息;利用所述私钥来解密所述第一加密数据,以得到原通信号码、新通信号码、以及所述目标应用程序所对应的的验证信息;根据所述原通信号码查找该原通信号码预存的验证信息,并判断预存的验证信息与解密得到的验证信息是否一致;若预存的验证信息与解密得到的验证信息一致,将所述目标应用程序所对应的原通信号码更换为解密得到的新通信号码,并向预设更换平台的服务器端发送更换成功的消息;若预存的验证信息与解密得到的验证信息不一致,向预设更换平台的服务器端发送更换失败的消息。Receive the private key sent by the server of the preset replacement platform; receive the first encrypted data sent by the server of the preset replacement platform, where the first encrypted data is the number replacement request used by the server of the preset replacement platform The generated public key is encrypted, where the private key and the public key are a pair of secret keys, and the number replacement request includes the original communication number that has been bound to all applications on the client of the preset replacement platform, The binding new communication number and the verification information required to change the binding; use the private key to decrypt the first encrypted data to obtain the original communication number, the new communication number, and the corresponding information for the target application Verification information; according to the original communication number, search for the pre-stored verification information of the original communication number, and determine whether the pre-stored verification information is consistent with the decrypted verification information; if the pre-stored verification information is consistent with the decrypted verification information, the The original communication number corresponding to the target application is replaced with the new decrypted communication number, and a message of successful replacement is sent to the server of the preset replacement platform; if the pre-stored verification information is inconsistent with the decrypted verification information, replace it with the preset The server side of the platform sends a replacement failure message.
第三方面,本申请实施例提供了一种更换通信号码的装置,该更换通信号码的装置包括:第一输入接收单元,用于接收并保存用户通过预设更换平台的客户端输入的号码更换请求,其中,所述号码更换请求包括该客户端上所有应用程序已绑定的原通信号码、需重新绑定的新通信号码以及更改绑定所需的验证信息;第一应用确定单元,用于根据所述号码更换请求中的原通信号码,在预设更换平台的数据库中查询与所述原通信号码匹配的应用程序作为目标应用程序;验证信息发送单元,用于将所述号码更换请求发送至所述目标应用程序的服务器端以使所述目标应用程序的服务器端通过所述验证消息将所述原通信号码更换为所述新通信号码;以及第一结果接收单元,用于接收所述目标应用程序的服务器端返回的更换成功或者失败的消息。In a third aspect, an embodiment of the present application provides a device for changing a communication number. The device for changing a communication number includes: a first input receiving unit configured to receive and save the number replacement input by the user through the client of the preset replacement platform Request, wherein the number replacement request includes the original communication number bound to all applications on the client, the new communication number that needs to be re-bound, and the verification information required to change the binding; the first application determining unit uses According to the original communication number in the number replacement request, the application program matching the original communication number is searched in the database of the preset replacement platform as the target application program; the verification information sending unit is used to send the number replacement request Sent to the server end of the target application so that the server end of the target application replaces the original communication number with the new communication number through the verification message; and a first result receiving unit for receiving all The replacement success or failure message returned by the server of the target application.
第四方面,本申请实施例提供了一种更换通信号码的装置,该更换通信号 码的装置包括:验证消息接收单元,用于接收预设更换平台的服务器端发送的号码更换请求;第一提取单元,提取号码更换请求中的原通信号码、新通信号码以及该目标应用程序所对应的验证信息;第一查找判断单元,用于根据提取的原通信号码查找该原通信号码预存的验证信息,并判断提取的该目标应用程序所对应的验证信息与该原通信号码所对应预存的验证信息是否一致;第一更换单元,用于若提取的该目标应用程序所对应的验证信息与该原通信号码所对应预存的验证信息一致,将所述目标应用程序的原通信号码更换为提取的新通信号码;以及第一结果发送单元,用于在更换完毕后,向预设平台的服务器端发送更换成功的消息,以及若提取的该目标应用程序所对应的验证信息与该原通信号码所对应预存的验证信息不一致,向预设更换平台的服务器端发送更换失败的消息。In a fourth aspect, an embodiment of the present application provides a device for changing a communication number. The device for changing a communication number includes: a verification message receiving unit configured to receive a number replacement request sent by a server of a preset replacement platform; The unit extracts the original communication number, the new communication number and the verification information corresponding to the target application in the number replacement request; the first search and judgment unit is used to search for the verification information pre-stored in the original communication number according to the extracted original communication number, And determine whether the extracted verification information corresponding to the target application program is consistent with the pre-stored verification information corresponding to the original communication number; the first replacement unit is used for if the extracted verification information corresponding to the target application program matches the original communication number The pre-stored verification information corresponding to the number is consistent, and the original communication number of the target application is replaced with the extracted new communication number; and the first result sending unit is used to send the replacement to the server of the preset platform after the replacement is completed A successful message, and if the extracted verification information corresponding to the target application is inconsistent with the pre-stored verification information corresponding to the original communication number, a replacement failure message is sent to the server of the preset replacement platform.
第五方面,本申请实施例提供了一种更换通信号码的系统,所述更换通信号码的系统包括预设更换平台的服务器端,以及至少一个目标应用程序的服务器端,其中,所述预设更换平台的服务器端配置有上述第三方面所述的更换通信号码的装置;所述目标应用程序的服务器端配置有上述第四方面所述的更换通信号码的装置。In a fifth aspect, an embodiment of the present application provides a system for changing a communication number. The system for changing a communication number includes a server side of a preset replacement platform and a server side of at least one target application, wherein the preset The server side of the replacement platform is configured with the communication number replacement device described in the third aspect; the server side of the target application is configured with the communication number replacement device described in the fourth aspect.
第六方面,本申请实施例提供了一种计算机设备,所述计算机设备包括存储器以及与所述存储器相连的处理器;所述存储器用于存储计算机程序;所述计算机设备应用于预设更换平台,所述预设更换平台还包括与所述计算机设备通信的客户端,所述客户端上安装有应用程序,所述处理器用于运行所述存储器中存储的计算机程序,以执行上述第一方面所述的更换通信号码的方法的步骤。In a sixth aspect, an embodiment of the present application provides a computer device that includes a memory and a processor connected to the memory; the memory is used to store a computer program; the computer device is applied to a preset replacement platform The preset replacement platform further includes a client communicating with the computer device, an application program is installed on the client, and the processor is configured to run the computer program stored in the memory to execute the first aspect described above The steps of the method for changing the communication number.
第七方面,本申请实施例提供了一种计算机设备,包括存储器以及与所述存储器相连的处理器;所述存储器用于存储计算机程序;所述处理器用于运行所述存储器中存储的计算机程序,以执行上述第二方面所述的更换通信号码的方法的步骤。In a seventh aspect, an embodiment of the present application provides a computer device including a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the computer program stored in the memory , To perform the steps of the method for changing a communication number described in the second aspect.
第八方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机可读存储介质应用于预设更换平台的服务器端,所述预设更换平台还包括与所述服务器端通信的客户端,所述客 户端上安装有应用程序,所述计算机程序被处理器执行时使所述处理器执行上述第一方面所述的更换通信号码的方法的步骤。In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium that stores a computer program, and the computer-readable storage medium is applied to the server side of a preset replacement platform. It is assumed that the replacement platform further includes a client communicating with the server, and an application program is installed on the client. When the computer program is executed by the processor, the processor executes the replacement communication number described in the first aspect. Steps of the method.
第九方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器执行上述第二方面所述的更换通信号码的方法的步骤。In a ninth aspect, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the above-mentioned second aspect. The steps described in the method of changing the communication number.
附图说明Description of the drawings
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following will briefly introduce the drawings needed in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present application. Ordinary technicians can obtain other drawings based on these drawings without creative work.
图1是本申请实施例提供的更换通信号码的方法的时序示意图;FIG. 1 is a sequence diagram of a method for changing a communication number provided by an embodiment of the present application;
图2是本申请另一实施例提供的更换通信号码的方法的时序示意图;2 is a schematic diagram of a sequence of a method for changing a communication number provided by another embodiment of the present application;
图3是本申请另一实施例提供的更换通信号码的方法的时序示意图;3 is a schematic diagram of a sequence of a method for changing a communication number according to another embodiment of the present application;
图4是本申请实施例提供的更换通信号码的系统的示意性框图;4 is a schematic block diagram of a system for changing a communication number provided by an embodiment of the present application;
图5是本申请另一实施例提供的更换通信号码的系统的示意性框图;FIG. 5 is a schematic block diagram of a system for changing a communication number provided by another embodiment of the present application;
图6是本申请另一实施例提供的更换通信号码的系统的示意性框图;FIG. 6 is a schematic block diagram of a system for changing a communication number provided by another embodiment of the present application;
图7是本申请实施例提供的计算机设备的示意性框图。Fig. 7 is a schematic block diagram of a computer device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
请参看图1至图3,在图1至图3中,包括预设更换平台的客户端、预设更换平台的服务器端、目标应用程序的服务器端。其中,本申请实施例中的预设更换平台包括预设更换平台的客户端、预设更换平台的服务器端。本申请实施例中的更换通信号码的系统包括预设更换平台的服务器端、目标应用程序的服务器端。Please refer to Figures 1 to 3. In Figures 1 to 3, the client of the preset replacement platform, the server of the preset replacement platform, and the server of the target application are included. Among them, the preset replacement platform in the embodiment of the present application includes the client of the preset replacement platform and the server of the preset replacement platform. The communication number replacement system in the embodiment of the present application includes a server end of a preset replacement platform and a server end of a target application program.
在本申请实施例中,预设更换平台已经存在。在一些实施例中,若预设更换平台不存在,那么还需要开发该预设更换平台。开发的该预设更换平台包括预设更换平台的客户端和预设更换平台的服务器端,该预设更换平台的客户端包括所有应用程序更换通信号码所需要输入的验证信息的输入界面,该预设更换平台的服务器端用于处理用户通过所述输入界面输入的验证信息。在该输入界面还需要输入原通信号码、原通信号码所对应的验证码、需重新绑定的新通信号码。可以理解地,主动收集所有应用程序更换通信号码所需要输入的验证信息。该验证信息包括更换通信号码时需要的邮箱、身份证证件信息(包括身份证图片、身份证号码)、指纹、声纹、人脸图像、手势密码、有预定要求的视频、原通信号码、该原通信号码所对应的验证码、新通信号码等。其中,原通信号码、该原通信号码所对应的验证码、新通信号码是必填项。根据所收集的所有应用程序更换通信号码所需要输入的验证信息开发该预设更换平台。需要注意的是,本申请中提到的所有应用程序并不真正指市场上所有存在的应用程序,而是指可能存在有手机号绑定的应用程序,或者是使用率较高的、存在有手机号绑定的应用程序。通过该预设更换平台,可以实现统一的安全的更换通信号码,用户只需在预设更换平台操作一次以输入验证信息,即可使得所有应用程序完成通信号码的更新。In this embodiment of the application, the preset replacement platform already exists. In some embodiments, if the preset replacement platform does not exist, then the preset replacement platform needs to be developed. The preset replacement platform developed includes a client of the preset replacement platform and a server end of the preset replacement platform. The client of the preset replacement platform includes an input interface for verification information that needs to be entered for all applications to replace communication numbers. The server end of the preset replacement platform is used to process the verification information input by the user through the input interface. In the input interface, you also need to enter the original communication number, the verification code corresponding to the original communication number, and the new communication number to be re-bound. Understandably, actively collect all the verification information that applications need to enter to change the communication number. The verification information includes the mailbox, ID card information (including ID card picture, ID card number), fingerprints, voiceprints, facial images, gesture passwords, videos with predetermined requirements, the original communication number, the The verification code corresponding to the original communication number, the new communication number, etc. Among them, the original communication number, the verification code corresponding to the original communication number, and the new communication number are required. Develop the preset replacement platform based on the verification information that needs to be entered for all the collected applications to replace the communication number. It should be noted that all the applications mentioned in this application do not really refer to all the applications that exist on the market, but rather to the applications that may be bound to the mobile phone number, or the applications that have a high usage rate and exist. The application bound to the mobile phone number. Through the preset replacement platform, a unified and safe replacement of communication numbers can be realized. The user only needs to perform one operation on the preset replacement platform to input verification information, and all applications can complete the update of communication numbers.
需要注意的是,预设更换平台可以以一个模块的形式存在,如存在于有影响力的某个应用程序中,或者也可以理解为该预设更换平台是某个应用程序的一部分。在一些情况下,预设更换平台可以是以一个APP的形式存在,如该APP可以是独立运营的,或者也可以是以小程序的形式存在(可通过其他应用程序调用该预设更换平台所对应的小程序)。It should be noted that the preset replacement platform can exist in the form of a module, such as in an influential application, or it can also be understood as the preset replacement platform is a part of an application. In some cases, the preset replacement platform may exist in the form of an APP. For example, the APP may be operated independently or in the form of a small program (the preset replacement platform can be called by other applications). Corresponding applet).
图1是本申请实施例提供的更换通信号码的方法的时序示意图。如图1所示,该方法包括以下步骤S101-S109。其中,步骤S101-S103、S109运行于预设更换平台的服务器端,步骤S104-S108运行于目标应用程序的服务器端。Fig. 1 is a sequence diagram of a method for changing a communication number provided by an embodiment of the present application. As shown in Figure 1, the method includes the following steps S101-S109. Among them, steps S101-S103 and S109 run on the server side of the preset replacement platform, and steps S104-S108 run on the server side of the target application.
S101,预设更换平台的服务器端接收并保存用户通过预设更换平台的客户端输入的号码更换请求,其中,所述号码更换请求包括该客户端上所有应用程序已绑定的原通信号码、需重新绑定的新通信号码以及更改绑定所需的验证信息。S101. The server side of the preset replacement platform receives and saves the number replacement request entered by the user through the client of the preset replacement platform, where the number replacement request includes the original communication numbers that have been bound to all applications on the client, and The new communication number to be re-bound and the verification information required to change the binding.
可以理解地,用户通过该预设更换平台的客户端一次性输入更换客户端上所有应用程序的通信号码的所有验证信息、原通信号码、新通信号码等。其中,所输入的验证信息包括原电话所对应的验证码。具体地,包括以下步骤:若接收到用户的验证码获取指令,获取用户通过预设更换平台的客户端输入的原通信号码;生成验证码;将生成的验证码通过所获取的原通信号码发送到客户端;若接收用户的提交指令,验证提交指令中用户输入的验证码与生成的验证码是否一致且该验证码是否有效;若验证码一致且验证码有效,则接收提交指令中的用户所输入的验证信息,并将所接收到的验证信息保存;否则,提示用户重新输入。Understandably, the user inputs all verification information, the original communication number, the new communication number, etc. of the communication numbers of all applications on the replacement client at a time through the client of the preset replacement platform. Wherein, the entered verification information includes the verification code corresponding to the original phone. Specifically, it includes the following steps: if the user's verification code acquisition instruction is received, obtain the original communication number entered by the user through the client of the preset replacement platform; generate a verification code; send the generated verification code through the acquired original communication number To the client; if the user's submission instruction is received, verify that the verification code entered by the user in the submission instruction is consistent with the generated verification code and whether the verification code is valid; if the verification code is consistent and the verification code is valid, then the user in the submission instruction is received Enter the verification information, and save the received verification information; otherwise, prompt the user to re-enter.
S102,预设更换平台的服务器端根据所述号码更换请求中的原通信号码,在预设更换平台的数据库中查询与所述原通信号码匹配的应用程序作为目标应用程序。S102: The server of the preset replacement platform searches the database of the preset replacement platform for the application program matching the original communication number as the target application according to the original communication number in the number replacement request.
需要注意的是,预设更换平台的服务器端的数据库中保存有通信号码所绑定的各种应用程序。预设更换平台的服务器端获取通信号码所绑定的各种应用程序的方式可包括以下几种。如用户在使用某一应用程序时,当需要绑定或者需要输入通信号码时,应用程序的服务器端接收到用户绑定的或者输入的通信号码后,会同时将该通信号码以及所对应的应用程序信息发送给预设更换平台的服务器端,预设更换平台的服务器端保存通信号码和所对应的应用程序信息;如预设更换平台的服务器端定时地到各种应用程序的服务器端去获取所更新通信号码的消息;如各种应用程序的服务器端定时将更新的通信号码的消息主动发送到预设更换平台的服务器端等。在本实施例中,并不限定预设更换平台的服务器端获取通信号码所绑定的各种应用程序的方式,只要预设更换平台中保存有通信号码以及通信号码所绑定的各种应用程序的信息即可。It should be noted that the database on the server side of the preset replacement platform saves various applications bound to the communication number. The methods for the server side of the preset replacement platform to obtain various applications bound to the communication number may include the following. For example, when a user is using an application, when it needs to bind or enter a communication number, after receiving the user's bound or input communication number, the application server will simultaneously the communication number and the corresponding application The program information is sent to the server side of the preset replacement platform, and the server side of the preset replacement platform saves the communication number and corresponding application program information; for example, the server side of the preset replacement platform regularly obtains it from the server side of various applications The message of the updated communication number; for example, the server side of various applications periodically sends the message of the updated communication number to the server side of the preset replacement platform. In this embodiment, the way in which the server of the preset replacement platform obtains the various applications bound to the communication number is not limited, as long as the preset replacement platform saves the communication number and various applications bound to the communication number The information of the program is sufficient.
预设更换平台的服务器端根据所接收到的号码更换请求中的原通信号码,在预设更换平台的数据库中查询与原通信号码绑定的匹配的应用程序,将查询出的匹配的应用程序作为目标应用程序。即将查询出的原通信号码存在有绑定关系的应用程序确定为目标应用程序。The server of the preset replacement platform searches the database of the preset replacement platform for the matching application bound to the original communication number according to the original communication number in the received number replacement request, and then queries the matching application As the target application. The application program that has a binding relationship with the queried original communication number is determined as the target application program.
S103,预设更换平台的服务器端将所述号码更换请求发送至所述目标应用程序的服务器端以使所述目标应用程序的服务器端根据所述验证消息将所述原 通信号码更换为所述新通信号码。S103. The server of the preset replacement platform sends the number replacement request to the server of the target application so that the server of the target application replaces the original communication number with the original communication number according to the verification message. New communication number.
在一实施例中,步骤S103,包括:预设更换平台的服务器端根据所述目标应用程序从所述验证消息中获取每个目标应用程序所对应的验证信息,并将包括有目标应用程序所对应的验证信息的号码更换请求发送至每个目标应用程序的服务器端以使所述目标应用程序的服务器端根据该目标应用程序所对应的验证信息将所述原通信号码更换为所述新通信号码,其中,号码更换请求中不是所有应用程序更改绑定所需的验证信息,而是每个目标应用程序所对应的验证信息。在该实施例中,预设更换平台服务器端的数据库保存有每个应用程序所对应的验证信息的类型,如邮箱、身份证、指纹、声纹、人脸图像、手势密码、有预定要求的视频中的一个或者多个等类型。从数据库中获取每个目标应用程序所对应的验证信息的类型;并根据每个目标应用程序所对应的验证信息的类型从所述验证信息(所有应用程序更改绑定所需的验证消息)中获取每个目标应用程序所对应的验证信息;将号码更换请求发送至每个目标应用程序的服务器端以使每个目标应用程序的服务器端根据所对应的验证信息将原通信号码更换为新通信号码。不同目标应用程序所对应的验证信息可能存在不同。可以理解地,若目标应用程序A所对应的更改绑定所需的验证信息类型包括人脸图像,则发送给目标应用程序A的号码更换请求中的验证信息则包括人脸图像;若目标应用程序B所对应的更改绑定所需的验证信息类型包括声纹,则发送给目标应用程序B的号码更换请求中的验证信息则包括声纹。该实施例中,在预设更换平台的服务器端上将接收到所有应用程序更改绑定所需的验证信息自动分配给每个目标应用程序,并根据每个目标应用程序所对应的验证信息来更换通信号码。In an embodiment, step S103 includes: the server side of the preset replacement platform obtains the verification information corresponding to each target application from the verification message according to the target application, and includes the verification information of the target application. The number replacement request corresponding to the verification information is sent to the server end of each target application so that the server end of the target application replaces the original communication number with the new communication according to the verification information corresponding to the target application Number, where the number replacement request is not the verification information required for all applications to change binding, but the verification information corresponding to each target application. In this embodiment, the database on the server side of the preset replacement platform stores the type of verification information corresponding to each application, such as email, ID card, fingerprint, voiceprint, face image, gesture password, and video with predetermined requirements. One or more of the other types. Obtain the type of verification information corresponding to each target application from the database; and according to the type of verification information corresponding to each target application from the verification information (the verification message required for all applications to change binding) Obtain verification information corresponding to each target application; send a number replacement request to the server side of each target application so that the server side of each target application replaces the original communication number with a new communication according to the corresponding verification information number. The verification information corresponding to different target applications may be different. Understandably, if the type of verification information required to change the binding corresponding to the target application A includes a face image, the verification information in the number replacement request sent to the target application A includes the face image; if the target application The type of verification information required to change the binding corresponding to program B includes voiceprint, and the verification information in the number replacement request sent to target application B includes voiceprint. In this embodiment, on the server side of the preset replacement platform, the verification information required to change the binding of all applications received is automatically assigned to each target application, and the verification information corresponding to each target application is determined. Change the communication number.
在一实施例中,步骤S103,包括:将所述号码更换请求发送至所述目标应用程序的服务器端,以使所述目标应用程序的服务器端根据所述验证信息提取所述目标应用程序所对应的验证信息,并根据所述目标应用程序所对应的验证信息将所述原通信号码更换为所述新通信号码。在该实施例中,发送给每个目标应用程序的服务器端的验证消息包括所有应用程序更改绑定所需的验证信息,如此,目标应用程序接收到所有应用程序更改绑定所需的验证信息后,根据目标应用程序的数据库中预存的验证信息从所有应用程序更改绑定所需的验 证信息中获取每个目标应用程序所对应的验证信息,并根据每个目标应用程序所对应的验证信息来更换通信号码。该实施例中,目标应用程序接收到所有应用程序更改绑定所需的验证信息后自动得从中确定该目标应用程序所对应的验证信息。In one embodiment, step S103 includes: sending the number change request to the server side of the target application, so that the server side of the target application extracts the location of the target application according to the verification information. Corresponding verification information, and replacing the original communication number with the new communication number according to the verification information corresponding to the target application. In this embodiment, the verification message sent to the server side of each target application includes all the verification information required by the application to change the binding. Thus, after the target application receives all the verification information required for the application to change the binding , According to the verification information pre-stored in the database of the target application, the verification information corresponding to each target application is obtained from the verification information required to change the binding of all applications, and the verification information corresponding to each target application is obtained Change the communication number. In this embodiment, the target application program automatically determines the verification information corresponding to the target application program after receiving all verification information required by the application program to change the binding.
将号码更换请求发送至目标应用程序所对应的服务器端。若目标应用程序有多个,可以同时发送到多个目标应用程序的服务器端,也可以一个一个的发送到目标应用程序的服务器端。Send the number change request to the server corresponding to the target application. If there are multiple target applications, they can be sent to the server side of multiple target applications at the same time, or they can be sent to the server side of the target application one by one.
S104,所述目标应用程序的服务器端接收号码更换请求。S104: The server end of the target application receives a number replacement request.
S105,所述目标应用程序的服务器端提取所述号码更换请求中的原通信号码、新通信号码以及该目标应用程序所对应的验证信息。其中,该目标应用程序所对应的验证信息包括除了验证码之外的其他的验证信息,如邮箱、身份证证件信息(包括身份证图片、身份证号码)、指纹、声纹、人脸图像、手势密码、有预定要求的视频中的一个或者多个等。如某个目标应用程序只是根据验证码来更换通信号码,那么该目标应用程序所对应的验证信息为空。S105: The server side of the target application extracts the original communication number, the new communication number and the verification information corresponding to the target application in the number replacement request. Among them, the verification information corresponding to the target application includes verification information other than the verification code, such as email address, ID card information (including ID card picture, ID number), fingerprints, voiceprints, face images, Gesture password, one or more of the videos with predetermined requirements, etc. If a certain target application only changes the communication number according to the verification code, the verification information corresponding to the target application is empty.
若对所有应用程序更改绑定所需的验证信息进行了自动分配,即号码更换请求中的验证信息包括目标应用程序所对应的验证信息,则该步骤中的“所述目标应用程序的服务器端提取所述号码更换请求中的原通信号码、新通信号码以及该目标应用程序所对应的验证信息”即理解为“所述目标应用程序的服务器端获取所述号码更换请求中的原通信号码、新通信号码以及该目标应用程序所对应的验证信息”。If the verification information required to change the binding of all applications is automatically allocated, that is, the verification information in the number replacement request includes the verification information corresponding to the target application, then the "server-side of the target application" in this step Extracting the original communication number, the new communication number and the verification information corresponding to the target application in the number change request" is understood as "the server side of the target application obtains the original communication number, The new communication number and the verification information corresponding to the target application".
若没有对所有应用程序更改绑定所需的验证信息进行处理,即号码更换请求中的验证信息包括所有应用程序更改绑定所需的验证信息,则该步骤中的“所述目标应用程序的服务器端提取所述号码更换请求中的原通信号码、新通信号码以及该目标应用程序所对应的验证信息”,理解为从所有应用程序更改绑定所需的验证信息中自动提取出该目标应用程序所对应的验证信息。如此,所述目标应用程序的服务器端提取所述号码更换请求中的原通信号码、新通信号码以及该目标应用程序所对应的验证信息。If the verification information required to change binding of all applications has not been processed, that is, the verification information in the number replacement request includes the verification information required to change binding of all applications, then the " The server side extracts the original communication number, the new communication number, and the verification information corresponding to the target application in the number replacement request", which is understood to mean that the target application is automatically extracted from the verification information required to change the binding of all applications Verification information corresponding to the program. In this way, the server side of the target application extracts the original communication number, the new communication number and the verification information corresponding to the target application in the number replacement request.
S106,根据提取的原通信号码查找该原通信号码预存的验证信息,并判断提取的该目标应用程序所对应的验证信息与该原通信号码所对应预存的验证信 息是否一致。S106: Search for the verification information pre-stored in the original communication number according to the extracted original communication number, and determine whether the extracted verification information corresponding to the target application program is consistent with the pre-stored verification information corresponding to the original communication number.
具体地,根据提取的原通信号码在目标应用程序的数据库中查询该原通信号码预存的验证信息;将提取的该目标应用程序所对应的验证信息与该原通信号码预存的验证信息进行匹配;判断提取的该目标应用程序所对应的验证信息与该原通信号码所对应预存的验证信息是否一致。Specifically, query the database of the target application according to the extracted original communication number for the verification information pre-stored in the original communication number; match the extracted verification information corresponding to the target application with the verification information pre-stored in the original communication number; It is determined whether the extracted verification information corresponding to the target application program is consistent with the pre-stored verification information corresponding to the original communication number.
S107,若该目标应用程序所对应的验证信息与该原通信号码所对应预存的验证信息一致,则将该目标应用程序中的原通信号码更换为新通信号码。S107: If the verification information corresponding to the target application is consistent with the pre-stored verification information corresponding to the original communication number, then the original communication number in the target application is replaced with a new communication number.
需要注意的是,若目标应用程序所对应的验证信息为空,同时该原通信号码预存的验证信息也不存在,那么认为目标应用程序所对应的验证信息与预存的验证信息一致。可以理解为,很多应用程序更换电话号码的时候,只需要输入原通信号码(有的也包括验证码等)、新通信号码即可,如此没有所对应的验证信息。It should be noted that if the verification information corresponding to the target application is empty, and the verification information pre-stored in the original communication number does not exist, then the verification information corresponding to the target application is considered to be consistent with the pre-stored verification information. It can be understood that when many applications change the phone number, they only need to enter the original communication number (some also include verification codes, etc.) and the new communication number, so there is no corresponding verification information.
其中,目标应用程序中的原通信号码更换为新通信号码过程,包括解绑原通信号码,绑定新通信号码的过程。Among them, the process of replacing the original communication number in the target application with a new communication number includes the process of unbinding the original communication number and binding the new communication number.
S108,在更换完毕后,向预设更换平台的服务器端发送更换成功的消息,以及若该目标应用程序所对应的验证信息与该原通信号码所对应预存的验证信息不一致,向预设更换平台的服务器端发送更换失败的消息。S108: After the replacement is completed, send a replacement successful message to the server of the preset replacement platform, and if the verification information corresponding to the target application is inconsistent with the pre-stored verification information corresponding to the original communication number, send a replacement message to the preset replacement platform The server side sends a replacement failure message.
若该目标应用程序中的原通信号码更换为新通信号码成功,即更换成功,则该目标应用程序的服务器端向预设更换平台的服务器端发送更换成功的消息,以及若该目标应用程序所对应的验证信息与该原通信号码所对应预存的验证信息不一致,则向预设更换平台的服务器端发送更换失败的消息。其中,若所对应的验证信息与预存的验证信息不一致,那么可认为不是本人的操作。If the original communication number in the target application is successfully replaced with the new communication number, that is, the replacement is successful, the server of the target application sends a message indicating that the replacement is successful to the server of the preset replacement platform, and if the target application is If the corresponding verification information is inconsistent with the pre-stored verification information corresponding to the original communication number, a replacement failure message is sent to the server of the preset replacement platform. Among them, if the corresponding verification information is inconsistent with the pre-stored verification information, it can be considered that it is not the operation of the person.
S109,预设更换平台的服务器端接收所述目标应用程序的服务器端返回的更换成功或者失败的消息。S109: The server side of the preset replacement platform receives a replacement success or failure message returned by the server side of the target application.
如此,可将服务器端接收到更换成功和更换识别的消息显示在预设更换平台的客户端,以方便让用户了解哪些应用程序更换通信号码成功,哪些应用程序更换失败。In this way, the message that the server side received the replacement success and replacement identification can be displayed on the client side of the preset replacement platform, so as to facilitate the user to understand which applications have successfully replaced the communication numbers and which applications have failed.
在一实施例中,在将该目标应用程序中的原通信号码更换为新通信号码的步骤之前,目标应用程序的服务器端还执行步骤:向原通信号码所对应的客户 端发送更换通信号码的确认信息;若接收到原通信号码所对应的客户端发送的确认信息后,再执行将该目标应用程序中的原通信号码更换为新通信号码的步骤。如此,进一步确保更换通信号码是否为本人操作等,提高了更换通信号码的安全。In one embodiment, before the step of replacing the original communication number in the target application with a new communication number, the server side of the target application further performs the step of sending a confirmation of changing the communication number to the client corresponding to the original communication number Information; if the confirmation message sent by the client corresponding to the original communication number is received, perform the step of replacing the original communication number in the target application with the new communication number. In this way, it is further ensured whether the replacement of the communication number is a personal operation, etc., and the safety of the replacement of the communication number is improved.
在一实施例中,在将所述目标应用程序的原通信号码更换为新通信号码之后,目标应用程序的服务器端还执行步骤:将所更换的新通信号码和所述目标应用程序所对应的应用程序信息(可以是应用标识信息等以便于预设更换平台的服务器端识别)发送至预设更换平台的服务器端,以使得预设更换平台的服务器端将所更换的新通信号码保存,以更新数据库中的信息。如此,使得预设更换平台的数据库中的数据是实时更新的。In one embodiment, after replacing the original communication number of the target application with a new communication number, the server of the target application further executes the step of: replacing the replaced new communication number with the one corresponding to the target application. The application information (which can be application identification information, etc. to facilitate the server side identification of the preset replacement platform) is sent to the server side of the preset replacement platform, so that the server side of the preset replacement platform saves the replaced new communication number, and Update the information in the database. In this way, the data in the database of the preset replacement platform is updated in real time.
上述实施例通过接收在预设更换平台的客户端输入的所有应用程序已绑定的原通信号码、需重新绑定的新通信号码以及更改绑定所需的验证信息,并根据原通信号码在数据库中查询与该原通信号码匹配的所有目标应用程序,以使得所有目标应用程序将原通信号码更换验证信息中的新通信号码。如此,通过一次性输入所有应用程序的验证信息,再由预设更换平台的服务器端自动对接各个目标应用程序进行通信号码的更换。可一次性修改多个目标应用程序的通信号码,提高了更换通信号码的效率,避免了更换一部分应用程序的通信号码,而另一部分应用程序的通信号码没有及时更换而导致的不能更换通信号码的问题,提高了用户的体验。In the above embodiment, the original communication numbers that have been bound to all applications, the new communication numbers that need to be re-bound, and the verification information required to change the binding are received by the client of the preset replacement platform, and the original communication numbers All target applications matching the original communication number are queried in the database, so that all target applications replace the original communication number with the new communication number in the verification information. In this way, by entering the verification information of all applications at once, the server of the preset replacement platform automatically docks each target application to change the communication number. The communication numbers of multiple target applications can be modified at one time, which improves the efficiency of changing communication numbers and avoids changing the communication numbers of some applications, and the communication numbers of other applications are not changed in time. Problems, improve the user experience.
图2是本申请另一实施例提供的更换通信号码的方法的时序示意图。如图2所示,该方法包括以下步骤S201-S213。其中,步骤S201-S204、S206-S207、S213运行于预设更换平台的服务器端,步骤S205、S208-S212运行于目标应用程序的服务器端。FIG. 2 is a schematic diagram of a sequence of a method for changing a communication number provided by another embodiment of the present application. As shown in Figure 2, the method includes the following steps S201-S213. Among them, steps S201-S204, S206-S207, and S213 run on the server side of the preset replacement platform, and steps S205, S208-S212 run on the server side of the target application.
S201,预设更换平台的服务器端接收并保存用户通过预设更换平台的客户端输入的号码更换请求,其中,所述号码更换请求包括所述客户端上所有应用程序已绑定的原通信号码、需重新绑定的新通信号码以及更改绑定所需的验证信息。S201: The server of the preset replacement platform receives and saves the number replacement request input by the user through the client of the preset replacement platform, where the number replacement request includes the original communication numbers bound to all applications on the client , The new communication number to be re-bound and the verification information required to change the binding.
S202,预设更换平台的服务器端根据所述号码更换请求中的原通信号码,在预设更换平台的数据库中查询与所述原通信号码匹配的应用程序作为目标应 用程序。S202: The server end of the preset replacement platform searches the database of the preset replacement platform for the application program matching the original communication number as the target application according to the original communication number in the number replacement request.
S203,预设更换平台的服务器端通过非对称加密算法生成一对公钥和私钥。S203: The server of the preset replacement platform generates a pair of public key and private key through an asymmetric encryption algorithm.
其中,非对称加密算法在使用过程中会产生一对秘钥,即公钥和私钥,使用公钥加密,使用私钥才能解密。非对称算法如RSA算法。需要注意的是,对于不同的目标应用程序,生成的一对公钥和私钥是不同的。Among them, the asymmetric encryption algorithm will generate a pair of secret keys in the process of use, that is, a public key and a private key. The public key is used for encryption and the private key is used for decryption. Asymmetric algorithms such as RSA algorithm. It should be noted that for different target applications, the generated pair of public and private keys are different.
S204,预设更换平台的服务器端将所生成的私钥发送至所述目标应用程序的服务器端。S204: The server side of the preset replacement platform sends the generated private key to the server side of the target application.
S205,所述目标应用程序的服务器端接收预设更换平台的服务器端发送的私钥。S205: The server of the target application receives the private key sent by the server of the preset replacement platform.
S206,预设更换平台的服务器端将所述号码更换请求,利用所生成的公钥进行加密以得到第一加密数据。S206: The server of the preset replacement platform encrypts the number replacement request using the generated public key to obtain the first encrypted data.
在一实施例中,该步骤包括:预设更换平台的服务器端根据所述目标应用程序从所述号码更换请求中的所有应用程序更改绑定所需的验证消息中获取每个目标应用程序所对应的验证信息,并将包括有目标应用程序所对应的验证信息的号码更换请求,利用所生成的公钥进行加密以得到第一加密数据,其中,号码更换请求中不是所有应用程序更改绑定所需的验证信息,而是每个目标应用程序所对应的验证信息。在该实施例中,对所有应用程序更改绑定所需的验证信息进行了自动分配,如此每个目标应用程序所对应的加密之前的数据可能会存在不同。In one embodiment, this step includes: the server side of the preset replacement platform obtains, according to the target application, the verification message required for all the application change bindings in the number replacement request to obtain the location of each target application. Corresponding verification information, and the number replacement request that includes the verification information corresponding to the target application is encrypted with the generated public key to obtain the first encrypted data. Among them, not all applications change binding in the number replacement request The required verification information is the verification information corresponding to each target application. In this embodiment, the verification information required for changing binding of all applications is automatically allocated, so that the data before encryption corresponding to each target application may be different.
在一实施例中,该步骤中的所述号码更换请求中的验证信息即为所有应用程序更改绑定所需的验证信息,如此,每个目标应用程序所对应的加密之前的数据完全相同。In one embodiment, the verification information in the number replacement request in this step is the verification information required for all applications to change the binding. Thus, the data before encryption corresponding to each target application is exactly the same.
S207,预设更换平台的服务器端将所述第一加密数据发送至所述目标应用程序的服务器端。S207: The server side of the preset replacement platform sends the first encrypted data to the server side of the target application.
S208,所述目标应用程序的服务器端接收预设更换平台的服务器端发送的第一加密数据。S208: The server side of the target application receives the first encrypted data sent by the server side of the preset replacement platform.
S209,所述目标应用程序的服务器端利用所述私钥来解密所述第一加密数据,以得到原通信号码、新通信号码、以及所述目标应用程序所对应的的验证信息。S209: The server of the target application uses the private key to decrypt the first encrypted data to obtain the original communication number, the new communication number, and verification information corresponding to the target application.
若对所有应用程序更改绑定所需的验证信息进行了自动分配,即号码更换请求中的验证信息仅包括目标应用程序所对应的验证信息,所述目标应用程序的服务器端利用所述私钥来解密所述第一加密数据之后,可直接得到原通信号码、新通信号码、以及所述目标应用程序所对应的的验证信息。If the verification information required to change the binding of all applications is automatically assigned, that is, the verification information in the number replacement request only includes the verification information corresponding to the target application, and the server of the target application uses the private key After decrypting the first encrypted data, the original communication number, the new communication number, and the verification information corresponding to the target application can be directly obtained.
若没有对所有应用程序更改绑定所需的验证信息进行处理,即号码更换请求中的验证信息包括所有应用程序更改绑定所需的验证信息,在所述目标应用程序的服务器端利用所述私钥来解密所述第一加密数据之后,还需要从解密得到的数据中自动提取出该目标应用程序所对应的验证信息。如此,以得到原通信号码、新通信号码、以及所述目标应用程序所对应的的验证信息。If the verification information required to change binding of all applications is not processed, that is, the verification information in the number replacement request includes the verification information required to change binding of all applications, and the server side of the target application uses the After the private key is used to decrypt the first encrypted data, the verification information corresponding to the target application program needs to be automatically extracted from the decrypted data. In this way, the original communication number, the new communication number, and the verification information corresponding to the target application can be obtained.
由于该目标应用程序的服务器端有正确的私钥数据,而只有正确的私钥才可以解密利用秘钥对中的公钥加密的第一加密数据。而其他终端若没有私钥,不能解密第一加密数据。利用秘钥对,保证了信息的安全。如至少保证了验证信息传输过程的安全。Since the server of the target application has the correct private key data, only the correct private key can decrypt the first encrypted data encrypted with the public key in the secret key pair. If other terminals do not have a private key, they cannot decrypt the first encrypted data. The use of secret key pairs ensures the security of information. For example, at least the security of the verification information transmission process is guaranteed.
S210,所述目标应用程序的服务器端根据所述原通信号码查找该原通信号码预存的验证信息,并判断预存的验证信息与解密得到的验证信息是否一致。S210: The server of the target application searches for the verification information pre-stored in the original communication number according to the original communication number, and judges whether the pre-stored verification information is consistent with the verification information obtained by decryption.
S211,若预存的验证信息与解密得到的验证信息一致,将所述目标应用程序的原通信号码更换为解密得到的新通信号码。S211: If the pre-stored verification information is consistent with the decrypted verification information, replace the original communication number of the target application with the new decrypted communication number.
S212,在更换完毕后,向预设更换平台的服务器端发送更换成功的消息,以及若预存的验证信息与解密得到的验证信息不一致,向预设更换平台的服务器端发送更换失败的消息。S212: After the replacement is completed, send a replacement successful message to the server of the preset replacement platform, and if the pre-stored verification information is inconsistent with the decrypted verification information, send a replacement failure message to the server of the preset replacement platform.
其中,若预存的验证信息与解密得到的验证信息不一致,那么认为不是本人的操作,或者是本人的操作,而所对应的验证信息在传输的过程中遇到了修改或者验证信息输入不准确等情况。为了安全考虑,不进行通信号码的更换。Among them, if the pre-stored verification information is inconsistent with the decrypted verification information, it is considered that it is not the operation of the person, or the operation of the person, and the corresponding verification information has been modified during the transmission process or the verification information input is inaccurate. . For safety reasons, the communication number will not be changed.
S213,接收所述目标应用程序的服务器端返回的更换成功或者失败的消息。S213: Receive a replacement success or failure message returned by the server of the target application.
在一实施例中,在将该目标应用程序中的原通信号码更换为新通信号码的步骤之前,目标应用程序的服务器端还执行步骤:向原通信号码所对应的客户端发送更换通信号码的确认信息;若接收到原通信号码所对应的客户端发送的确认信息后,再执行将该目标应用程序中的原通信号码更换为新通信号码的步骤。如此,进一步确保更换通信号码是否为本人操作等,提高了更换通信号码 的安全。In one embodiment, before the step of replacing the original communication number in the target application with a new communication number, the server side of the target application further performs the step of sending a confirmation of changing the communication number to the client corresponding to the original communication number Information; if the confirmation message sent by the client corresponding to the original communication number is received, perform the step of replacing the original communication number in the target application with the new communication number. In this way, it is further ensured whether the replacement of the communication number is performed by the person, etc., and the safety of the replacement of the communication number is improved.
在一实施例中,在将所述目标应用程序的原通信号码更换为新通信号码之后,目标应用程序的服务器端还执行步骤:将所更换的新通信号码和所述目标应用程序所对应的应用程序信息(可以是应用标识信息等以便于预设更换平台的服务器端识别)发送至预设更换平台的服务器端,以使得预设更换平台的服务器端将所更换的新通信号码保存,以更新数据库中的信息。如此,使得预设更换平台的数据库中的数据是实时更新的。In one embodiment, after replacing the original communication number of the target application with a new communication number, the server of the target application further executes the step of: replacing the replaced new communication number with the one corresponding to the target application. The application information (which can be application identification information, etc. to facilitate the server side identification of the preset replacement platform) is sent to the server side of the preset replacement platform, so that the server side of the preset replacement platform saves the replaced new communication number, and Update the information in the database. In this way, the data in the database of the preset replacement platform is updated in real time.
需要指出的是,该实施例中与图1实施例中的相同的步骤或者相同的名词描述等,请参看图1实施例中的对应描述,在此不再赘述。It should be pointed out that, for the same steps or the same noun descriptions in this embodiment as those in the embodiment in FIG. 1, please refer to the corresponding description in the embodiment in FIG. 1, which will not be repeated here.
由于原通信号码、新通信号码、目标应用程序所对应的验证信息等是比较隐私的数据。因此该实施例利用非对称加密算法加密号码验证请求(号码验证请求中包括原通信号码、新通信号码、目标应用程序所对应的验证信息等),保证了验证信息的安全,提高了信息传输的安全性。Because the original communication number, the new communication number, and the verification information corresponding to the target application are relatively private data. Therefore, this embodiment uses an asymmetric encryption algorithm to encrypt the number verification request (the number verification request includes the original communication number, the new communication number, the verification information corresponding to the target application, etc.) to ensure the security of the verification information and improve the information transmission. safety.
图3是本申请另一实施例提供的更换通信号码的方法的时序示意图。如图3所示,该方法包括以下步骤S301-S317。其中,步骤S301-S305、S310-S311、S317运行于预设更换平台的服务器端,步骤S306-S309、S312-S316运行于目标应用程序的服务器端。FIG. 3 is a sequence diagram of a method for changing a communication number provided by another embodiment of the present application. As shown in Fig. 3, the method includes the following steps S301-S317. Among them, steps S301-S305, S310-S311, and S317 run on the server side of the preset replacement platform, and steps S306-S309 and S312-S316 run on the server side of the target application.
S301,预设更换平台的服务器端接收并保存用户通过预设更换平台的客户端输入的号码更换请求,其中,所述号码更换请求包括所述客户端上所有应用程序已绑定的原通信号码、需重新绑定的新通信号码以及更改绑定所需的验证信息。S301: The server side of the preset replacement platform receives and saves the number replacement request input by the user through the client of the preset replacement platform, where the number replacement request includes the original communication numbers bound to all applications on the client , The new communication number to be re-bound and the verification information required to change the binding.
S302,预设更换平台的服务器端根据所述号码更换请求中的原通信号码,在预设更换平台的数据库中查询与所述原通信号码匹配的应用程序作为目标应用程序。S302: The server end of the preset replacement platform searches the database of the preset replacement platform for the application program matching the original communication number as the target application according to the original communication number in the number replacement request.
S303,预设更换平台的服务器端通过非对称加密算法生成一对公钥和私钥。S303, the server of the preset replacement platform generates a pair of public key and private key through an asymmetric encryption algorithm.
S304,预设更换平台的服务器端通过消息摘要算法将所述目标应用程序的标识信息进行加密以得到第二加密数据。S304: The server side of the preset replacement platform encrypts the identification information of the target application program through a message digest algorithm to obtain second encrypted data.
预设更换平台的数据库中会保存原通信号码所对应的目标应用程序的标识信息。标识信息指的是可以标识一个应用程序的信息。消息摘要算法的主要特 征是加密过程不需要密钥,并且经过加密后的数据无法被解密,只有输入相同的明文数据(需要进行加密的数据)经过相同的消息摘要算法才能得到相同的密文(加密后的数据)。需要注意的是,不同的目标应用程序对应不同的标识信息,那么不同的目标应用程序将所对应的标识信息进行加密以得到的第二加密数据都是不同的。The identification information of the target application corresponding to the original communication number will be stored in the database of the preset replacement platform. Identification information refers to information that can identify an application. The main feature of the message digest algorithm is that the encryption process does not require a key, and the encrypted data cannot be decrypted. Only by entering the same plaintext data (data that needs to be encrypted) can the same ciphertext be obtained through the same message digest algorithm ( Encrypted data). It should be noted that different target applications correspond to different identification information, and the second encrypted data obtained by encrypting the corresponding identification information by different target applications are all different.
其中,需要注意的是,步骤S303和步骤S304的顺序并不严格限制,在其他实施例中,也可以先执行步骤S304,在执行步骤S303。Among them, it should be noted that the order of step S303 and step S304 is not strictly limited. In other embodiments, step S304 may be performed first, and then step S303 is performed.
S305,将所生成的私钥、所生成的第二加密数据发送至所述目标应用程序的服务器端。S305: Send the generated private key and the generated second encrypted data to the server of the target application.
S306,所述目标应用程序的服务器端接收预设更换平台的服务器端发送的私钥和第二加密数据。S306: The server of the target application receives the private key and the second encrypted data sent by the server of the preset replacement platform.
S307,所述目标应用程序的服务器端获取所述目标应用程序的标识信息,利用相同的消息摘要算法将标识信息进行加密,以得到第三加密数据。S307: The server side of the target application obtains the identification information of the target application, and uses the same message digest algorithm to encrypt the identification information to obtain third encrypted data.
在目标应用程序的服务器端同样也保存有该目标应用程序的标识信息。The identification information of the target application is also stored on the server side of the target application.
S308,所述目标应用程序的服务器端判断所述第二加密数据和所述第三加密数据是否一致。S308: The server of the target application judges whether the second encrypted data is consistent with the third encrypted data.
S309,若所述第二加密数据和所述第三加密数据一致,向预设更换平台的服务器端发送确认信息,若所述第二加密数据和所述第三加密数据不一致,向预设更换平台的服务器端发送更换失败的消息。S309: If the second encrypted data is consistent with the third encrypted data, send confirmation information to the server of the preset replacement platform, and if the second encrypted data is inconsistent with the third encrypted data, replace the preset The server side of the platform sends a replacement failure message.
根据消息摘要算法生成的数据几乎很难或者无法被解密。由于第三加密数据是目标应用程序的服务器端根据相同的消息摘要算法生成的,而第二加密数据是预设更换平台的服务器端生成并发送的。若第二加密数据和第三加密数据一致,意味着该应用程序的标识信息与预设更换平台中保存的标识信息一致,同时也说明网络相对安全,至少第二加密数据是完全安全的。那么也认为发送的私钥是准确的,不存在被恶意修改等情况。若目标应用程序返回更改失败信息,那么包括两种情况,第一,预设更换平台所保存的应用程序的标识信息与应用程序真实的标识信息不匹配,第二,网络不安全,至少第二加密数据在传输的过程中出现了修改。The data generated by the message digest algorithm is almost difficult or impossible to decrypt. Since the third encrypted data is generated by the server of the target application program according to the same message digest algorithm, the second encrypted data is generated and sent by the server of the preset replacement platform. If the second encrypted data is consistent with the third encrypted data, it means that the identification information of the application program is consistent with the identification information stored in the preset replacement platform, and it also indicates that the network is relatively safe, and at least the second encrypted data is completely safe. Then it is also believed that the sent private key is accurate, and there is no situation such as malicious modification. If the target application returns the change failure message, there are two situations. First, the identification information of the application saved by the preset replacement platform does not match the real identification information of the application. Second, the network is not secure, at least the second Encrypted data has been modified during transmission.
通过消息摘要算法得到的第二加密数据和第三加密数据进一步确认目标应 用程序的信息是否正确,以进一步确定目标应用程序是否需要真实的更换电话号码,同时也初步地判定网络是否安全。如此,进一步地确认目标应用程序,以及进一步提高了信息的安全。The second encrypted data and third encrypted data obtained through the message digest algorithm further confirm whether the information of the target application is correct, to further determine whether the target application needs to actually change the phone number, and also to determine whether the network is secure. In this way, the target application is further confirmed and the information security is further improved.
S310,若接收到所述目标应用程序的服务器端返回的确认信息,将所述号码更换请求,利用所生成的公钥进行加密以得到第一加密数据。S310: If the confirmation message returned by the server of the target application is received, encrypt the number replacement request with the generated public key to obtain first encrypted data.
在一实施例中,该步骤包括:预设更换平台的服务器端根据所述目标应用程序从所述号码更换请求中的所有应用程序更改绑定所需的验证消息中获取每个目标应用程序所对应的验证信息,并将包括有目标应用程序所对应的验证信息的号码更换请求,利用所生成的公钥进行加密以得到第一加密数据,其中,号码更换请求中不是所有应用程序更改绑定所需的验证信息,而是每个目标应用程序所对应的验证信息。在该实施例中,对所有应用程序更改绑定所需的验证信息进行了自动分配,如此每个目标应用程序所对应的加密之前的数据可能会存在不同。In one embodiment, this step includes: the server side of the preset replacement platform obtains, according to the target application, the verification message required for all the application change bindings in the number replacement request to obtain the location of each target application. Corresponding verification information, and the number replacement request that includes the verification information corresponding to the target application is encrypted with the generated public key to obtain the first encrypted data. Among them, not all applications change binding in the number replacement request The required verification information is the verification information corresponding to each target application. In this embodiment, the verification information required for changing binding of all applications is automatically allocated, so that the data before encryption corresponding to each target application may be different.
在一实施例中,该步骤中的所述号码更换请求中的验证信息即为所有应用程序更改绑定所需的验证信息,如此,每个目标应用程序所对应的加密之前的数据完全相同。In one embodiment, the verification information in the number replacement request in this step is the verification information required for all applications to change the binding. Thus, the data before encryption corresponding to each target application is exactly the same.
S311,将所述第一加密数据发送至所述目标应用程序的服务器端。S311. Send the first encrypted data to the server of the target application.
S312,接收预设更换平台的服务器端发送的第一加密数据。S312: Receive the first encrypted data sent by the server of the preset replacement platform.
S313,利用所述私钥来解密所述第一加密数据,以得到原通信号码、新通信号码、以及所述目标应用程序所对应的的验证信息。S313. Use the private key to decrypt the first encrypted data to obtain the original communication number, the new communication number, and the verification information corresponding to the target application.
若对所有应用程序更改绑定所需的验证信息进行了自动分配,即号码更换请求中的验证信息仅包括目标应用程序所对应的验证信息,所述目标应用程序的服务器端利用所述私钥来解密所述第一加密数据之后,可直接得到原通信号码、新通信号码、以及所述目标应用程序所对应的的验证信息。If the verification information required to change the binding of all applications is automatically assigned, that is, the verification information in the number replacement request only includes the verification information corresponding to the target application, and the server of the target application uses the private key After decrypting the first encrypted data, the original communication number, the new communication number, and the verification information corresponding to the target application can be directly obtained.
若没有对所有应用程序更改绑定所需的验证信息进行处理,即号码更换请求中的验证信息包括所有应用程序更改绑定所需的验证信息,在所述目标应用程序的服务器端利用所述私钥来解密所述第一加密数据之后,还需要从解密得到的数据中自动提取出该目标应用程序所对应的验证信息。如此,以得到原通信号码、新通信号码、以及所述目标应用程序所对应的的验证信息。If the verification information required to change binding of all applications is not processed, that is, the verification information in the number replacement request includes the verification information required to change binding of all applications, and the server side of the target application uses the After the private key is used to decrypt the first encrypted data, the verification information corresponding to the target application program needs to be automatically extracted from the decrypted data. In this way, the original communication number, the new communication number, and the verification information corresponding to the target application can be obtained.
S314,根据所述原通信号码查找该原通信号码预存的验证信息,并判断预存的验证信息与解密得到的验证信息是否一致。S314: Search for the pre-stored verification information of the original communication number according to the original communication number, and determine whether the pre-stored verification information is consistent with the decrypted verification information.
S315,若预存的验证信息与解密得到的验证信息一致,将所述目标应用程序的原通信号码更换为解密得到的新通信号码。S315: If the pre-stored verification information is consistent with the decrypted verification information, replace the original communication number of the target application with the new decrypted communication number.
S316,在更换完毕后,向预设更换平台的服务器端发送更换成功的消息,以及若预存的验证信息与解密得到的验证信息不一致,向预设更换平台的服务器端发送更换失败的消息。S316: After the replacement is completed, send a replacement successful message to the server of the preset replacement platform, and if the pre-stored verification information is inconsistent with the decrypted verification information, send a replacement failure message to the server of the preset replacement platform.
S317,接收所述目标应用程序的服务器端返回的更换成功或者失败的消息。S317: Receive a replacement success or failure message returned by the server of the target application.
在一实施例中,在将该目标应用程序中的原通信号码更换为新通信号码的步骤之前,目标应用程序的服务器端还执行步骤:向原通信号码所对应的客户端发送更换通信号码的确认信息;若接收到原通信号码所对应的客户端发送的确认信息后,再执行将该目标应用程序中的原通信号码更换为新通信号码的步骤。如此,进一步确保更换通信号码是否为本人操作等,提高了更换通信号码的安全。In one embodiment, before the step of replacing the original communication number in the target application with a new communication number, the server side of the target application further performs the step of sending a confirmation of changing the communication number to the client corresponding to the original communication number Information; if the confirmation message sent by the client corresponding to the original communication number is received, perform the step of replacing the original communication number in the target application with the new communication number. In this way, it is further ensured whether the replacement of the communication number is a personal operation, etc., and the safety of the replacement of the communication number is improved.
在一实施例中,在将所述目标应用程序的原通信号码更换为新通信号码之后,目标应用程序的服务器端还执行步骤:将所更换的新通信号码和所述目标应用程序所对应的应用程序信息(可以是应用标识信息等以便于预设更换平台的服务器端识别)发送至预设更换平台的服务器端,以使得预设更换平台的服务器端将所更换的新通信号码保存,以更新数据库中的信息。如此,使得预设更换平台的数据库中的数据是实时更新的。In one embodiment, after replacing the original communication number of the target application with a new communication number, the server of the target application further executes the step of: replacing the replaced new communication number with the one corresponding to the target application. The application information (which can be application identification information, etc. to facilitate the server side identification of the preset replacement platform) is sent to the server side of the preset replacement platform, so that the server side of the preset replacement platform saves the replaced new communication number, and Update the information in the database. In this way, the data in the database of the preset replacement platform is updated in real time.
需要指出的是,该实施例中与图1、图2实施例中的相同的步骤或者相同的名词描述等,请参看图1、图2实施例中的对应描述,在此不再赘述。It should be pointed out that, for the same steps or the same noun descriptions in this embodiment as those in the embodiments of FIG. 1 and FIG. 2, please refer to the corresponding descriptions in the embodiments of FIG. 1 and FIG. 2, which will not be repeated here.
由于原通信号码、新通信号码、目标应用程序所对应的验证信息等是比较隐私的数据,同时应用程序的通信号码的变更对用户来说也是一件很重要的事情。本申请实施例进一步通过消息摘要算法将预设更换平台中保存的目标应用程序的标识信息进行加密以得到第二加密数据,通过相同的消息摘要算法将目标应用程序中保存的标识信息进行加密以得到第三加密数据,并将第二加密数据与第三加密数据进行比对,以进一步判断目标应用程序的标识信息是否正确以及进一步判断网络是否安全。如此,进一步地确认目标应用程序,以及进一 步提高了信息以及信息传输的安全。Since the original communication number, the new communication number, and the verification information corresponding to the target application are relatively private data, the change of the communication number of the application is also a very important thing for users. The embodiment of the present application further encrypts the identification information of the target application stored in the preset replacement platform by a message digest algorithm to obtain the second encrypted data, and encrypts the identification information stored in the target application by the same message digest algorithm. The third encrypted data is obtained, and the second encrypted data is compared with the third encrypted data to further determine whether the identification information of the target application is correct and to further determine whether the network is secure. In this way, the target application is further confirmed, and the security of information and information transmission is further improved.
由于以上图1至图3中的实施例都已经分别说明了运行于预设更换平台的服务器端的步骤,以及运行于目标应用程序的服务器端的步骤,通过图1至图3也可以很明显的看出哪些步骤运行于预设更换平台的的服务器端,以及哪些步骤运行于目标应用程序的服务器端。同时又由于篇幅的限制,因此,本申请中将不再分别单独描述运行于预设更换平台的服务器端的一种更换通信号码的方法的流程,以及单独描述运行于目标应用程序的服务器端的一种更换通信号码的方法的流程。但是可以理解地,运行于预设更换平台的服务器端的一种更换通信号码的方法、运行于目标应用程序的服务器端的一种更换通信号码的方法可以分别单独存在。Since the embodiments in Figures 1 to 3 above have respectively explained the steps running on the server side of the preset replacement platform and the steps running on the server side of the target application, it can also be clearly seen from Figures 1 to 3 Figure out which steps run on the server side of the preset replacement platform, and which steps run on the server side of the target application. At the same time, due to space limitations, this application will no longer separately describe the process of a method for changing communication numbers running on the server side of the preset replacement platform, and separately describe a method running on the server side of the target application. The flow of the method of changing the communication number. However, it is understandable that a method for changing the communication number running on the server side of the preset replacement platform and a method for changing the communication number running on the server side of the target application can exist separately.
图4是本申请实施例提供的更换通信号码的系统的示意性框图。该系统100包括预设更换平台的服务器端,以及至少一个目标应用程序的服务器端。其中,预设更换平台的服务器端配置有更换通信号码的装置110。目标应用程序的服务器端配置有更换通信号码的装置120。如图4所示,配置于预设更换平台的服务器端的更换通信号码的装置110包括第一输入接收单元111、第一应用确定单元112、验证信息发送单元113以及第一结果接收单元114。配置于目标应用程序的服务器端的更换通信号码的装置120包括验证消息接收单元121、第一提取单元122、第一查找判断单元123、第一更换单元124以及第一结果发送单元125。Fig. 4 is a schematic block diagram of a system for changing a communication number provided by an embodiment of the present application. The system 100 includes a server end of a preset replacement platform, and a server end of at least one target application. Wherein, the server side of the preset replacement platform is configured with a device 110 for replacing the communication number. The server side of the target application is equipped with a device 120 for changing the communication number. As shown in FIG. 4, the communication number replacement device 110 configured on the server side of the preset replacement platform includes a first input receiving unit 111, a first application determining unit 112, a verification information sending unit 113, and a first result receiving unit 114. The device 120 for changing the communication number configured on the server side of the target application includes a verification message receiving unit 121, a first extraction unit 122, a first search and judgment unit 123, a first replacement unit 124, and a first result sending unit 125.
第一输入接收单元111,用于接收并保存用户通过预设更换平台的客户端输入的号码更换请求,其中,所述号码更换请求包括该客户端上所有应用程序已绑定的原通信号码、需重新绑定的新通信号码以及更改绑定所需的验证信息。第一应用确定单元112,用于根据所述号码更换请求中的原通信号码,在预设更换平台的数据库中查询与所述原通信号码匹配的应用程序作为目标应用程序。The first input receiving unit 111 is configured to receive and save the number replacement request input by the user through the client terminal of the preset replacement platform, wherein the number replacement request includes the original communication number bound to all applications on the client terminal, The new communication number to be re-bound and the verification information required to change the binding. The first application determining unit 112 is configured to query the application program matching the original communication number in the database of the preset replacement platform as the target application program according to the original communication number in the number replacement request.
验证信息发送单元113,用于将所述号码更换请求发送至所述目标应用程序的服务器端以使所述目标应用程序的服务器端通过所述验证消息将所述原通信号码更换为所述新通信号码。The verification information sending unit 113 is configured to send the number replacement request to the server side of the target application so that the server side of the target application can replace the original communication number with the new communication number through the verification message. Communication number.
第一结果接收单元114,用于接收所述目标应用程序的服务器端返回的更 换成功或者失败的消息。The first result receiving unit 114 is configured to receive a replacement success or failure message returned by the server of the target application.
验证消息接收单元121,用于接收预设更换平台的服务器端发送的号码更换请求。The verification message receiving unit 121 is configured to receive the number replacement request sent by the server of the preset replacement platform.
第一提取单元122,提取号码更换请求中的原通信号码、新通信号码以及该目标应用程序所对应的验证信息。The first extraction unit 122 extracts the original communication number, the new communication number and the verification information corresponding to the target application in the number replacement request.
第一查找判断单元123,用于根据提取的原通信号码查找该原通信号码预存的验证信息,并判断提取的该目标应用程序所对应的验证信息与该原通信号码所对应预存的验证信息是否一致。The first search and judgment unit 123 is configured to search for the verification information pre-stored in the original communication number according to the extracted original communication number, and determine whether the verification information corresponding to the extracted target application program and the verification information pre-stored corresponding to the original communication number are Consistent.
第一更换单元124,用于若提取的该目标应用程序所对应的验证信息与该原通信号码所对应预存的验证信息一致,将所述目标应用程序的原通信号码更换为提取的新通信号码。The first replacement unit 124 is configured to replace the original communication number of the target application with the extracted new communication number if the extracted verification information corresponding to the target application is consistent with the pre-stored verification information corresponding to the original communication number .
第一结果发送单元125,用于在更换完毕后,向预设平台的服务器端发送更换成功的消息,以及若提取的该目标应用程序所对应的验证信息与该原通信号码所对应预存的验证信息不一致,向预设更换平台的服务器端发送更换失败的消息。The first result sending unit 125 is configured to send a successful replacement message to the server side of the preset platform after the replacement is completed, and if the verification information corresponding to the target application is extracted and the pre-stored verification corresponding to the original communication number If the information is inconsistent, a replacement failure message is sent to the server of the preset replacement platform.
在一实施例中,配置于目标应用程序的服务器端的更换通信号码的装置120还包括确认信息发送单元。其中,确认信息发送单元,用于向原通信号码所对应的客户端发送更换通信号码的确认信息。若接收到原通信号码所对应的客户端发送的确认信息后,触发第一更换单元124,以用于将所述目标应用程序的原通信号码更换为提取的新通信号码。In an embodiment, the device 120 for changing the communication number configured on the server side of the target application further includes a confirmation information sending unit. Among them, the confirmation information sending unit is used to send confirmation information for changing the communication number to the client corresponding to the original communication number. After receiving the confirmation message sent by the client corresponding to the original communication number, the first replacement unit 124 is triggered to replace the original communication number of the target application with the extracted new communication number.
在一实施例中,配置于目标应用程序的服务器端的更换通信号码的装置120还包括更换信息发送单元。其中,更换信息发送单元,用于将所更换的新通信号码和所述目标应用程序所对应的应用程序信息发送至预设更换平台的服务器端,以使得预设更换平台的服务器端将所更换的新通信号码保存。In an embodiment, the device 120 for changing a communication number configured on the server side of the target application further includes a replacement information sending unit. Wherein, the replacement information sending unit is used to send the replaced new communication number and the application information corresponding to the target application to the server of the preset replacement platform, so that the server of the preset replacement platform will replace the The new communication number is saved.
图5是本申请另一实施例提供的更换通信号码的系统的示意性框图。该系统20包括预设更换平台的服务器端,以及至少一个目标应用程序的服务器端。其中,预设更换平台的服务器端配置有更换通信号码的装置210。目标应用程序的服务器端配置有更换通信号码的装置220。如图5所示,配置于预设更换平台的服务器端的更换通信号码的装置包括210包括第二输入接收单元211、 第二应用确定单元212、第一秘钥生成单元213、第一私钥发送单元214、第一公钥加密单元215、第一加密数据发送单元216以及第二结果接收单元217。配置于目标应用程序的服务器端的更换通信号码的装置220包括第一私钥接收单元221、第一加密数据接收单元222、第二提取单元223、第二查找判断单元224、第二更换单元225以及第二结果发送单元226。Fig. 5 is a schematic block diagram of a system for changing a communication number provided by another embodiment of the present application. The system 20 includes a server end of a preset replacement platform, and a server end of at least one target application. Wherein, the server side of the preset replacement platform is configured with a device 210 for replacing the communication number. The server side of the target application is equipped with a device 220 for changing the communication number. As shown in FIG. 5, the device for changing communication numbers configured on the server side of the preset changing platform includes 210 including a second input receiving unit 211, a second application determining unit 212, a first secret key generating unit 213, and a first private key sending unit. The unit 214, the first public key encryption unit 215, the first encrypted data sending unit 216, and the second result receiving unit 217. The device 220 for changing the communication number configured on the server side of the target application includes a first private key receiving unit 221, a first encrypted data receiving unit 222, a second extraction unit 223, a second search and judgment unit 224, a second replacement unit 225, and The second result sending unit 226.
第二输入接收单元211,用于接收并保存用户通过预设更换平台的客户端输入的号码更换请求,其中,所述号码更换请求包括所述客户端上所有应用程序已绑定的原通信号码、需重新绑定的新通信号码以及更改绑定所需的验证信息。The second input receiving unit 211 is configured to receive and save the number replacement request input by the user through the client of the preset replacement platform, wherein the number replacement request includes the original communication number bound to all applications on the client , The new communication number to be re-bound and the verification information required to change the binding.
第二应用确定单元212,用于根据所述号码更换请求中的原通信号码,在预设更换平台的数据库中查询与所述原通信号码匹配的应用程序作为目标应用程序。The second application determining unit 212 is configured to query the application program matching the original communication number in the database of the preset replacement platform as the target application program according to the original communication number in the number replacement request.
第一秘钥生成单元213,用于通过非对称加密算法生成一对公钥和私钥。The first secret key generating unit 213 is used to generate a pair of public key and private key through an asymmetric encryption algorithm.
第一私钥发送单元214,用于将所生成的私钥发送至所述目标应用程序的服务器端。The first private key sending unit 214 is configured to send the generated private key to the server of the target application.
第一公钥加密单元215,用于将所述号码更换请求,利用所生成的公钥进行加密以得到第一加密数据。The first public key encryption unit 215 is configured to encrypt the number replacement request with the generated public key to obtain the first encrypted data.
第一加密数据发送单元216,用于将所述第一加密数据发送至所述目标应用程序的服务器端。The first encrypted data sending unit 216 is configured to send the first encrypted data to the server of the target application.
第二结果接收单元217,用于接收所述目标应用程序的服务器端返回的更换成功或者失败的消息。The second result receiving unit 217 is configured to receive a replacement success or failure message returned by the server of the target application.
第一私钥接收单元221,用于接收预设更换平台的服务器端发送的私钥。The first private key receiving unit 221 is configured to receive the private key sent by the server of the preset replacement platform.
第一加密数据接收单元222,用于接收预设更换平台的服务器端发送的第一加密数据。The first encrypted data receiving unit 222 is configured to receive the first encrypted data sent by the server of the preset replacement platform.
第二提取单元223,用于利用所述私钥来解密所述第一加密数据,以得到原通信号码、新通信号码、以及所述目标应用程序所对应的的验证信息。The second extraction unit 223 is configured to use the private key to decrypt the first encrypted data to obtain the original communication number, the new communication number, and the verification information corresponding to the target application.
第二查找判断单元224,用于根据所述原通信号码查找该原通信号码预存的验证信息,并判断预存的验证信息与解密得到的验证信息是否一致。The second search and judgment unit 224 is configured to search for the pre-stored verification information of the original communication number according to the original communication number, and determine whether the pre-stored verification information is consistent with the decrypted verification information.
第二更换单元225,用于若预存的验证信息与解密得到的验证信息一致, 将所述目标应用程序的原通信号码更换为解密得到的新通信号码。The second replacement unit 225 is configured to replace the original communication number of the target application with the new decrypted communication number if the pre-stored verification information is consistent with the decrypted verification information.
第二结果发送单元226,用于在更换完毕后,向预设平台的服务器端发送更换成功的消息,以及若预存的验证信息与解密得到的验证信息不一致,向预设更换平台的服务器端发送更换失败的消息。The second result sending unit 226 is used to send a successful replacement message to the server of the preset platform after the replacement, and if the pre-stored verification information is inconsistent with the decrypted verification information, send to the server of the preset replacement platform Replacement failure message.
可以理解地,在该实施例中,第一秘钥生成单元213、第一私钥发送单元214、第一公钥加密单元215、第一加密数据发送单元216相当于图4实施例中的验证消息发送单元113,可以理解地,验证消息发送单元113包括第一秘钥生成单元213、第一私钥发送单元214、第一公钥加密单元215、第一加密数据发送单元216。第一私钥接收单元221、第一加密数据接收单元222相当于图4实施例中的验证消息接收单元121,可以理解地,验证消息接收单元121包括第一私钥接收单元221、第一加密数据接收单元222。Understandably, in this embodiment, the first secret key generation unit 213, the first private key transmission unit 214, the first public key encryption unit 215, and the first encrypted data transmission unit 216 are equivalent to the verification in the embodiment of FIG. 4 The message sending unit 113, it is understandable that the verification message sending unit 113 includes a first secret key generating unit 213, a first private key sending unit 214, a first public key encryption unit 215, and a first encrypted data sending unit 216. The first private key receiving unit 221 and the first encrypted data receiving unit 222 are equivalent to the verification message receiving unit 121 in the embodiment of FIG. 4. It is understandable that the verification message receiving unit 121 includes a first private key receiving unit 221, a first encryption Data receiving unit 222.
在一实施例中,配置于目标应用程序的服务器端的更换通信号码的装置220还包括确认信息发送单元。其中,确认信息发送单元,用于向原通信号码所对应的客户端发送更换通信号码的确认信息。若接收到原通信号码所对应的客户端发送的确认信息后,触发第二更换单元225,以用于将所述目标应用程序的原通信号码更换为解密得到的新通信号码。In an embodiment, the device 220 for changing the communication number configured on the server side of the target application further includes a confirmation information sending unit. Among them, the confirmation information sending unit is used to send confirmation information for changing the communication number to the client corresponding to the original communication number. If the confirmation message sent by the client corresponding to the original communication number is received, the second replacement unit 225 is triggered to replace the original communication number of the target application with the new decrypted communication number.
在一实施例中,配置于目标应用程序的服务器端的更换通信号码的装置220还包括更换信息发送单元。其中,更换信息发送单元,用于将所更换的新通信号码和所述目标应用程序所对应的应用程序信息发送至预设更换平台的服务器端,以使得预设更换平台的服务器端将所更换的新通信号码保存。In an embodiment, the device 220 for changing a communication number configured on the server side of the target application further includes a replacement information sending unit. Wherein, the replacement information sending unit is used to send the replaced new communication number and the application information corresponding to the target application to the server of the preset replacement platform, so that the server of the preset replacement platform will replace the The new communication number is saved.
图6是本申请另一实施例提供的更换通信号码的系统的示意性框图。该系统300包括预设更换平台的服务器端,以及至少一个目标应用程序的服务器端。其中,预设更换平台的服务器端配置有更换通信号码的装置310。目标应用程序的服务器端配置有更换通信号码的装置320。如图5所示,配置于预设更换平台的服务器端的更换通信号码的装置310包括第三输入接收单元311、第三应用确定单元312、第二秘钥生成单元313、第一摘要生成单元314、第二私钥发送单元315、第二公钥加密单元316、第二加密数据发送单元317以及第三结果接收单元318。配置于目标应用程序的服务器端的更换通信号码的装置320包括第二私钥接收单元321、第二摘要生成单元322、摘要数据判断单元323、 摘要结果发送单元324、第二加密数据接收单元325、第三提取单元326、第三查找判断单元327、第三更换单元328以及第三结果发送单元329。Fig. 6 is a schematic block diagram of a system for changing a communication number provided by another embodiment of the present application. The system 300 includes a server end of a preset replacement platform, and a server end of at least one target application. Wherein, the server side of the preset replacement platform is configured with a device 310 for replacing the communication number. The server side of the target application is equipped with a device 320 for changing the communication number. As shown in FIG. 5, the communication number replacement device 310 configured on the server side of the preset replacement platform includes a third input receiving unit 311, a third application determining unit 312, a second secret key generating unit 313, and a first digest generating unit 314 , The second private key sending unit 315, the second public key encryption unit 316, the second encrypted data sending unit 317, and the third result receiving unit 318. The device 320 for changing the communication number configured on the server side of the target application includes a second private key receiving unit 321, a second digest generating unit 322, a digest data judging unit 323, a digest result sending unit 324, a second encrypted data receiving unit 325, The third extraction unit 326, the third search and judgment unit 327, the third replacement unit 328, and the third result sending unit 329.
第三输入接收单元311,用于接收并保存用户通过预设更换平台的客户端输入的号码更换请求,其中,所述号码更换请求包括所述客户端上所有应用程序已绑定的原通信号码、需重新绑定的新通信号码以及更改绑定所需的验证信息。The third input receiving unit 311 is configured to receive and save the number replacement request input by the user through the client of the preset replacement platform, wherein the number replacement request includes the original communication number bound to all applications on the client , The new communication number to be re-bound and the verification information required to change the binding.
第三应用确定单元312,用于根据所述号码更换请求中的原通信号码,在预设更换平台的数据库中查询与所述原通信号码匹配的应用程序作为目标应用程序。The third application determining unit 312 is configured to query the application program matching the original communication number in the database of the preset replacement platform as the target application program according to the original communication number in the number replacement request.
第二秘钥生成单元313,用于通过非对称加密算法生成一对公钥和私钥。The second secret key generating unit 313 is used to generate a pair of public key and private key through an asymmetric encryption algorithm.
第一摘要生成单元314,用于通过消息摘要算法将所述目标应用程序的标识信息进行加密以得到第二加密数据。The first digest generating unit 314 is configured to encrypt the identification information of the target application through a message digest algorithm to obtain second encrypted data.
第二私钥发送单元315,用于将所生成的私钥、所生成的第二加密数据发送至所述目标应用程序的服务器端。The second private key sending unit 315 is configured to send the generated private key and the generated second encrypted data to the server of the target application.
第二公钥加密单元316,用于若接收到所述目标应用程序的服务器端返回的确认信息,将所述号码更换请求,利用所生成的公钥进行加密以得到第一加密数据。The second public key encryption unit 316 is configured to, if the confirmation message returned by the server of the target application is received, encrypt the number replacement request with the generated public key to obtain the first encrypted data.
第二加密数据发送单元317,用于将所述第一加密数据发送至所述目标应用程序的服务器端。The second encrypted data sending unit 317 is configured to send the first encrypted data to the server of the target application.
第三结果接收单元318,用于接收所述目标应用程序的服务器端返回的更换成功或者失败的消息。The third result receiving unit 318 is configured to receive a replacement success or failure message returned by the server of the target application.
第二私钥接收单元321,用于接收预设更换平台的服务器端发送的私钥和第二加密数据。The second private key receiving unit 321 is configured to receive the private key and the second encrypted data sent by the server of the preset replacement platform.
第二摘要生成单元322,用于获取所述目标应用程序的标识信息,利用相同的消息摘要算法将标识信息进行加密,以得到第三加密数据。The second digest generating unit 322 is configured to obtain the identification information of the target application, and encrypt the identification information using the same message digest algorithm to obtain the third encrypted data.
摘要数据判断单元323,用于判断所述第二加密数据和所述第三加密数据是否一致。The summary data judging unit 323 is configured to judge whether the second encrypted data and the third encrypted data are consistent.
摘要结果发送单元324,用于若所述第二加密数据和所述第三加密数据一致,向预设更换平台的服务器端发送确认信息;若所述第二加密数据和所述第 三加密数据不一致,向预设平台的服务器端发送更换失败的消息。The summary result sending unit 324 is configured to send confirmation information to the server of the preset replacement platform if the second encrypted data is consistent with the third encrypted data; if the second encrypted data and the third encrypted data If they are inconsistent, send a replacement failure message to the server of the preset platform.
第二加密数据接收单元325,用于接收预设更换平台的服务器端发送的第一加密数据。The second encrypted data receiving unit 325 is configured to receive the first encrypted data sent by the server of the preset replacement platform.
第三提取单元326,用于利用所述私钥来解密所述第一加密数据,以得到原通信号码、新通信号码、以及所述目标应用程序所对应的的验证信息。The third extraction unit 326 is configured to use the private key to decrypt the first encrypted data to obtain the original communication number, the new communication number, and the verification information corresponding to the target application.
第三查找判断单元327,用于根据所述原通信号码查找该原通信号码预存的验证信息,并判断预存的验证信息与解密得到的验证信息是否一致。The third searching and judging unit 327 is configured to search for the pre-stored verification information of the original communication number according to the original communication number, and determine whether the pre-stored verification information is consistent with the decrypted verification information.
第三更换单元328,用于若预存的验证信息与解密得到的验证信息一致,将所述目标应用程序的原通信号码更换为解密得到的新通信号码。The third replacement unit 328 is configured to replace the original communication number of the target application with the new decrypted communication number if the pre-stored verification information is consistent with the decrypted verification information.
第三结果发送单元329,用于在更换完毕后,向预设平台的服务器端发送更换成功的消息,以及若预存的验证信息与解密得到的验证信息不一致,向预设更换平台的服务器端发送更换失败的消息。The third result sending unit 329 is used to send a successful replacement message to the server of the preset platform after the replacement, and if the pre-stored verification information is inconsistent with the decrypted verification information, send to the server of the preset replacement platform Replacement failure message.
可以理解地,在该实施例中,第二秘钥生成单元313、第一摘要生成单元314、第二私钥发送单元315、第二公钥加密单元316、第二加密数据发送单元317相当于图4实施例中的验证消息发送单元113,可以理解的,验证消息发送单元113包括第二秘钥生成单元313、第一摘要生成单元314、第二私钥发送单元315、第二公钥加密单元316、第二加密数据发送单元317。在该实施例中,第二私钥接收单元321、第二摘要生成单元322、摘要数据判断单元323、摘要结果发送单元324、第二加密数据接收单元325相当于图4实施例中的验证消息接收单元121,可以理解地,验证消息接收单元121包括第二私钥接收单元321、第二摘要生成单元322、摘要数据判断单元323、摘要结果发送单元324、第二加密数据接收单元325。Understandably, in this embodiment, the second secret key generation unit 313, the first digest generation unit 314, the second private key transmission unit 315, the second public key encryption unit 316, and the second encrypted data transmission unit 317 are equivalent to The verification message sending unit 113 in the embodiment of FIG. 4 can be understood that the verification message sending unit 113 includes a second secret key generating unit 313, a first digest generating unit 314, a second private key sending unit 315, and a second public key encryption Unit 316, a second encrypted data sending unit 317. In this embodiment, the second private key receiving unit 321, the second digest generating unit 322, the digest data determining unit 323, the digest result sending unit 324, and the second encrypted data receiving unit 325 are equivalent to the verification message in the embodiment of FIG. 4 The receiving unit 121, understandably, the verification message receiving unit 121 includes a second private key receiving unit 321, a second digest generating unit 322, a digest data judging unit 323, a digest result sending unit 324, and a second encrypted data receiving unit 325.
在一实施例中,配置于目标应用程序的服务器端的更换通信号码的装置320还包括确认信息发送单元。其中,确认信息发送单元,用于向原通信号码所对应的客户端发送更换通信号码的确认信息。若接收到原通信号码所对应的客户端发送的确认信息后,触发第三更换单元328,以用于将所述目标应用程序的原通信号码更换为解密得到的新通信号码。In an embodiment, the device 320 for changing the communication number configured on the server side of the target application further includes a confirmation information sending unit. Among them, the confirmation information sending unit is used to send confirmation information for changing the communication number to the client corresponding to the original communication number. After receiving the confirmation message sent by the client corresponding to the original communication number, the third replacement unit 328 is triggered to replace the original communication number of the target application with the new decrypted communication number.
在一实施例中,配置于目标应用程序的服务器端的更换通信号码的装置320还包括更换信息发送单元。其中,更换信息发送单元,用于将所更换的新 通信号码和所述目标应用程序所对应的应用程序信息发送至预设更换平台的服务器端,以使得预设更换平台的服务器端将所更换的新通信号码保存。In an embodiment, the device 320 for changing the communication number configured on the server side of the target application further includes a replacement information sending unit. Wherein, the replacement information sending unit is used to send the replaced new communication number and the application information corresponding to the target application to the server of the preset replacement platform, so that the server of the preset replacement platform will replace the The new communication number is saved.
需要注意的是,以上配置于预设更换平台的服务器端的更换通信号码的装置、配置于该目标应用程序的服务器端的更换通信号码的装置都可以独立存在。由于独立存在时对应各个单元模块的组成部分与在更换通信号码的系统里的组成部分相同,因此不在分别描述。It should be noted that the communication number replacement device configured on the server side of the preset replacement platform and the communication number replacement device configured on the server side of the target application can all exist independently. Since the components corresponding to each unit module when they exist independently are the same as those in the system for changing communication numbers, they will not be described separately.
需要说明的是,所属领域的技术人员可以清楚地了解到,上述装置和各单元的具体实现过程,可以参考前述方法实施例中的相应描述,为了描述的方便和简洁,在此不再赘述。It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned device and each unit can refer to the corresponding description in the foregoing method embodiment. For the convenience and brevity of the description, it will not be repeated here.
上述装置可以实现为一种计算机程序的形式,计算机程序可以在如图7所示的计算机设备上运行。The above-mentioned device may be implemented in the form of a computer program, and the computer program may run on the computer device as shown in FIG. 7.
图7为本申请实施例提供的一种计算机设备的示意性框图。该设备为服务器等设备,如PaaS平台中的服务器等。该设备400包括通过系统总线401连接的处理器402、存储器和网络接口403,其中,存储器可以包括非易失性存储介质404和内存储器405。FIG. 7 is a schematic block diagram of a computer device provided by an embodiment of the application. The equipment is a server and other equipment, such as a server in the PaaS platform. The device 400 includes a processor 402, a memory, and a network interface 403 connected through a system bus 401, where the memory may include a non-volatile storage medium 404 and an internal memory 405.
该非易失性存储介质404可存储操作系统4041和计算机程序4042。该非易失性存储介质中所存储的计算机程序4042被处理器402执行时,可实现上述运行于预设更换平台的服务器端的更换通信号码的方法。该处理器402用于提供计算和控制能力,支撑整个设备400的运行。该内存储器405为非易失性存储介质中的计算机程序的运行提供环境,该计算机程序被处理器402执行时,可使得处理器402执行上述运行于预设更换平台的服务器端的更换通信号码的方法。该网络接口403用于进行网络通信。本领域技术人员可以理解,图中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的设备的限定,具体的设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。The non-volatile storage medium 404 can store an operating system 4041 and a computer program 4042. When the computer program 4042 stored in the non-volatile storage medium is executed by the processor 402, the above-mentioned method of changing the communication number running on the server side of the preset changing platform can be realized. The processor 402 is used to provide computing and control capabilities, and support the operation of the entire device 400. The internal memory 405 provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor 402, the processor 402 can execute the above-mentioned replacement communication number running on the server side of the preset replacement platform. method. The network interface 403 is used for network communication. Those skilled in the art can understand that the structure shown in the figure is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the device to which the solution of the present application is applied. The specific device may include a diagram More or fewer components are shown in, or some components are combined, or have different component arrangements.
其中,所述处理器402用于运行存储在存储器中的计算机程序,以实现上述运行于预设更换平台的服务器端的更换通信号码的方法的任一实施例。Wherein, the processor 402 is configured to run a computer program stored in a memory to implement any embodiment of the method for changing a communication number running on the server side of the preset changing platform.
本申请另一实施例还提供了一种计算机设备的示意性框图。在本实施例中,所述设备为服务器。具体请参看图7,该计算机设备包括与图7所示计算机设 备相同的结构。该计算机设备与图7所示计算机设备的不同在于,该计算机设备中非易失性存储介质所存储的计算机程序被处理器402执行时,可实现上述运行于目标应用程序的服务器端的更换通信号码的方法的任一实施例。Another embodiment of the present application also provides a schematic block diagram of a computer device. In this embodiment, the device is a server. Please refer to Fig. 7 for details. The computer device includes the same structure as the computer device shown in Fig. 7. The computer device is different from the computer device shown in FIG. 7 in that when the computer program stored in the non-volatile storage medium in the computer device is executed by the processor 402, the above-mentioned replacement communication number running on the server side of the target application can be realized. Any embodiment of the method.
应当理解,在本申请实施例中,所称处理器402可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(应用程序lication Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in the embodiment of the present application, the processor 402 may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors or digital signal processors (DSP). , Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
本领域普通技术人员可以理解的是实现上述实施例的方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成。该计算机程序可存储于一存储介质中,该存储介质可以为计算机可读存储介质。该计算机程序被该计算机系统中的至少一个处理器执行,以实现上述方法的实施例的流程步骤。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the foregoing embodiments can be implemented by computer programs instructing relevant hardware. The computer program may be stored in a storage medium, and the storage medium may be a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the foregoing method embodiment.
因此,本申请还提供了一种存储介质。该存储介质可以为计算机可读存储介质,该计算机可读存储介质包括非易失性计算机可读存储介质。该存储介质存储有计算机程序,该计算机程序当被处理器执行时,实现上述运行于预设更换平台的服务器端的更换通信号码的方法的任一实施例。Therefore, this application also provides a storage medium. The storage medium may be a computer-readable storage medium, and the computer-readable storage medium includes a non-volatile computer-readable storage medium. The storage medium stores a computer program, and when the computer program is executed by the processor, it implements any embodiment of the communication number replacement method that runs on the server side of the preset replacement platform.
本申请的另一实施例中还提供了一种存储介质。该存储介质可以为计算机可读存储介质,该计算机可读存储介质包括非易失性计算机可读存储介质。该存储介质存储有计算机程序,该计算机程序当被处理器执行时,可实现上述运行于目标应用程序的服务器端的更换通信号码的方法的任一实施例。Another embodiment of the present application also provides a storage medium. The storage medium may be a computer-readable storage medium, and the computer-readable storage medium includes a non-volatile computer-readable storage medium. The storage medium stores a computer program, and when the computer program is executed by a processor, it can implement any embodiment of the method for changing a communication number running on the server side of the target application program.
所述存储介质为实体的、非瞬时性的存储介质,例如可以是U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的实体存储介质。The storage medium is a physical, non-transitory storage medium, such as a U disk, a mobile hard disk, a read-only memory (Read-Only Memory, ROM), a magnetic disk, or an optical disk that can store program codes. medium.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置、设备和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上 述描述的装置、设备和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。In the several embodiments provided in this application, it should be understood that the disclosed devices, equipment, and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, and the division of the units is only a logical function division, and there may be other division methods in actual implementation. Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working processes of the devices, equipment, and units described above can refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here. The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Anyone familiar with the technical field can easily think of various equivalents within the technical scope disclosed in this application. Modifications or replacements, these modifications or replacements shall be covered within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (20)

  1. 一种更换通信号码的方法,应用于预设更换平台的服务器端,所述预设更换平台还包括与所述服务器端通信的客户端,所述客户端上安装有应用程序,其中,所述方法包括:A method for changing a communication number is applied to the server side of a preset replacement platform, the preset replacement platform further includes a client communicating with the server, and an application program is installed on the client, wherein the Methods include:
    接收并保存用户通过所述客户端输入的号码更换请求,其中,所述号码更换请求包括所述客户端上所有应用程序已绑定的原通信号码、需重新绑定的新通信号码以及更改绑定所需的验证信息;Receive and save the number replacement request entered by the user through the client, where the number replacement request includes the original communication number bound to all applications on the client, the new communication number that needs to be re-bound, and the change binding Specify the required verification information;
    根据所述原通信号码,在预设更换平台的数据库中查询与所述原通信号码匹配的应用程序作为目标应用程序;According to the original communication number, query the application program matching the original communication number in the database of the preset replacement platform as the target application program;
    将所述号码更换请求发送至所述目标应用程序的服务器端,以使所述目标应用程序的服务器端根据所述验证信息将所述原通信号码更换为所述新通信号码;Sending the number change request to the server end of the target application, so that the server end of the target application replaces the original communication number with the new communication number according to the verification information;
    接收所述目标应用程序的服务器端返回的更换成功或者失败的消息。Receive a replacement success or failure message returned by the server of the target application.
  2. 根据权利要求1所述的方法,其中,所述将所述号码更换请求发送至所述目标应用程序的服务器端,以使所述目标应用程序的服务器端根据所述验证信息将所述原通信号码更换为所述新通信号码,包括:The method according to claim 1, wherein the request for changing the number is sent to the server of the target application, so that the server of the target application sends the original communication according to the verification information. The number is replaced with the new communication number, including:
    通过非对称加密算法生成一对公钥和私钥;Generate a pair of public key and private key through asymmetric encryption algorithm;
    将所生成的私钥发送至所述目标应用程序的服务器端;Sending the generated private key to the server of the target application;
    将所述号码更换请求,利用所生成的公钥进行加密以得到第一加密数据;Encrypt the number replacement request with the generated public key to obtain the first encrypted data;
    将所述第一加密数据发送至所述目标应用程序的服务器端,以使所述目标应用程序的服务器端利用接收到的私钥解密所述第一加密数据以得到原通信号码、新通信号码以及所述目标应用程序所对应的验证信息,并使得所述目标应用程序的服务器端判断所对应的验证信息与所述原通信号码预存的验证信息是否一致,且在所述目标应用程序所对应的验证信息与预存的验证信息一致的情况下,将所述目标应用程序中的原通信号码更换为新通信号码,在所述目标应用程序所对应的验证信息与预存的验证信息不一致的情况下,返回更换失败的消息。The first encrypted data is sent to the server of the target application, so that the server of the target application uses the received private key to decrypt the first encrypted data to obtain the original communication number and the new communication number And the verification information corresponding to the target application, so that the server of the target application determines whether the corresponding verification information is consistent with the verification information pre-stored in the original communication number, and the verification information corresponding to the target application If the verification information of the target application is consistent with the pre-stored verification information, replace the original communication number in the target application with a new communication number. In the case that the verification information corresponding to the target application is inconsistent with the pre-stored verification information , And return the replacement failure message.
  3. 根据权利要求2所述的方法,其中,在所述将所生成的私钥发送至所述目标应用程序的服务器端之前,所述方法还包括:The method according to claim 2, wherein, before the sending the generated private key to the server of the target application, the method further comprises:
    通过消息摘要算法将所述目标应用程序的标识信息进行加密以得到第二加密数据。The identification information of the target application is encrypted by a message digest algorithm to obtain second encrypted data.
  4. 根据权利要求3所述的方法,其中,所述将所生成的私钥发送至所述目标应用程序的服务器端,包括:将所述第二加密数据、所生成的私钥发送至所述目标应用程序的服务器端,以使得目标应用程序的服务器端接收到所述第二加密数据后,判断该第二加密数据与所述目标应用程序所生成的第三加密数据是否一致,以及若第二加密数据与所述第三加密数据一致,返回确认信息;若第二加密数据与所述第三加密数据不一致,返回更换失败的消息;其中,所述第三加密数据是所述目标应用程序根据相同的消息摘要算法将所对应的标识信息进行加密得到的;The method according to claim 3, wherein the sending the generated private key to the server side of the target application comprises: sending the second encrypted data and the generated private key to the target The server side of the application program, so that after the server side of the target application program receives the second encrypted data, it determines whether the second encrypted data is consistent with the third encrypted data generated by the target application program, and if the second encrypted data is If the encrypted data is consistent with the third encrypted data, a confirmation message is returned; if the second encrypted data is inconsistent with the third encrypted data, a replacement failure message is returned; wherein the third encrypted data is based on the target application The same message digest algorithm is obtained by encrypting the corresponding identification information;
    若接收到所述目标应用程序的服务器端返回的确认信息,执行所述将所述号码更换请求,利用所生成的公钥进行加密以得到第一加密数据的步骤。If the confirmation message returned by the server of the target application is received, the step of performing the number replacement request and encrypting with the generated public key to obtain the first encrypted data.
  5. 一种更换通信号码的方法,应用于目标应用程序的服务器端,其中,所述方法包括:A method for changing a communication number is applied to the server side of a target application, wherein the method includes:
    接收预设更换平台的服务器端发送的私钥;Receive the private key sent by the server of the preset replacement platform;
    接收预设更换平台的服务器端发送的第一加密数据,其中,所述第一加密数据是预设更换平台的服务器端将号码更换请求利用所生成的公钥进行加密得到的,其中,所述私钥和公钥是一对秘钥,所述号码更换请求包括预设更换平台的客户端上所有应用已绑定的原通信号码、需重新绑定的新通信号码以及更改绑定所需的验证信息;Receiving the first encrypted data sent by the server of the preset replacement platform, where the first encrypted data is obtained by encrypting the number replacement request by the generated public key by the server of the preset replacement platform, wherein the The private key and the public key are a pair of secret keys, and the number replacement request includes the original communication number that has been bound to all applications on the client of the preset replacement platform, the new communication number that needs to be re-bound, and the number required to change the binding. verify message;
    利用所述私钥来解密所述第一加密数据,以得到原通信号码、新通信号码、以及所述目标应用程序所对应的的验证信息;Decrypt the first encrypted data by using the private key to obtain the original communication number, the new communication number, and the verification information corresponding to the target application;
    根据所述原通信号码查找该原通信号码预存的验证信息,并判断预存的验证信息与解密得到的验证信息是否一致;Search for the pre-stored verification information of the original communication number according to the original communication number, and determine whether the pre-stored verification information is consistent with the decrypted verification information;
    若预存的验证信息与解密得到的验证信息一致,将所述目标应用程序所对应的原通信号码更换为解密得到的新通信号码,并向预设更换平台的服务器端发送更换成功的消息。If the pre-stored verification information is consistent with the decrypted verification information, the original communication number corresponding to the target application is replaced with the new decrypted communication number, and a replacement successful message is sent to the server of the preset replacement platform.
  6. 根据权利要求5所述的方法,其中,所述方法还包括:The method according to claim 5, wherein the method further comprises:
    若预存的验证信息与解密得到的验证信息不一致,向预设更换平台的服务 器端发送更换失败的消息。If the pre-stored verification information is inconsistent with the decrypted verification information, a replacement failure message is sent to the server of the preset replacement platform.
  7. 根据权利要求5所述的方法,其中,在所述接收预设更换平台的服务器端发送的第一加密数据之前,所述方法还包括:The method according to claim 5, wherein before the receiving the first encrypted data sent by the server of the preset replacement platform, the method further comprises:
    接收预设更换平台的服务器端发送的第二加密数据,其中,所述第二加密数据是预设更换平台的服务器端利用消息摘要算法将所述目标应用程序的标识信息进行加密得到的;Receiving second encrypted data sent by the server of the preset replacement platform, where the second encrypted data is obtained by encrypting the identification information of the target application by the server of the preset replacement platform using a message digest algorithm;
    获取所述目标应用程序的标识信息,利用相同的消息摘要算法将标识信息进行加密,以得到第三加密数据;Acquiring the identification information of the target application, and encrypting the identification information using the same message digest algorithm to obtain the third encrypted data;
    判断所述第二加密数据和所述第三加密数据是否一致;Determine whether the second encrypted data and the third encrypted data are consistent;
    若所述第二加密数据和所述第三加密数据一致,向预设更换平台的服务器端发送确认信息,以使得预设更换平台的服务器端根据所述确认信息发送所述第一加密数据;If the second encrypted data is consistent with the third encrypted data, sending confirmation information to the server of the preset replacement platform, so that the server of the preset replacement platform sends the first encrypted data according to the confirmation information;
    若所述第二加密数据和所述第三加密数据不一致,向预设更换平台的服务器端发送更换失败的消息。If the second encrypted data is inconsistent with the third encrypted data, a replacement failure message is sent to the server of the preset replacement platform.
  8. 根据权利要求5所述的方法,其中,在所述将所述目标应用程序的原通信号码更换为解密得到的新通信号码的步骤之前,所述方法还包括:The method according to claim 5, wherein, before the step of replacing the original communication number of the target application with a new communication number obtained by decryption, the method further comprises:
    向原通信号码所对应的客户端发送更换通信号码的确认信息;Send the confirmation message of changing the communication number to the client corresponding to the original communication number;
    若接收到原通信号码所对应的客户端发送的确认信息后,执行所述将所述目标应用程序的原通信号码更换为解密得到的新通信号码的步骤。If the confirmation message sent by the client corresponding to the original communication number is received, the step of replacing the original communication number of the target application with the new communication number obtained by decryption is performed.
  9. 一种更换通信号码的装置,包括:A device for changing communication numbers, including:
    第一输入接收单元,用于接收并保存用户通过预设更换平台的客户端输入的号码更换请求,其中,所述号码更换请求包括该客户端上所有应用程序已绑定的原通信号码、需重新绑定的新通信号码以及更改绑定所需的验证信息;The first input receiving unit is used to receive and save the number replacement request input by the user through the client of the preset replacement platform, wherein the number replacement request includes the original communication number and the request number bound to all applications on the client The new communication number to be re-bound and the verification information required to change the binding;
    第一应用确定单元,用于根据所述号码更换请求中的原通信号码,在预设更换平台的数据库中查询与所述原通信号码匹配的应用程序作为目标应用程序;The first application determining unit is configured to query the application program matching the original communication number in the database of the preset replacement platform as the target application program according to the original communication number in the number replacement request;
    验证信息发送单元,用于将所述号码更换请求发送至所述目标应用程序的服务器端以使所述目标应用程序的服务器端通过所述验证消息将所述原通信号码更换为所述新通信号码;A verification information sending unit, configured to send the number replacement request to the server side of the target application so that the server side of the target application can replace the original communication number with the new communication through the verification message number;
    第一结果接收单元,用于接收所述目标应用程序的服务器端返回的更换成功或者失败的消息。The first result receiving unit is configured to receive a replacement success or failure message returned by the server of the target application.
  10. 一种更换通信号码的装置,包括:A device for changing communication numbers, including:
    验证消息接收单元,用于接收预设更换平台的服务器端发送的号码更换请求;The verification message receiving unit is used to receive the number replacement request sent by the server of the preset replacement platform;
    第一提取单元,提取号码更换请求中的原通信号码、新通信号码以及该目标应用程序所对应的验证信息;The first extraction unit extracts the original communication number, the new communication number and the verification information corresponding to the target application in the number replacement request;
    第一查找判断单元,用于根据提取的原通信号码查找该原通信号码预存的验证信息,并判断提取的该目标应用程序所对应的验证信息与该原通信号码所对应预存的验证信息是否一致;The first search and judgment unit is used to search for the verification information pre-stored in the original communication number according to the extracted original communication number, and determine whether the verification information corresponding to the extracted target application program is consistent with the pre-stored verification information corresponding to the original communication number ;
    第一更换单元,用于若提取的该目标应用程序所对应的验证信息与该原通信号码所对应预存的验证信息一致,将所述目标应用程序的原通信号码更换为提取的新通信号码;The first replacement unit is configured to replace the original communication number of the target application with the extracted new communication number if the extracted verification information corresponding to the target application is consistent with the pre-stored verification information corresponding to the original communication number;
    第一结果发送单元,用于在更换完毕后,向预设平台的服务器端发送更换成功的消息,以及若提取的该目标应用程序所对应的验证信息与该原通信号码所对应预存的验证信息不一致,向预设更换平台的服务器端发送更换失败的消息。The first result sending unit is used to send a successful replacement message to the server side of the preset platform after the replacement is completed, and if the verification information corresponding to the target application program is extracted and the verification information pre-stored corresponding to the original communication number If they are inconsistent, send a replacement failure message to the server of the preset replacement platform.
  11. 一种更换通信号码的系统,包括预设更换平台的服务器端,以及至少一个目标应用程序的服务器端,其中,所述预设更换平台的服务器端包括:A system for changing a communication number includes a server end of a preset replacement platform and a server end of at least one target application program, wherein the server end of the preset replacement platform includes:
    第一输入接收单元,用于接收并保存用户通过预设更换平台的客户端输入的号码更换请求,其中,所述号码更换请求包括该客户端上所有应用程序已绑定的原通信号码、需重新绑定的新通信号码以及更改绑定所需的验证信息;The first input receiving unit is used to receive and save the number replacement request input by the user through the client of the preset replacement platform, wherein the number replacement request includes the original communication number and the request number bound to all applications on the client The new communication number to be re-bound and the verification information required to change the binding;
    第一应用确定单元,用于根据所述号码更换请求中的原通信号码,在预设更换平台的数据库中查询与所述原通信号码匹配的应用程序作为目标应用程序;The first application determining unit is configured to query the application program matching the original communication number in the database of the preset replacement platform as the target application program according to the original communication number in the number replacement request;
    验证信息发送单元,用于将所述号码更换请求发送至所述目标应用程序的服务器端以使所述目标应用程序的服务器端通过所述验证消息将所述原通信号码更换为所述新通信号码;A verification information sending unit, configured to send the number replacement request to the server side of the target application so that the server side of the target application can replace the original communication number with the new communication through the verification message number;
    第一结果接收单元,用于接收所述目标应用程序的服务器端返回的更换成 功或者失败的消息;The first result receiving unit is configured to receive a successful or failed replacement message returned by the server of the target application;
    所述目标应用程序的服务器端包括:The server side of the target application includes:
    验证消息接收单元,用于接收预设更换平台的服务器端发送的号码更换请求;The verification message receiving unit is used to receive the number replacement request sent by the server of the preset replacement platform;
    第一提取单元,提取号码更换请求中的原通信号码、新通信号码以及该目标应用程序所对应的验证信息;The first extraction unit extracts the original communication number, the new communication number and the verification information corresponding to the target application in the number replacement request;
    第一查找判断单元,用于根据提取的原通信号码查找该原通信号码预存的验证信息,并判断提取的该目标应用程序所对应的验证信息与该原通信号码所对应预存的验证信息是否一致;The first search and judgment unit is used to search for the verification information pre-stored in the original communication number according to the extracted original communication number, and determine whether the verification information corresponding to the extracted target application program is consistent with the pre-stored verification information corresponding to the original communication number ;
    第一更换单元,用于若提取的该目标应用程序所对应的验证信息与该原通信号码所对应预存的验证信息一致,将所述目标应用程序的原通信号码更换为提取的新通信号码;The first replacement unit is configured to replace the original communication number of the target application with the extracted new communication number if the extracted verification information corresponding to the target application is consistent with the pre-stored verification information corresponding to the original communication number;
    第一结果发送单元,用于在更换完毕后,向预设平台的服务器端发送更换成功的消息,以及若提取的该目标应用程序所对应的验证信息与该原通信号码所对应预存的验证信息不一致,向预设更换平台的服务器端发送更换失败的消息。The first result sending unit is used to send a successful replacement message to the server side of the preset platform after the replacement is completed, and if the verification information corresponding to the target application program is extracted and the verification information pre-stored corresponding to the original communication number If they are inconsistent, send a replacement failure message to the server of the preset replacement platform.
  12. 一种计算机设备,包括存储器以及与所述存储器相连的处理器;所述存储器用于存储计算机程序;所述计算机设备应用于预设更换平台,所述预设更换平台还包括与所述计算机设备通信的客户端,所述客户端上安装有应用程序,所述处理器用于运行所述存储器中存储的计算机程序,以执行如下步骤:A computer device includes a memory and a processor connected to the memory; the memory is used to store a computer program; the computer device is applied to a preset replacement platform, and the preset replacement platform also includes a connection with the computer device A communicating client, an application program is installed on the client, and the processor is configured to run a computer program stored in the memory to execute the following steps:
    接收并保存用户通过所述客户端输入的号码更换请求,其中,所述号码更换请求包括所述客户端上所有应用程序已绑定的原通信号码、需重新绑定的新通信号码以及更改绑定所需的验证信息;Receive and save the number replacement request entered by the user through the client, where the number replacement request includes the original communication number bound to all applications on the client, the new communication number that needs to be re-bound, and the change binding Specify the required verification information;
    根据所述原通信号码,在预设更换平台的数据库中查询与所述原通信号码匹配的应用程序作为目标应用程序;According to the original communication number, query the application program matching the original communication number in the database of the preset replacement platform as the target application program;
    将所述号码更换请求发送至所述目标应用程序的服务器端,以使所述目标应用程序的服务器端根据所述验证信息将所述原通信号码更换为所述新通信号码;Sending the number change request to the server end of the target application, so that the server end of the target application replaces the original communication number with the new communication number according to the verification information;
    接收所述目标应用程序的服务器端返回的更换成功或者失败的消息。Receive a replacement success or failure message returned by the server of the target application.
  13. 根据权利要求12所述的计算机设备,其中,所述将所述号码更换请求发送至所述目标应用程序的服务器端,以使所述目标应用程序的服务器端根据所述验证信息将所述原通信号码更换为所述新通信号码的步骤,包括:The computer device according to claim 12, wherein the request for changing the number is sent to the server side of the target application, so that the server side of the target application updates the original number according to the verification information. The steps of replacing the communication number with the new communication number include:
    通过非对称加密算法生成一对公钥和私钥;Generate a pair of public key and private key through asymmetric encryption algorithm;
    将所生成的私钥发送至所述目标应用程序的服务器端;Sending the generated private key to the server of the target application;
    将所述号码更换请求,利用所生成的公钥进行加密以得到第一加密数据;Encrypt the number replacement request with the generated public key to obtain the first encrypted data;
    将所述第一加密数据发送至所述目标应用程序的服务器端,以使所述目标应用程序的服务器端利用接收到的私钥解密所述第一加密数据以得到原通信号码、新通信号码以及所述目标应用程序所对应的验证信息,并使得所述目标应用程序的服务器端判断所对应的验证信息与所述原通信号码预存的验证信息是否一致,且在所述目标应用程序所对应的验证信息与预存的验证信息一致的情况下,将所述目标应用程序中的原通信号码更换为新通信号码,在所述目标应用程序所对应的验证信息与预存的验证信息不一致的情况下,返回更换失败的消息。The first encrypted data is sent to the server of the target application, so that the server of the target application uses the received private key to decrypt the first encrypted data to obtain the original communication number and the new communication number And the verification information corresponding to the target application, so that the server of the target application determines whether the corresponding verification information is consistent with the verification information pre-stored in the original communication number, and the verification information corresponding to the target application If the verification information of the target application is consistent with the pre-stored verification information, replace the original communication number in the target application with a new communication number. In the case that the verification information corresponding to the target application is inconsistent with the pre-stored verification information , And return the replacement failure message.
  14. 根据权利要求13所述的计算机设备,其中,在所述将所生成的私钥发送至所述目标应用程序的服务器端的步骤之前,所述处理器还执行如下步骤:The computer device according to claim 13, wherein, before the step of sending the generated private key to the server of the target application, the processor further executes the following steps:
    通过消息摘要算法将所述目标应用程序的标识信息进行加密以得到第二加密数据。The identification information of the target application is encrypted by a message digest algorithm to obtain second encrypted data.
  15. 根据权利要求14所述的计算机设备,其中,所述将所生成的私钥发送至所述目标应用程序的服务器端的步骤,包括:将所述第二加密数据、所生成的私钥发送至所述目标应用程序的服务器端,以使得目标应用程序的服务器端接收到所述第二加密数据后,判断该第二加密数据与所述目标应用程序所生成的第三加密数据是否一致,以及若第二加密数据与所述第三加密数据一致,返回确认信息;若第二加密数据与所述第三加密数据不一致,返回更换失败的消息;其中,所述第三加密数据是所述目标应用程序根据相同的消息摘要算法将所对应的标识信息进行加密得到的;The computer device according to claim 14, wherein the step of sending the generated private key to the server of the target application comprises: sending the second encrypted data and the generated private key to the The server side of the target application program, so that after receiving the second encrypted data, the server side of the target application program determines whether the second encrypted data is consistent with the third encrypted data generated by the target application program, and if If the second encrypted data is consistent with the third encrypted data, a confirmation message is returned; if the second encrypted data is inconsistent with the third encrypted data, a replacement failure message is returned; wherein, the third encrypted data is the target application The program encrypts the corresponding identification information according to the same message digest algorithm;
    若接收到所述目标应用程序的服务器端返回的确认信息,执行所述将所述号码更换请求,利用所生成的公钥进行加密以得到第一加密数据的步骤。If the confirmation message returned by the server of the target application is received, the step of performing the number replacement request and encrypting with the generated public key to obtain the first encrypted data.
  16. 一种计算机设备,包括存储器以及与所述存储器相连的处理器;所述存 储器用于存储计算机程序;所述处理器用于运行所述存储器中存储的计算机程序,以执行如下步骤:A computer device includes a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the computer program stored in the memory to perform the following steps:
    接收预设更换平台的服务器端发送的私钥;Receive the private key sent by the server of the preset replacement platform;
    接收预设更换平台的服务器端发送的第一加密数据,其中,所述第一加密数据是预设更换平台的服务器端将号码更换请求利用所生成的公钥进行加密得到的,其中,所述私钥和公钥是一对秘钥,所述号码更换请求包括预设更换平台的客户端上所有应用已绑定的原通信号码、需重新绑定的新通信号码以及更改绑定所需的验证信息;Receiving the first encrypted data sent by the server of the preset replacement platform, where the first encrypted data is obtained by encrypting the number replacement request by the generated public key by the server of the preset replacement platform, wherein the The private key and the public key are a pair of secret keys, and the number replacement request includes the original communication number that has been bound to all applications on the client of the preset replacement platform, the new communication number that needs to be re-bound, and the number required to change the binding. verify message;
    利用所述私钥来解密所述第一加密数据,以得到原通信号码、新通信号码、以及所述目标应用程序所对应的的验证信息;Decrypt the first encrypted data by using the private key to obtain the original communication number, the new communication number, and the verification information corresponding to the target application;
    根据所述原通信号码查找该原通信号码预存的验证信息,并判断预存的验证信息与解密得到的验证信息是否一致;Search for the pre-stored verification information of the original communication number according to the original communication number, and determine whether the pre-stored verification information is consistent with the decrypted verification information;
    若预存的验证信息与解密得到的验证信息一致,将所述目标应用程序所对应的原通信号码更换为解密得到的新通信号码,并向预设更换平台的服务器端发送更换成功的消息;If the pre-stored verification information is consistent with the decrypted verification information, replace the original communication number corresponding to the target application with the new decrypted communication number, and send a successful replacement message to the server of the preset replacement platform;
    若预存的验证信息与解密得到的验证信息不一致,向预设更换平台的服务器端发送更换失败的消息。If the pre-stored verification information is inconsistent with the decrypted verification information, a replacement failure message is sent to the server of the preset replacement platform.
  17. 根据权利要求16所述的计算机设备,其中,在所述接收预设更换平台的服务器端发送的第一加密数据步骤之前,所述处理器还执行如下步骤:The computer device according to claim 16, wherein, before the step of receiving the first encrypted data sent by the server of the preset replacement platform, the processor further executes the following steps:
    接收预设更换平台的服务器端发送的第二加密数据,其中,所述第二加密数据是预设更换平台的服务器端利用消息摘要算法将所述目标应用程序的标识信息进行加密得到的;Receiving second encrypted data sent by the server of the preset replacement platform, where the second encrypted data is obtained by encrypting the identification information of the target application by the server of the preset replacement platform using a message digest algorithm;
    获取所述目标应用程序的标识信息,利用相同的消息摘要算法将标识信息进行加密,以得到第三加密数据;Acquiring the identification information of the target application, and encrypting the identification information using the same message digest algorithm to obtain the third encrypted data;
    判断所述第二加密数据和所述第三加密数据是否一致;Determine whether the second encrypted data and the third encrypted data are consistent;
    若所述第二加密数据和所述第三加密数据一致,向预设更换平台的服务器端发送确认信息,以使得预设更换平台的服务器端根据所述确认信息发送所述第一加密数据;If the second encrypted data is consistent with the third encrypted data, sending confirmation information to the server of the preset replacement platform, so that the server of the preset replacement platform sends the first encrypted data according to the confirmation information;
    若所述第二加密数据和所述第三加密数据不一致,向预设更换平台的服务 器端发送更换失败的消息。If the second encrypted data is inconsistent with the third encrypted data, a replacement failure message is sent to the server of the preset replacement platform.
  18. 根据权利要求16所述的计算机设备,其中,在所述将所述目标应用程序的原通信号码更换为解密得到的新通信号码的步骤之前,所述处理器还执行如下步骤:The computer device according to claim 16, wherein, before the step of replacing the original communication number of the target application with a new communication number obtained by decryption, the processor further performs the following steps:
    向原通信号码所对应的客户端发送更换通信号码的确认信息;Send the confirmation message of changing the communication number to the client corresponding to the original communication number;
    若接收到原通信号码所对应的客户端发送的确认信息后,执行所述将所述目标应用程序的原通信号码更换为解密得到的新通信号码的步骤。If the confirmation message sent by the client corresponding to the original communication number is received, the step of replacing the original communication number of the target application with the new communication number obtained by decryption is performed.
  19. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机可读存储介质应用于预设更换平台的服务器端,所述预设更换平台还包括与所述服务器端通信的客户端,所述客户端上安装有应用程序,所述计算机程序被处理器执行时使所述处理器执行以下步骤:A computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer-readable storage medium is applied to the server side of a preset replacement platform, and the preset replacement platform further includes a connection with the server side A communicating client, an application program is installed on the client, and when the computer program is executed by a processor, the processor executes the following steps:
    接收并保存用户通过所述客户端输入的号码更换请求,其中,所述号码更换请求包括所述客户端上所有应用程序已绑定的原通信号码、需重新绑定的新通信号码以及更改绑定所需的验证信息;Receive and save the number replacement request entered by the user through the client, where the number replacement request includes the original communication number bound to all applications on the client, the new communication number that needs to be re-bound, and the change binding Specify the required verification information;
    根据所述原通信号码,在预设更换平台的数据库中查询与所述原通信号码匹配的应用程序作为目标应用程序;According to the original communication number, query the application program matching the original communication number in the database of the preset replacement platform as the target application program;
    将所述号码更换请求发送至所述目标应用程序的服务器端,以使所述目标应用程序的服务器端根据所述验证信息将所述原通信号码更换为所述新通信号码;Sending the number change request to the server end of the target application, so that the server end of the target application replaces the original communication number with the new communication number according to the verification information;
    接收所述目标应用程序的服务器端返回的更换成功或者失败的消息。Receive a replacement success or failure message returned by the server of the target application.
  20. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器执行以下步骤:A computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the processor executes the following steps:
    接收预设更换平台的服务器端发送的私钥;Receive the private key sent by the server of the preset replacement platform;
    接收预设更换平台的服务器端发送的第一加密数据,其中,所述第一加密数据是预设更换平台的服务器端将号码更换请求利用所生成的公钥进行加密得到的,其中,所述私钥和公钥是一对秘钥,所述号码更换请求包括预设更换平台的客户端上所有应用已绑定的原通信号码、需重新绑定的新通信号码以及更改绑定所需的验证信息;Receiving the first encrypted data sent by the server of the preset replacement platform, where the first encrypted data is obtained by encrypting the number replacement request by the generated public key by the server of the preset replacement platform, wherein the The private key and the public key are a pair of secret keys, and the number replacement request includes the original communication number that has been bound to all applications on the client of the preset replacement platform, the new communication number that needs to be re-bound, and the number required to change the binding. verify message;
    利用所述私钥来解密所述第一加密数据,以得到原通信号码、新通信号码、 以及所述目标应用程序所对应的的验证信息;Decrypt the first encrypted data by using the private key to obtain the original communication number, the new communication number, and the verification information corresponding to the target application;
    根据所述原通信号码查找该原通信号码预存的验证信息,并判断预存的验证信息与解密得到的验证信息是否一致;Search for the pre-stored verification information of the original communication number according to the original communication number, and determine whether the pre-stored verification information is consistent with the decrypted verification information;
    若预存的验证信息与解密得到的验证信息一致,将所述目标应用程序所对应的原通信号码更换为解密得到的新通信号码,并向预设更换平台的服务器端发送更换成功的消息;If the pre-stored verification information is consistent with the decrypted verification information, replace the original communication number corresponding to the target application with the new decrypted communication number, and send a successful replacement message to the server of the preset replacement platform;
    若预存的验证信息与解密得到的验证信息不一致,向预设更换平台的服务器端发送更换失败的消息。If the pre-stored verification information is inconsistent with the decrypted verification information, a replacement failure message is sent to the server of the preset replacement platform.
PCT/CN2019/103341 2019-04-23 2019-08-29 Communication number changing method, apparatus and system, computer device and storage medium WO2020215568A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910326624.5A CN110138744B (en) 2019-04-23 2019-04-23 Method, device and system for replacing communication number, computer equipment and storage medium
CN201910326624.5 2019-04-23

Publications (1)

Publication Number Publication Date
WO2020215568A1 true WO2020215568A1 (en) 2020-10-29

Family

ID=67570502

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/103341 WO2020215568A1 (en) 2019-04-23 2019-08-29 Communication number changing method, apparatus and system, computer device and storage medium

Country Status (2)

Country Link
CN (1) CN110138744B (en)
WO (1) WO2020215568A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113127930A (en) * 2021-05-17 2021-07-16 阳光电源股份有限公司 Charging data processing method, device and computer readable storage medium
CN114531484A (en) * 2021-02-04 2022-05-24 深圳思为科技有限公司 Message pushing method, device and system
CN115134118A (en) * 2022-05-25 2022-09-30 中国信息通信研究院 Method and device for verifying identity of internet registered user, server and storage medium
CN115134117A (en) * 2022-05-25 2022-09-30 中国信息通信研究院 Method and device for verifying identity of internet registered user, server and storage medium
CN115134116A (en) * 2022-05-25 2022-09-30 中国信息通信研究院 Method and device for verifying identity of internet registered user, server and storage medium
CN115134119A (en) * 2022-05-25 2022-09-30 中国信息通信研究院 Method and device for verifying identity of internet registered user, server and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110138744B (en) * 2019-04-23 2021-11-09 平安科技(深圳)有限公司 Method, device and system for replacing communication number, computer equipment and storage medium
CN110536280B (en) * 2019-08-28 2021-08-17 联想(北京)有限公司 Data processing method, device, computing equipment and medium
CN110944087A (en) * 2019-11-12 2020-03-31 广州供电局有限公司 Control method and device, medium and equipment for fixed-line telephone call record
CN111669744B (en) * 2020-06-11 2023-10-20 维沃移动通信有限公司 Information processing method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150397A (en) * 2007-10-25 2008-03-26 宇龙计算机通信科技(深圳)有限公司 Method and mobile terminal for secure communication between mobile terminal and computer
CN105472596A (en) * 2015-11-23 2016-04-06 小米科技有限责任公司 Binding method of communication number, apparatus and terminal thereof
CN105700936A (en) * 2016-01-14 2016-06-22 福州靠谱网络有限公司 Operating method and apparatus for application program of Android simulator
CN105704640A (en) * 2014-11-25 2016-06-22 中国移动通信集团公司 Information processing method, device, supporting platform and system
CN107659931A (en) * 2016-07-25 2018-02-02 中国移动通信集团上海有限公司 A kind of method and apparatus for changing binding phone number
CN110138744A (en) * 2019-04-23 2019-08-16 平安科技(深圳)有限公司 Replace method, apparatus, system, computer equipment and the storage medium of communicating number

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107371142B (en) * 2016-05-13 2021-11-23 中兴通讯股份有限公司 Number changing notification method, mobile terminal, server and system
US20180131796A1 (en) * 2016-11-08 2018-05-10 Sriram Varadhan Mobile App to Update Phone Number Automatically
CN108829838B (en) * 2018-06-19 2021-11-26 彭建超 Batch processing method of account information and server
CN109450949B (en) * 2018-12-28 2023-12-15 努比亚技术有限公司 Method for unbinding numbers of multiple applications, mobile terminal and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150397A (en) * 2007-10-25 2008-03-26 宇龙计算机通信科技(深圳)有限公司 Method and mobile terminal for secure communication between mobile terminal and computer
CN105704640A (en) * 2014-11-25 2016-06-22 中国移动通信集团公司 Information processing method, device, supporting platform and system
CN105472596A (en) * 2015-11-23 2016-04-06 小米科技有限责任公司 Binding method of communication number, apparatus and terminal thereof
CN105700936A (en) * 2016-01-14 2016-06-22 福州靠谱网络有限公司 Operating method and apparatus for application program of Android simulator
CN107659931A (en) * 2016-07-25 2018-02-02 中国移动通信集团上海有限公司 A kind of method and apparatus for changing binding phone number
CN110138744A (en) * 2019-04-23 2019-08-16 平安科技(深圳)有限公司 Replace method, apparatus, system, computer equipment and the storage medium of communicating number

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531484A (en) * 2021-02-04 2022-05-24 深圳思为科技有限公司 Message pushing method, device and system
CN113127930A (en) * 2021-05-17 2021-07-16 阳光电源股份有限公司 Charging data processing method, device and computer readable storage medium
CN115134118A (en) * 2022-05-25 2022-09-30 中国信息通信研究院 Method and device for verifying identity of internet registered user, server and storage medium
CN115134117A (en) * 2022-05-25 2022-09-30 中国信息通信研究院 Method and device for verifying identity of internet registered user, server and storage medium
CN115134116A (en) * 2022-05-25 2022-09-30 中国信息通信研究院 Method and device for verifying identity of internet registered user, server and storage medium
CN115134119A (en) * 2022-05-25 2022-09-30 中国信息通信研究院 Method and device for verifying identity of internet registered user, server and storage medium
CN115134117B (en) * 2022-05-25 2023-10-27 中国信息通信研究院 Method and device for verifying identity of Internet registered user, server and storage medium
CN115134116B (en) * 2022-05-25 2024-03-26 中国信息通信研究院 Method and device for verifying identity of Internet registered user, server and storage medium
CN115134118B (en) * 2022-05-25 2024-03-26 中国信息通信研究院 Method and device for verifying identity of Internet registered user, server and storage medium
CN115134119B (en) * 2022-05-25 2024-03-26 中国信息通信研究院 Method and device for verifying identity of Internet registered user, server and storage medium

Also Published As

Publication number Publication date
CN110138744B (en) 2021-11-09
CN110138744A (en) 2019-08-16

Similar Documents

Publication Publication Date Title
WO2020215568A1 (en) Communication number changing method, apparatus and system, computer device and storage medium
US11367054B2 (en) Biological recognition technology-based mobile payment device, method and apparatus, and storage medium
WO2020237868A1 (en) Data transmission method, electronic device, server and storage medium
KR101888903B1 (en) Methods and apparatus for migrating keys
US10848304B2 (en) Public-private key pair protected password manager
AU2013101034A4 (en) Registration and authentication of computing devices using a digital skeleton key
US10924289B2 (en) Public-private key pair account login and key manager
CN106790156B (en) Intelligent device binding method and device
TW201424324A (en) Method and apparatus of account login
CN110690956B (en) Bidirectional authentication method and system, server and terminal
CN109145628B (en) Data acquisition method and system based on trusted execution environment
EP3206329B1 (en) Security check method, device, terminal and server
KR102578428B1 (en) Update biometric template protection key
CN111884986B (en) Data encryption processing method and device and storage medium
CN113836506A (en) Identity authentication method, device, system, electronic equipment and storage medium
WO2019120038A1 (en) Encrypted storage of data
CN106487758B (en) data security signature method, service terminal and private key backup server
JP7323004B2 (en) Data extraction system, data extraction method, registration device and program
CN110417740B (en) User data processing method, intelligent terminal, server and storage medium
JP2017516343A (en) Address book protection method, apparatus and communication system
CN114501431A (en) Message transmission method and device, storage medium and electronic equipment
CN111917711B (en) Data access method and device, computer equipment and storage medium
JP2007020065A (en) Decryption backup method, decryption restoration method, attestation device, individual key setting machine, user terminal, backup equipment, encryption backup program, decryption restoration program
EP3785395B1 (en) Method and system for key management
CN114007218B (en) Authentication method, authentication system, terminal and digital identity authentication functional entity

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19926227

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19926227

Country of ref document: EP

Kind code of ref document: A1