CN115835190A - Information association method and device, electronic equipment and storage medium - Google Patents

Information association method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115835190A
CN115835190A CN202211447100.XA CN202211447100A CN115835190A CN 115835190 A CN115835190 A CN 115835190A CN 202211447100 A CN202211447100 A CN 202211447100A CN 115835190 A CN115835190 A CN 115835190A
Authority
CN
China
Prior art keywords
account
identifier
terminal
secret card
information
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.)
Pending
Application number
CN202211447100.XA
Other languages
Chinese (zh)
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.)
China United Network Communications Group Co Ltd
China Information Technology Designing and Consulting Institute Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
China Information Technology Designing and Consulting Institute 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 China United Network Communications Group Co Ltd, China Information Technology Designing and Consulting Institute Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202211447100.XA priority Critical patent/CN115835190A/en
Publication of CN115835190A publication Critical patent/CN115835190A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides an information association method, an information association device, electronic equipment and a storage medium, relates to the technical field of communication, and solves the technical problem that other users in the related art cannot guarantee the safety of service data because the other users access related services based on a terminal corresponding to a certain user. The method comprises the following steps: receiving an information association request sent by a terminal; the method comprises the steps that when a secret card identifier of a first secret card is the same as a secret card identifier included in account opening information of a first account and a first field included in the account opening information of the first account is empty, a first verification code is sent to a terminal, wherein the first field is used for representing a terminal identifier corresponding to the account identifier of the first account; and under the condition of receiving the first verification code sent by the terminal, determining the terminal identifier of the terminal as a terminal identifier corresponding to the account identifier of the first account, and determining the secret card identifier of the first secret card as a secret card identifier corresponding to the account identifier of the first account.

Description

