CN107733774B - Account number association method and device - Google Patents

Account number association method and device Download PDF

Info

Publication number
CN107733774B
CN107733774B CN201610659782.9A CN201610659782A CN107733774B CN 107733774 B CN107733774 B CN 107733774B CN 201610659782 A CN201610659782 A CN 201610659782A CN 107733774 B CN107733774 B CN 107733774B
Authority
CN
China
Prior art keywords
domain
account
account information
preset
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610659782.9A
Other languages
Chinese (zh)
Other versions
CN107733774A (en
Inventor
高阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum 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 Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201610659782.9A priority Critical patent/CN107733774B/en
Publication of CN107733774A publication Critical patent/CN107733774A/en
Application granted granted Critical
Publication of CN107733774B publication Critical patent/CN107733774B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/48Message addressing, e.g. address format or anonymous messages, aliases

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses an account correlation method and device. Wherein, the method comprises the following steps: acquiring domain account information input by a user; searching a target mail group associated with the domain account information in a preset relationship table, wherein the preset relationship table is used for storing the association relationship between the domain account information and the mail group; creating a target mail account corresponding to the domain account information, wherein the domain account information is the same as the account name of the target mail account; and associating the target mail account with the target mail group. The method and the device solve the technical problem that automatic association of the domain account and the mail account cannot be achieved in the prior art.

Description

Account number association method and device
Technical Field
The application relates to the field of data processing, in particular to an account association method and device.
Background
In many companies in the modern society, office accounts of employees are managed by domain accounts, and the domain accounts include related information such as names of the employees and departments to which the employees belong, wherein each employee corresponds to one domain account.
In addition to setting a domain account for an employee, a company also needs to set a mailbox account for the employee. When opening mailboxes for employees, mailboxes of different departments are generally added into fixed mail groups, for example, mailboxes of employees of an operation department are all added into mail groups of an operation department, a company and the like. However, the above-mentioned employee mailbox is not connected with the employee domain account in the management system, the domain account is managed by AD domain control, and the mail account is managed by an exchange server. However, the account (username) used by the two is usually the same, for example, zhangsan, the domain account is zhangsan, and the mailbox account is zhangsan, which is convenient for the employee to work and communicate.
In the prior art, the domain account and the mailbox account are associated manually. For example, when a new employee enters into work, a company generally opens a domain account, and adds the domain account into a corresponding domain group, where the domain account also has general authority of the group. Then a mailbox is created for the group mail, and the mailbox is added into the mailbox group of the corresponding department, so that the group mail of the corresponding department can be received. The traditional account creating method is low in efficiency, does not have a unified management rule, and is not beneficial to management of the account by related managers even if one person leaves the office or a department changes and the domain account and the mailbox group need to be managed respectively.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the application provides an account association method and device, and aims to at least solve the technical problem that automatic association of a domain account and a mail account cannot be achieved in the prior art.
According to an aspect of the embodiment of the present application, there is provided an account association method, including: acquiring domain account information input by a user; searching a target mail group associated with the domain account information in a preset relationship table, wherein the preset relationship table is used for storing the association relationship between the domain account information and the mail group; creating a target mail account corresponding to the domain account information, wherein the domain account information is the same as the account name of the target mail account; and associating the target mail account with the target mail group.
Further, searching the target mail group associated with the domain account information in a preset relationship table comprises: searching the name of the domain account group to which the domain account information belongs in the preset relation table; searching a target value corresponding to the index key value in the preset relation table by taking the name as the index key value; and taking the mail group corresponding to the target value as the target mail group.
Further, creating a target mail account corresponding to the target mail group comprises: judging whether the searched domain account information carries a preset identifier, wherein the preset identifier is used for representing an initial mail account corresponding to the domain account information in the target mail group; if the domain account information is judged not to carry the preset identification, a target mail account corresponding to the domain account information is created; and if the domain account information is judged to carry the preset identification, changing the initial mail account in the target mail group.
Further, the preset identifier includes a first preset identifier and a second preset identifier, and if it is determined that the domain account information carries the preset identifier, changing the initial mail account in the target mail group includes: determining the type of the preset identification; if the preset identification is determined to be the first preset identification, creating the target mail account corresponding to the domain account information, and updating the initial mail account into the target mail account; and if the preset identification is determined to be the second preset identification, deleting the initial mail account in the target mail group.
Further, before obtaining the domain account information input by the user, the method further includes: acquiring the domain account information input by the user and the target mail group associated with the domain account information; and storing the domain account information and the target mail group into the preset relation table according to a preset corresponding relation.
According to another aspect of the embodiments of the present application, there is also provided an account association apparatus, including: the system comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring domain account information input by a user; the searching unit is used for searching a target mail group associated with the domain account information in a preset relation table, wherein the preset relation table is used for storing the association relation between the domain account information and the mail group; a creating unit, configured to create a target mail account corresponding to the domain account information, where the domain account information is the same as an account name of the target mail account; and the association unit is used for associating the target mail account with the target mail group.
Further, the search unit includes: the first searching module is used for searching the name of the domain account group to which the domain account information belongs in the preset relation table; the second searching module is used for searching a target value corresponding to the index key value in the preset relation table by taking the name as the index key value; and the determining module is used for taking the mail group corresponding to the target value as the target mail group.
Further, the creating unit includes: the judging module is used for judging whether the searched domain account information carries a preset identifier, wherein the preset identifier is used for representing that the target mail group comprises an initial mail account corresponding to the domain account information; the creating module is used for creating a target mail account corresponding to the domain account information under the condition that the domain account information is judged not to carry the preset identification; and the changing module is used for changing the initial mail account in the target mail group under the condition that the domain account information is judged to carry the preset identification.
Further, the preset identifier includes a first preset identifier and a second preset identifier, and the changing module includes: the determining submodule is used for determining the type of the preset identification; the creating and updating submodule is used for creating the target mail account corresponding to the domain account information and updating the initial mail account into the target mail account under the condition that the preset identifier is determined to be the first preset identifier; and the deleting submodule is used for deleting the initial mail account in the target mail group under the condition that the preset identification is determined to be the second preset identification.
Further, the apparatus further comprises: a second obtaining unit, configured to obtain, before obtaining domain account information input by a user, the domain account information input by the user and the target mail group associated with the domain account information; and the storage unit is used for storing the domain account information and the target mail group into the preset relation table according to a preset corresponding relation.
In the embodiment of the application, domain account information input by a user is acquired; searching a target mail group associated with the domain account information in a preset relationship table, wherein the preset relationship table is used for storing the association relationship between the domain account information and the mail group; creating a target mail account corresponding to the domain account information, wherein the domain account information is the same as the account name of the target mail account; the target mail account and the target mail group are associated, an associated mail group (namely, the target mail group) of the domain account information is searched in a preset relationship table established in advance, and then the mail account having an associated relationship with the target mail group is created, so that the purpose of automatically creating the mail account for the domain account is achieved, the technical effect of automatically associating the domain account with the mail account is achieved, and the technical problem that the domain account and the mail account cannot be automatically associated in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a flowchart of an account association method according to an embodiment of the present application;
fig. 2 is a schematic diagram of an account association device according to an embodiment of the present application; and
fig. 3 is a schematic diagram of another account association device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above 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 application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an embodiment of the present application, there is provided an account association method, where it is noted that the steps shown in the flowchart of the drawings may be executed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from the order shown.
Fig. 1 is a flowchart of an account association method according to an embodiment of the present application, and as shown in fig. 1, the method includes the following steps:
step S102, domain account information input by a user is obtained.
Specifically, the domain account information input by the user may be one or more. The input domain account information may be new domain account information that the user actually wishes to create, or may be domain account information that the user actually wishes to replace or delete. The domain account is an account stored in a domain account server in the domain, and the domain account can be shared by all computers in the same domain through the domain account server.
And step S104, searching a target mail group associated with the domain account information in a preset relation table, wherein the preset relation table is used for storing the association relation between the domain account information and the mail group.
Specifically, in the embodiment of the present application, the preset relationship table is a table that is established in advance in a database, and an association relationship between each domain account information and at least one mail group is stored in advance in the data table.
For example, if the mail group corresponding to the carrier part domain group includes the company whole and the carrier part, the domain account number in the carrier part domain group and the mail group with the name of the company whole and the carrier part can be correspondingly stored in the preset relationship table; the mail group corresponding to the operation and maintenance domain group includes a company whole, a technical department, an operation and maintenance group, an alarm group, and the like, and the domain account numbers and the names of the company whole, the technical department, the operation and maintenance group, and the alarm group in the operation and maintenance domain group can be correspondingly stored in a preset relation table.
Step S106, a target mail account corresponding to the domain account information is created, wherein the domain account information is the same as the account name of the target mail account.
And step S108, associating the target mail account with the target mail group.
Specifically, after the target mail group is found, a target mail account corresponding to the domain account information may be created, and then the created target mail account is associated with the found target mail group.
For example, any domain account information input by the user is: and zhangsan, wherein the target mail group associated with zhangsan is found in the preset relation table as follows: the operation group and the company as a whole. After the target mail group is found, a mail account corresponding to the domain account "zhangsan" may be created, and the account name of the created mail account is the same as the account name of the domain account signal, that is, the created target mail account name may be "zhangsan". After the target mail account "zhangsan" is created, it may be associated with a target group of mail named "corporate en-masse" and "operations group".
In the embodiment of the application, the purpose of automatically creating the mail account for the domain account is achieved by searching the associated mail group (namely, the target mail group) of the domain account information in the preset relationship table established in advance and then creating the mail account having an associated relationship with the target mail group, so that the technical effect of automatically associating the domain account with the mail account is achieved, and the technical problem that automatic association of the domain account and the mail account cannot be achieved in the prior art is solved.
There are many ways to search for a target mail group associated with the domain account information in the preset relationship table, and in this embodiment, the searching for the target mail group includes: searching the name of a domain account group to which the domain account information belongs in a preset relation table; searching a target value corresponding to the index key value in a preset relation table by taking the name as the index key value; and taking the mail group corresponding to the target value as a target mail group.
Specifically, the preset relationship table includes index key values, which are names of domain account groups, and target values, which are names of the mail groups, corresponding to the key values, where each index key value may correspond to one or more target values, that is, one domain account group may correspond to one or more mail groups. For example, the above-described mail group corresponding to the operation area group includes the company whole, the operation part, and the mail group corresponding to the operation and maintenance area group includes the company whole, the technical part, the operation and maintenance group, the alarm group, and the like.
Therefore, when the target mail group is searched in the preset relationship table, the name of the domain account group to which the domain account information input by the user belongs is first searched in the preset relationship table, for example, the name of the searched domain account group is "carrier domain group". After the domain account group to which the domain account belongs is found, the found domain account group, for example, the "operation part domain group" is used as an index key value, and a target value corresponding to the index key value is found in a preset relation table, that is, the name of the mail group corresponding to the "operation part domain group" is found. Assuming that the found target value is "entire company" and "department of operation", the "entire company" and "department of operation" are set as the target mail group.
After finding the target mail group associated with the domain account information, a target mail account corresponding to the target mail group can be created, wherein the specific process of creating the target mail account is as follows: judging whether the searched domain account information carries a preset identifier, wherein the preset identifier is used for representing an initial mail account corresponding to the domain account information in the target mail group; if the domain account information is judged not to carry the preset identification, a target mail account corresponding to the domain account information is created; and if the domain account information is judged to carry the preset identification, changing the initial mail account in the target mail group.
Specifically, as can be seen from the description in step S102, the domain account information input by the user may be new domain account information that the user actually wishes to create, or may also be domain account information that the user actually wishes to replace or delete. Therefore, after the domain account information is acquired, whether the domain account information input by the user carries a preset identifier or not can be judged, if the domain account information input by the user does not carry the preset identifier, a target mail account corresponding to the domain account information can be directly created, if the domain account information input by the user carries the preset identifier, the mail group includes an initial mail account corresponding to the domain account information, and at the moment, the initial mail account in the target mail group is changed.
For example, the domain account information input by the user is "zhangsan 01", and a preset identifier carried by the domain account information "zhangsan 01", for example, an identifier such as 00 or 01, indicates that the domain account information stores the initial mail account in the mail group. That is, the initial domain mail account (e.g., "zhangsan") of the domain account information "zhangsan 01" has been pre-stored in the domain account group. The domain account information input by the user at this time is "zhangsan 01" which is account information for changing the initial domain account information (e.g., "zhangsan").
If the domain account information input by the user is zhangsan01 and the domain account information does not carry a preset identifier, it indicates that the domain account information does not include the initial mail account in the mail group. That is, the domain account information is not pre-stored in the domain account group, and at this time, a target mail account with an account name "zhangsan 01" may be directly created, and the target mail account may be associated with the found target mail group.
In an optional embodiment, the preset identifier includes a first preset identifier and a second preset identifier, and at this time, in a case that it is determined that the domain account information carries the preset identifier, changing the initial mail account in the target mail group includes: and determining the type of the preset identifier, then, if the preset identifier is determined to be a first preset identifier, creating a target mail account corresponding to the domain account information, and updating the initial mail account into the target mail account, or, if the preset identifier is determined to be a second preset identifier, deleting the initial mail account in the target mail group.
Specifically, the first preset identifier is used for representing that a target mail account corresponding to domain account information input by a user is created, and the created target mail account is used for replacing the initial mail account. The second preset identification is used for deleting the initial mail account corresponding to the domain account information input by the user in the mail group.
For example, the domain account information input by the user is "xiaoming", and the preset identifier carried by the domain account information is a second preset identifier. At this time, the initial mail account corresponding to the domain account information, for example, "xiaoming" is searched in the target mail group associated with the domain account information, and the initial mail account "xiaoming" is deleted in the target mail group, that is, the initial mail account is deleted, and the association relationship between the initial mail account and the target mail group is deleted.
For another example, the domain account information input by the user is "xiaoming 01", and the preset identifier carried by the domain account information is the first preset identifier. At this time, the domain account group is searched for the initial domain account information, for example, "xiaoming" with the domain account information "xiaoming 01", and the initial domain account information is updated to "xiaoming 01". And creates a target mail account number 'xiaoming 01' corresponding to 'xiaoming 01', then updates the initial mail account number 'xiaoming' in the target mail group to the target mail account number 'xiaoming 01', and carries out the target mail account number 'xiaoming 01' with the target mail group.
In another optional implementation manner, before obtaining the domain account information input by the user, the method further includes: the method comprises the steps of acquiring domain account information input by a user and a target mail group associated with the domain account information, and then storing the domain account information and the target mail group into a preset relation table according to a preset corresponding relation.
Specifically, as can be seen from the foregoing description, in the embodiment of the present application, the preset relationship table is a relationship table preset by a relevant technician, that is, before the user inputs the domain account information, the target mail account associated with the domain account information needs to be preset in the preset relationship table. And then, correspondingly storing the domain account information and the associated target mail account into a preset relation table. In the preset relationship table, the index key values are names of domain account groups to which the domain account information belongs, and the target value corresponding to each index key value is a name of a target mail group.
By adopting the embodiment of the application, the corresponding relation between the domain account group and the mail group can be freely defined, the target mail account can be automatically established for the domain account information, and the established target mail account can be automatically filed, namely, the incidence relation between the target mail account and the target mail group is realized, and further, the occurrence of errors caused by manual operation is avoided.
The embodiment of the present application further provides an account association apparatus, which is mainly used for executing the account association method provided in the embodiment of the present application, and the following provides a specific description of the account association apparatus provided in the embodiment of the present application.
Fig. 2 is a schematic diagram of an account associating apparatus according to an embodiment of the present application, and as shown in fig. 2, the account associating apparatus mainly includes a first obtaining unit 21, a searching unit 23, a creating unit 25, and an associating unit 27, where:
the first obtaining unit 21 is configured to obtain domain account information input by a user.
Specifically, the domain account information input by the user may be one or more. The input domain account information may be new domain account information that the user actually wishes to create, or may be domain account information that the user actually wishes to replace or delete. The domain account is an account stored in a domain account server in the domain, and the domain account can be shared by all computers in the same domain through the domain account server.
The searching unit 23 is configured to search a target mail group associated with the domain account information in a preset relationship table, where the preset relationship table is used to store an association relationship between the domain account information and the mail group.
Specifically, in the embodiment of the present application, the preset relationship table is a table that is established in advance in a database, and an association relationship between each domain account information and at least one mail group is stored in advance in the data table.
For example, if the mail group corresponding to the carrier part domain group includes the company whole and the carrier part, the domain account number in the carrier part domain group and the mail group with the name of the company whole and the carrier part can be correspondingly stored in the preset relationship table; the mail group corresponding to the operation and maintenance domain group includes a company whole, a technical department, an operation and maintenance group, an alarm group, and the like, and the domain account numbers and the names of the company whole, the technical department, the operation and maintenance group, and the alarm group in the operation and maintenance domain group can be correspondingly stored in a preset relation table.
The creating unit 25 is configured to create a target mail account corresponding to domain account information, where the domain account information is the same as an account name of the target mail account.
An associating unit 27 for associating the target mail account with the target group of mail.
Specifically, after the target mail group is found, a target mail account corresponding to the domain account information may be created, and then the created target mail account is associated with the found target mail group.
For example, any domain account information input by the user is: and zhangsan, wherein the target mail group associated with zhangsan is found in the preset relation table as follows: the operation group and the company as a whole. After the target mail group is found, a mail account corresponding to the domain account "zhangsan" may be created, and the account name of the created mail account is the same as the account name of the domain account signal, that is, the created target mail account name may be "zhangsan". After the target mail account "zhangsan" is created, it may be associated with a target group of mail named "corporate en-masse" and "operations group".
In the embodiment of the application, the purpose of automatically creating the mail account for the domain account is achieved by searching the associated mail group (namely, the target mail group) of the domain account information in the preset relationship table established in advance and then creating the mail account having an associated relationship with the target mail group, so that the technical effect of automatically associating the domain account with the mail account is achieved, and the technical problem that automatic association of the domain account and the mail account cannot be achieved in the prior art is solved.
Optionally, the lookup unit includes: the first searching module is used for searching the name of a domain account group to which the domain account information belongs in a preset relation table; the second searching module is used for searching a target value corresponding to the index key value in a preset relation table by taking the name as the index key value; and the determining module is used for taking the mail group corresponding to the target value as a target mail group.
Specifically, the preset relationship table includes an index key value and a target value corresponding to the key value, where the index key value is a name of a domain account group, and the target value is a name of a mail group, where each index key value may correspond to one or more target values, that is, one domain account group may correspond to one or more mail groups, that is, the mail group corresponding to the operation part domain group described above includes a company whole and an operation part, and the mail group corresponding to the operation and maintenance domain group includes a company whole, a technology part, an operation and maintenance group, an alarm group, and the like.
Therefore, when the target mail group is searched in the preset relationship table, the name of the domain account group to which the domain account information input by the user belongs is first searched in the preset relationship table, for example, the name of the searched domain account group is "carrier domain group". After the domain account group to which the domain account belongs is found, the found domain account group, for example, the "operation part domain group" is used as an index key value, and a target value corresponding to the index key value is found in a preset relation table, that is, the name of the mail group corresponding to the "operation part domain group" is found. Assuming that the found target value is "entire company" and "department of operation", the "entire company" and "department of operation" are set as the target mail group.
Optionally, the creating unit includes: the judging module is used for judging whether the searched domain account information carries a preset identifier, wherein the preset identifier is used for representing an initial mail account corresponding to the domain account information in the target mail group; the creating module is used for creating a target mail account corresponding to the domain account information under the condition that the domain account information is judged not to carry the preset identification; and the changing module is used for changing the initial mail account in the target mail group under the condition that the domain account information carries the preset identification.
Specifically, the preset relationship table includes an index key value and a target value corresponding to the key value, where the index key value is a name of a domain account group, and the target value is a name of a mail group, where each index key value may correspond to one or more target values, that is, one domain account group may correspond to one or more mail groups, that is, the mail group corresponding to the operation part domain group described above includes a company whole and an operation part, and the mail group corresponding to the operation and maintenance domain group includes a company whole, a technology part, an operation and maintenance group, an alarm group, and the like.
Therefore, when the target mail group is searched in the preset relationship table, the name of the domain account group to which the domain account information input by the user belongs is first searched in the preset relationship table, for example, the name of the searched domain account group is "carrier domain group". After the domain account group to which the domain account belongs is found, the found domain account group, for example, the "operation part domain group" is used as an index key value, and a target value corresponding to the index key value is found in a preset relation table, that is, the name of the mail group corresponding to the "operation part domain group" is found. Assuming that the found target value is "entire company" and "department of operation", the "entire company" and "department of operation" are set as the target mail group.
Optionally, the preset identifier includes a first preset identifier and a second preset identifier, and the changing module includes: the determining submodule is used for determining the type of the preset identification; the creating and updating submodule is used for creating a target mail account corresponding to the domain account information under the condition that the preset identifier is determined to be the first preset identifier, and updating the initial mail account into the target mail account; and the deleting submodule is used for deleting the initial mail account in the target mail group under the condition that the preset identification is determined to be the second preset identification.
Specifically, the first preset identifier is used for representing that a target mail account corresponding to domain account information input by a user is created, and the created target mail account is used for replacing the initial mail account. The second preset identification is used for deleting the initial mail account corresponding to the domain account information input by the user in the mail group.
For example, the domain account information input by the user is "xiaoming", and the preset identifier carried by the domain account information is a second preset identifier. At this time, the initial mail account corresponding to the domain account information, for example, "xiaoming" is searched in the target mail group associated with the domain account information, and the initial mail account "xiaoming" is deleted in the target mail group, that is, the initial mail account is deleted, and the association relationship between the initial mail account and the target mail group is deleted.
For another example, the domain account information input by the user is "xiaoming 01", and the preset identifier carried by the domain account information is the first preset identifier. At this time, the domain account group is searched for the initial domain account information, for example, "xiaoming" with the domain account information "xiaoming 01", and the initial domain account information is updated to "xiaoming 01". And creates a target mail account number 'xiaoming 01' corresponding to 'xiaoming 01', then updates the initial mail account number 'xiaoming' in the target mail group to the target mail account number 'xiaoming 01', and carries out the target mail account number 'xiaoming 01' with the target mail group.
Optionally, the apparatus further comprises: the second acquisition unit is used for acquiring the domain account information input by the user and a target mail group associated with the domain account information before acquiring the domain account information input by the user; and the storage unit is used for storing the domain account information and the target mail group into a preset relation table according to a preset corresponding relation.
Specifically, as can be seen from the foregoing description, in the embodiment of the present application, the preset relationship table is a relationship table preset by a relevant technician, that is, before the user inputs the domain account information, the target mail account associated with the domain account information needs to be preset in the preset relationship table. And then, correspondingly storing the domain account information and the associated target mail account into a preset relation table. In the preset relationship table, the index key values are names of domain account groups to which the domain account information belongs, and the target value corresponding to each index key value is a name of a target mail group.
Fig. 3 is a schematic view of another account associating apparatus according to an embodiment of the present application, and as shown in fig. 3, the account associating apparatus mainly includes: a domain group reading module 31 and a mail group configuration module 33.
It should be noted that, in this embodiment of the present application, a user may manually input at least one domain account information, then send a request for increasing or changing the domain account information to the AD domain control through the lid protocol through the domain group reading module, and then store the request in the corresponding memory to query and use the mail group configuration module. After the mail group configuration module is operated, the module automatically searches the domain account information user input by the user in the memory, takes out the group field in the information field (i.e., the name of the domain account group to which the domain account information belongs), takes the field as an index key (i.e., an index key value), finds out the corresponding value (i.e., a target value) in the preset relationship table, and takes the mail group corresponding to the target as an expected mail group (i.e., a target mail group). And then, calling a management module provided by an exchange official, sending a request for creating a target mail account of the domain account information user to an exchange server, wherein the name of the mail account is user, and establishing an association relation between the target mail account and the target mail group.
The device for associating the account number comprises a processor and a memory, wherein the first acquiring unit, the searching unit, the creating unit, the associating unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the technical problem that automatic association of the domain account and the mail account cannot be realized in the prior art is solved by automatically creating the mail account for the domain account.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
The present application further provides a computer program product adapted to perform program code for initializing the following method steps when executed on a data processing device: acquiring domain account information input by a user; searching a target mail group associated with the domain account information in a preset relationship table, wherein the preset relationship table is used for storing the association relationship between the domain account information and the mail group; creating a target mail account corresponding to the domain account information, wherein the domain account information is the same as the account name of the target mail account; and associating the target mail account with the target mail group.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of 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 addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (8)

1. An account association method is characterized by comprising the following steps:
acquiring domain account information input by a user;
searching a target mail group associated with the domain account information in a preset relationship table, wherein the preset relationship table is used for storing the association relationship between the domain account information and the mail group;
creating a target mail account corresponding to the domain account information, wherein the domain account information is the same as the account name of the target mail account; and
associating the target mail account with the target mail group;
wherein creating a target mail account corresponding to the target mail group comprises: judging whether the searched domain account information carries a preset identifier, wherein the preset identifier is used for representing an initial mail account corresponding to the domain account information in the target mail group; if the domain account information is judged not to carry the preset identification, a target mail account corresponding to the domain account information is created; and if the domain account information is judged to carry the preset identification, changing the initial mail account in the target mail group.
2. The method of claim 1, wherein looking up the target mail group associated with the domain account information in a preset relationship table comprises:
searching the name of the domain account group to which the domain account information belongs in the preset relation table;
searching a target value corresponding to the index key value in the preset relation table by taking the name as the index key value; and
and taking the mail group corresponding to the target value as the target mail group.
3. The method of claim 1, wherein the preset identifier comprises a first preset identifier and a second preset identifier, and if it is determined that the preset identifier is carried in the domain account information, the changing the initial email account in the target email group comprises:
determining the type of the preset identification;
if the preset identification is determined to be the first preset identification, creating the target mail account corresponding to the domain account information, and updating the initial mail account into the target mail account; and
and if the preset identification is determined to be the second preset identification, deleting the initial mail account in the target mail group.
4. The method of claim 1, wherein before obtaining the domain account information input by the user, the method further comprises:
acquiring the domain account information input by the user and the target mail group associated with the domain account information; and
and storing the domain account information and the target mail group into the preset relation table according to a preset corresponding relation.
5. An account association device, comprising:
the system comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring domain account information input by a user;
the searching unit is used for searching a target mail group associated with the domain account information in a preset relation table, wherein the preset relation table is used for storing the association relation between the domain account information and the mail group;
a creating unit, configured to create a target mail account corresponding to the domain account information, where the domain account information is the same as an account name of the target mail account; and
the association unit is used for associating the target mail account with the target mail group;
wherein the creating unit includes: the judging module is used for judging whether the searched domain account information carries a preset identifier, wherein the preset identifier is used for representing that the target mail group comprises an initial mail account corresponding to the domain account information; the creating module is used for creating a target mail account corresponding to the domain account information under the condition that the domain account information is judged not to carry the preset identification; and the changing module is used for changing the initial mail account in the target mail group under the condition that the domain account information is judged to carry the preset identification.
6. The apparatus of claim 5, wherein the lookup unit comprises:
the first searching module is used for searching the name of the domain account group to which the domain account information belongs in the preset relation table; and
the second searching module is used for searching a target value corresponding to the index key value in the preset relation table by taking the name as the index key value; and
and the determining module is used for taking the mail group corresponding to the target value as the target mail group.
7. The apparatus of claim 5, wherein the preset identifier comprises a first preset identifier and a second preset identifier, and wherein the changing module comprises:
the determining submodule is used for determining the type of the preset identification;
the creating and updating submodule is used for creating the target mail account corresponding to the domain account information and updating the initial mail account into the target mail account under the condition that the preset identifier is determined to be the first preset identifier; and
and the deleting submodule is used for deleting the initial mail account in the target mail group under the condition that the preset identification is determined to be the second preset identification.
8. The apparatus of claim 5, further comprising:
a second obtaining unit, configured to obtain, before obtaining domain account information input by a user, the domain account information input by the user and the target mail group associated with the domain account information; and
and the storage unit is used for storing the domain account information and the target mail group into the preset relation table according to a preset corresponding relation.
CN201610659782.9A 2016-08-11 2016-08-11 Account number association method and device Active CN107733774B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610659782.9A CN107733774B (en) 2016-08-11 2016-08-11 Account number association method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610659782.9A CN107733774B (en) 2016-08-11 2016-08-11 Account number association method and device

Publications (2)

Publication Number Publication Date
CN107733774A CN107733774A (en) 2018-02-23
CN107733774B true CN107733774B (en) 2020-06-16

Family

ID=61199734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610659782.9A Active CN107733774B (en) 2016-08-11 2016-08-11 Account number association method and device

Country Status (1)

Country Link
CN (1) CN107733774B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109447472B (en) * 2018-10-30 2023-11-28 平安科技(深圳)有限公司 Performance task data processing method and device, computer equipment and storage medium
CN110287688B (en) * 2019-06-28 2020-11-24 京东数字科技控股有限公司 Associated account analysis method and device and computer-readable storage medium
CN113411253B (en) * 2021-06-30 2022-10-28 平安普惠企业管理有限公司 Relation topology analysis method and device based on mail, terminal equipment and medium
CN113742681B (en) * 2021-11-04 2022-04-19 苏州浪潮智能科技有限公司 Account management method and device, computer equipment and storage medium
CN116800546B (en) * 2023-08-24 2023-11-03 北京建筑大学 User switching method, system, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1538695A (en) * 2003-04-16 2004-10-20 ��ʽ����Ntt����Ħ E-mail management device and E-mail transmission method
CN1838644A (en) * 2005-03-22 2006-09-27 深圳市沃通通信服务有限公司 Method for realizing instant communication and E-mail based on Internet address and P2P technique
ZA200900793B (en) * 2008-07-29 2009-12-30 Hanru Nienaber A method for automated website creation
JP2010009563A (en) * 2008-06-26 2010-01-14 Seiichiro Tamai Name mail
CN103618639A (en) * 2013-11-15 2014-03-05 北京国双科技有限公司 Method, device and system for monitoring media data
CN105763429A (en) * 2016-04-28 2016-07-13 乐视控股(北京)有限公司 Automatic complementing method and system for account number inputting

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1538695A (en) * 2003-04-16 2004-10-20 ��ʽ����Ntt����Ħ E-mail management device and E-mail transmission method
CN1838644A (en) * 2005-03-22 2006-09-27 深圳市沃通通信服务有限公司 Method for realizing instant communication and E-mail based on Internet address and P2P technique
JP2010009563A (en) * 2008-06-26 2010-01-14 Seiichiro Tamai Name mail
ZA200900793B (en) * 2008-07-29 2009-12-30 Hanru Nienaber A method for automated website creation
CN103618639A (en) * 2013-11-15 2014-03-05 北京国双科技有限公司 Method, device and system for monitoring media data
CN105763429A (en) * 2016-04-28 2016-07-13 乐视控股(北京)有限公司 Automatic complementing method and system for account number inputting

Also Published As

Publication number Publication date
CN107733774A (en) 2018-02-23

Similar Documents

Publication Publication Date Title
CN107733774B (en) Account number association method and device
US8224304B2 (en) Systems and methods for disambiguating entries in a contacts list database implemented on a mobile device
RU2546317C2 (en) System and method for aggregation and association of professional affiliation data with commercial data content
CN103516591B (en) The implementation method of enterprise's address list and device in immediate communication platform
WO2019171262A1 (en) Ingredient updating method and apparatus and storage device
WO2019171263A1 (en) Ingredient updating method and storage device
US20150172419A1 (en) Systems and methods of address book management
CN106792653B (en) Communication number information processing method, device and system
CN105245436B (en) Position-based data management method and device
CN106131115B (en) Address book data based on cloud address list is issued automatically and more new system
US20080133587A1 (en) Extending Existing Data within a Directory Service
CN107332999A (en) A kind of Stranger Calls number identification method and device
CN109219051B (en) False number determination method, device, equipment and readable storage medium
JP6019187B1 (en) Company information matching apparatus and company information matching program
CN106372121B (en) Server and data processing method
CN116303402A (en) Data cleaning method based on data warehouse
CN113065323B (en) Method, device and equipment for importing contract template data and storage medium
JP4831152B2 (en) Destination information management system, communication terminal device, and destination information management program
CN114117524A (en) Data isolation method and device, electronic equipment and computer storage medium
JP5148157B2 (en) Customer information management device
CN113741889A (en) Method and equipment for intelligently accessing data of heterogeneous database
CN108173973B (en) Public article positioning method and system
JP5403273B2 (en) Information processing apparatus, information processing system, information processing method, and program
JP5250394B2 (en) EDI integrated processing system, EDI integrated processing method, and EDI integrated processing program
CN111859327A (en) Login role identification 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
CB02 Change of applicant information

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant