CN113641972A - Account identification method, device, electronic device and storage medium - Google Patents

Account identification method, device, electronic device and storage medium Download PDF

Info

Publication number
CN113641972A
CN113641972A CN202110960945.8A CN202110960945A CN113641972A CN 113641972 A CN113641972 A CN 113641972A CN 202110960945 A CN202110960945 A CN 202110960945A CN 113641972 A CN113641972 A CN 113641972A
Authority
CN
China
Prior art keywords
account
information
target
matching result
login
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
CN202110960945.8A
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110960945.8A priority Critical patent/CN113641972A/en
Publication of CN113641972A publication Critical patent/CN113641972A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本公开关于一种账户识别方法、装置、电子设备及存储介质。其中,方法包括:接收第一账户的登录请求;响应于所述登录请求,获取第一信息,所述第一信息包括以下至少两项:所述第一账户的登录设备的标识信息、所述第一账户的登录位置信息、所述第一账户的联系信息、第二账户的账户信息,所述第二账户与所述第一账户关联同一个对象;根据所述第一信息,确定所述第一账户是否属于预先定义的目标账户。本公开可以根据获取到的与第一账户相关的第一信息,自主确定所述第一账户是否属于预定义的目标账户,可以提高目标账户识别的效率。

Figure 202110960945

The present disclosure relates to an account identification method, device, electronic device and storage medium. Wherein, the method includes: receiving a login request of a first account; in response to the login request, acquiring first information, where the first information includes at least two of the following: identification information of a login device of the first account, the The login location information of the first account, the contact information of the first account, and the account information of the second account, the second account and the first account are associated with the same object; according to the first information, determine the Whether the first account belongs to a predefined target account. The present disclosure can independently determine whether the first account belongs to a predefined target account according to the obtained first information related to the first account, which can improve the efficiency of target account identification.

Figure 202110960945

Description