Information association method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an information association method and apparatus, an electronic device, and a storage medium.
Background
Currently, a user may send a service access request to a server based on a terminal, where the service access request includes a mobile phone number of the user and an identification of a Subscriber Identity Module (SIM) card of the user. When the mobile phone number and the identifier of the SIM card are stored in the server, the server may allow the terminal to access the related service, that is, the user may obtain the service data of the service.
However, in the above method, it may be that other users send service access requests to the server based on the terminal, that is, other users not corresponding to the terminal access the related service, and the security of the service data cannot be ensured.
Disclosure of Invention
The invention provides an information association method, an information association device, electronic equipment and a storage medium, and solves the technical problem that other users in the related art cannot guarantee the safety of service data because the other users access related services based on a terminal corresponding to a certain user.
In a first aspect, the present invention provides an information association method, including: receiving an information association request sent by a terminal, wherein the information association request comprises an account identifier of a first account, a secret card identifier of a first secret card and a terminal identifier of the terminal; when the secret card identification of the first secret card is the same as the secret card identification included in the account opening information of the first account and a first field included in the account opening information of the first account is empty, sending a first verification code to the terminal, wherein the first field is used for representing the terminal identification corresponding to the account identification of the first account; and under the condition of receiving the first verification code sent by the terminal, determining the terminal identifier of the terminal as a terminal identifier corresponding to the account identifier of the first account, and determining the secret card identifier of the first secret card as a secret card identifier corresponding to the account identifier of the first account.
Optionally, the information association method further includes: acquiring the account name of the first account, the position information corresponding to the first account and the encryption level of the first account; and generating a confidential card identifier included in the account opening information of the first account based on the account name of the first account, the position information corresponding to the first account and the encryption level of the first account.
Optionally, the information association method further includes: determining whether a second field included in the account opening information of the first account is empty or not under the condition that the account identification of the first account is the account identification included in the account opening information of the first account, wherein the second field is used for representing a secret card identification corresponding to the account identification of the first account; under the condition that a second field included in account opening information of the first account is empty, a second verification code is sent to the terminal; and under the condition of receiving the second verification code sent by the terminal, determining the secret card identifier of the first secret card as the secret card identifier included in the account opening information of the first account.
Optionally, the information associating method further includes: determining account status of the first account based on the account opening information of the first account; determining a serial number corresponding to a secret card identifier of a first secret card based on a preset corresponding relation under the condition that the account state of the first account is to be activated, wherein the preset corresponding relation comprises a plurality of secret card identifiers and a serial number corresponding to each secret card identifier in the plurality of secret card identifiers; and determining the service access authority of the first account based on the serial number corresponding to the secret card identifier of the first secret card, the account identifier of the first account and the terminal identifier of the terminal.
Optionally, the information association method further includes: and sending first prompt information to the terminal under the condition that the secret card identification of the first secret card is different from the secret card identification included in the account opening information of the first account, wherein the first prompt information is used for informing that the secret card identification of the first secret card is not matched with the account identification of the first account.
In a second aspect, the present invention provides an information associating apparatus, comprising: the device comprises a receiving module, a sending module and a determining module; the receiving module is used for receiving an information association request sent by a terminal, wherein the information association request comprises an account identifier of a first account, a secret card identifier of a first secret card and a terminal identifier of the terminal; the sending module is configured to send a first verification code to the terminal when the secret card identifier of the first secret card is the same as the secret card identifier included in the account opening information of the first account and a first field included in the account opening information of the first account is empty, where the first field is used to represent a terminal identifier corresponding to the account identifier of the first account; the determining module is configured to determine, when the first verification code sent by the terminal is received, the terminal identifier of the terminal as a terminal identifier corresponding to the account identifier of the first account, and determine the card identifier of the first secret card as a card identifier corresponding to the account identifier of the first account.
Optionally, the information association apparatus further includes an obtaining module and a processing module; the obtaining module is used for obtaining the account name of the first account, the position information corresponding to the first account and the encryption level of the first account; the processing module is used for generating a confidential card identifier included in the account opening information of the first account based on the account name of the first account, the position information corresponding to the first account and the encryption level of the first account.
Optionally, the determining module is further configured to determine whether a second field included in the account opening information of the first account is empty when the account identifier of the first account is an account identifier included in the account opening information of the first account, where the second field is used to represent a card-encrypted identifier corresponding to the account identifier of the first account; the sending module is further configured to send a second verification code to the terminal when a second field included in the account opening information of the first account is empty; the determining module is further configured to determine the secret card identifier of the first secret card as the secret card identifier included in the account opening information of the first account when the second verification code sent by the terminal is received.
Optionally, the determining module is further configured to determine an account status of the first account based on the account opening information of the first account; the determining module is further configured to determine, based on a preset correspondence, a serial number corresponding to a secret card identifier of a first secret card when the account status of the first account is to be activated, where the preset correspondence includes a plurality of secret card identifiers and a serial number corresponding to each of the plurality of secret card identifiers; the determining module is further configured to determine the service access permission of the first account based on the serial number corresponding to the secret card identifier of the first secret card, the account identifier of the first account, and the terminal identifier of the terminal.
Optionally, the sending module is further configured to send first prompt information to the terminal when the secret card identifier of the first secret card is different from the secret card identifier included in the account opening information of the first account, where the first prompt information is used to notify that the secret card identifier of the first secret card is not matched with the account identifier of the first account.
In a third aspect, the present invention provides an electronic device comprising: a processor and a memory configured to store processor-executable instructions; wherein the processor is configured to execute the instructions to implement any one of the above-described optional information associating methods of the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium having instructions stored thereon, which, when executed by an electronic device, enable the electronic device to perform any one of the above-mentioned optional information associating methods of the first aspect.
According to the information association method, the information association device, the electronic equipment and the storage medium, the server can receive an information association request sent by the terminal, wherein the information association request comprises an account identifier of a first account, a secret card identifier of a first secret card and a terminal identifier of the terminal; when the card id of the first card is the same as the card id included in the account opening information of the first account, and a first field (the first field is used to represent a terminal id corresponding to the account id of the first account) included in the account opening information of the first account is empty, it indicates that the card id of the first card is the card id corresponding to the account id of the first account, and the first account is first login (or first binding), at this time, the server may send a first verification code to the terminal to verify the security of the terminal; in case of receiving the first verification code sent by the terminal, it indicates that the identity of the terminal is secure, and at this time, the server may associate (or correspond) the terminal identifier of the terminal, the account identifier of the first account, and the secret card identifier of the first secret card. Namely, the terminal identifier of the terminal is determined as the terminal identifier corresponding to the account identifier of the first account, and the secret card identifier of the first secret card is determined as the secret card identifier corresponding to the account identifier of the first account. In the invention, the server can determine the corresponding relation among the account identifier, the secret card identifier and the terminal identifier based on the information included in the information association request and the information included in the account opening information of the first account, and can accurately and effectively associate the information. Furthermore, only the account and the terminal with the relevant corresponding relation can access the target service, and the safety of service data is guaranteed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a schematic network architecture diagram of an information association system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an information association method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another information association method according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of another information association method according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of another information association method according to an embodiment of the present invention;
fig. 6 is a schematic flowchart of another information association method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an information association apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another information association apparatus according to an embodiment of the present invention.
Detailed Description
The following describes in detail an information associating method, an information associating apparatus, an electronic device, and a storage medium according to embodiments of the present invention with reference to the accompanying drawings.
The terms "first" and "second" etc. in the description and drawings of the present application are used to distinguish different objects and not to describe a particular order of the objects, e.g., a first field and a second field etc. are used to distinguish different fields and not to describe a particular order of the fields.
Furthermore, the terms "including" and "having," and any variations thereof, as referred to in the description of the present application, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The term "and/or" as used herein includes the use of either or both of the two methods.
In the description of the present application, the meaning of "a plurality" means two or more unless otherwise specified.
Based on the description in the background art, since other users may access the related service based on the terminal corresponding to a certain user in the related art, the security of the service data cannot be guaranteed. Based on this, the embodiments of the present invention provide an information association method and apparatus, an electronic device, and a storage medium, where a server may determine a correspondence between an account identifier, a cryptocard identifier, and a terminal identifier based on information included in an information association request and information included in account opening information of a first account, and may accurately and effectively associate these pieces of information. Furthermore, only the account and the terminal with the relevant corresponding relation can access the target service, and the safety of service data is guaranteed.
The information association method, the information association device, the electronic device and the storage medium provided by the embodiment of the invention can be applied to an information association system, as shown in fig. 1, the information association system comprises a terminal 101 and a server 102. In general, in practical applications, the connections between the above-mentioned devices or service functions may be wireless connections, and for convenience, the connections between the devices are shown by solid lines in fig. 1.
The terminal 101 is configured to send an information association request to the server 102, where the information association request includes an account identifier of the first account, a secret card identifier of the first secret card, and a terminal identifier of the terminal 101, and the information association request is used to request to determine whether an association relationship exists between the secret card identifier and the account identifier, and determine whether an association relationship exists between the secret card identifier and the terminal identifier.
The server 102 is configured to send a first verification code to the terminal 101 when a secret card identifier of the first secret card is the same as a secret card identifier included in the account opening information of the first account and a first field included in the account opening information of the first account is empty, where the first field is used to represent a terminal identifier corresponding to the account identifier of the first account.
It should be noted that the terminal 101 may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) \ Virtual Reality (VR) device, and the specific form of the terminal 101 is not particularly limited in the embodiments of the present invention. The system can be used for man-machine interaction with a user through one or more modes of a keyboard, a touch pad, a touch screen, a remote controller, voice interaction or handwriting equipment and the like.
The server 102 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, network acceleration service (CDN), big data, and an artificial intelligence platform.
The following describes an information association method according to an embodiment of the present invention, taking an electronic device that executes the information association method according to the embodiment of the present invention as an example of the server 102 shown in fig. 1.
As shown in fig. 2, the information association method provided by the embodiment of the present invention may include S101 to S103.
S101, the server receives an information association request sent by the terminal.
The information is associated with the account identification of the first account of the requesting customer, the secret card identification of the first secret card and the terminal identification of the terminal.
It should be understood that the account identifier of an account (e.g., a first account) may be an identifier used to characterize the first account when performing a target service (e.g., a confidential speech service, a confidential information service) for the first account, and may be a confidential speech number (or a confidential signal number) of the first account. A secret card (e.g., a first secret card) is an encrypted card used when the first account performs the target service, a secret card identifier of the first secret card is a unique identification code (secID) of the first secret card, and the first secret card can store the secret card identifier. The terminal identifier of a terminal is a unique identifier of the terminal, for example, the terminal identifier may be an International Mobile Equipment Identity (IMEI) of the terminal.
In an optional implementation manner, the account identifier of the first account may also be a mobile phone number of the first account or a SIM card identifier of the first account. The terminal identifier of the terminal may be a Media Access Control (MAC) address of the terminal.
S102, under the condition that the secret card identification of the first secret card is the same as the secret card identification included in the account opening information of the first account and the first field included in the account opening information of the first account is empty, the server sends a first verification code to the terminal.
The first field is used for representing a terminal identification corresponding to the account identification of the first account.
It should be understood that after obtaining the account identification of the first account, the server may obtain the opening information of the first account based on the account identification. When the secret card identifier of the first secret card is the same as the secret card identifier included in the account opening information of the first account, it is described that the secret card identifier of the first secret card is the secret card identifier corresponding to the account identifier of the first account, specifically, the secret card identifier allocated by the server to the first account when the first account is opened, and at this time, the server may determine whether the first field included in the account opening information of the first account is empty.
When the first field included in the account opening information of the first account is empty, the first account is described as first login (or first binding). At this time, the server may send a verification code (e.g., a first verification code) to the terminal to verify the security of the terminal, thereby completing the association (or binding) process of the account identifier, the secret card identifier and the terminal identifier.
Optionally, the server may send the first verification code to the alternate number of the first account.
S103, under the condition that the first verification code sent by the terminal is received, the server determines the terminal identification of the terminal as the terminal identification corresponding to the account identification of the first account, and determines the secret card identification of the first secret card as the secret card identification corresponding to the account identification of the first account.
It should be understood that the terminal may send the first authentication code to the server after receiving the first authentication code sent by the server. When the server receives the first verification code sent by the terminal, it indicates that the terminal passes the authentication, and at this time, the server may associate (or correspond) the terminal identifier of the terminal, the account identifier of the first account, and the secret card identifier of the first secret card. Specifically, the server determines the terminal identifier of the terminal as the terminal identifier corresponding to the account identifier of the first account, that is, it is determined that an association relationship (or a corresponding relationship) exists between the terminal identifier of the terminal and the account identifier of the first account. Similarly, the server determines the secret card identifier of the first secret card as a secret card identifier corresponding to the account identifier of the first account, that is, it is determined that an association relationship (or a corresponding relationship) exists between the secret card identifier of the first secret card and the account identifier of the first account.
It can be understood that, because the terminal identifier of the terminal is the terminal identifier corresponding to the account identifier of the first account, and the secret card identifier of the first secret card is the secret card identifier corresponding to the account identifier of the first account, the server may also determine that the terminal identifier of the terminal is the terminal identifier corresponding to the secret card identifier of the first secret card, that is, there is an association relationship between the terminal identifier of the terminal and the secret card identifier of the first secret card.
In an alternative implementation manner, in a case that the secret card identifier of the first secret card is the same as the secret card identifier included in the account opening information of the first account, and the first field included in the account opening information of the first account is not empty, the server may determine whether the terminal identifier of the terminal is the same as the terminal identifier included in the account opening information of the first account (i.e., the identifier represented by the first field). Under the condition that the terminal identifier of the terminal is the same as the terminal identifier included in the account opening information of the first account, the server can also send a certain verification code to the terminal, so as to complete the association process of the related information (namely the account identifier of the first account, the secret card identifier of the first secret card and the terminal identifier of the terminal).
In the case that the terminal identifier of the terminal is different from the terminal identifier included in the account opening information of the first account, the server may send a prompt message (e.g., a second prompt message) to the terminal, where the second prompt message is used to notify that the terminal identifier of the terminal is not matched with the encrypted card identifier included in the account opening information of the first account. Thus, the first account cannot perform the target service based on the terminal.
The technical scheme provided by the embodiment can at least bring the following beneficial effects: from S101 to S103, it can be seen that: the server can receive an information association request sent by the terminal, wherein the information association request comprises an account identifier of a first account, a secret card identifier of a first secret card and a terminal identifier of the terminal; when the card id of the first card is the same as the card id included in the account opening information of the first account, and a first field (the first field is used to represent a terminal id corresponding to the account id of the first account) included in the account opening information of the first account is empty, it indicates that the card id of the first card is the card id corresponding to the account id of the first account, and the first account is first login (or first binding), at this time, the server may send a first verification code to the terminal to verify the security of the terminal; in case of receiving the first verification code sent by the terminal, it indicates that the identity of the terminal is secure, and at this time, the server may associate (or correspond) the terminal identifier of the terminal, the account identifier of the first account, and the secret card identifier of the first secret card. Namely, the terminal identifier of the terminal is determined as the terminal identifier corresponding to the account identifier of the first account, and the secret card identifier of the first secret card is determined as the secret card identifier corresponding to the account identifier of the first account. In the embodiment of the invention, the server can determine the corresponding relation among the account identifier, the secret card identifier and the terminal identifier based on the information included in the information association request and the information included in the account opening information of the first account, and can accurately and effectively associate the information. Furthermore, only the account and the terminal with the relevant corresponding relation can access the target service, and the safety of service data is guaranteed.
With reference to fig. 2, as shown in fig. 3, the information association method provided in the embodiment of the present invention may further include S104 to S105.
S104, the server acquires the account name of the first account, the position information corresponding to the first account and the encryption level of the first account.
Optionally, the location information corresponding to the first account may be address information where the first account is located.
S105, the server generates a confidential card identifier included in the account opening information of the first account based on the account name of the first account, the position information corresponding to the first account and the encryption level of the first account.
It should be understood that the server may generate a secret card identifier based on the account name of the first account, the location information corresponding to the first account, and the encryption level of the first account, and store the secret card identifier in the account opening information of the first account.
In an implementation manner of the embodiment of the present invention, the server may encode the account name of the first account, the location information corresponding to the first account, and the encryption level of the first account, and then arrange the encoded account name of the first account, the encoded location information corresponding to the first account, and the encoded encryption level of the first account according to a preset sequence, so as to generate the encrypted card identifier included in the account opening information of the first account.
In another implementation manner of the embodiment of the present invention, the server may further obtain an account type and an encryption level of the first account, area information corresponding to the first account, an account identifier of the first account, department information corresponding to the first account, channel source information corresponding to the first account, and a preset serial number, and the server may generate a debit card identifier included in the account opening information of the first account based on the account type and the encryption level of the first account, the area information corresponding to the first account, the account identifier of the first account, the department information corresponding to the first account, the channel source information corresponding to the first account, and the preset serial number.
Illustratively, as shown in table 1, the card id included in the account opening information of the first account may be composed of 18 bits of encoded information. Specifically, the 0 th bit is used for representing the account type and the encryption level of the first account, the 1 st bit to the 3 rd bit are used for representing the area information corresponding to the first account, the 4 th bit to the 7 th bit are used for representing the account identifier of the first account, the 8 th bit to the 9 th bit are used for representing the department information corresponding to the first account, the 10 th bit to the 11 th bit are used for representing the channel source information corresponding to the first account, and the 12 th bit to the 16 th bit are used for representing the preset serial number. In addition, the 17 th bit may be understood as a reserved bit.
TABLE 1
Figure BDA0003950805870000091
With reference to fig. 2, as shown in fig. 4, the information association method provided in the embodiment of the present invention may further include S106-S108.
S106, under the condition that the account identification of the first account is the account identification included in the account opening information of the first account, the server determines whether a second field included in the account opening information of the first account is empty.
And the second field is used for representing a secret card identifier corresponding to the account identifier of the first account.
It should be understood that, in the case that the account identifier of the first account is an account identifier included in the opening information of the first account, the account identifier of the first account is an account identifier corresponding to the terminal identifier of the terminal, and at this time, the server may determine whether the second field included in the opening information of the first account is empty.
S107, under the condition that a second field included in the account opening information of the first account is empty, the server sends a second verification code to the terminal.
It is understood that, in a case that the second field included in the account opening information of the first account is empty, indicating that the first account is in a process of card exchange (specifically, a trading card), the server may send a verification code (e.g., a second verification code) to the terminal to implement an association (or binding) process of related information.
And S108, under the condition that the second verification code sent by the terminal is received, the server determines the secret card identifier of the first secret card as the secret card identifier included in the account opening information of the first account.
It should be understood that, in the case that the server receives the second verification code sent by the terminal, indicating that the authentication of the terminal passes, the server may determine the secret card identifier of the first secret card as the secret card identifier included in the account opening information of the first account, that is, the server may store the secret card identifier of the first secret card in the account opening information of the first account.
In the embodiment of the present invention, the server determines the secret card identifier of the first secret card as the secret card identifier included in the account opening information of the first account, that is, determines an association relationship between the secret card identifier of the first secret card and the account identifier of the first account, and an association relationship between the secret card identifier of the first secret card and the terminal identifier of the terminal.
Optionally, in a case that the second field included in the account opening information of the first account is not empty, the server may determine whether the card id of the first secure card is the same as the card id (i.e., the id represented by the second field) included in the account opening information of the first account. Under the condition that the secret card identifier of the first secret card is the same as the secret card identifier included in the account opening information of the first account, the server can also send a certain verification code to the terminal, so that the correlation process of the related information (namely the account identifier of the first account, the secret card identifier of the first secret card and the terminal identifier of the terminal) is completed.
With reference to fig. 2, as shown in fig. 5, the information association method provided in the embodiment of the present invention may further include S109-S111.
S109, the server determines the account opening state of the first account based on the account opening information of the first account.
It should be understood that the account opening status of the first account may be included (or stored) in the account opening information of the first account. After obtaining the account identifier of the first account, the server may obtain account opening information of the first account based on the account identifier, and obtain (or determine) an account opening status of the first account from the account opening information.
In an alternative implementation, the account opening status of an account may be opened or to be activated.
S110, under the condition that the account state of the first account is to be activated, the server determines a serial number corresponding to the secret card identification of the first secret card based on a preset corresponding relation.
The preset corresponding relation comprises a plurality of secret card identifications and serial numbers corresponding to each secret card identification in the plurality of secret card identifications.
It should be understood that the server may determine a secret card identifier identical to the secret card identifier of the first secret card from the plurality of secret card identifiers, and determine a serial number corresponding to the secret card identifier as a serial number corresponding to the secret card identifier of the first secret card.
Exemplarily, the following table 2 is an example of the preset correspondence relationship provided by the embodiment of the present invention. Specifically, the preset correspondence may include 4 secret card identifiers (i.e., a secret card identifier 1, a secret card identifier 2, a secret card identifier 3, and a secret card identifier 4), and the serial number corresponding to each secret card identifier in the 4 secret card identifiers is a serial number 1, a serial number 4, a serial number 2, and a serial number 3, respectively.
TABLE 2
Secret card identification Serial number
Secret card identification 1 Sequence No. 1
Secret card identification 2 Sequence number 4
Card seal identification 3 Sequence number 2
Confidential card identification 4 Sequence No. 3
Assuming that the secret card identifier of the first secret card is the secret card identifier 2, the server determines that the serial number corresponding to the secret card identifier of the first secret card is the serial number 4.
S111, the server determines the service access authority of the first account based on the serial number corresponding to the secret card identification of the first secret card, the account identification of the first account and the terminal identification of the terminal.
It should be understood that a serial number (hereinafter referred to as a first serial number) corresponding to the secret card identifier of the first secret card is the same or similar to the secret card identifier of the first secret card, and the first serial number may replace the secret card identifier of the first secret card in the case that the account status of the first account is to be activated.
Specifically, the server may determine whether the serial number included in the account opening information of the first account is the same as the first serial number, whether the account identifier included in the account opening information is the same as the account identifier of the first account, whether the terminal identifier included in the account opening information is the same as the terminal identifier of the terminal, and the like. And further determining whether an association relationship exists between the first serial number and the account identifier of the first account, and whether an association relationship exists between the first serial number and the terminal identifier of the terminal.
It is understood that the service access right of the first account is a right of the first account to access the target service.
In one case, in a case where there is an association between the first serial number and the account identifier of the first account, and there is an association between the first serial number and the terminal identifier of the terminal, the server may determine that the first account has the right to access the target service.
In another case, the server determines that the first account does not have the right to access the target service when no association exists between the first serial number and the account identifier of the first account and/or no association exists between the first serial number and the terminal identifier of the terminal.
With reference to fig. 2, as shown in fig. 6, the information association method provided in the embodiment of the present invention further includes S112.
And S112, under the condition that the secret card identification of the first secret card is different from the secret card identification included in the account opening information of the first account, the server sends first prompt information to the terminal.
The first prompt message is used for notifying that the secret card identification of the first secret card is not matched with the account identification of the first account.
It should be understood that, when the secret card identifier of the first secret card is different from the secret card identifier included in the account opening information of the first account, it is described that the secret card identifier of the first secret card is not the secret card identifier stored in the account opening information of the first account, that is, there is no association between the secret card identifier of the first secret card and the account identifier of the first account (or the terminal identifier of the terminal), at this time, the server may send the first prompt information to the terminal, so as to promote that the first account cannot perform the target service.
In the embodiments of the present invention, the server, the terminal, and the like may be divided into function modules according to the above method examples, for example, each function module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, the division of the modules in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of dividing each functional module according to each function, fig. 7 shows a schematic diagram of a possible structure of the information association apparatus according to the above embodiment, and as shown in fig. 7, the information association apparatus 20 may include: a receiving module 201, a sending module 202 and a determining module 203.
The receiving module 201 is configured to receive an information association request sent by a terminal, where the information association request includes an account identifier of a first account, a secret card identifier of a first secret card, and a terminal identifier of the terminal.
A sending module 202, configured to send a first verification code to the terminal when the secret card identifier of the first secret card is the same as the secret card identifier included in the account opening information of the first account and a first field included in the account opening information of the first account is empty, where the first field is used to represent a terminal identifier corresponding to the account identifier of the first account.
The determining module 203 is configured to, in a case that the first verification code sent by the terminal is received, determine the terminal identifier of the terminal as a terminal identifier corresponding to the account identifier of the first account, and determine the secret card identifier of the first secret card as a secret card identifier corresponding to the account identifier of the first account.
Optionally, the information associating apparatus 20 further includes an obtaining module 204 and a processing module 205.
The obtaining module 204 is configured to obtain an account name of the first account, location information corresponding to the first account, and an encryption level of the first account.
The processing module 205 is configured to generate a cryptocard identifier included in the account opening information of the first account based on the account name of the first account, the location information corresponding to the first account, and the encryption level of the first account.
Optionally, the determining module 203 is further configured to determine whether a second field included in the account opening information of the first account is empty when the account identifier of the first account is an account identifier included in the account opening information of the first account, where the second field is used to represent a card-encrypted identifier corresponding to the account identifier of the first account.
The sending module 202 is further configured to send a second verification code to the terminal when a second field included in the account opening information of the first account is empty.
The determining module 203 is further configured to determine the secret card identifier of the first secret card as the secret card identifier included in the account opening information of the first account when the second verification code sent by the terminal is received.
Optionally, the determining module 203 is further configured to determine the account status of the first account based on the account opening information of the first account.
The determining module 203 is further configured to determine, based on a preset corresponding relationship, a serial number corresponding to the secret card identifier of the first secret card when the account status of the first account is to be activated, where the preset corresponding relationship includes a plurality of secret card identifiers and a serial number corresponding to each of the plurality of secret card identifiers.
The determining module 203 is further configured to determine the service access right of the first account based on the serial number corresponding to the secret card identifier of the first secret card, the account identifier of the first account, and the terminal identifier of the terminal.
Optionally, the sending module 202 is further configured to send, to the terminal, first prompt information when the secret card identifier of the first secret card is different from the secret card identifier included in the account opening information of the first account, where the first prompt information is used to notify that the secret card identifier of the first secret card is not matched with the account identifier of the first account.
In the case of an integrated unit, fig. 8 shows a schematic diagram of a possible structure of the information association device referred to in the above-described embodiment. As shown in fig. 8, the information associating apparatus 30 may include: a processing module 301 and a communication module 302. The processing module 301 may be used to control and manage the operation of the information association apparatus 30. The communication module 302 may be used to support communication of the information associating device 30 with other entities. Optionally, as shown in fig. 8, the information associating apparatus 30 may further include a storage module 303 for storing program codes and data of the information associating apparatus 30.
The processing module 301 may be a processor or a controller. The communication module 302 may be a transceiver, a transceiving circuit or a communication interface, etc. The storage module 303 may be a memory.
When the processing module 301 is a processor, the communication module 302 is a transceiver, and the storage module 303 is a memory, the processor, the transceiver, and the memory may be connected via a bus. The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc.
It should be understood that, in the various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not imply an order of execution, and the order of execution of the processes should be determined by their functions and internal logics, and should not limit the implementation processes of the embodiments of the present invention in any way.
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 invention.
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.
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.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented using a software program, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the invention are all or partially effected when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optics, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or can comprise one or more data storage devices, such as a server, a data center, etc., that can be integrated with the medium. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. An information association method, the method comprising:
receiving an information association request sent by a terminal, wherein the information association request comprises an account identifier of a first account, a secret card identifier of a first secret card and a terminal identifier of the terminal;
when the secret card identification of the first secret card is the same as the secret card identification included in the account opening information of the first account and a first field included in the account opening information of the first account is empty, sending a first verification code to the terminal, wherein the first field is used for representing the terminal identification corresponding to the account identification of the first account;
and under the condition of receiving the first verification code sent by the terminal, determining the terminal identifier of the terminal as a terminal identifier corresponding to the account identifier of the first account, and determining the secret card identifier of the first secret card as a secret card identifier corresponding to the account identifier of the first account.
2. The information association method according to claim 1, further comprising:
acquiring the account name of the first account, the position information corresponding to the first account and the encryption grade of the first account;
and generating a confidential card identifier included in the account opening information of the first account based on the account name of the first account, the position information corresponding to the first account and the encryption level of the first account.
3. The information association method according to claim 1, further comprising:
when the account identifier of the first account is the account identifier included in the opening information of the first account, determining whether a second field included in the opening information of the first account is empty, wherein the second field is used for representing a secret card identifier corresponding to the account identifier of the first account;
under the condition that a second field included in account opening information of the first account is empty, a second verification code is sent to the terminal;
and under the condition of receiving the second verification code sent by the terminal, determining the secret card identifier of the first secret card as the secret card identifier included in the account opening information of the first account.
4. The information association method according to claim 1, further comprising:
determining account status of the first account based on account opening information of the first account;
determining a serial number corresponding to a secret card identifier of a first secret card based on a preset corresponding relation under the condition that the account state of the first account is to be activated, wherein the preset corresponding relation comprises a plurality of secret card identifiers and a serial number corresponding to each secret card identifier in the plurality of secret card identifiers;
and determining the service access authority of the first account based on the serial number corresponding to the secret card identifier of the first secret card, the account identifier of the first account and the terminal identifier of the terminal.
5. The information association method according to any one of claims 1 to 4, characterized in that the method further comprises:
and sending first prompt information to the terminal under the condition that the secret card identification of the first secret card is different from the secret card identification included in the account opening information of the first account, wherein the first prompt information is used for informing that the secret card identification of the first secret card is not matched with the account identification of the first account.
6. An information associating apparatus, comprising: the device comprises a receiving module, a sending module and a determining module;
the receiving module is used for receiving an information association request sent by a terminal, wherein the information association request comprises an account identifier of a first account, a secret card identifier of a first secret card and a terminal identifier of the terminal;
the sending module is configured to send a first verification code to the terminal when a secret card identifier of the first secret card is the same as a secret card identifier included in the account opening information of the first account and a first field included in the account opening information of the first account is empty, where the first field is used to represent a terminal identifier corresponding to the account identifier of the first account;
the determining module is configured to determine, when the first verification code sent by the terminal is received, the terminal identifier of the terminal as the terminal identifier corresponding to the account identifier of the first account, and determine the card identifier of the first secret card as the card identifier corresponding to the account identifier of the first account.
7. The information correlation apparatus according to claim 6, further comprising an acquisition module and a processing module;
the obtaining module is configured to obtain an account name of the first account, location information corresponding to the first account, and an encryption level of the first account;
the processing module is configured to generate a card encryption identifier included in account opening information of the first account based on the account name of the first account, the location information corresponding to the first account, and the encryption level of the first account.
8. The information associating apparatus according to claim 6,
the determining module is further configured to determine whether a second field included in the account opening information of the first account is empty when the account identifier of the first account is an account identifier included in the account opening information of the first account, where the second field is used to represent a confidential card identifier corresponding to the account identifier of the first account;
the sending module is further configured to send a second verification code to the terminal when a second field included in the account opening information of the first account is empty;
the determining module is further configured to determine the secret card identifier of the first secret card as the secret card identifier included in the account opening information of the first account when the second verification code sent by the terminal is received.
9. The information associating apparatus according to claim 6,
the determining module is further configured to determine an account status of the first account based on account opening information of the first account;
the determining module is further configured to determine, based on a preset correspondence relationship, a serial number corresponding to a secret card identifier of a first secret card when the account status of the first account is to be activated, where the preset correspondence relationship includes a plurality of secret card identifiers and a serial number corresponding to each of the plurality of secret card identifiers;
the determining module is further configured to determine the service access permission of the first account based on a serial number corresponding to the secret card identifier of the first secret card, the account identifier of the first account, and the terminal identifier of the terminal.
10. The information association device according to any one of claims 6 to 9,
the sending module is further configured to send first prompt information to the terminal when the secret card identifier of the first secret card is different from the secret card identifier included in the account opening information of the first account, where the first prompt information is used to notify that the secret card identifier of the first secret card is not matched with the account identifier of the first account.
11. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory configured to store the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the information association method of any one of claims 1-5.
12. A computer-readable storage medium having instructions stored thereon, wherein the instructions in the computer-readable storage medium, when executed by an electronic device, enable the electronic device to perform the information correlation method of any one of claims 1-5.
CN202211447100.XA 2022-11-18 2022-11-18 Information association method and device, electronic equipment and storage medium Pending CN115835190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211447100.XA CN115835190A (en) 2022-11-18 2022-11-18 Information association method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211447100.XA CN115835190A (en) 2022-11-18 2022-11-18 Information association method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115835190A true CN115835190A (en) 2023-03-21

