CN110933661A - One-card-multi-number mobile terminal addressing method and device, mobile terminal and medium - Google Patents
One-card-multi-number mobile terminal addressing method and device, mobile terminal and medium Download PDFInfo
- Publication number
- CN110933661A CN110933661A CN201911215354.7A CN201911215354A CN110933661A CN 110933661 A CN110933661 A CN 110933661A CN 201911215354 A CN201911215354 A CN 201911215354A CN 110933661 A CN110933661 A CN 110933661A
- Authority
- CN
- China
- Prior art keywords
- information
- addressing
- fingerprint value
- communication
- card
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/20—Transfer of user or subscriber data
- H04W8/205—Transfer to or from user equipment or user record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application is applicable to the technical field of communication, and provides a mobile terminal addressing method, a device, a mobile terminal and a medium for one card with multiple numbers, which comprises the following steps: identifying a first number and a second number of a current identity identification card; when first addressing information aiming at the first number and sent by a server is received, calculating a first fingerprint value corresponding to the identity identification card; addressing the first number by adopting the first fingerprint value; when second addressing information aiming at the second number and sent by a server is received, generating a second fingerprint value of the second number according to the first fingerprint value; and addressing the second number by adopting the second fingerprint value. By the method, the main communication number and the auxiliary communication number of the mobile terminal with one card and multiple numbers can be addressed.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a mobile terminal addressing method, device, mobile terminal and medium for one-card-multiple-number.
Background
A card number, which is a Subscriber Identity Module (SIM) corresponding to a communication number; one-card multi-number means that one user identification card can correspond to a plurality of communication numbers. The one-card multi-number enables a user to communicate using multiple card numbers without having to frequently change cards.
The existing mobile terminal addressing can only solve the addressing problem of one card and one number; when a mobile terminal with one card and multiple numbers needs to be addressed, only one number can be successfully addressed, and other numbers cannot be addressed. For example, for a certain SIM card providing services of a primary number and a secondary number at the same time, according to the existing addressing method, only addressing of the primary number can be realized, but addressing of the secondary number cannot be realized.
Disclosure of Invention
The embodiment of the application provides a mobile terminal addressing method, a device, a mobile terminal and a medium for one-card multi-number, which can solve the problem of addressing a secondary number of a mobile terminal with one-card multi-number.
In a first aspect, an embodiment of the present application provides a method for addressing a mobile terminal with multiple numbers in one card, including:
identifying a first number and a second number of a current identity identification card;
when first addressing information aiming at the first number and sent by a server is received, calculating a first fingerprint value corresponding to the identity identification card;
addressing the first number by adopting the first fingerprint value;
when second addressing information aiming at the second number and sent by a server is received, generating a second fingerprint value of the second number according to the first fingerprint value;
and addressing the second number by adopting the second fingerprint value.
In a second aspect, an embodiment of the present application provides a mobile terminal addressing apparatus with one card and multiple numbers, including:
the identification module is used for identifying a first number and a second number of the current identity identification card;
the first fingerprint value calculation module is used for calculating a first fingerprint value corresponding to the identity card when first addressing information aiming at the first number and sent by a server is received;
the first number addressing module is used for addressing the first number by adopting the first fingerprint value;
the second fingerprint value calculation module is used for generating a second fingerprint value of the second number according to the first fingerprint value when receiving second addressing information aiming at the second number and sent by a server;
and the second number addressing module is used for addressing the second number by adopting the second fingerprint value.
In a third aspect, an embodiment of the present application provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method according to the first aspect when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the method of the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product, which, when run on a mobile terminal, causes the mobile terminal to execute the method described in the first aspect.
Compared with the prior art, the embodiment of the application has the advantages that: in the embodiment of the application, the communication numbers of the mobile terminal with one card and multiple numbers can be divided into a main communication number and an auxiliary communication number, namely a first number and a second number; in order to realize the addressing of the first number and the second number, a first fingerprint value of the identity card can be generated by adopting an encryption algorithm; when addressing information aiming at a first number is received, the first number is addressed by adopting a first fingerprint value; when addressing information for a second number is received, a second fingerprint value may be generated based on the first fingerprint value and then the second number may be addressed with the second fingerprint value. The method is equivalent to associating the main communication number with the actual card code of the identity identification card, constructing a virtual card code for the auxiliary communication number based on the real card code, and associating the virtual card code with the auxiliary communication number, so that the main communication number and the auxiliary communication number can be successfully addressed.
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 an addressing method for a mobile terminal with one card and multiple numbers according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a mobile terminal addressing method for multiple numbers in one card according to a second embodiment of the present application;
fig. 3 is a flowchart illustrating a mobile terminal addressing method for multiple numbers in one card according to a third embodiment of the present application
Fig. 4 is a schematic structural diagram of an addressing apparatus of a mobile terminal with one card and multiple numbers according to a fourth embodiment of the present application;
fig. 5 is a schematic structural diagram of a mobile terminal according to a fifth 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. It will be apparent, however, 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.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Fig. 1 is a schematic flowchart of an addressing method for a mobile terminal with one card with multiple numbers according to an embodiment of the present application, where as shown in fig. 1, the method includes the following steps:
s101, identifying a first number and a second number of a current identity identification card;
the mobile terminal addressing method of one-card-multiple-number provided by the embodiment of the application can be applied to mobile phones, tablets or other mobile terminals which use communication numbers for communication, and the embodiment of the application does not limit the specific type of the mobile terminal.
The one-card multi-number means that one SIM card corresponds to a plurality of numbers. When one SIM card corresponds to a plurality of communication numbers, the operator will divide these communication numbers into a primary communication number and a secondary communication number, and add a label to the secondary communication number. Therefore, the number can be divided into a primary communication number and a secondary communication number according to whether the additional mark exists or not. The first number is the main communication number, and the second number is the auxiliary communication number.
S102, when first addressing information aiming at the first number and sent by a server is received, calculating a first fingerprint value corresponding to the identity card;
in the addressing process, the mobile terminal receives the addressing information from the server, and when the addressing information is received, the mobile terminal can judge which communication number the addressing information is sent for according to whether the information contains an additional mark or not.
When first addressing information aiming at a first number sent by a server is received, a Mobile terminal may obtain card code information of a SIM card of the Mobile terminal, where the card code information may be an International Mobile Subscriber Identity (IMSI) or other information that uniquely identifies a certain SIM card. And then a preset encryption algorithm is adopted to generate a first fingerprint value. The encryption algorithm may be one or a combination of MD5 algorithm, hash algorithm and hash 256 algorithm. Certainly, the encryption algorithm may also include other algorithms, but in terms of selection of the algorithm, uniqueness and irreversibility need to be ensured after the card code information is encrypted, and the uniqueness ensures that the same fingerprint value does not occur in the addressing process, so that collision is avoided; the irreversibility guarantees the safety of information in the transmission process.
S103, addressing the first number by adopting the first fingerprint value;
and if the addressing information from the server is specific to the first number, the first fingerprint value is sent to the server, and the server associates the first fingerprint value with the first number to finish the addressing of the first number.
S104, when second addressing information aiming at the second number and sent by a server is received, generating a second fingerprint value of the second number according to the first fingerprint value;
if the addressing information from the server is directed to the second number, a second fingerprint value is constructed on the basis of the first fingerprint value as a virtual card code for the second number. The second fingerprint value constructed based on the first fingerprint should also be unique and not conflict with the fingerprint values of other numbers.
And S105, addressing the second number by adopting the second fingerprint value.
And sending the second fingerprint value to the server, and associating the second fingerprint value with the second number by the server end to finish the addressing of the second number, namely the auxiliary communication signal.
It should be noted that, in this embodiment, the addressing process is described by taking an example that one SIM includes two numbers, and it should be understood by those skilled in the art that, when one SIM includes more than two numbers, other numbers may also be addressed according to the method provided in this embodiment, and the number of the SIM numbers is not limited in this embodiment.
In the embodiment, the main communication number is addressed by adopting a first fingerprint value of the card code information of the SIM card; and constructing a second fingerprint value based on the first fingerprint value as a virtual card code of the auxiliary communication signal. The method is equivalent to addressing the main communication number by using the actual card code and addressing the auxiliary communication number by using the virtual card code, thereby realizing the addressing of the auxiliary communication number with one card and multiple numbers.
Fig. 2 is a schematic flowchart of an addressing method for a mobile terminal with one card with multiple numbers according to a second embodiment of the present application, and as shown in fig. 2, the method includes the following steps:
s201, identifying a first number and a second number of a current identity identification card;
the mobile terminal addressing method of the one-card multi-number provided by the embodiment of the application can be applied to mobile phones, tablets or other mobile terminals which use communication numbers for communication, and the embodiment of the application does not limit the specific type of the mobile terminal.
In this embodiment, a plurality of numbers in the SIM card may be first distinguished.
Specifically, after acquiring the communication information sent by the communication carrier, it may be identified whether the communication information carries label information for distinguishing different numbers.
If the communication information does not carry the marking information, identifying the communication number corresponding to the communication information as a first number; otherwise, identifying the communication number corresponding to the communication information as a second number.
When two communication numbers are allocated to one SIM card, the carrier defines these communication numbers as a primary communication number and a secondary communication number, and attaches a label to the secondary communication number. Such additional marks include a channel number mark and an information mark.
Illustratively, the main channel number is: 1065001, the first sub-channel number of the message sent to the first sub-channel using that channel number may be labeled as: 125001065001, the second subchannel number of the information sent to the second subchannel using that channel number is labeled 126001065001, and so on. If the channel number of the addressing information received by the destination terminal is 125001065001, the destination communication number of the addressing information is the first sub-communication number, and if the channel number of the addressing information received by the destination terminal is 126001065001, the destination communication number of the addressing information is the second sub-communication number.
The information mark is the information of the operator with the secondary communication number as each destination address. For ease of identification, a marker is usually added at the head or tail of the information content, for example:
the main information content is as follows: your customer is your good, your passcode this time is: 1234.
if the destination communication number is an auxiliary communication number, the content of the first auxiliary information may be: "[ Assistant No. 19800000000 ] the honored customer is your, your identifying code is: 1234. "
The following steps can be also included: "honored customer is your good, your passcode this time is: 1234. [ DOSAGE No. 19800000000 ] "
If the destination terminal receives the addressing information with the sub-number 19800000000, the destination communication number of the addressing information is the sub-communication number.
S202, when first addressing information aiming at the first number and sent by a server is received, card information of the user identification card is obtained;
specifically, when the received addressing information is directed to a first number, obtaining SIM card information; the acquired SIM card information may include IMEI, IMSI device information, and the like, and the SIM card can be uniquely determined by the card information.
S203, encrypting the card information to obtain a first fingerprint value of the identity recognition card;
the card information is encrypted using an encryption algorithm to generate a first fingerprint value. The encryption algorithm may be one or a combination of MD5 algorithm, hash algorithm and hash 256 algorithm. Other algorithms can be included, but the algorithm is selected to ensure that the card code information has uniqueness and irreversibility after being encrypted, and the uniqueness ensures that the same fingerprint value cannot appear in the addressing process, so that the conflict is avoided; the irreversibility guarantees the safety of information in the transmission process.
S204, encrypting the first addressing information to generate a first characteristic value;
the first addressing information is addressing information of the server aiming at the first number.
Specifically, before the server sends the addressing information to the destination terminal, the server encrypts the addressing information to generate a characteristic value, and stores the characteristic value in the database. And after receiving the first addressing information, the destination terminal generates a first characteristic value by adopting the same encryption algorithm and key as the server. The encryption algorithm may be one or a combination of MD5 algorithm, hash algorithm and hash 256 algorithm.
S205, sending the first characteristic value and the first fingerprint value to the server, wherein the server is used for associating the first fingerprint value with the first number when finding a first target characteristic value which is the same as the first characteristic value;
specifically, the destination terminal sends the first feature value and the first fingerprint value to the server, and the sent channel number may be a channel number for receiving the first addressing information. And after the server receives the return information of the target terminal, comparing the first characteristic value with the characteristic values stored in the database, and when the characteristic value which is the same as the first characteristic value is found, the communication number stored in association with the characteristic value by the server is stored in association with the first fingerprint value, so that the addressing is successful.
S206, when second addressing information aiming at the second number and sent by the server is received, generating a second fingerprint value of the second number according to the first fingerprint value;
specifically, one communication number is required to correspond to one card code in the server, but a plurality of communication numbers with one card and a plurality of numbers correspond to the same SIM card, and after the first number is addressed by using the first fingerprint value generated by the SIM card information, the second number cannot be addressed by using the first fingerprint value any more. For the second number, a second fingerprint value may be constructed as a virtual card code of the second number based on the first fingerprint value.
And S207, addressing the second number by adopting the second fingerprint value.
Specifically, the second fingerprint value is sent to the server, the server searches for a communication number corresponding to the second fingerprint value according to the received information and the stored information, the corresponding communication number is the second number, and the server stores the second fingerprint value and the second number in a correlation manner to finish addressing of the second number.
In this embodiment, the destination terminal addresses the first number by using the first fingerprint value of the SIM card information, constructs a second fingerprint value for the second number based on the first fingerprint value, which is equivalent to constructing a virtual card code for the second number, and implements addressing of the first number and the second number.
Fig. 3 is a schematic flowchart of an addressing method for a mobile terminal with one card with multiple numbers according to a third embodiment of the present application, where as shown in fig. 3, the method includes the following steps:
s301, identifying a first number and a second number of the current identity identification card;
the mobile terminal addressing method of the one-card multi-number provided by the embodiment of the application can be applied to mobile phones, tablets or other mobile terminals which use communication numbers for communication, and the embodiment of the application does not limit the specific type of the mobile terminal.
When addressing, the server sends addressing information to a destination terminal, if a secondary number mark appears in the addressing information, or a sending channel number contains the secondary number mark, the addressing information is directed at a secondary communication number; otherwise the addressing information is directed to the primary communication number.
The destination terminal comprises a plurality of historical information, and the historical information can be used when addressing, and similarly, if a secondary number mark appears in the historical information or a historical sending channel number comprises the secondary number mark, the historical information is directed at the secondary communication number; otherwise, the historical information is aimed at the primary communication number.
S302, when first addressing information aiming at the first number and sent by a server is received, calculating a first fingerprint value corresponding to the identity card;
the first addressing information is addressing information of a pointer to a first number, and the first fingerprint value is a ciphertext value generated by encrypting SIM card information.
Specifically, if the first number is to be addressed, the destination terminal acquires the information of the SIM card when receiving the first addressing information, and generates the first fingerprint value by using an encryption algorithm. If the historical information is used for addressing, the information of the SIM card is also acquired, and a first fingerprint value is generated by adopting an encryption algorithm. The aforementioned encryption algorithm may include one or a combination of MD5 algorithm, hash algorithm and hash 256 algorithm.
S303, addressing the first number by adopting the first fingerprint value;
specifically, a first fingerprint value corresponding to the first number is sent to the server side. After receiving the information, the server searches the stored corresponding addressing information, the addressing information is associated with and stores a target communication number, the target communication number is the first number, and the server stores the target communication number and the first fingerprint value in an associated manner to finish the addressing of the first number.
S304, when second addressing information aiming at the second number and sent by a server is received, adding a prefix or a suffix to the first fingerprint value to generate a second fingerprint value of the second number;
the second addressing information refers to addressing information of the server for the second number. Specifically, when receiving the addressing information of the server for the second number, the destination terminal may add a prefix or a suffix to the first fingerprint value, and generate the second fingerprint value as the virtual card code of the second number. Since the first fingerprint value has uniqueness, adding a prefix or a suffix thereto to generate the second fingerprint value enables the second fingerprint value to have uniqueness as well. The added prefix and suffix may select information in the side number tag in the addressing information or in the side number tag in the channel number.
Illustratively, if the channel number prefix of the sub-pass signal is 125831, a prefix or suffix a is added to the fingerprint value, and if the channel number prefix of the sub-pass signal is 125832, a prefix or suffix b is added to the fingerprint value.
S305, removing the mark information of the second addressing information, encrypting the second addressing information without the mark information, and generating a second characteristic value;
specifically, before sending the second addressing information to the destination terminal, the server side examines feature values of each line for the content of the addressing information by using an encryption algorithm, and stores the addressing information in a database in association with the feature values, the destination communication number and the channel number.
When the destination terminal receives the second addressing information, after the auxiliary number mark is removed, the second addressing information without the mark information is encrypted to generate a second characteristic value, so that the destination terminal and the server terminal can generate the same characteristic value aiming at the second addressing information.
S306, sending the second characteristic value and the second fingerprint value to the server, wherein the server is used for associating the second fingerprint value with the second number when finding a second target characteristic value which is the same as the second characteristic value.
Specifically, the destination terminal sends the second characteristic value and the second fingerprint value to the server, after receiving information returned by the destination terminal, the server searches for the characteristic value which is the same as the second characteristic value in the database, the target communication number stored in association with the characteristic value is the second number, and the second fingerprint value and the target communication number are stored in association with each other, so that the addressing of the second number is completed.
In this embodiment, the first fingerprint value is generated based on the card information encryption of the SIM card, and then the second fingerprint value is constructed based on the first fingerprint value, and is used as the virtual card code of the second number, i.e. the secondary communication number, thereby implementing the addressing of the secondary communication number.
For ease of understanding, the mobile terminal addressing method of the present application for one card multi-number is described below as a complete example.
The server side obtains the short message content, the target communication number and the sending channel number for addressing; and then encrypting the short message content to generate a characteristic value, storing and associating the sent short message content, the short message characteristic value, the destination communication number and the sent channel number with a storage library, and sending the short message to a destination terminal according to the destination communication number and the sent channel number. The encryption algorithm may be one or a combination of MD5, hash, and hash 256.
And after receiving the addressing short message from the server, the destination terminal generates a fingerprint value by using an encryption algorithm for the card code of the SIM card and stores the fingerprint value. Because the SIM card of a mobile terminal with one or more SIM cards corresponds to multiple communication numbers, the target communication number of the short message needs to be identified.
When one SIM card is configured with two communication numbers, the operator will divide these communication numbers into a primary communication number and a secondary communication number, and add a label to the secondary communication number. The additional marks may be divided into a channel number mark and an information mark.
The channel number mark is that the operator adds identification before the channel number of the information with destination address being the secondary communication number.
For example: the main channel numbers are: 1065001, the first sub-channel number of the message sent to the first sub-channel using that channel number may be labeled as: 125001065001, the second subchannel number of the information sent to the second subchannel using that channel number is labeled 126001065001, and so on. In practical applications, the chinese mobile will mark the channel number of the first sub-channel as: 125831+ main channel number.
The information mark is the information of the operator with the secondary communication number as each destination address. For ease of identification, a marker is usually added at the head or tail of the information content, for example:
the main information content is as follows: your customer is your good, your passcode this time is: 1234.
if the destination communication number is an auxiliary communication number, the content of the first auxiliary information may be: "[ Assistant No. 19800000000 ] the honored customer is your, your identifying code is: 1234. "
The following steps can be also included: "honored customer is your good, your passcode this time is: 1234. [ DOSAGE No. 19800000000 ] "
In the process of sending the short message, a channel number mark or an information mark can be adopted, and a mode of the channel number mark plus the information mark can also be adopted.
Therefore, when the destination terminal receives the short message, as long as the additional mark is collected in the information received by the communication number, the number is identified as the auxiliary communication number, and the communication number without the additional mark is identified as the main communication number.
When the destination terminal receives the addressing information aiming at the main communication number, the destination terminal can address the main communication number by utilizing the fingerprint value. When the destination terminal receives the addressing information for the secondary communication number, in order to avoid that the fingerprint value of the secondary communication number collides with the fingerprint value of the primary communication number to cause unsuccessful addressing, the fingerprint value needs to be further processed, for example, a prefix or a suffix is added to the fingerprint value according to a channel number mark, and the prefix or the suffix can be letters or numbers.
For example, if the channel number prefix of the sub-channel signal is 125831, a prefix or suffix a is added to the fingerprint value, and if the channel number prefix of the sub-channel signal is 125832, a prefix or suffix b is added to the fingerprint value.
And then setting the processed fingerprint value as the virtual card code of the secondary communication number.
And then, the target terminal randomly selects a plurality of short messages received by the secondary communication number within a specific time, such as 15 days, deletes the additional marks in the short message content, and generates a characteristic value by adopting the same encryption algorithm and key as those of the server terminal.
For example, the first sub-message content is: "[ Assistant No. 19800000000 ] the honored customer is your, your identifying code is: 1234. "we will remove" side number 19800000000 "when calculating the feature value, and only calculate" honored customer is good, your verification code is: 1234. "a characteristic value of the content.
And feeding back the auxiliary channel number, the associated virtual card code and the information characteristic value of the auxiliary communication signal without the operator mark to the server terminal. For example, the sub-channel number is "110001065001", and only "1065001" is provided to the server side. And after receiving the information returned by the destination terminal, the server searches and compares the information characteristic value in a storage library of the server, and if the unique corresponding value of the corresponding channel number and the information characteristic value is searched, the secondary communication number is associated with the corresponding virtual card code.
Fig. 4 is a schematic structural diagram of an addressing apparatus of a mobile terminal with one card and multiple numbers according to a fourth embodiment of the present application, and as shown in fig. 4, the apparatus may specifically include the following modules:
the identification module 41 is configured to identify a first number and a second number of a current identification card;
a first fingerprint value calculating module 42, configured to calculate a first fingerprint value corresponding to the identity card when receiving first addressing information, which is sent by a server and is for the first number;
a first number addressing module 43, configured to address the first number by using the first fingerprint value;
a second fingerprint value calculating module 44, configured to generate a second fingerprint value of the second number according to the first fingerprint value when receiving second addressing information, which is sent by the server and is specific to the second number;
and a second number addressing module 45, configured to address the second number by using the second fingerprint value.
The identification module 41 may specifically include the following sub-modules:
the tag information identification submodule is used for acquiring communication information sent by a communication operator and identifying whether the communication information carries tag information for distinguishing different numbers;
the judging submodule is used for identifying the communication number corresponding to the communication information as a first number if the communication information does not carry the marking information; otherwise, identifying the communication number corresponding to the communication information as a second number.
The first fingerprint value calculating module 42 in the above apparatus may specifically include the following sub-modules:
the card information acquisition submodule is used for acquiring the card information of the user identification card when receiving first addressing information aiming at the first number sent by a server;
and the first fingerprint value generation submodule is used for encrypting the card information to obtain a first fingerprint value of the identity recognition card.
The first number addressing module 43 may specifically include the following sub-modules:
the first characteristic value generation submodule is used for encrypting the first addressing information to generate a first characteristic value;
the first sending submodule is used for sending the first characteristic value and the first fingerprint value to the server, and the server is used for associating the first fingerprint value with the first number when finding a first target characteristic value which is the same as the first characteristic value.
The second fingerprint value calculating module 44 may specifically include the following sub-modules:
and the second fingerprint value generating submodule is used for adding a prefix or a suffix to the first fingerprint value to generate a second fingerprint value of the second number when receiving second addressing information aiming at the second number and sent by the server.
The second number addressing module 45 may specifically include the following sub-modules:
a second eigenvalue generation submodule, configured to remove the mark information of the second addressing information, encrypt the second addressing information from which the mark information is removed, and generate a second eigenvalue;
and the second sending submodule is used for sending the second characteristic value and the second fingerprint value to the server, and the server is used for associating the second fingerprint value with the second number when finding a second target characteristic value which is the same as the second characteristic value.
Fig. 5 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present application. As shown in fig. 5, the mobile terminal 5 of this embodiment includes: at least one processor 50 (only one processor is shown in fig. 5), a memory 51, and a computer program 52 stored in the memory 51 and executable on the at least one processor 50, the steps of any of the various method embodiments described above being implemented when the computer program 52 is executed by the processor 50.
The mobile terminal 5 may be a mobile phone, a tablet or other computing device. The mobile terminal may include, but is not limited to, a processor 50, a memory 51. Those skilled in the art will appreciate that fig. 5 is merely an example of the mobile terminal 5 and does not constitute a limitation of the mobile terminal 5, and may include more or less components than those shown, or some components in combination, or different components, such as input output devices, network access devices, etc.
The processor 50 may be a Central Processing Unit (CPU), and the processor 50 may be 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, a discrete gate or transistor logic device, a discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may in some embodiments be an internal storage unit of the mobile terminal 5, such as a hard disk or a memory of the mobile terminal 5. The memory 51 may also be an external storage device of the mobile terminal 5 in other embodiments, such as a plug-in hard disk equipped on the mobile terminal 5, a smart card (SMC), a Secure Digital (SD) card, a flash card (FlashCard), and the like. Further, the memory 51 may also include both an internal storage unit and an external storage device of the mobile terminal 5. The memory 51 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer program. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.
The embodiments of the present application provide a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the steps in the above method embodiments when executed.
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, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement 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 at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer memory, Read-only memory (ROM), random-access memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements 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/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. 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 units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
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. A mobile terminal addressing method of one card with multiple numbers is applied to a mobile terminal, and the method comprises the following steps:
identifying a first number and a second number of a current identity identification card;
when first addressing information aiming at the first number and sent by a server is received, calculating a first fingerprint value corresponding to the identity identification card;
addressing the first number by adopting the first fingerprint value;
when second addressing information aiming at the second number and sent by a server is received, generating a second fingerprint value of the second number according to the first fingerprint value;
and addressing the second number by adopting the second fingerprint value.
2. The method of claim 1, wherein identifying the first number and the second number of the current identification card comprises:
acquiring communication information sent by a communication operator, and identifying whether the communication information carries label information for distinguishing different numbers;
if the communication information does not carry the marking information, identifying a communication number corresponding to the communication information as a first number; otherwise, identifying the communication number corresponding to the communication information as a second number.
3. The method of claim 1, wherein calculating the first fingerprint value corresponding to the identification card when receiving the first addressing information for the first number sent by the server comprises:
when first addressing information aiming at the first number and sent by a server is received, card information of the user identification card is obtained;
and encrypting the card information to obtain a first fingerprint value of the identity recognition card.
4. A method according to any of claims 1-3, wherein said addressing said first number with said first fingerprint value comprises:
encrypting the first addressing information to generate a first characteristic value;
and sending the first characteristic value and the first fingerprint value to the server, wherein the server is used for associating the first fingerprint value with the first number when finding a first target characteristic value which is the same as the first characteristic value.
5. The method according to any one of claims 1 to 3, wherein the generating a second fingerprint value of the second number according to the first fingerprint value when receiving second addressing information for the second number sent by a server comprises:
and when second addressing information aiming at the second number and sent by a server is received, adding a prefix or a suffix to the first fingerprint value to generate a second fingerprint value of the second number.
6. The method of claim 5, wherein said addressing the second number with the second fingerprint value comprises:
removing the mark information of the second addressing information, encrypting the second addressing information without the mark information, and generating a second characteristic value;
and sending the second characteristic value and the second fingerprint value to the server, wherein the server is used for associating the second fingerprint value with the second number when finding a second target characteristic value which is the same as the second characteristic value.
7. A mobile terminal addressing device for one card with multiple numbers is characterized in that the device is applied to a mobile terminal and comprises:
the identification module is used for identifying a first number and a second number of the current identity identification card;
the first fingerprint value calculation module is used for calculating a first fingerprint value corresponding to the identity card when first addressing information aiming at the first number and sent by a server is received;
the first number addressing module is used for addressing the first number by adopting the first fingerprint value;
the second fingerprint value calculation module is used for generating a second fingerprint value of the second number according to the first fingerprint value when receiving second addressing information aiming at the second number and sent by a server;
and the second number addressing module is used for addressing the second number by adopting the second fingerprint value.
8. The apparatus of claim 7, wherein the identification module comprises:
the tag information identification submodule is used for acquiring communication information sent by a communication operator and identifying whether the communication information carries tag information for distinguishing different numbers;
the judging submodule is used for identifying the communication number corresponding to the communication information as a first number if the communication information does not carry the marking information; otherwise, identifying the communication number corresponding to the communication information as a second number.
9. A mobile terminal 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 6 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 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911215354.7A CN110933661B (en) | 2019-12-02 | 2019-12-02 | Mobile terminal addressing method, device, mobile terminal and medium with one card and multiple numbers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911215354.7A CN110933661B (en) | 2019-12-02 | 2019-12-02 | Mobile terminal addressing method, device, mobile terminal and medium with one card and multiple numbers |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110933661A true CN110933661A (en) | 2020-03-27 |
CN110933661B CN110933661B (en) | 2022-05-17 |
Family
ID=69848537
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911215354.7A Active CN110933661B (en) | 2019-12-02 | 2019-12-02 | Mobile terminal addressing method, device, mobile terminal and medium with one card and multiple numbers |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110933661B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070213075A1 (en) * | 2004-02-18 | 2007-09-13 | Roamware, Inc. | Method and system for providing mobile communication corresponding to multiple MSISDNs associated with a single IMSI |
CN101406079A (en) * | 2006-01-31 | 2009-04-08 | 罗姆韦尔有限公司 | Method and system for providing mobile communication corresponding to multiple MSISDNS associated with a single IMSI |
CN103781045A (en) * | 2012-10-17 | 2014-05-07 | 中国电信股份有限公司 | One-card multi-number service system and communication method |
CN106130971A (en) * | 2016-06-22 | 2016-11-16 | 中国联合网络通信集团有限公司 | Identity identifying method and certificate server |
CN110234082A (en) * | 2019-05-30 | 2019-09-13 | 深圳市梦网科技发展有限公司 | A kind of addressing method of mobile terminal, device, storage medium and server |
-
2019
- 2019-12-02 CN CN201911215354.7A patent/CN110933661B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070213075A1 (en) * | 2004-02-18 | 2007-09-13 | Roamware, Inc. | Method and system for providing mobile communication corresponding to multiple MSISDNs associated with a single IMSI |
CN101406079A (en) * | 2006-01-31 | 2009-04-08 | 罗姆韦尔有限公司 | Method and system for providing mobile communication corresponding to multiple MSISDNS associated with a single IMSI |
CN103781045A (en) * | 2012-10-17 | 2014-05-07 | 中国电信股份有限公司 | One-card multi-number service system and communication method |
CN106130971A (en) * | 2016-06-22 | 2016-11-16 | 中国联合网络通信集团有限公司 | Identity identifying method and certificate server |
CN110234082A (en) * | 2019-05-30 | 2019-09-13 | 深圳市梦网科技发展有限公司 | A kind of addressing method of mobile terminal, device, storage medium and server |
Also Published As
Publication number | Publication date |
---|---|
CN110933661B (en) | 2022-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106790156B (en) | Intelligent device binding method and device | |
CN110856126B (en) | Information reporting and receiving method, terminal equipment and storage medium | |
CN110457945B (en) | List query method, query party device, service party device and storage medium | |
CN107277181A (en) | A kind of information push method, server and message push system | |
CN109493087B (en) | Method for checking real estate registration information based on two-dimensional code, computer device and computer readable storage medium | |
CN105468990A (en) | Sensitive information management control method and apparatus | |
CN111178884A (en) | Information processing method, device, equipment and readable storage medium | |
CN110234082B (en) | Addressing method and device of mobile terminal, storage medium and server | |
CN108418679B (en) | Method and device for processing secret key under multiple data centers and electronic equipment | |
CN114239072B (en) | Block chain node management method and block chain network | |
US9736229B2 (en) | Device with embedded network subscription and methods | |
CN110210307B (en) | Face sample library deployment method, face-recognition-based service processing method and device | |
CN115345646A (en) | Information sending method, device, equipment and computer readable storage medium | |
CN110619204A (en) | Invitation code generation method and device, terminal equipment and storage medium | |
CN112052267B (en) | Data query method, equipment, server and storage medium | |
CN113946862A (en) | Data processing method, device and equipment and readable storage medium | |
CN110020040B (en) | Method, device and system for querying data | |
CN110933661B (en) | Mobile terminal addressing method, device, mobile terminal and medium with one card and multiple numbers | |
CN109842482B (en) | Information synchronization method, system and terminal equipment | |
CN115344848B (en) | Identification acquisition method, device, equipment and computer readable storage medium | |
CN114461418A (en) | Inter-process communication method and device and electronic equipment | |
CN111324896A (en) | Method and device for writing vehicle service information and computing equipment | |
CN111464312B (en) | Method and device for processing account addresses in blockchain and electronic equipment | |
CN115333753A (en) | Internet protocol address generation method and device, storage medium and electronic equipment | |
CN114025356A (en) | Malicious short message verification code identification method, related device and computer 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 |