CN110519715B - Addressing method and device for mobile terminal - Google Patents
Addressing method and device for mobile terminal Download PDFInfo
- Publication number
- CN110519715B CN110519715B CN201910808135.3A CN201910808135A CN110519715B CN 110519715 B CN110519715 B CN 110519715B CN 201910808135 A CN201910808135 A CN 201910808135A CN 110519715 B CN110519715 B CN 110519715B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- short message
- target
- addressing
- plaintext
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/02—Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/03—Protecting confidentiality, e.g. by encryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/26—Network addressing or numbering for mobility support
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the application is applicable to the technical field of mobile communication, and provides an addressing method and device for a mobile terminal, wherein the method comprises the following steps: acquiring a plurality of short message plain texts, wherein the short message plain texts are respectively in one-to-one correspondence with the number sets; encrypting the plurality of short message plaintexts respectively by adopting a preset algorithm to generate ciphertext values corresponding to each number set; respectively sending each short message plaintext to a mobile terminal in a corresponding number set, wherein the mobile terminal is used for encrypting each short message plaintext by adopting the preset algorithm to generate a ciphertext value to be matched corresponding to each short message plaintext; when addressing information returned by a target mobile terminal is received, identifying a plurality of target number sets matched with the addressing information; the addressing is successful when the numbers simultaneously present in the plurality of sets of destination numbers are unique. By the method, the success rate of addressing of the mobile terminal is improved.
Description
Technical Field
The present application belongs to the field of mobile communication technologies, and in particular, to an addressing method and apparatus for a mobile terminal.
Background
With the development of mobile technology, the application range of mobile terminal addressing is wider and wider, for example, identity authentication, message tracing and the like are performed. The method for addressing the existing mobile terminal comprises the following steps that a short message sending server generates a feature code in advance according to a certain encryption algorithm for sending a plaintext content of a short message and stores the feature code, the mobile terminal generates the feature code according to the same encryption algorithm after receiving the plaintext content of the short message and uploads the feature code to the server, the server compares the stored feature code with the feature code returned by the mobile terminal, and the success of addressing of the mobile terminal can be judged only if the comparison result is completely matched, namely, the server needs to send a short message to the mobile terminal, the mobile terminal returns the feature code of the short message, the server matches the pre-generated feature code with the feature code returned by the mobile terminal, and the success of addressing of the mobile terminal can be judged.
However, in practical applications, a considerable part of short messages have no uniqueness, that is, a short message sender sends short messages with the same content to a plurality of mobile terminals at the same time, so that feature codes returned by the plurality of mobile terminals are consistent, and even if the feature codes are successfully matched, the mobile terminals cannot successfully address, and the addressing success rate is low.
Disclosure of Invention
The embodiment of the application provides a mobile terminal addressing method and device, which can solve the problem of low success rate of mobile terminal addressing.
In a first aspect, an embodiment of the present application provides an addressing method for a mobile terminal, which is applicable to a short message sending server, and the method includes:
acquiring a plurality of short message plain texts, wherein the short message plain texts are respectively in one-to-one correspondence with a plurality of number sets, and each number set comprises at least one number of a mobile terminal;
encrypting the plurality of short message plaintexts respectively by adopting a preset algorithm to generate ciphertext values corresponding to each number set;
according to the number of the mobile terminal, sending each short message plaintext to the mobile terminal in a corresponding number set respectively, wherein the mobile terminal is used for encrypting each short message plaintext by adopting the preset algorithm to generate ciphertext values to be matched corresponding to each short message plaintext;
when addressing information returned by a target mobile terminal is received, identifying a plurality of target number sets matched with the addressing information;
and when the numbers which exist in the plurality of target number sets at the same time are unique, determining that the unique numbers are the numbers corresponding to the target mobile terminals.
In a possible implementation manner of the first aspect, the addressing information includes a ciphertext value to be matched and a device code. The ciphertext value to be matched is generated by encrypting the plaintext of the short message by the mobile terminal according to the same encryption algorithm; the equipment code is generated by the mobile terminal through irreversible encryption of IMEI or IMSI, and can uniquely identify the mobile terminal.
When the addressing information returned by the target mobile terminal is received, extracting a ciphertext value to be matched in the addressing information, and identifying a target number set with the ciphertext value identical to the ciphertext value to be matched;
if only one number exists in the target number set, the addressing is successful, and the number corresponding to the equipment code is the only number in the number set;
and if the target set has a plurality of numbers, storing the equipment codes and the ciphertext values to be matched in a correlation manner, determining the target number set matched with new addressing information when receiving the new addressing information returned by the mobile terminal with the same equipment codes, and performing intersection operation on all the target number sets determined by the ciphertext values to be matched corresponding to the equipment codes until only one number is contained in the intersection set.
In a second aspect, an embodiment of the present application provides an addressing device for a mobile terminal, which is suitable for a short message sending server, and the device includes:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a plurality of short message plain texts, the short message plain texts are respectively in one-to-one correspondence with a plurality of number sets, and each number set comprises at least one number of a mobile terminal;
the encryption module is used for respectively encrypting the short message plaintexts by adopting a preset algorithm to generate ciphertext values corresponding to each number set;
the sending module is used for respectively sending each short message plaintext to the mobile terminals in the corresponding number sets according to the numbers of the mobile terminals, and the mobile terminals are used for encrypting each short message plaintext by adopting the preset algorithm to generate ciphertext values to be matched corresponding to each short message plaintext;
the identification module is used for identifying a plurality of target number sets matched with the addressing information when the addressing information returned by the target mobile terminal is received;
a determining module, configured to determine, when a number existing in the multiple destination number sets at the same time is unique, that the unique number is a number corresponding to the destination mobile terminal.
In a third aspect, an embodiment of the present application provides a server, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the mobile terminal is capable of executing the addressing method of the mobile terminal according to any one of the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, and the computer program, when executed by a processor, implements the addressing method for a mobile terminal according to any of the first aspect.
Compared with the prior art, the embodiment of the application has the advantages that: the short message sending server in the embodiment of the application acquires a plurality of short message plaintexts, the plurality of short message plaintexts respectively correspond to a plurality of number sets one by one, and each number set comprises at least one number of the mobile terminal; then, encrypting the plurality of short message plaintexts respectively by adopting a preset algorithm to generate ciphertext values corresponding to each number set; after the plaintext of each short message is sent to the mobile terminal in the corresponding number set according to the number of the mobile terminal, the mobile terminal receiving the plaintext of the short message can encrypt the plaintext of each short message by adopting the same algorithm to generate a ciphertext value to be matched corresponding to each plaintext of the short messages; when the server receives addressing information returned by the target mobile terminal, a plurality of target number sets matched with the addressing information are identified; therefore, the unique number existing in the plurality of target number sets at the same time can be judged to be the number corresponding to the target mobile terminal. By the method, when the server receives the non-unique addressing information, the server does not need to discard the addressing information but carries out intersection operation until the unique number is matched, so that the number of addressable terminals is increased, and the success rate of addressing is increased.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart illustrating steps of an addressing method for a mobile terminal according to an embodiment of the present application;
FIG. 2 is a diagram illustrating a specific implementation process of S104 and S105 in FIG. 1;
fig. 3 is a schematic diagram of an addressing apparatus of a mobile terminal according to an embodiment of the present application;
fig. 4 is a schematic diagram of a short message sending server according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Fig. 1 is a schematic flowchart of steps of an addressing method of a mobile terminal according to an embodiment of the present application, where as shown in fig. 1, the method may include the following steps:
s101, obtaining a plurality of short message plain texts, wherein the short message plain texts are respectively in one-to-one correspondence with a plurality of number sets, and each number set comprises at least one number of a mobile terminal.
It should be noted that the method can be applied to a short message sending server. That is, the execution subject of the present embodiment is the short message sending server.
And the number is used for sending the short message plaintext to the mobile terminal. Illustratively, a plurality of short message plaintext are obtained, wherein one short message plaintext corresponds to one mobile phone number set, and one mobile phone number set comprises one or more mobile phone numbers; correspondingly, the plurality of short messages correspond to the plurality of mobile phone number sets in a plain text mode, and the short message plain texts correspond to the mobile phone number sets one by one.
The content of the plaintext of the short message can be one or a combination of a plurality of characters, numbers and symbols.
And S102, encrypting the plurality of short message plaintexts respectively by adopting a preset algorithm to generate ciphertext values corresponding to each number set.
The preset algorithm may include one or a combination of several of a hash algorithm, a hash 256 algorithm, and an MD5 algorithm. Illustratively, the preset algorithm may employ a combination of a hash 256 algorithm and an MD5 algorithm. Namely, the short message plaintext is encrypted by using the hash 256 algorithm and the MD5 algorithm at the same time.
Therefore, in a specific implementation, a plurality of preset algorithms may be combined to obtain one or more algorithm combinations, and then the one or more algorithm combinations are used to encrypt a plurality of short message plaintexts respectively to generate ciphertext values corresponding to each number set.
Generally, the plaintext of the short message is longer and comprises characters in various forms, the ciphertext value of the plaintext of the short message encrypted by the algorithm is shortened, the forms are unified, the storage space can be saved, and the storage is convenient; and the plaintext of the short message is encrypted by adopting various algorithm combinations, so that the difficulty in decrypting the ciphertext can be increased.
The short message plaintext is encrypted to generate a ciphertext value, the generated ciphertext value corresponds to the number set corresponding to the short message plaintext, the ciphertext value and the corresponding number set are stored in a first ciphertext value storage library in an associated mode, and through the associated storage, the corresponding number set can be quickly searched through the ciphertext value.
In this embodiment, the associating and storing the ciphertext value and the corresponding number set in the first ciphertext value storage library further includes associating and storing feature information as a field at the same time, where the feature information may include information such as sending time, message length, channel number, and the like.
S103, according to the number of the mobile terminal, the short message plaintexts are respectively sent to the mobile terminals in the corresponding number sets, and the mobile terminals are used for encrypting the short message plaintexts by adopting the preset algorithm to generate ciphertext values to be matched corresponding to the short message plaintexts.
When the server sends the short message plaintext to the mobile terminal, the server can also send the characteristic information to the mobile terminal, but the characteristic information does not participate in ciphertext value conversion in the process of generating the ciphertext value to be matched by the mobile terminal.
Therefore, in the embodiment of the application, the server can generate the short message aiming at the plaintext of any short message and the preset characteristic information; and then respectively sending the short messages to the mobile terminals in the corresponding number sets according to the numbers of the mobile terminals, extracting short message plaintexts from the received short messages by the mobile terminals for encryption, and generating ciphertext values to be matched corresponding to the short message plaintexts.
And S104, when the addressing information returned by the target mobile terminal is received, identifying a plurality of target number sets matched with the addressing information.
The addressing information comprises a ciphertext value to be matched and an equipment code. The equipment code is generated by the target mobile terminal through irreversible encryption of IMEI or IMSI equipment information, and can uniquely identify the target mobile terminal.
The ciphertext value to be matched and the ciphertext value in the first ciphertext storage library are generated by using the same encryption algorithm for the plaintext of the short message, and if the ciphertext value to be matched is the same as the first ciphertext value in the first ciphertext storage library, the number of the target mobile terminal is stored in a number set in which the first ciphertext value is stored in a correlated manner; the identification of the plurality of target number sets matched with the addressing information comprises matching ciphertext values to be matched with ciphertext values in a first ciphertext storage library, and determining first ciphertext values identical to the ciphertext values to be matched, wherein the number sets stored in association with the first ciphertext values are number sets corresponding to the ciphertext values to be matched; and determining a plurality of corresponding number sets from a plurality of ciphertext values to be matched of the target mobile terminal with the same equipment code.
S105, when the number existing in the plurality of target number sets at the same time is unique, determining that the unique number is the number corresponding to the target mobile terminal.
The number existing in the target number sets at the same time is unique, the intersection operation is carried out on the number sets, and the result set only contains one number.
Fig. 2 is a schematic diagram of a specific implementation procedure of S104 and S105 in fig. 1 in this embodiment of the application.
S2001, when receiving the addressing information returned by the target mobile terminal, extracting the ciphertext value to be matched from the addressing information.
The addressing information may include a ciphertext value to be matched and a device code. The equipment code is generated by irreversible encryption of IMEI or IMSI equipment information by the target mobile terminal, and can uniquely identify the target mobile terminal; the ciphertext value to be matched is generated by encrypting the plaintext of the short message by the target mobile terminal by using the same preset algorithm.
And S2002, identifying a plurality of target number sets of which corresponding ciphertext values are the same as the ciphertext values to be matched.
The ciphertext value to be matched and the ciphertext value in the first ciphertext storage library are generated by encrypting the plaintext of the short message by using the same encryption algorithm, and if the ciphertext value to be matched is the same as the first ciphertext value in the first ciphertext storage library, the number of the target mobile terminal exists in a number set which is stored in association with the first ciphertext value; and matching the ciphertext value to be matched with the ciphertext value in the first ciphertext storage library, and determining a first ciphertext value which is the same as the ciphertext value to be matched, wherein the number set stored in association with the first ciphertext value is the number set corresponding to the ciphertext value to be matched.
And S2003, taking an intersection of the target number sets, and judging whether the numbers in the intersection are unique.
And determining whether the intersection set only contains one number or not by taking the intersection set from the target number sets. If only one number exists in the intersection, go to S2007; if the intersection does not contain only one number, go to S2004.
And S2004, storing the device code and the ciphertext value to be matched in a correlation mode, continuously receiving the addressing information, and determining a target number set matched with the new addressing information when receiving the new addressing information returned by the mobile terminal with the same device code again.
The device code can uniquely identify the target mobile terminal, so that if the device code in the received addressing information is the same as the device code of the target mobile terminal, the addressing information can be judged to come from the target mobile terminal.
The device code and all the ciphertext values to be matched corresponding to the device code are stored in an associated mode, one device code corresponds to a plurality of ciphertext values to be matched, one ciphertext value to be matched determines one number set, and therefore one device code corresponds to a plurality of number sets.
S2005, taking intersection of the target number set.
And determining a plurality of number sets by a plurality of ciphertext values to be matched corresponding to one equipment code, carrying out intersection operation on the number sets to obtain an intersection result, wherein the intersection result is used for judging whether the addressing is successful or not.
And S2006, judging whether the intersection only contains one number.
If the intersection result only contains one number, turning to S2007; if the intersection does not contain only one number, the process goes to S2004.
S2007, the unique number is determined to be the number corresponding to the target mobile terminal, and addressing is successful.
The successful addressing comprises determining a number corresponding to the target mobile terminal device code.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
For ease of understanding, the addressing method of the mobile terminal of the present application is described below in a complete example.
The short message sending server obtains 3 short message plain texts, and for the convenience of description, the three short message plain texts are named as Content1, Content2 and Content3 respectively. Also for convenience of description, in this example, numbers corresponding to 6 different mobile terminals are respectively denoted by N1, N2, N3, N4, N5, and N6.
Sending Content1 to number set A1{ N1, N2, N3, N4, N5, N6 };
sending Content2 to a number set A2{ N1, N3, N5 };
content3 is sent to number set A3{ N2, N3, N4, N6 }.
The short message sending server encrypts Content1, Content2 and Content3 by using a preset algorithm, and generated ciphertext values are respectively represented by S1, S2 and S3.
A mobile terminal with an existing device code of E1 reports a ciphertext value to be matched of S1, because the Content corresponding to S1 is Content1, a number set correspondingly transmitted by Content1 is to be matched, and a number set a1{ N1, N2, N3, N4, N5, N6} is matched, so that the number corresponding to the device E1 is a set a1, a plurality of numbers exist in the a1, the matching fails, and the corresponding relationship between the E1 and the S1 is stored;
subsequently, a mobile terminal with an equipment code of E1 reports a ciphertext value to be matched of S2, and by combining with the previous report record, intersection operation is performed on the number sets A1 and A2 which are respectively and correspondingly sent by S1 and S2 in the system, so that the intersection { N1, N3 and N5} of A1 and A2 is obtained, the intersection contains a plurality of numbers, matching fails, and the corresponding relation between E1 and S2 is stored;
and subsequently, the mobile terminal with the equipment code of E1 reports the ciphertext value of S3, and by combining the previous report records, intersection operation is performed on the number sets A1, A2 and A3 which are respectively and correspondingly sent by S1, S2 and S3 in the system to obtain the intersection { N3} of A1, A2 and A3, only one number is contained in the intersection, and the addressing is successful.
Fig. 3 is a schematic diagram of an addressing apparatus of a mobile terminal according to an embodiment of the present disclosure. The addressing device shown in fig. 3 may be a software unit, a hardware unit, or a combination of software and hardware unit built in the existing terminal device, or may be integrated into the terminal device as an independent pendant, or may exist as an independent terminal device.
The addressing device may specifically include the following modules:
the acquiring module 31 is configured to acquire a plurality of short message plain texts, where the plurality of short message plain texts are respectively in one-to-one correspondence with a plurality of number sets, and each number set includes a number of at least one mobile terminal;
the encryption module 32 is configured to encrypt the multiple short message plaintexts respectively by using a preset algorithm to generate ciphertext values corresponding to each number set;
the sending module 33 is configured to send each plaintext message to a mobile terminal in a corresponding number set according to the number of the mobile terminal, where the mobile terminal is configured to encrypt each plaintext message by using the preset algorithm to generate a ciphertext value to be matched, where the ciphertext value corresponds to each plaintext message;
the identification module 34 is configured to identify, when addressing information returned by a target mobile terminal is received, a plurality of target number sets matched with the addressing information;
a determining module 35, configured to determine, when a number existing in the multiple destination number sets at the same time is unique, that the unique number is a number corresponding to the destination mobile terminal.
In this embodiment of the present application, the preset algorithm includes multiple kinds, and the encryption module 32 may specifically include the following sub-modules:
the combination submodule is used for combining a plurality of preset algorithms to obtain one or more algorithm combinations;
and the encryption submodule is used for encrypting the plurality of short message plaintexts respectively by adopting the one or more algorithm combinations to generate ciphertext values corresponding to each number set, and the plurality of preset algorithms comprise a hash algorithm, a hash 256 algorithm or an MD5 algorithm.
In this embodiment, the sending module 33 may specifically include the following sub-modules:
the generation submodule is used for generating a short message aiming at any short message plaintext and preset information, and the preset information comprises sending time, information length and a channel number;
and the sending submodule is used for respectively sending the short messages to the mobile terminals in the corresponding number sets according to the numbers of the mobile terminals, and the mobile terminals are used for extracting the short message plaintext from the short messages to encrypt the short message plaintext and generating ciphertext values to be matched corresponding to the short message plaintext.
In this embodiment, the apparatus may further include the following modules:
and the storage module is used for storing the preset characteristic information, the ciphertext value and the number set corresponding to the ciphertext value in an associated manner.
In this embodiment, the identification module 34 may specifically include the following sub-modules:
the extraction submodule is used for extracting a ciphertext value to be matched from the addressing information when the addressing information returned by the target mobile terminal is received;
and the identification submodule is used for identifying a plurality of target number sets of which the corresponding ciphertext values are the same as the ciphertext value to be matched.
In this embodiment of the application, the determining module 35 may specifically include the following sub-modules:
the judgment sub-module is used for taking an intersection from the target number sets and judging whether the numbers in the intersection are unique or not;
the determining submodule is used for determining that the unique number is the number corresponding to the target mobile terminal if the unique number is the number corresponding to the target mobile terminal;
and the calling submodule is used for calling the identification submodule and the judgment submodule when new addressing information returned by the mobile terminal with the same equipment code is received again if the equipment code is not the same as the equipment code, determining a target number set matched with the new addressing information, and taking intersection of the target number set until the numbers in the intersection are unique.
Fig. 4 is a schematic diagram of a short message sending server according to an embodiment of the present application. As shown in fig. 4, the short message sending server 4 of this embodiment includes: a processor 40, a memory 41 and a computer program 42 stored in said memory 41 and executable on said processor 40. The processor 40, when executing the computer program 42, implements the steps in the above-described embodiments of the addressing method for each mobile terminal, e.g. S101 to S106 shown in fig. 1. Alternatively, the processor 40, when executing the computer program 42, implements the functions of the modules in the above-described device embodiments, such as the functions of the modules 31 to 35 shown in fig. 3.
Illustratively, the computer program 42 may be divided into one or more modules, the one or more units being stored in the memory 41 and executed by the processor 40 to accomplish the present application. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the terminal device 4. For example, the computer program 42 may be divided into an acquisition module, an encryption module, a transmission module, an identification module, and a determination module, and the specific functions of each module are as follows:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a plurality of short message plain texts, the short message plain texts are respectively in one-to-one correspondence with a plurality of number sets, and each number set comprises at least one number of a mobile terminal;
the encryption module is used for respectively encrypting the short message plaintexts by adopting a preset algorithm to generate ciphertext values corresponding to each number set;
the sending module is used for respectively sending each short message plaintext to the mobile terminals in the corresponding number sets according to the numbers of the mobile terminals, and the mobile terminals are used for encrypting each short message plaintext by adopting the preset algorithm to generate ciphertext values to be matched corresponding to each short message plaintext;
the identification module is used for identifying a plurality of target number sets matched with the addressing information when the addressing information returned by the target mobile terminal is received;
a determining module, configured to determine, when a number existing in the multiple destination number sets at the same time is unique, that the unique number is a number corresponding to the destination mobile terminal.
Those of ordinary skill in the art will appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of modules or components may be combined or may be integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a form of hardware or a form of a software functional unit.
The integrated module elements, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer-readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
Claims (10)
1. An addressing method of a mobile terminal, which is suitable for a short message sending server, and is characterized in that the method comprises the following steps:
acquiring a plurality of short message plain texts, wherein the short message plain texts are respectively in one-to-one correspondence with a plurality of number sets, and each number set comprises at least one number of a mobile terminal;
encrypting the plurality of short message plaintexts respectively by adopting a preset algorithm to generate ciphertext values corresponding to each number set;
according to the number of the mobile terminal, sending each short message plaintext to the mobile terminal in a corresponding number set respectively, wherein the mobile terminal is used for encrypting each short message plaintext by adopting the preset algorithm to generate ciphertext values to be matched corresponding to each short message plaintext;
when addressing information returned by a target mobile terminal is received, identifying a plurality of target number sets matched with the addressing information;
and performing intersection operation on the plurality of number sets, and when the numbers which exist in the plurality of target number sets at the same time are unique, determining that the unique numbers are the numbers corresponding to the target mobile terminal.
2. The addressing method of claim 1, wherein the predetermined algorithm includes a plurality of algorithms, and the encrypting the plaintext of the plurality of short messages respectively by using the predetermined algorithm to generate the ciphertext value corresponding to each number set comprises:
combining multiple preset algorithms to obtain one or more algorithm combinations;
and encrypting the plurality of short message plaintexts respectively by adopting the one or more algorithm combinations to generate ciphertext values corresponding to each number set, wherein the plurality of preset algorithms comprise a hash algorithm, a hash 256 algorithm or an MD5 algorithm.
3. The method according to claim 1, wherein the sending each plaintext message to a mobile terminal in a corresponding number set according to the number of the mobile terminal, the mobile terminal being configured to encrypt each plaintext message by using the preset algorithm to generate a ciphertext value to be matched corresponding to each plaintext message, comprises:
generating a short message aiming at any short message plaintext and preset characteristic information;
and respectively sending the short messages to the mobile terminals in the corresponding number sets according to the numbers of the mobile terminals, wherein the mobile terminals are used for extracting the short message plaintext from the short messages to encrypt, and generating ciphertext values to be matched corresponding to the short message plaintext.
4. The addressing method for a mobile terminal according to claim 3, further comprising:
and storing the preset characteristic information, the ciphertext value and the number set corresponding to the ciphertext value in an associated manner.
5. The method for addressing a mobile terminal according to claim 1, wherein said identifying a plurality of sets of destination numbers matching addressing information returned by any one of the mobile terminals upon receiving the addressing information comprises:
when addressing information returned by a target mobile terminal is received, extracting a ciphertext value to be matched from the addressing information;
and identifying a plurality of target number sets of which corresponding ciphertext values are the same as the ciphertext values to be matched.
6. The method according to claim 5, wherein the addressing information further includes a device code of the mobile terminal, and the determining that the unique number is the number corresponding to the target mobile terminal when the number existing in the plurality of target number sets at the same time is unique comprises:
taking an intersection from the target number sets, and judging whether the numbers in the intersection are unique or not;
if so, determining the unique number as a number corresponding to the target mobile terminal;
if not, when new addressing information returned by the mobile terminal with the same equipment code is received again, determining a target number set matched with the new addressing information, and taking intersection of the target number set until the number in the intersection is unique.
7. The addressing method for a mobile terminal according to claim 6, wherein said device code is generated by irreversible encryption for the IMEI or IMSI of said mobile terminal.
8. An addressing device of a mobile terminal, which is suitable for a short message sending server, characterized in that the device comprises:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a plurality of short message plain texts, the short message plain texts are respectively in one-to-one correspondence with a plurality of number sets, and each number set comprises at least one number of a mobile terminal;
the encryption module is used for respectively encrypting the short message plaintexts by adopting a preset algorithm to generate ciphertext values corresponding to each number set;
the sending module is used for respectively sending each short message plaintext to the mobile terminals in the corresponding number sets according to the numbers of the mobile terminals, and the mobile terminals are used for encrypting each short message plaintext by adopting the preset algorithm to generate ciphertext values to be matched corresponding to each short message plaintext;
the identification module is used for identifying a plurality of target number sets matched with the addressing information when the addressing information returned by the target mobile terminal is received;
and the determining module is used for performing intersection operation on the plurality of number sets, and when the numbers existing in the plurality of target number sets at the same time are unique, determining the unique numbers as the numbers corresponding to the target mobile terminal.
9. A server comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910808135.3A CN110519715B (en) | 2019-08-29 | 2019-08-29 | Addressing method and device for mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910808135.3A CN110519715B (en) | 2019-08-29 | 2019-08-29 | Addressing method and device for mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110519715A CN110519715A (en) | 2019-11-29 |
CN110519715B true CN110519715B (en) | 2021-12-17 |
Family
ID=68628955
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910808135.3A Active CN110519715B (en) | 2019-08-29 | 2019-08-29 | Addressing method and device for mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110519715B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112995932B (en) * | 2021-02-26 | 2022-11-11 | 平安壹钱包电子商务有限公司 | Short message link monitoring method, device, equipment and medium based on Hash algorithm |
CN114697891A (en) * | 2022-03-15 | 2022-07-01 | 上海创蓝云智信息科技股份有限公司 | Method, system, equipment and medium for associating mobile phone number with Sim card identification information |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1398095A (en) * | 2001-07-13 | 2003-02-19 | 沃卢比尔公司 | Mobile terminal addressing method |
CN103209408A (en) * | 2013-03-22 | 2013-07-17 | 北京工业大学 | Method and system for processing scrambling information based on mobile public network |
CN109041049A (en) * | 2018-07-11 | 2018-12-18 | 深圳市梦网科技发展有限公司 | A kind of addressing method of mobile terminal, device for addressing and terminal device |
CN109167751A (en) * | 2018-07-11 | 2019-01-08 | 深圳市梦网科技发展有限公司 | A kind of addressing method of mobile terminal, server and mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10686902B2 (en) * | 2016-05-23 | 2020-06-16 | Twilio Inc. | System and method for a multi-channel notification service |
-
2019
- 2019-08-29 CN CN201910808135.3A patent/CN110519715B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1398095A (en) * | 2001-07-13 | 2003-02-19 | 沃卢比尔公司 | Mobile terminal addressing method |
CN103209408A (en) * | 2013-03-22 | 2013-07-17 | 北京工业大学 | Method and system for processing scrambling information based on mobile public network |
CN109041049A (en) * | 2018-07-11 | 2018-12-18 | 深圳市梦网科技发展有限公司 | A kind of addressing method of mobile terminal, device for addressing and terminal device |
CN109167751A (en) * | 2018-07-11 | 2019-01-08 | 深圳市梦网科技发展有限公司 | A kind of addressing method of mobile terminal, server and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN110519715A (en) | 2019-11-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20140235207A1 (en) | Method for cryptographically verifiable identification of a physical unit in a public, wireless telecommunications network | |
CN105101183B (en) | The method and system that privacy content on mobile terminal is protected | |
CN105577379A (en) | Information processing method and apparatus thereof | |
CN109376172B (en) | Data acquisition method and system based on block chain | |
CN110519715B (en) | Addressing method and device for mobile terminal | |
CN109194473B (en) | Data transmission method, system, device, terminal and storage medium | |
CN112115461B (en) | Equipment authentication method and device, computer equipment and storage medium | |
CN111753318A (en) | Multi-party security calculation method, device and system for private data | |
US11128455B2 (en) | Data encryption method and system using device authentication key | |
CN105208028A (en) | Data transmission method and related device and equipment | |
CN110475249A (en) | A kind of authentication method, relevant device and system | |
CN115225672B (en) | End-to-end data transmission method, equipment and medium | |
CN113239046A (en) | Data query method, system, computer device and storage medium | |
CN110380856B (en) | Terminal device and voice information processing method and device thereof, and storage medium | |
CN112883388B (en) | File encryption method and device, storage medium and electronic device | |
GB2587438A (en) | Key generation for use in secured communication | |
CN115001685A (en) | Method, device, equipment and storage medium for inadvertent transmission | |
CN114036478A (en) | Block chain cross-chain method and device, storage medium and electronic equipment | |
KR20180000220A (en) | Method providing secure message service and apparatus therefor | |
CN114840866A (en) | Data query method, device and system based on blind signature data confusion | |
CN114726520A (en) | Key determination method and device | |
CN111131270B (en) | Data encryption and decryption method and device, electronic equipment and storage medium | |
CN112564901A (en) | Key generation method and system, storage medium and electronic device | |
CN116455572A (en) | Data encryption method, device and equipment | |
CN111405082A (en) | Device connection method, electronic device, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |