CN110234082B - Addressing method and device of mobile terminal, storage medium and server - Google Patents

Addressing method and device of mobile terminal, storage medium and server Download PDF

Info

Publication number
CN110234082B
CN110234082B CN201910461393.9A CN201910461393A CN110234082B CN 110234082 B CN110234082 B CN 110234082B CN 201910461393 A CN201910461393 A CN 201910461393A CN 110234082 B CN110234082 B CN 110234082B
Authority
CN
China
Prior art keywords
ciphertext
mobile terminal
target
short message
addressed
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
Application number
CN201910461393.9A
Other languages
Chinese (zh)
Other versions
CN110234082A (en
Inventor
刘舒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Montnets Technology Co ltd
Original Assignee
Shenzhen Montnets Technology Co ltd
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 Shenzhen Montnets Technology Co ltd filed Critical Shenzhen Montnets Technology Co ltd
Priority to CN201910461393.9A priority Critical patent/CN110234082B/en
Publication of CN110234082A publication Critical patent/CN110234082A/en
Application granted granted Critical
Publication of CN110234082B publication Critical patent/CN110234082B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • H04W12/71Hardware identity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Abstract

The invention relates to the technical field of communication, and provides an addressing method, an addressing device, a storage medium and a server of a mobile terminal. The addressing method comprises the following steps: respectively sending a short message to each mobile terminal to be addressed; encrypting the content plaintext of each short message according to a preset encryption algorithm to obtain a plurality of first ciphertexts; adding a marker to the ciphertext with uniqueness in the first ciphertexts; when a terminal feature code and a second ciphertext returned by any target mobile terminal in the mobile terminals to be addressed are received, matching the second ciphertext with each first ciphertext respectively, and encrypting the content plaintext of the received short message by the target mobile terminal according to the encryption algorithm to generate the second ciphertext; and if the target first ciphertext successfully matched with the second ciphertext has the marker, determining that the target mobile terminal is successfully addressed, and associating the terminal feature code with the target mobile phone number.

Description

Addressing method and device of mobile terminal, storage medium and server
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an addressing method and apparatus for a mobile terminal, a storage medium, and a server.
Background
At present, the addressing of the mobile terminal usually adopts a mode of matching the feature code returned by the mobile terminal with the pre-generated feature code for three times, and the successful addressing of the mobile terminal can be judged only if the matching results of the three times are successfully matched. For example, the short message sender needs to send three short messages to the mobile terminal, and the mobile terminal can be determined to be successfully addressed only if three pieces of verification information returned by the mobile terminal are successfully matched with the three short messages.
However, in practical application, a considerable part of the short messages are unique, that is, the content of the short message sent by the short message sender to the designated receiver is specific, and only by judging that the content is unique, the successful addressing of the mobile terminal can be judged theoretically by successfully matching once, and actually, the successful addressing can be judged by matching the part of the mobile terminals three times, which causes waste of system resources and unnecessary cost expenditure.
Disclosure of Invention
In view of this, embodiments of the present invention provide an addressing method and apparatus for a mobile terminal, a storage medium, and a server, which can implement successful matching once to complete addressing, thereby greatly simplifying the addressing process and saving system resources and cost.
In a first aspect of the embodiments of the present invention, an addressing method for a mobile terminal is provided, including:
respectively sending a short message to each mobile terminal to be addressed, wherein each mobile terminal corresponds to a preset mobile phone number;
encrypting the content plaintext of each short message according to a preset encryption algorithm to obtain a plurality of first ciphertexts;
adding a marker to the ciphertext with uniqueness in the first ciphertexts;
when a terminal feature code and a second ciphertext returned by any target mobile terminal in the mobile terminals to be addressed are received, matching the second ciphertext with each first ciphertext respectively, and encrypting the content plaintext of the received short message by the target mobile terminal according to the encryption algorithm to generate the second ciphertext;
and if the target first ciphertext successfully matched with the second ciphertext has the marker, determining that the target mobile terminal is successfully addressed, and associating the terminal feature code with a target mobile phone number, wherein the target mobile phone number is a mobile phone number corresponding to the mobile terminal receiving the target short message, and the target short message is a short message of which the content plaintext is encrypted to obtain the target first ciphertext.
In a second aspect of the embodiments of the present invention, an addressing device for a mobile terminal is provided, including:
the short message sending module is used for sending a short message to each mobile terminal to be addressed, and each mobile terminal corresponds to a preset mobile phone number;
the encryption module is used for encrypting the content plaintext of each short message according to a preset encryption algorithm to obtain a plurality of first ciphertexts;
the marker adding module is used for adding a marker to the ciphertext with uniqueness in the first ciphertexts;
the ciphertext matching module is used for matching the second ciphertext with each first ciphertext respectively when receiving a terminal feature code and a second ciphertext returned by any target mobile terminal in the mobile terminals to be addressed, wherein the second ciphertext is generated after the content plaintext of the received short message is encrypted by the target mobile terminal according to the encryption algorithm;
and the addressing module is used for determining that the target mobile terminal is successfully addressed and associating the terminal feature code with a target mobile phone number if the target first ciphertext successfully matched with the second ciphertext has the marker, wherein the target mobile phone number is a mobile phone number corresponding to the mobile terminal receiving the target short message, and the target short message is a short message of which the content plaintext is encrypted to obtain the target first ciphertext.
In a third aspect of the embodiments of the present invention, a computer-readable storage medium is provided, where computer-readable instructions are stored, and when executed by a processor, the computer-readable instructions implement the steps of the addressing method for a mobile terminal as set forth in the first aspect of the embodiments of the present invention.
In a fourth aspect of the embodiments of the present invention, a server is provided, which includes a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, and when the processor executes the computer readable instructions, the steps of the addressing method for a mobile terminal as set forth in the first aspect of the embodiments of the present invention are implemented.
The addressing method of the mobile terminal provided by the embodiment of the invention comprises the following steps: respectively sending a short message to each mobile terminal to be addressed; encrypting the content plaintext of each short message according to a preset encryption algorithm to obtain a plurality of first ciphertexts; adding a marker to the ciphertext with uniqueness in the first ciphertexts; when a terminal feature code and a second ciphertext returned by any target mobile terminal in the mobile terminals to be addressed are received, matching the second ciphertext with each first ciphertext respectively, and encrypting the content plaintext of the received short message by the target mobile terminal according to the encryption algorithm to generate the second ciphertext; and if the target first ciphertext successfully matched with the second ciphertext has the marker, determining that the target mobile terminal is successfully addressed, and associating the terminal feature code with the target mobile phone number. The above process encrypts the content plaintext of the sent short message into a first ciphertext, adds a marker to the first ciphertext with uniqueness, and after a certain mobile terminal receives the short message and encrypts the content plaintext of the short message into a second ciphertext, the mobile terminal returns a terminal feature code and the second ciphertext, and then the server matches the second ciphertext with each first ciphertext one by one to find out a target first ciphertext successfully matched. If the target first ciphertext has the marker, the content of the short message received by the mobile terminal is unique (namely different from the content of the short message received by other mobile terminals to be addressed), at this time, the target mobile phone number sent by the short message corresponding to the target first ciphertext can be directly determined to be the mobile phone number of the mobile terminal, so that the terminal feature code returned by the mobile terminal is associated with the target mobile phone number, and the mobile terminal is successfully addressed. Therefore, by the arrangement, the addressing can be completed by one-time successful matching, the addressing process is greatly simplified, and system resources and cost are saved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed for 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 invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart of a first embodiment of an addressing method for a mobile terminal according to an embodiment of the present invention;
fig. 2 is a flowchart of a second embodiment of an addressing method for a mobile terminal according to an embodiment of the present invention;
fig. 3 is a block diagram of an embodiment of an addressing apparatus of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a server according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides an addressing method and device of a mobile terminal, a storage medium and a server, which can realize that addressing can be completed after one-time comparison is successful, greatly simplifies the addressing process and saves system resources and cost.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a first embodiment of an addressing method of a mobile terminal according to an embodiment of the present invention includes:
101. respectively sending a short message to each mobile terminal to be addressed, wherein each mobile terminal corresponds to a preset mobile phone number;
firstly, the platform server will send a short message to each mobile terminal to be addressed, the content of the short message is not limited, and the content of the short message sent to different mobile terminals can be the same or different. Each mobile terminal corresponds to a preset mobile phone number, that is, the mobile phone number is known, and it needs to be determined which mobile terminal to be addressed is associated with a certain known mobile phone number. For example, if 10 preset mobile phone numbers are known and correspond to 10 mobile terminals to be addressed, the platform server may send a short message with unlimited content to the 10 mobile phone numbers respectively to determine the mobile phone number of each mobile terminal, that is, the terminal feature code corresponds to the mobile phone number.
102. Encrypting the content plaintext of each short message according to a preset encryption algorithm to obtain a plurality of first ciphertexts;
after the platform server sends the short messages, encrypting the content plaintext of each short message according to a preset encryption algorithm to obtain a plurality of first ciphertexts. If there are 10 messages, 10 messages are encrypted to obtain 10 first ciphertexts. Specifically, one or more of the algorithms of hash, hash 256 and MD5 may be used for encryption, and preferably, the algorithm combination of hash 256+ MD5 is used to maximize the avoidance of collision values.
103. Adding a marker to the ciphertext with uniqueness in the first ciphertexts;
after obtaining a plurality of first ciphertexts, a marker is added to the cipher text with uniqueness in the cipher texts. The ciphertext with uniqueness is the ciphertext with the ciphertext value different from other first ciphertexts. The platform server will screen out the first unique ciphertexts and add a specific marker.
104. When receiving a terminal feature code and a second ciphertext returned by any target mobile terminal in the mobile terminals to be addressed, matching the second ciphertext with each first ciphertext respectively;
after receiving the short message sent by the platform server, each mobile terminal to be addressed returns the respective terminal feature code and a ciphertext obtained by encrypting the plaintext according to the content of the received short message. And when receiving a terminal feature code and a second ciphertext returned by any target mobile terminal in the mobile terminals to be addressed, the platform server respectively matches the second ciphertext with each first ciphertext, and the second ciphertext is generated after the target mobile terminal encrypts the content plaintext of the received short message according to the encryption algorithm.
Further, the storing the plurality of first ciphertexts in a pre-constructed ciphertext value storage library, and the matching the second ciphertext with each of the first ciphertexts may include:
(1) extracting the second ciphertext value;
(2) searching the ciphertext value storage for a first ciphertext that completely matches the second ciphertext value;
(3) and determining the searched first ciphertext as a target first ciphertext successfully matched with the second ciphertext.
The platform server stores the generated multiple first ciphertexts in a pre-constructed cipher text value storage bank, when cipher text matching is carried out, the second cipher text value is firstly extracted, then the first cipher text which is completely matched with the second cipher text value is searched in the cipher text value storage bank to serve as the target first cipher text which is successfully matched with the second cipher text.
105. Judging whether a target first ciphertext successfully matched with the second ciphertext has the marker;
and after the matching is finished, judging whether the target first ciphertext successfully matched with the second ciphertext has the marker. If the target first ciphertext successfully matched with the second ciphertext has the marker, executing step 106, otherwise executing step 107.
Further, the sending of the short message to each mobile terminal to be addressed further includes sending time, information length, and a sending channel number of the short message, the returning of each mobile terminal to be addressed further includes sending time, information length, and a sending channel number of the received short message, and if the target first ciphertext successfully matched with the second ciphertext has the marker, before determining that the target mobile terminal is successfully addressed, the method may further include:
(1) matching the sending time, the information length and the sending channel number of the short message sent to the target mobile terminal with the sending time, the information length and the sending channel number of the received short message returned by the target mobile terminal one by one;
(2) and if the one-to-one matching is passed, determining that the target mobile terminal is successfully addressed.
The information sent to each mobile terminal may also include feature information such as the sending time, the information length, the sending channel number, etc. of the short message, but the feature information does not participate in the conversion of the ciphertext value, and the feature information may be stored in the ciphertext value storage as corresponding fields simultaneously in the actual operation. In order to enhance the reliability of the addressing result, the sending time, the information length and the sending channel number of the received short message returned by the target mobile terminal can be respectively matched with the sending time, the information length and the sending channel number of the short message (namely the short message corresponding to the target first ciphertext) sent to the target mobile terminal one by one, and if the matching is passed, the target mobile terminal is determined to be successfully addressed, so that the accuracy of the terminal addressing can be improved.
106. Determining that the target mobile terminal is successfully addressed, and associating the terminal feature code with a target mobile phone number;
and the target first ciphertext successfully matched with the second ciphertext has the marker, and at the moment, the target mobile terminal is determined to be successfully addressed, and the terminal feature code is associated with the target mobile phone number. The target mobile phone number is a mobile phone number corresponding to a mobile terminal receiving a target short message, and the target short message is a short message of which the content plaintext is encrypted to obtain a target first ciphertext.
The target first ciphertext has the tag, which indicates that the content of the short message received by the target mobile terminal is unique (i.e. different from the content of the short message received by other mobile terminals to be addressed), and at this time, the target mobile phone number to which the short message corresponding to the target first ciphertext is sent can be directly determined to be the mobile phone number of the mobile terminal, so that the terminal feature code returned by the mobile terminal is associated with the target mobile phone number, and the mobile terminal is addressed successfully.
107. And determining that the target mobile terminal fails to address.
And the target first ciphertext successfully matched with the second ciphertext does not have the marker, and the target mobile terminal is determined to be failed in addressing at the moment. The target first ciphertext does not have the tag, which indicates that the content of the short message received by the target mobile terminal is not unique (i.e. the content of the short message is the same as that of the short message received by more than one other mobile terminal to be addressed), and at this time, the target mobile phone number to which the short message corresponding to the target first ciphertext is sent cannot be directly determined to be the mobile phone number of the mobile terminal, so that the addressing fails.
Further, after obtaining the addressing results of all the mobile terminals to be addressed, the method may further include:
(1) confirming that a round of addressing operation is completed, and counting the mobile terminals failing in addressing;
(2) and respectively sending a short message to each mobile terminal with failed addressing again to execute the same next round of addressing operation until all the mobile terminals to be addressed are successfully addressed.
After completing one round of addressing operation, counting the mobile terminals with failed addressing, and then sending a short message to each mobile terminal with failed addressing again to execute the next round of the same addressing operation, i.e. repeatedly executing the above step 101 and step 107 until all the mobile terminals to be addressed are successfully addressed.
The addressing method of the mobile terminal provided by the embodiment of the invention comprises the following steps: respectively sending a short message to each mobile terminal to be addressed; encrypting the content plaintext of each short message according to a preset encryption algorithm to obtain a plurality of first ciphertexts; adding a marker to the ciphertext with uniqueness in the first ciphertexts; when a terminal feature code and a second ciphertext returned by any target mobile terminal in the mobile terminals to be addressed are received, matching the second ciphertext with each first ciphertext respectively, and encrypting the content plaintext of the received short message by the target mobile terminal according to the encryption algorithm to generate the second ciphertext; and if the target first ciphertext successfully matched with the second ciphertext has the marker, determining that the target mobile terminal is successfully addressed, and associating the terminal feature code with the target mobile phone number. The above process encrypts the content plaintext of the sent short message into a first ciphertext, adds a marker to the first ciphertext with uniqueness, and after a certain mobile terminal receives the short message and encrypts the content plaintext of the short message into a second ciphertext, the mobile terminal returns a terminal feature code and the second ciphertext, and then the server matches the second ciphertext with each first ciphertext one by one to find out a target first ciphertext successfully matched. If the target first ciphertext has the marker, the content of the short message received by the mobile terminal is unique (namely different from the content of the short message received by other mobile terminals to be addressed), at this time, the target mobile phone number sent by the short message corresponding to the target first ciphertext can be directly determined to be the mobile phone number of the mobile terminal, so that the terminal feature code returned by the mobile terminal is associated with the target mobile phone number, and the mobile terminal is successfully addressed. Therefore, by the arrangement, the addressing can be completed by one-time successful matching, the addressing process is greatly simplified, and system resources and cost are saved.
Referring to fig. 2, a second embodiment of an addressing method of a mobile terminal according to an embodiment of the present invention includes:
201. detecting whether an addressing instruction is received;
firstly, the platform server will detect whether an addressing instruction is received, and the addressing instruction can be input by related personnel and used for starting the addressing operation of the mobile terminal. If the addressing command is received, step 202 is executed, otherwise, step 201 is stopped.
202. If the addressing instruction is received, judging whether the current time is in a preset time period or not;
if the addressing command is received, the platform server may determine whether the current time is within a preset time period, for example, the time period of 14:00 to 16:00, if the current time is within the preset time period, step 203 is executed, otherwise, step 202 is executed. Through the setting, the platform server can reasonably set the sending time period of the short message, so that the short message can be prevented from being sent to the mobile terminal in an improper time period, and the related user is prevented from being disturbed.
203. Respectively sending a short message to each mobile terminal to be addressed, wherein each mobile terminal corresponds to a preset mobile phone number;
204. encrypting the content plaintext of each short message according to a preset encryption algorithm to obtain a plurality of first ciphertexts;
205. adding a marker to the ciphertext with uniqueness in the first ciphertexts;
206. when receiving a terminal feature code and a second ciphertext returned by any target mobile terminal in the mobile terminals to be addressed, matching the second ciphertext with each first ciphertext respectively;
the second ciphertext is generated by encrypting the content plaintext of the received short message by the target mobile terminal according to the encryption algorithm;
207. judging whether a target first ciphertext successfully matched with the second ciphertext has the marker;
if the target first ciphertext successfully matched with the second ciphertext has the marker, the marker is added
208. Determining that the target mobile terminal is successfully addressed, and associating the terminal feature code with a target mobile phone number;
the target mobile phone number is a mobile phone number corresponding to a mobile terminal receiving a target short message, and the target short message is a short message of which the content plaintext is encrypted to obtain a target first ciphertext.
209. And determining that the target mobile terminal fails to address.
Step 203-.
The embodiment of the invention judges whether the current time is in the preset time period after detecting the addressing instruction, if so, a short message is respectively sent to each mobile terminal to be addressed, the content plaintext of the sent short message is encrypted into a first ciphertext, a marker is added to the first ciphertext with uniqueness, a certain mobile terminal returns the terminal feature code and the second ciphertext after receiving the short message and encrypting the content plaintext of the short message into a second ciphertext, and then the server matches the second ciphertext with each first ciphertext one by one to find out the successfully matched target first ciphertext. If the target first ciphertext has the marker, the content of the short message received by the mobile terminal is unique (namely different from the content of the short message received by other mobile terminals to be addressed), at this time, the target mobile phone number sent by the short message corresponding to the target first ciphertext can be directly determined to be the mobile phone number of the mobile terminal, so that the terminal feature code returned by the mobile terminal is associated with the target mobile phone number, and the mobile terminal is successfully addressed. Therefore, by the arrangement, the addressing can be completed by one-time successful matching, the addressing process is greatly simplified, and system resources and cost are saved. Moreover, the platform server can reasonably set the sending time period of the short message, thereby avoiding sending the short message to the mobile terminal in an improper time period and avoiding disturbing related users.
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 invention.
The above mainly describes an addressing method of a mobile terminal, and an addressing device of a mobile terminal will be described below.
Referring to fig. 3, an embodiment of an addressing apparatus of a mobile terminal according to an embodiment of the present invention includes:
the short message sending module 301 is configured to send a short message to each mobile terminal to be addressed, where each mobile terminal corresponds to a preset mobile phone number;
the encryption module 302 is configured to encrypt a content plaintext of each short message according to a preset encryption algorithm to obtain a plurality of first ciphertexts;
a marker adding module 303, configured to add a marker to a ciphertext having uniqueness in the plurality of first ciphertexts;
a ciphertext matching module 304, configured to match, when receiving a terminal feature code and a second ciphertext returned by any one target mobile terminal in the mobile terminals to be addressed, the second ciphertext with each of the first ciphertexts, where the second ciphertext is generated by encrypting, by the target mobile terminal, a content plaintext of the received short message according to the encryption algorithm;
and an addressing module 305, configured to determine that the target mobile terminal is successfully addressed if the target first ciphertext that is successfully matched with the second ciphertext has the tag, and associate the terminal feature code with a target mobile phone number, where the target mobile phone number is a mobile phone number corresponding to a mobile terminal that receives a target short message, and the target short message is a short message whose content plaintext is encrypted to obtain the target first ciphertext.
Further, the addressing device of the mobile terminal may further include:
the addressing failure determining module is used for determining that the target mobile terminal fails to address if the target first ciphertext successfully matched with the second ciphertext does not have the marker;
the addressing failure terminal counting module is used for determining to finish a round of addressing operation after the addressing results of all the mobile terminals to be addressed are obtained, and counting the mobile terminals which fail to address;
and the repeated addressing module is used for sending a short message to each mobile terminal with failed addressing again so as to execute the same next round of addressing operation until all the mobile terminals to be addressed are successfully addressed.
The addressing instruction detection module is used for detecting whether an addressing instruction is received or not;
the time period judging module is used for judging whether the current time is in a preset time period or not if the addressing instruction is received;
and the short message sending execution module is used for executing the step of respectively sending a short message to each mobile terminal to be addressed if the current time is within the preset time period.
Further, the short message sent to each mobile terminal to be addressed further includes sending time, information length, and a sending channel number of the short message, and the information returned by each mobile terminal to be addressed further includes sending time, information length, and a sending channel number of the received short message, and the addressing device of the mobile terminal may further include:
the one-to-one matching module is used for matching the sending time, the information length and the sending channel number of the short message sent to the target mobile terminal with the sending time, the information length and the sending channel number of the received short message returned by the target mobile terminal one by one;
and the addressing success determining module is used for determining that the target mobile terminal is successfully addressed if the one-to-one matching is passed.
Further, the plurality of first ciphertexts are stored in a pre-constructed ciphertext value storage library, and the ciphertext matching module may include:
a ciphertext value extraction unit, configured to extract the second ciphertext value;
a ciphertext searching unit, configured to search the ciphertext value storage for a first ciphertext that completely matches the second ciphertext value;
and the ciphertext determining unit is used for determining the searched first ciphertext as the target first ciphertext successfully matched with the second ciphertext.
An embodiment of the present invention further provides a computer-readable storage medium, which stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the addressing method of the mobile terminal shown in fig. 1 or fig. 2 are implemented.
An embodiment of the present invention further provides a server, which includes a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, where the processor executes the computer readable instructions to implement the steps of the addressing method of any one of the mobile terminals shown in fig. 1 or fig. 2.
Fig. 4 is a schematic diagram of a server according to an embodiment of the present invention. As shown in fig. 4, the server 4 of this embodiment includes: a processor 40, a memory 41, and computer readable instructions 42 stored in the memory 41 and executable on the processor 40. The processor 40, when executing the computer readable instructions 42, implements the steps in the above-described embodiments of the method for evaluating an application promotion effect, such as the steps 101 to 107 shown in fig. 1. Alternatively, the processor 40, when executing the computer readable instructions 42, implements the functions of the modules/units in the above device embodiments, such as the functions of the modules 301 to 305 shown in fig. 3.
Illustratively, the computer readable instructions 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to implement the present invention. The one or more modules/units may be a series of computer-readable instruction segments capable of performing certain functions, which are used to describe the execution of the computer-readable instructions 42 in the server 4.
The server 4 may be a computing device such as a smart phone, a notebook, a palm computer, and a cloud server. The server 4 may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 4 is merely an example of a server 4 and does not constitute a limitation of server 4 and may include more or fewer components than shown, or some components in combination, or different components, e.g., server 4 may also include input output devices, network access devices, buses, etc.
The Processor 40 may be a CentraL Processing Unit (CPU), other general purpose Processor, a DigitaL SignaL Processor (DSP), an AppLication Specific Integrated Circuit (ASIC), an off-the-shelf ProgrammabLe Gate Array (FPGA) or other ProgrammabLe logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the server 4, such as a hard disk or a memory of the server 4. The memory 41 may also be an external storage device of the server 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure DigitaL (SD) Card, a FLash memory Card (FLash Card), or the like, provided on the server 4. Further, the memory 41 may also include both an internal storage unit of the server 4 and an external storage device. The memory 41 is used to store the computer readable instructions and other programs and data required by the server. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-OnLy Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will 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; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An addressing method for a mobile terminal, comprising:
respectively sending a short message to each mobile terminal to be addressed, wherein each mobile terminal corresponds to a preset mobile phone number, the content plaintexts of a part of the sent short messages are the same, and the content plaintexts of the other part of the sent short messages are different;
encrypting the content plaintext of each short message according to a preset encryption algorithm to obtain a plurality of first ciphertexts;
adding a marker to the ciphertext with uniqueness in the first ciphertexts;
when a terminal feature code and a second ciphertext returned by any target mobile terminal in the mobile terminals to be addressed are received, matching the second ciphertext with each first ciphertext respectively, and encrypting the content plaintext of the received short message by the target mobile terminal according to the encryption algorithm to generate the second ciphertext;
and if the target first ciphertext successfully matched with the second ciphertext has the marker, determining that the target mobile terminal is successfully addressed, and associating the terminal feature code with a target mobile phone number, wherein the target mobile phone number is a mobile phone number corresponding to the mobile terminal receiving the target short message, and the target short message is a short message of which the content plaintext is encrypted to obtain the target first ciphertext.
2. The addressing method for a mobile terminal according to claim 1, further comprising:
if the target first ciphertext successfully matched with the second ciphertext does not have the marker, determining that the target mobile terminal fails to address;
after the addressing results of all the mobile terminals to be addressed are obtained, determining to finish a round of addressing operation, and counting the mobile terminals failing to address;
and respectively sending a short message to each mobile terminal with failed addressing again to execute the same next round of addressing operation until all the mobile terminals to be addressed are successfully addressed.
3. The method according to claim 1, further comprising, before sending a short message to each mobile terminal to be addressed, the steps of:
detecting whether an addressing instruction is received;
if the addressing instruction is received, judging whether the current time is in a preset time period or not;
and if the current time is within a preset time period, executing the step of respectively sending a short message to each mobile terminal to be addressed.
4. The method according to claim 1, wherein the short message sent to each mobile terminal to be addressed further includes a sending time, an information length, and a sending channel number of the short message, the information returned by each mobile terminal to be addressed further includes a sending time, an information length, and a sending channel number of the received short message, and if the target first ciphertext successfully matched with the second ciphertext has the tag, before determining that the target mobile terminal is successfully addressed, the method further includes:
matching the sending time, the information length and the sending channel number of the short message sent to the target mobile terminal with the sending time, the information length and the sending channel number of the received short message returned by the target mobile terminal one by one;
and if the one-to-one matching is passed, determining that the target mobile terminal is successfully addressed.
5. The addressing method for the mobile terminal according to any one of claims 1 to 4, wherein the plurality of first ciphertexts are stored in a pre-constructed ciphertext value storage library, and the matching the second ciphertext with each of the first ciphertexts comprises:
extracting the second ciphertext value;
searching the ciphertext value storage for a first ciphertext that completely matches the second ciphertext value;
and determining the searched first ciphertext as a target first ciphertext successfully matched with the second ciphertext.
6. An addressing mechanism for a mobile terminal, comprising:
the short message sending module is used for sending a short message to each mobile terminal to be addressed respectively, each mobile terminal corresponds to a preset mobile phone number, the content plaintexts of a part of the sent short messages are the same, and the content plaintexts of the other part of the sent short messages are different;
the encryption module is used for encrypting the content plaintext of each short message according to a preset encryption algorithm to obtain a plurality of first ciphertexts;
the marker adding module is used for adding a marker to the ciphertext with uniqueness in the first ciphertexts;
the ciphertext matching module is used for matching the second ciphertext with each first ciphertext respectively when receiving a terminal feature code and a second ciphertext returned by any target mobile terminal in the mobile terminals to be addressed, wherein the second ciphertext is generated after the content plaintext of the received short message is encrypted by the target mobile terminal according to the encryption algorithm;
and the addressing module is used for determining that the target mobile terminal is successfully addressed and associating the terminal feature code with a target mobile phone number if the target first ciphertext successfully matched with the second ciphertext has the marker, wherein the target mobile phone number is a mobile phone number corresponding to the mobile terminal receiving the target short message, and the target short message is a short message of which the content plaintext is encrypted to obtain the target first ciphertext.
7. A computer readable storage medium storing computer readable instructions, characterized in that said computer readable instructions, when executed by a processor, implement the steps of the addressing method of a mobile terminal according to any of claims 1 to 5.
8. A server comprising a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, wherein the processor when executing the computer readable instructions performs the steps of:
respectively sending a short message to each mobile terminal to be addressed, wherein each mobile terminal corresponds to a preset mobile phone number, the content plaintexts of a part of the sent short messages are the same, and the content plaintexts of the other part of the sent short messages are different;
encrypting the content plaintext of each short message according to a preset encryption algorithm to obtain a plurality of first ciphertexts;
adding a marker to the ciphertext with uniqueness in the first ciphertexts;
when a terminal feature code and a second ciphertext returned by any target mobile terminal in the mobile terminals to be addressed are received, matching the second ciphertext with each first ciphertext respectively, and encrypting the content plaintext of the received short message by the target mobile terminal according to the encryption algorithm to generate the second ciphertext;
and if the target first ciphertext successfully matched with the second ciphertext has the marker, determining that the target mobile terminal is successfully addressed, and associating the terminal feature code with a target mobile phone number, wherein the target mobile phone number is a mobile phone number corresponding to the mobile terminal receiving the target short message, and the target short message is a short message of which the content plaintext is encrypted to obtain the target first ciphertext.
9. The server of claim 8, further comprising:
if the first ciphertext successfully matched with the second ciphertext does not have the marker, determining that the target mobile terminal fails to address;
after the addressing results of all the mobile terminals to be addressed are obtained, determining to finish a round of addressing operation, and counting the mobile terminals failing to address;
and respectively sending a short message to each mobile terminal with failed addressing again to execute the same next round of addressing operation until all the mobile terminals to be addressed are successfully addressed.
10. The server according to claim 8, further comprising, before sending a short message to each mobile terminal to be addressed, the following steps:
detecting whether an input addressing instruction is acquired or not;
if the input addressing instruction is acquired, judging whether the current time is in a preset time period;
and if the current time is within a preset time period, executing the step of respectively sending a short message to each mobile terminal to be addressed.
CN201910461393.9A 2019-05-30 2019-05-30 Addressing method and device of mobile terminal, storage medium and server Active CN110234082B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910461393.9A CN110234082B (en) 2019-05-30 2019-05-30 Addressing method and device of mobile terminal, storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910461393.9A CN110234082B (en) 2019-05-30 2019-05-30 Addressing method and device of mobile terminal, storage medium and server

Publications (2)

Publication Number Publication Date
CN110234082A CN110234082A (en) 2019-09-13
CN110234082B true CN110234082B (en) 2021-10-22

Family

ID=67858822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910461393.9A Active CN110234082B (en) 2019-05-30 2019-05-30 Addressing method and device of mobile terminal, storage medium and server

Country Status (1)

Country Link
CN (1) CN110234082B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110933661B (en) * 2019-12-02 2022-05-17 深圳市梦网科技发展有限公司 Mobile terminal addressing method, device, mobile terminal and medium with one card and multiple numbers
CN114697891A (en) * 2022-03-15 2022-07-01 上海创蓝云智信息科技股份有限公司 Method, system, equipment and medium for associating mobile phone number with Sim card identification information

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852333A (en) * 2006-05-15 2006-10-25 李帜 Short-message web-site analysis method and system
EP2164286A1 (en) * 2008-07-23 2010-03-17 Oki Electric Industry Co., Ltd. Devices and system for reliable and secure information distribution
CN102037708A (en) * 2008-03-28 2011-04-27 赛尔特拉斯特公司 Systems and methods for secure short messaging service and multimedia messaging service
CN105516969A (en) * 2015-12-15 2016-04-20 中卓信(北京)科技有限公司 Mobile phone short messages security verification method
CN106211101A (en) * 2016-08-31 2016-12-07 安徽拓通信科技集团股份有限公司 A kind of processing method and processing device of voice SMS
CN106330862A (en) * 2016-08-10 2017-01-11 武汉信安珞珈科技有限公司 Secure transmission method and system for dynamic password
CN108718448A (en) * 2018-04-27 2018-10-30 上海晨兴希姆通电子科技有限公司 Bind the method and system of mobile phone
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

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852333A (en) * 2006-05-15 2006-10-25 李帜 Short-message web-site analysis method and system
CN102037708A (en) * 2008-03-28 2011-04-27 赛尔特拉斯特公司 Systems and methods for secure short messaging service and multimedia messaging service
EP2164286A1 (en) * 2008-07-23 2010-03-17 Oki Electric Industry Co., Ltd. Devices and system for reliable and secure information distribution
CN105516969A (en) * 2015-12-15 2016-04-20 中卓信(北京)科技有限公司 Mobile phone short messages security verification method
CN106330862A (en) * 2016-08-10 2017-01-11 武汉信安珞珈科技有限公司 Secure transmission method and system for dynamic password
CN106211101A (en) * 2016-08-31 2016-12-07 安徽拓通信科技集团股份有限公司 A kind of processing method and processing device of voice SMS
CN108718448A (en) * 2018-04-27 2018-10-30 上海晨兴希姆通电子科技有限公司 Bind the method and system of mobile phone
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
CN110234082A (en) 2019-09-13

Similar Documents

Publication Publication Date Title
KR102182894B1 (en) USER DEVICE PERFORMING PASSWROD BASED AUTHENTICATION AND PASSWORD Registration AND AUTHENTICATION METHOD THEREOF
CN104765999B (en) Method, terminal and server for processing user resource information
EP3178011B1 (en) Method and system for facilitating terminal identifiers
CN106790156B (en) Intelligent device binding method and device
CN108810116B (en) Message processing method and related product
CN109241484B (en) Method and equipment for sending webpage data based on encryption technology
CN111182525B (en) Method and device for storing data
CN107688733B (en) Service interface calling method, device, user terminal and readable storage medium
CN110516471B (en) Product promotion method based on information security and related equipment
CN110234082B (en) Addressing method and device of mobile terminal, storage medium and server
CN111428254A (en) Key storage method, device, equipment and storage medium
CN111161056A (en) Method, system and equipment for improving transaction security of digital assets
CN109614789B (en) Terminal equipment verification method and equipment
CN110928880A (en) Data processing method, device, terminal and medium based on block chain
CN113836559A (en) Sample alignment method, device, equipment and storage medium in federated learning
CN105450402A (en) Method, device and system for inputting combined-type image verification code
CN112235104B (en) Data encryption transmission method, system, terminal and storage medium
CN110618989B (en) Information processing method, information processing device and related products
US10013539B1 (en) Rapid device identification among multiple users
CN108512657B (en) Password generation method and device
CN115603907A (en) Method, device, equipment and storage medium for encrypting storage data
CN114117388A (en) Device registration method, device registration apparatus, electronic device, and storage medium
CN110858803B (en) Authentication method, system, server, and computer-readable storage medium
CN112836239A (en) Method and device for cooperatively determining target object data by two parties for protecting privacy
CN109347640B (en) Data processing method and terminal based on block chain dynamic intelligent contract

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