Family

ID=85529153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211447100.XA Pending CN115835190A (en) 2022-11-18 2022-11-18 Information association method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115835190A (en)

Similar Documents

Publication Publication Date Title
AU2015323425B2 (en) Systems and methods for identifying mobile devices
CN108683667B (en) Account protection method, device, system and storage medium
CN107113613B (en) Server, mobile terminal, network real-name authentication system and method
WO2016138009A1 (en) Methods, apparatus, and systems for identity authentication
CN105227520B (en) A kind of account password setting and the method and system of authenticating user identification
CN109063450B (en) Control method of safe storage medium, safe storage medium and system
WO2014180345A1 (en) User identity verification and authorization system
CN108718323A (en) A kind of identity identifying method and system
CN106304264A (en) A kind of wireless network access method and device
CN107172194B (en) Virtual SIM card management method and device and communication terminal
CN116248351A (en) Resource access method and device, electronic equipment and storage medium
CN104980420A (en) Business processing method, device, terminal and server
CN107835162A (en) The method that software digital permit server signs and issues software digital permissions
CN105827653A (en) Application security management method and system
CN105516136A (en) Authority management method, device and system
CN116318911A (en) Domain name access method and device, electronic equipment and storage medium
US10172001B1 (en) Authentication mechanism
KR101221728B1 (en) The certification process server and the method for graphic OTP certification
KR101103634B1 (en) Method for attestating credit card company server and that server
CN115835190A (en) Information association method and device, electronic equipment and storage medium
CN105577607A (en) User identity authentication method and user identity authentication device
CN105743883B (en) A kind of the identity attribute acquisition methods and device of network application
KR20120111814A (en) Method and system for payment using drawing pattern
CN109246105B (en) Communication method and system for preventing information leakage
CN111275506A (en) Bill issuing method and block link point equipment

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