Account identification method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to an account identification method and apparatus, an electronic device, and a storage medium.
Background
With the development of internet technology, various application systems are increasing. The user logs in the application system through the account as a user of the application system so as to use resources provided by the application system or carry out related activities and the like. In order to make reasonable use of the resources of the application system, predefined target accounts may be identified. In the prior art, an administrator of an application system is mainly relied on to identify an account based on account behaviors, and the efficiency of account identification is low.
Disclosure of Invention
The present disclosure provides an account identification method, an account identification device, an electronic device, and a storage medium, so as to at least solve the problem of low efficiency of account identification in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided an account identification method, including:
receiving a login request of a first account;
responding to the login request, and acquiring first information, wherein the first information comprises at least two of the following items: the identification information of the login equipment of the first account, the login position information of the first account, the contact information of the first account and the account information of a second account, wherein the second account is associated with the same object as the first account;
and determining whether the first account belongs to a predefined target account or not according to the first information.
Optionally, the step of determining whether the first account is a predefined target account according to the first information includes:
matching the first information with a database to obtain a matching result, and determining whether the first account belongs to a predefined target account according to the matching result;
wherein the database comprises: identification information of login devices of all the target accounts, contact information of all the target accounts, position information of a target login area and account information of all associated accounts, wherein the target login area is the all login areas of the target accounts, and each account of the all associated accounts is at least associated with one account of the all target accounts to form the same object.
Optionally, the step of matching the first information with a database to obtain a matching result, and determining whether the first account belongs to a predefined target account according to the matching result includes:
matching the first information with second information of a database to obtain a matching result; wherein the first information and the second information are of the same type;
when the matching result is that the second information comprises any one of the first information, determining that the first account belongs to the target account;
and when the matching result is that the second information does not include any one of the first information, determining that the first account does not belong to the target account.
Optionally, the step of matching the first information with a database to obtain a matching result, and determining whether the first account belongs to a predefined target account according to the matching result includes:
extracting ith item of information from the first information, and comparing the ith item of information with ith type of information in the database to obtain an ith matching result; wherein each information in the ith type of information is the same as the type of the ith item of information;
when the ith matching result shows that the ith type information comprises the ith item of information, determining that the first account belongs to a predefined target account;
when the ith matching result shows that the ith type of information does not include the ith item of information, adding 1 to the ith item, circularly executing the step of extracting the ith item of information from the first information, and comparing the ith item of information with the ith type of information in the database to obtain the ith matching result until the first information is completely matched with the information in the database or the first account is determined to belong to a predefined target account;
wherein i is a positive integer.
Optionally, after the step of matching the first information with a database to obtain a matching result, and determining whether the first account belongs to a predefined target account according to the matching result, the method further includes:
and when the first account belongs to the target account, storing the first information and the name of the first account in the database to obtain an updated database.
According to a second aspect of the embodiments of the present disclosure, there is provided an account identifying apparatus including:
a receiving module configured to receive a login request of a first account;
an obtaining module configured to obtain first information in response to the login request, the first information including at least two of: the identification information of the login equipment of the first account, the login position information of the first account, the contact information of the first account and the account information of a second account, wherein the second account is associated with the same object as the first account;
a determination module configured to determine whether the first account belongs to a predefined target account according to the first information.
Optionally, the determining module is configured to:
matching the first information with a database to obtain a matching result, and determining whether the first account belongs to a predefined target account according to the matching result;
wherein the database comprises: identification information of login devices of all the target accounts, contact information of all the target accounts, position information of a target login area and account information of all associated accounts, wherein the target login area is the all login areas of the target accounts, and each account of the all associated accounts is at least associated with one account of the all target accounts to form the same object.
Optionally, the determining module includes:
the matching unit is configured to match the first information with second information of a database to obtain a matching result; wherein the first information and the second information are of the same type;
a first determination unit configured to determine that the first account belongs to the target account when the matching result is that the second information includes any one of the first information;
a second determination unit configured to determine that the first account does not belong to the target account when the matching result is that the second information does not include any one of the first information.
Optionally, the determining module includes:
the extracting unit is configured to extract ith item of information from the first information, and compare the ith item of information with ith type of information in the database to obtain an ith matching result; wherein each information in the ith type of information is the same as the type of the ith item of information;
a third determining unit, configured to determine that the first account belongs to a predefined target account when the ith matching result indicates that the ith type of information includes the ith item of information;
a fourth determining unit, configured to add 1 to i when the i-th matching result indicates that the i-th type information does not include the i-th item of information, and cyclically execute the steps of extracting the i-th item of information from the first information, comparing the i-th item of information with the i-th type information in the database to obtain an i-th matching result until the first information is completely matched with the information in the database, or determining that the first account belongs to a predefined target account;
wherein i is a positive integer.
Optionally, the account identification apparatus further includes:
the storage module is configured to store the first information and the name of the first account in the database to obtain an updated database when the first account belongs to the target account.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the account identification method of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the account identification method according to the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising:
executable instructions which, when run on a computer, enable the computer program product to perform the account identification method of the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the disclosure, after receiving a login request of a first account, an electronic device may obtain at least two items of information: the identification information of the login equipment of the first account, the login position information of the first account, the contact information of the first account and the account information of a second account, wherein the second account is associated with the same object as the first account; then, the electronic device may autonomously determine whether the first account belongs to a predefined target account based on the acquired information, so that efficiency of target account identification may be improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a flow chart illustrating a method of account identification according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating a method of account identification according to an exemplary embodiment.
FIG. 3 is a block diagram illustrating an account identification apparatus according to an example embodiment.
FIG. 4 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The account identification method provided by the embodiment of the present disclosure is described below with reference to specific embodiments. The method provided by the embodiment of the disclosure can be executed by an electronic device.
As shown in fig. 1, the account identification method may include the following steps.
In step S11, a login request for a first account is received.
In a specific implementation, the login request may be used to request to login a target application or a target web page, such as a live broadcast, video, education, or bank application or web page.
In step S12, in response to the login request, first information is acquired, where the first information includes at least two of the following items: the identification information of the login equipment of the first account, the login position information of the first account, the contact information of the first account and the account information of a second account, wherein the second account and the first account are associated with the same object.
The first information may be understood as related information of the first account.
In practical applications, the login location information may include at least one of: a logged-in Internet Protocol (IP) address, a logged-in geographic location, and the like. In a specific implementation, the geographic location may be characterized by latitude and longitude, or by a GeoHash (GeoHash) code, but is not limited thereto. Under the condition that the geographic position is characterized by the GeoHash code, the electronic equipment can firstly discretize the logged geographic position or the logged IP address to obtain the corresponding GeoHash code.
The contact information may include at least one of: mailbox, telephone number, etc.
The object may be, but is not limited to, any of: live rooms, chat groups, videos, etc. When the object is a live broadcast, the second account and the first account are associated with the same object, which may be understood as: the second account is in the same live room as the first account. When the object is a chat group, the second account and the first account are associated with the same object, which may be understood as: the second account is in the same chat group as the first account. When the object is a video, the second account and the first account are associated with the same object, which may be understood as: the second account views the same video as the first account.
In step S13, it is determined whether the first account belongs to a predefined target account according to the first information.
In this step, the electronic device may autonomously determine whether the first account belongs to a predefined target account according to the first information, so that efficiency of account identification may be improved. In addition, because the first information at least comprises two pieces of information, the electronic device can determine whether the first account belongs to a predefined target account in multiple dimensions, so that the accuracy of account identification can be further improved.
In a specific implementation, the electronic device may determine whether the first account belongs to the target account by matching the first information with information related to P accounts that have been determined to belong to the target account.
When the related information of the P accounts includes any one of the first information, it is indicated that the first account and the account that has been determined to belong to the target account are highly likely to be different accounts of the same user, and therefore, it can be determined that the first account belongs to the target account.
When the related information of the P accounts does not include any one of the first information, it indicates that there is a high possibility that there is no association between the first account and the account that has been determined to belong to the target account, and therefore, it may be determined that the first account does not belong to the target account.
In this disclosed embodiment, the target account may be any one of the following: an account restricted from logging in, a premium account (VIP account), etc.
When it is determined that the first account belongs to the target account and the target account is a login-restricted account, the electronic device may restrict login of the first account. In one implementation, the electronic device may deny the login request of the first account; in another implementation, the electronic device may accept the login request of the first account, but may limit the usage right of the first account and/or perform an alert prompt for the first account.
When the first account is determined to belong to the target account and the target account is a premium account, the electronic device can accept the login request of the first account and provide personalized service for the first account.
According to the account identification method, after the electronic device receives the login request of the first account, at least two items of information can be acquired: the identification information of the login equipment of the first account, the login position information of the first account, the contact information of the first account and the account information of a second account, wherein the second account is associated with the same object as the first account; then, the electronic device may autonomously determine whether the first account belongs to a predefined target account based on the acquired information, so that efficiency of target account identification may be improved.
In this embodiment of the present disclosure, optionally, the step of determining whether the first account is a predefined target account according to the first information includes:
matching the first information with a database to obtain a matching result, and determining whether the first account belongs to a predefined target account according to the matching result;
wherein the database comprises: identification information of login devices of all the target accounts, contact information of all the target accounts, position information of a target login area and account information of all associated accounts, wherein the target login area is the all login areas of the target accounts, and each account of the all associated accounts is at least associated with one account of the all target accounts to form the same object.
In this alternative embodiment, the electronic device may store a database, which may be, but is not limited to, a database including information related to all of the target accounts. The electronic device may determine, in conjunction with the first information and the database, whether the first account belongs to a predefined target account.
In specific implementation, the electronic device may match information in the first information with information in the database to obtain the matching result, and determine whether the first account belongs to a predefined target account according to the matching result.
When the matching result is that the database comprises any one of the first information, the electronic device may determine that the first account belongs to the target account.
When the matching result is that the database does not include any information of the first information, the electronic device may determine that the first account does not belong to the target account.
Through the method, the electronic device can match the first information with the database comprising the related information of all the target accounts to determine whether the first account belongs to the target account, so that the reliability of target account identification can be improved.
Optionally, the step of matching the first information with a database to obtain a matching result, and determining whether the first account belongs to a predefined target account according to the matching result includes:
matching the first information with second information of a database to obtain a matching result; wherein the first information and the second information are of the same type;
when the matching result is that the second information comprises any one of the first information, determining that the first account belongs to the target account;
and when the matching result is that the second information does not include any one of the first information, determining that the first account does not belong to the target account.
In this alternative embodiment, the electronic device may first determine the information in the database that is of the same type as the information in the first information, i.e., the second information.
The information in the database that belongs to the same type as the identification information of the login device of the first account in the first information is: identification information of all login devices of the target account.
The information in the database which belongs to the same type as the login position information of the first account in the first information is: location information of the target login area.
The information in the database which belongs to the same type as the contact information of the first account in the first information is: contact information for all of the target accounts.
The information in the database, which belongs to the same type as the account information of the second account in the first information, is: account information for all associated accounts.
It is to be understood that the second information includes: identification information of all login devices of the target account; location information of the target login area; contact information of all the target accounts; account information for all associated accounts.
After determining the second information, the electronic device may determine, in combination with the first information and the second information, that the first account belongs to the target account.
In specific implementation, the electronic device may match information in the first information with information in the second information to obtain a matching result, and determine whether the first account belongs to a predefined target account according to the matching result.
Through the above manner, the electronic device can match the first information with the second information in the database, and determine that the first account belongs to the target account, so that compared with the case that the first information is matched with all information in the database, the operation burden of the electronic device can be reduced, and meanwhile, the rate of target account identification can be improved.
Optionally, the first target information includes: the step of matching the first information with a database to obtain a matching result, and determining whether the first account belongs to a predefined target account according to the matching result comprises the following steps:
extracting ith item of information from the first information, and comparing the ith item of information with ith type of information in the database to obtain an ith matching result; wherein each information in the ith type of information is the same as the type of the ith item of information;
when the ith matching result shows that the ith type information comprises the ith item of information, determining that the first account belongs to a predefined target account;
when the ith matching result shows that the ith type of information does not include the ith item of information, adding 1 to the ith item, circularly executing the step of extracting the ith item of information from the first information, and comparing the ith item of information with the ith type of information in the database to obtain the ith matching result until the first information is completely matched with the information in the database or the first account is determined to belong to a predefined target account;
wherein i is a positive integer.
In this optional embodiment, the electronic device may extract any item of information, that is, the ith item of information, from the first information, and then may determine that the ith item of information in the database belongs to the same type as the ith item of information. Then, the ith item of information may be matched with the ith type of information to obtain a matching result, that is, the ith matching result, and it is determined whether the first account belongs to a predefined target account according to the ith matching result.
When the ith matching result indicates that the ith type of information includes the ith item of information, the electronic device may determine that the first account belongs to a predefined target account.
When the ith matching result indicates that the ith type of information does not include the ith item of information, the electronic device may extract another item of information from the first information, and perform matching of the item of information by using the same matching logic as the ith item of information until all information of the first information is completely matched, or determine that the first account belongs to a predefined target account.
For ease of understanding, the description is made in conjunction with FIG. 2:
in fig. 2, the first information includes identification information of a login device of the first account, login location information of the first account, and contact information of the first account, and the order of extracting each item of information in the first information sequentially is: the identification information of the login equipment of the first account, the contact information of the first account and the login position information of the first account. Then, the electronic device may perform the following steps:
in step S21, matching the identification information of the login device of the first account with the identification information of the login devices of all the target accounts to obtain a first matching result, and determining whether the first matching result indicates that the identification information of the login devices of all the target accounts includes the identification information of the login device of the first account;
when the first matching result indicates that the identification information of the login devices of all the target accounts includes the identification information of the login device of the first account, step S22 is executed.
When the first matching result indicates that the identification information of the login devices of all the target accounts includes the identification information of the login device of the first account, step S23 is executed.
In step S22, it is determined that the first account belongs to a predefined target account.
In step S23, matching the contact information of the first account with the contact information of all the target accounts to obtain a second matching result, and determining whether the second matching result indicates that the contact information of all the target accounts includes the contact information of the first account;
when the second matching result indicates that the contact information of all the target accounts includes the contact information of the first account, step S22 is performed.
When the second matching result indicates that the contact information of all the target accounts does not include the contact information of the first account, step S24 is performed.
In step S24, the login location information of the first account is matched with the location information of the target login area to obtain a third matching result, and it is determined whether the third matching result indicates that the location information of the target login area includes the login location information of the first account.
When the third matching result indicates that the location information of the target login area includes the login location information of the first account, step S22 is performed.
When the third matching result indicates that the location information of the target login area does not include the login location information of the first account, step S25 is performed.
In step S25, it is determined that the first account does not belong to a predefined target account.
It should be noted that the information included in the first information and the extraction order of the first information in fig. 2 are only examples, and the information included in the first information and the extraction order of the first information are not limited accordingly.
Through the above manner, for each item of information in the first information, the electronic device may match the item of information with the same kind of information in the database, and determine whether the first account belongs to a predefined target account. In this way, compared with the case that all the information in the first information is matched with all the information in the second information, the operation load of the electronic equipment is reduced, and meanwhile, the target account identification rate is improved.
In this embodiment of the disclosure, optionally, after the step of determining whether the first account belongs to a predefined target account according to the matching result, the method further includes:
and when the first account belongs to the target account, storing the first information and the name of the first account in the database to obtain an updated database.
In this optional embodiment, after determining that the first account is the target account, the electronic device may update the database in time, so that the database includes the name of the first account and the related information of the first account. Therefore, the accuracy of target account identification can be improved when the database is used for target account identification subsequently.
It should be noted that, various optional implementations described in the embodiments of the present disclosure may be implemented in combination with each other or separately without conflict between the various implementations, and the embodiments of the present disclosure are not limited herein.
FIG. 3 is a block diagram illustrating an account identification apparatus according to an example embodiment. Referring to fig. 3, the apparatus includes:
a receiving module 31 configured to receive a login request of a first account;
an obtaining module 32 configured to obtain first information in response to the login request, where the first information includes at least two of: the identification information of the login equipment of the first account, the login position information of the first account, the contact information of the first account and the account information of a second account, wherein the second account is associated with the same object as the first account;
a determining module 33 configured to determine whether the first account belongs to a predefined target account according to the first information.
Optionally, the determining module 33 is configured to:
matching the first information with a database to obtain a matching result, and determining whether the first account belongs to a predefined target account according to the matching result;
wherein the database comprises: identification information of login devices of all the target accounts, contact information of all the target accounts, position information of a target login area and account information of all associated accounts, wherein the target login area is the all login areas of the target accounts, and each account of the all associated accounts is at least associated with one account of the all target accounts to form the same object.
Optionally, the determining module 33 includes:
the matching unit is configured to match the first information with second information of a database to obtain a matching result; wherein the first information and the second information are of the same type;
a first determination unit configured to determine that the first account belongs to the target account when the matching result is that the second information includes any one of the first information;
a second determination unit configured to determine that the first account does not belong to the target account when the matching result is that the second information does not include any one of the first information.
Optionally, the determining module 33 includes:
the extracting unit is configured to extract ith item of information from the first information, and compare the ith item of information with ith type of information in the database to obtain an ith matching result; wherein each information in the ith type of information is the same as the type of the ith item of information;
a third determining unit, configured to determine that the first account belongs to a predefined target account when the ith matching result indicates that the ith type of information includes the ith item of information;
a fourth determining unit, configured to add 1 to i when the i-th matching result indicates that the i-th type information does not include the i-th item of information, and cyclically execute the steps of extracting the i-th item of information from the first information, comparing the i-th item of information with the i-th type information in the database to obtain an i-th matching result until the first information is completely matched with the information in the database, or determining that the first account belongs to a predefined target account;
wherein i is a positive integer.
Optionally, the account identification apparatus 30 further includes:
the storage module is configured to store the first information and the name of the first account in the database to obtain an updated database when the first account belongs to the target account.
FIG. 4 is a block diagram illustrating an electronic device in accordance with an example embodiment. As shown in fig. 4, the electronic apparatus 40 includes: a processor 41, a memory 42, a user interface 43, a bus interface 44 and a transceiver 45.
In fig. 4, the bus architecture may include any number of interconnected buses and bridges, with various circuits of one or more processors, represented by processor 41, and memory, represented by memory 42, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. Bus interface 44 provides an interface. The user interface 43 may also be an interface capable of interfacing with a desired device for different user devices, including but not limited to a keypad, display, speaker, microphone, joystick, etc. The processor 41 is responsible for managing the bus architecture and general processing, and the memory 42 may store data used by the processor 41 in performing operations.
A processor 41, for reading the program in the memory 42, and executing the following processes:
receiving a login request of a first account;
responding to the login request, and acquiring first information, wherein the first information comprises at least two of the following items: the identification information of the login equipment of the first account, the login position information of the first account, the contact information of the first account and the account information of a second account, wherein the second account is associated with the same object as the first account;
and determining whether the first account belongs to a predefined target account or not according to the first information.
Optionally, the processor 41 is configured to read the program in the memory 42 and execute the following processes:
matching the first information with a database to obtain a matching result, and determining whether the first account belongs to a predefined target account according to the matching result;
wherein the database comprises: identification information of login devices of all the target accounts, contact information of all the target accounts, position information of a target login area and account information of all associated accounts, wherein the target login area is the all login areas of the target accounts, and each account of the all associated accounts is at least associated with one account of the all target accounts to form the same object.
Optionally, the processor 41 is configured to read the program in the memory 42 and execute the following processes:
matching the first information with second information of a database to obtain a matching result; wherein the first information and the second information are of the same type;
when the matching result is that the second information comprises any one of the first information, determining that the first account belongs to the target account;
and when the matching result is that the second information does not include any one of the first information, determining that the first account does not belong to the target account.
Optionally, the processor 41 is configured to read the program in the memory 42 and execute the following processes:
extracting ith item of information from the first information, and comparing the ith item of information with ith type of information in the database to obtain an ith matching result; wherein each information in the ith type of information is the same as the type of the ith item of information;
when the ith matching result shows that the ith type information comprises the ith item of information, determining that the first account belongs to a predefined target account;
when the ith matching result shows that the ith type of information does not include the ith item of information, adding 1 to the ith item, circularly executing the step of extracting the ith item of information from the first information, and comparing the ith item of information with the ith type of information in the database to obtain the ith matching result until the first information is completely matched with the information in the database or the first account is determined to belong to a predefined target account;
wherein i is a positive integer.
Optionally, the processor 41 is configured to read the program in the memory 42 and execute the following processes:
and when the first account belongs to the target account, storing the first information and the name of the first account in the database to obtain an updated database.
With regard to the electronic device in the above embodiment, it may implement the steps of the above method, and will not be described in detail here.
In an exemplary embodiment, a storage medium comprising instructions, such as the memory 44 comprising instructions, executable by the processor 41 of the network device to perform the method described above is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product comprising: executable instructions which, when run on a computer, enable the computer to perform the above-described method.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1.一种账户识别方法,其特征在于,所述方法包括:1. An account identification method, characterized in that the method comprises: 接收第一账户的登录请求;receiving a login request from the first account; 响应于所述登录请求,获取第一信息,所述第一信息包括以下至少两项:所述第一账户的登录设备的标识信息、所述第一账户的登录位置信息、所述第一账户的联系信息、第二账户的账户信息,所述第二账户与所述第一账户关联同一个对象;In response to the login request, obtain first information, where the first information includes at least two of the following: identification information of the login device of the first account, login location information of the first account, and the first account contact information, account information of the second account, the second account is associated with the same object as the first account; 根据所述第一信息,确定所述第一账户是否属于预先定义的目标账户。According to the first information, it is determined whether the first account belongs to a predefined target account. 2.根据权利要求1所述的方法,其特征在于,所述根据所述第一信息,确定所述第一账户是否为预先定义的目标账户的步骤,包括:2. The method according to claim 1, wherein the step of determining whether the first account is a predefined target account according to the first information comprises: 将所述第一信息与数据库进行匹配,得到匹配结果,并根据所述匹配结果,确定所述第一账户是否属于预先定义的目标账户;Matching the first information with a database to obtain a matching result, and determining whether the first account belongs to a predefined target account according to the matching result; 其中,所述数据库包括:全部所述目标账户的登录设备的标识信息、全部所述目标账户的联系信息、目标登录区域的位置信息、全部关联账户的账户信息,所述目标登录区域为所述目标账户的全部登录区域,所述全部关联账户中的每个账户至少与全部所述目标账户中的一个账户关联同一个对象。Wherein, the database includes: identification information of the login devices of all the target accounts, contact information of all the target accounts, location information of the target login area, and account information of all associated accounts, and the target login area is the In all login areas of the target account, each account in all the associated accounts is associated with at least one account in all the target accounts with the same object. 3.根据权利要求2所述的方法,其特征在于,所述将所述第一信息与数据库进行匹配,得到匹配结果,并根据所述匹配结果,确定所述第一账户是否属于预先定义的目标账户的步骤,包括:3. The method according to claim 2, wherein the first information is matched with a database to obtain a matching result, and according to the matching result, it is determined whether the first account belongs to a predefined account The steps for the target account, including: 将所述第一信息与数据库的第二信息进行匹配,得到匹配结果;其中,所述第一信息和所述第二信息的类型相同;Matching the first information with the second information in the database to obtain a matching result; wherein, the first information and the second information are of the same type; 当所述匹配结果为所述第二信息包括所述第一信息中的任意一个信息时,确定所述第一账户属于所述目标账户;When the matching result is that the second information includes any one of the first information, it is determined that the first account belongs to the target account; 当所述匹配结果为所述第二信息不包括所述第一信息中的任意一个信息时,确定所述第一账户不属于所述目标账户。When the matching result is that the second information does not include any one of the first information, it is determined that the first account does not belong to the target account. 4.根据权利要求2所述的方法,其特征在于,所述将所述第一信息与数据库进行匹配,得到匹配结果,并根据所述匹配结果,确定所述第一账户是否属于预先定义的目标账户的步骤,包括:4. The method according to claim 2, wherein the first information is matched with a database to obtain a matching result, and according to the matching result, it is determined whether the first account belongs to a predefined account The steps for the target account, including: 从所述第一信息中提取第i项信息,将所述第i项信息与所述数据库中的第i类信息进行比较,得到第i个匹配结果;其中,所述第i类信息中每个信息与所述第i项信息的类型相同;Extract the i-th item of information from the first information, compare the i-th item of information with the i-th type of information in the database, and obtain the i-th matching result; wherein, each of the i-th type of information piece of information is of the same type as the i-th piece of information; 当所述第i个匹配结果表示所述第i类信息包括所述第i项信息时,确定所述第一账户属于预先定义的目标账户;When the i-th matching result indicates that the i-th type of information includes the i-th item of information, determining that the first account belongs to a predefined target account; 当所述第i匹配结果表示所述第i类信息不包括所述第i项信息时,所述i加1,循环执行所述从所述第一信息中提取第i项信息,将所述第i项信息与所述数据库中的第i类信息进行比较,得到第i个匹配结果的步骤,直到所述第一信息与所述数据库中的信息匹配完毕,或者确定所述第一账户属于预先定义的目标账户;When the i-th matching result indicates that the i-th type of information does not include the i-th item of information, the i is incremented by 1, and the extraction of the i-th item of information from the first information is performed cyclically, and the The i-th item of information is compared with the i-th type of information in the database to obtain the i-th matching result, until the first information is matched with the information in the database, or it is determined that the first account belongs to Pre-defined target accounts; 其中,i为正整数。where i is a positive integer. 5.根据权利要求2所述的方法,其特征在于,所述将所述第一信息与数据库进行匹配,得到匹配结果,并根据所述匹配结果,确定所述第一账户是否属于预先定义的目标账户的步骤之后,所述方法还包括:5. The method according to claim 2, wherein the first information is matched with a database to obtain a matching result, and according to the matching result, it is determined whether the first account belongs to a predefined account After the step of the target account, the method further includes: 当所述第一账户属于所述目标账户时,将所述第一信息和所述第一账户的名称存储至所述数据库中,得到更新后的数据库。When the first account belongs to the target account, the first information and the name of the first account are stored in the database to obtain an updated database. 6.一种账户识别装置,其特征在于,所述账户识别装置包括:6. An account identification device, characterized in that the account identification device comprises: 接收模块,被配置为接收第一账户的登录请求;a receiving module, configured to receive a login request of the first account; 获取模块,被配置为响应于所述登录请求,获取第一信息,所述第一信息包括以下至少两项:所述第一账户的登录设备的标识信息、所述第一账户的登录位置信息、所述第一账户的联系信息、第二账户的账户信息,所述第二账户与所述第一账户关联同一个对象;an acquisition module, configured to acquire first information in response to the login request, the first information includes at least two of the following: identification information of the login device of the first account, login location information of the first account , the contact information of the first account, the account information of the second account, and the second account is associated with the same object as the first account; 确定模块,被配置为根据所述第一信息,确定所述第一账户是否属于预先定义的目标账户。The determining module is configured to determine whether the first account belongs to a predefined target account according to the first information. 7.根据权利要求6所述的账户识别装置,其特征在于,所述确定模块,被配置为:7. The account identification device according to claim 6, wherein the determining module is configured to: 将所述第一信息与数据库进行匹配,得到匹配结果,并根据所述匹配结果,确定所述第一账户是否属于预先定义的目标账户;Matching the first information with a database to obtain a matching result, and determining whether the first account belongs to a predefined target account according to the matching result; 其中,所述数据库包括:全部所述目标账户的登录设备的标识信息、全部所述目标账户的联系信息、目标登录区域的位置信息、全部关联账户的账户信息,所述目标登录区域为所述目标账户的全部登录区域,所述全部关联账户中的每个账户至少与全部所述目标账户中的一个账户关联同一个对象。Wherein, the database includes: identification information of the login devices of all the target accounts, contact information of all the target accounts, location information of the target login area, and account information of all associated accounts, and the target login area is the In all login areas of the target account, each account in all the associated accounts is associated with at least one account in all the target accounts with the same object. 8.一种电子设备,其特征在于,包括:8. An electronic device, characterized in that, comprising: 处理器;processor; 用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions; 其中,所述处理器被配置为执行所述指令,以实现如权利要求1至5中任一项所述的账户识别方法。Wherein, the processor is configured to execute the instructions to implement the account identification method as claimed in any one of claims 1 to 5. 9.一种计算机可读存储介质,其特征在于,当所述计算机可读存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行如权利要求1至5中任一项所述的账户识别方法。9. A computer-readable storage medium, characterized in that, when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the functions as defined in any one of claims 1 to 5. account identification method described above. 10.一种计算机程序产品,其特征在于,包括:10. A computer program product, comprising: 可执行指令,当所述可执行指令在计算机上运行时,使得计算机程序产品能够执行如权利要求1至5中任一项所述的账户识别方法。Executable instructions that, when run on a computer, enable the computer program product to perform the account identification method of any one of claims 1 to 5 .
CN202110960945.8A 2021-08-20 2021-08-20 Account identification method, device, electronic device and storage medium Pending CN113641972A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110960945.8A CN113641972A (en) 2021-08-20 2021-08-20 Account identification method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110960945.8A CN113641972A (en) 2021-08-20 2021-08-20 Account identification method, device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN113641972A true CN113641972A (en) 2021-11-12

Family

ID=78423135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110960945.8A Pending CN113641972A (en) 2021-08-20 2021-08-20 Account identification method, device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN113641972A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454204A (en) * 2017-07-24 2017-12-08 北京小米移动软件有限公司 User profile mask method and device
CN108171519A (en) * 2016-12-07 2018-06-15 阿里巴巴集团控股有限公司 The processing of business datum, account recognition methods and device, terminal
CN109508519A (en) * 2017-09-14 2019-03-22 北京京东尚科信息技术有限公司 Method and apparatus for handling request
CN110414987A (en) * 2019-07-18 2019-11-05 中国工商银行股份有限公司 Recognition methods, device and the computer system of account aggregation
CN111783055A (en) * 2020-06-30 2020-10-16 维沃移动通信有限公司 Account information management method and device and electronic equipment
CN112364334A (en) * 2020-11-09 2021-02-12 成都卫士通信息产业股份有限公司 Single sign-on method and device, electronic equipment and storage medium
CN112632521A (en) * 2020-12-23 2021-04-09 北京达佳互联信息技术有限公司 Request response method and device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108171519A (en) * 2016-12-07 2018-06-15 阿里巴巴集团控股有限公司 The processing of business datum, account recognition methods and device, terminal
CN107454204A (en) * 2017-07-24 2017-12-08 北京小米移动软件有限公司 User profile mask method and device
CN109508519A (en) * 2017-09-14 2019-03-22 北京京东尚科信息技术有限公司 Method and apparatus for handling request
CN110414987A (en) * 2019-07-18 2019-11-05 中国工商银行股份有限公司 Recognition methods, device and the computer system of account aggregation
CN111783055A (en) * 2020-06-30 2020-10-16 维沃移动通信有限公司 Account information management method and device and electronic equipment
CN112364334A (en) * 2020-11-09 2021-02-12 成都卫士通信息产业股份有限公司 Single sign-on method and device, electronic equipment and storage medium
CN112632521A (en) * 2020-12-23 2021-04-09 北京达佳互联信息技术有限公司 Request response method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US10278005B2 (en) Method, apparatus, and system for determining a location of a terminal
US9131341B2 (en) System and method for locating a mobile device
CN109308266A (en) Construction method, test method, device, equipment and the medium of test case
US9876871B2 (en) User logging of web traffic on non-browser based devices
CN107169094B (en) Information aggregation method and device
US20150373489A1 (en) Matching users in a location-based service
US10637805B2 (en) Instant messaging method, server, and storage medium
WO2014190738A1 (en) System and method for locating a mobile device
EP3164793A1 (en) Dual channel identity authentication
CN109246078B (en) Data interaction method and server
US8990389B2 (en) Using a router based web meter in a mixed mode configuration
US11244153B2 (en) Method and apparatus for processing information
CN114245182B (en) Live video stream acquisition method and device
CN108093026A (en) The processing method and processing device of multi-tenant request
US9876800B2 (en) Integrating a router based web meter and a software based web meter
WO2020168757A1 (en) Network system access method and apparatus, computer device, and readable storage medium
CN104424352A (en) System and method for providing agent service to user terminal
CN108492393A (en) Method and apparatus for registering
KR20190021848A (en) Method for monitoring server, apparatus and system for executing the method
CN108702334B (en) Method and system for distributed testing of network configuration for zero tariffs
CN107577550B (en) Method and device for determining whether response of access request is abnormal
CN111966993B (en) Equipment identification code identification and generation algorithm test method, device, equipment and medium
CN109388558A (en) A kind of method, apparatus, equipment and storage medium managing electronic equipment
CN113641972A (en) Account identification method, device, electronic device and storage medium
CN108009247B (en) Information pushing method and device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211112