CN112769674B - Mailbox signature generation method and device, readable storage medium and computer equipment - Google Patents

Mailbox signature generation method and device, readable storage medium and computer equipment Download PDF

Info

Publication number
CN112769674B
CN112769674B CN201911074253.2A CN201911074253A CN112769674B CN 112769674 B CN112769674 B CN 112769674B CN 201911074253 A CN201911074253 A CN 201911074253A CN 112769674 B CN112769674 B CN 112769674B
Authority
CN
China
Prior art keywords
mailbox
signature
business card
server
setting
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
CN201911074253.2A
Other languages
Chinese (zh)
Other versions
CN112769674A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911074253.2A priority Critical patent/CN112769674B/en
Publication of CN112769674A publication Critical patent/CN112769674A/en
Application granted granted Critical
Publication of CN112769674B publication Critical patent/CN112769674B/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to a mailbox signature generation method, a mailbox signature generation device, a computer readable storage medium and computer equipment, wherein the method comprises the following steps: receiving a mail sending request uploaded by a terminal, extracting a terminal login user identifier and a target mailbox address carried by the mail sending request, searching identity information corresponding to the terminal login user identifier, wherein the identity information comprises business card information corresponding to the terminal login user identifier, generating signature data according to the identity information and a preset signature data format, and sending the signature data to a mailbox server corresponding to the target mailbox address, so that the mailbox server generates a mailbox signature containing the business card information according to the signature data, the conversion of the identity information and the signature data is realized in the server, the user participation threshold is reduced, the participation process of a user in the signature setting process is simplified, and the quick and convenient setting of the mailbox signature is realized.

Description

Mailbox signature generation method and device, readable storage medium and computer equipment
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method and an apparatus for generating a mailbox signature, a computer-readable storage medium, and a computer device.
Background
With the development of information technology, more and more office tools such as mailboxes, enterprise WeChat and the like appear, and the diversification of office modes brings certain inconvenience for office communication among users, and the problem is particularly obvious among different enterprises adopting different mainstream office tools.
In order to solve the problem, an external enterprise WeChat business card is set in the mail as a signature, so that a user receiving the mail can add an account number in the enterprise WeChat according to the signature to carry out office communication. In the traditional technology, a user generally needs to generate own external enterprise WeChat business card on an enterprise WeChat side, extract information in the business card, write own mail signature code and finally set the mail signature code into a mailbox for signature.
However, in the setting process of the signature, a user needs to obtain a business WeChat-to-exterior business card setting business card by himself, and a mail signature code needs to be compiled based on an HTML (Hypertext Markup Language) principle, so that the technical threshold is too high, and it is difficult to quickly and conveniently realize the generation of the set business card in the mail as the signature.
Disclosure of Invention
Based on this, it is necessary to provide a mailbox signature generation method, apparatus, computer-readable storage medium and computer device for solving the technical problem that it is difficult to quickly and conveniently implement the generation of a set business card as a signature in a mail.
A mailbox signature generation method comprises
Receiving a mail sending request uploaded by a terminal, and extracting a terminal login user identifier and a target mailbox address carried by the mail sending request;
searching identity information corresponding to the terminal login user identification, wherein the identity information comprises business card information corresponding to the terminal login user identification;
generating signature data according to the identity information and a preset signature data format;
and sending the signature data to a mailbox server corresponding to the target mailbox address so that the mailbox server generates a mailbox signature containing the business card information according to the signature data.
A mailbox signature generation apparatus, the apparatus comprising:
the receiving module is used for receiving a mail sending request uploaded by a terminal and extracting a terminal login user identifier and a target mailbox address carried by the mail sending request;
the searching module is used for searching identity information corresponding to the terminal login user identification, wherein the identity information comprises business card information corresponding to the terminal login user identification;
the generating module is used for generating signature data according to the identity information and a preset signature data format;
and the sending module is used for sending the signature data to a mailbox server corresponding to the target mailbox address so that the mailbox server generates a mailbox signature containing the business card information according to the signature data.
A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
receiving a mail sending request uploaded by a terminal, and extracting a terminal login user identifier and a target mailbox address carried by the mail sending request;
searching identity information corresponding to the terminal login user identification, wherein the identity information comprises business card information corresponding to the terminal login user identification;
generating signature data according to the identity information and a preset signature data format;
and sending the signature data to a mailbox server corresponding to the target mailbox address so that the mailbox server generates a mailbox signature containing the business card information according to the signature data.
A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of:
receiving a mail sending request uploaded by a terminal, and extracting a terminal login user identifier and a target mailbox address carried by the mail sending request;
searching identity information corresponding to the terminal login user identification, wherein the identity information comprises business card information corresponding to the terminal login user identification;
generating signature data according to the identity information and a preset signature data format;
and sending the signature data to a mailbox server corresponding to the target mailbox address so that the mailbox server generates a mailbox signature containing the business card information according to the signature data.
According to the mailbox signature generation method, the device, the computer readable storage medium and the computer equipment, the user identification and the target mailbox address are logged in through the terminal in the mail sending request, the mailbox and the business card setting object of the mailbox signature to be set are determined, the identity information containing the business card information is converted into signature data which can be identified by the mailbox server according to the set signature data format through the server and is sent to the mailbox server, so that the mailbox server realizes signature setting of the mailbox after obtaining the signature data, conversion of the identity information and the signature data is realized in the server, the participation threshold of a user is reduced, the participation process of the user in the signature setting process is simplified, and the quick and convenient setting of the mailbox signature is realized.
Drawings
FIG. 1 is a diagram of an application environment of a method for mailbox signature generation in one embodiment;
FIG. 2 is a flowchart illustrating a method for generating a mailbox signature in one embodiment;
FIG. 3 is a flowchart illustrating the steps of looking up identity information in the mailbox signature generation method in one embodiment;
FIG. 4 is a diagram of an enterprise WeChat interface for jumping in a mailbox signature generation method in one embodiment;
FIG. 5 is a diagram of an enterprise WeChat interface for jumping in a mailbox signature generation method according to another embodiment;
FIG. 6 is a flowchart illustrating a mailbox signature generation method in accordance with another embodiment;
FIG. 7 is a flowchart illustrating a mailbox signature generation method in accordance with still another embodiment;
FIG. 8 is a flowchart illustrating a mailbox signature generation method in accordance with another embodiment;
FIG. 9 is a timing diagram of a mailbox signature generation method in yet another embodiment;
fig. 10 is a block diagram showing the structure of a mailbox signature generation apparatus in one embodiment;
FIG. 11 is a block diagram that illustrates the architecture of a computing device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
Fig. 1 is a diagram of an application environment of a mailbox signature generation method in an embodiment. Referring to fig. 1, the mailbox signature generation method is applied to a signature information management system. The signature information management system includes a terminal 110, a server 120 corresponding to the terminal, and a mailbox server 130. The terminal 110 and the server 120 are connected through a network, and the server 120 and the mailbox server 130 are connected through a network. A user downloads a designated application program through a terminal, the application program can be office software such as enterprise WeChat, and after the application program is started, the user logs in a server by using a user account password so as to realize connection between the terminal and the server. The server receives a mail sending request uploaded by a terminal, extracts a terminal login user identifier and a target mailbox address carried by the mail sending request, searches identity information corresponding to the terminal login user identifier, wherein the identity information comprises business card information corresponding to the terminal login user identifier, generates signature data according to the identity information and a preset signature data format, sends the signature data to a mailbox server corresponding to the target mailbox address, and generates a mailbox signature containing the business card information according to the signature data by the mailbox server to realize signature setting in the mailbox.
In one application environment, the server and the mailbox server can belong to the same server cluster, and the server can realize interface calling of the mailbox server and automatically set the mailbox signature. For example, the server is an enterprise WeChat server, and the mailbox is an Tencent enterprise mailbox. In another application environment, the server and the mailbox server can call the interface only through authorization, before the mailbox server performs signature setting, the server and the server can send interface call authorization to the mailbox server, after authorization information is obtained, the interface is called to perform mailbox signature setting, and when the authorization is not obtained, the server can send generated signature data to the mailbox server so that a user performs signature setting by receiving the signature data, the signature data comprises HTML codes written according to a set format, and the user only needs to copy and paste and perform setting according to setting operation. The identity information is converted into the signature data in the server, so that the user participation threshold is reduced, the user participation process in the signature setting process is simplified, and the quick and convenient setting of the mailbox signature is realized.
In an embodiment, the terminal 110 may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The server 120 and the mailbox server 130 may be implemented by separate servers or a server cluster composed of a plurality of servers, and the server 120 and the mailbox server 130 may belong to the same server cluster or may belong to different server clusters.
As shown in fig. 2, in one embodiment, a mailbox signature generation method is provided. The embodiment is mainly illustrated by applying the method to the server 120 in fig. 1. Referring to fig. 2, the mailbox signature generation method specifically includes the following steps S210 to S240.
S210, receiving a mail sending request uploaded by the terminal, and extracting a terminal login user identifier and a target mailbox address carried by the mail sending request.
The terminal is a corresponding client terminal which needs to add identity information in the mailbox signature. For example, taking an example of adding an enterprise WeChat business card in a mailbox signature, a terminal refers to an enterprise WeChat client, a user logs in the client by using a personal account password, inputs a mailbox address on a mailbox address input interface of the client according to an operation prompt of the client, and generates a mail sending request according to an input target mailbox address and a terminal login user identifier of the client after detecting a confirmation operation triggered by the user, and sends the mail sending request to a server corresponding to the client. In one embodiment, the server may be an enterprise micro-mail server, and the terminal login user identifier may be an Identity Document (ID) of the user, such as an enterprise micro-signal. The server receives the mail sending request, extracts the carried terminal login user identification and the target mailbox address from the mail sending request to determine the mail content and the mail sending object to be sent, wherein the mail content is associated with the terminal login user identification, and the mail sending object is the mailbox corresponding to the target mailbox address.
S220, identity information corresponding to the terminal login user identification is searched, and the identity information comprises business card information corresponding to the terminal login user identification.
The identity information comprises business card information which needs to be displayed in a mailbox signature by the user, and is generated through registration data filled by the user and recorded in the server. In one embodiment, taking enterprise Wechat as an example, the identity information may include a user name, an enterprise name, a job title, and an account number of the user, and the information category of the business card information may be determined by the configuration data. For example, in the case of WeChat or other software, the business card information may be a nickname, a gender, and a user account number of the user. The configuration data can be configured according to a specific application scene, and the server can determine the identity information to be searched according to the business card information category in the configuration data.
In one embodiment, the business card information may further include an image code such as a two-dimensional code and a bar code corresponding to a terminal login user identifier, and the image code is written into the mailbox signature as one of the business card information, so that a user receiving the mail can establish contact with the user at the client by scanning the image code in the mailbox signature.
In one embodiment, as shown in fig. 3, searching for identity information corresponding to the terminal login user identification includes steps S310 to S330.
And S310, generating a signature setting authorization request according to the terminal login user identification.
S320, sending the mail carrying the signature setting authorization request to a mailbox corresponding to the target mailbox address.
S330, when receiving the authorization information fed back when the signature setting authorization request is triggered, searching the identity information corresponding to the terminal login user identification.
When a user sets or updates the signature of the mailbox, the user of the mailbox needs to obtain the authorization of the mailbox. The signature setting authorization request refers to a request for enabling a mailbox user to obtain identity information of the user at clients such as enterprise WeChat and the like for setting a mailbox signature. The server generates a signature setting authorization request according to the terminal login user identifier, specifically, the signature setting authorization request can be packaged as a trigger key, so as to determine whether to obtain authorization information fed back by the user according to whether the user triggers the trigger key.
In one embodiment, the body portion of the mail may be written directly to the signature examples data and signature settings authorization request. Specifically, the signature examples may be preset example data, that is, the signature examples sent to all mailboxes are the same. The signature example can also be example data generated in real time according to the terminal login user identification, namely an effect graph signed by the mailbox. The signature setting authorization request can be realized by setting a trigger key, and the trigger key can be marked with request authorization content. For example, "one key set" or "go to unlock" etc. When the user clicks the trigger key, the server responds to the trigger operation of the user to obtain the authorization information. By writing signature example data and a signature setting authorization request in the mail body, a user can quickly and clearly acquire the mail content and the action to be executed, the user operation is simplified, and the user experience is improved.
In another embodiment, the mail may include a URL address corresponding to the terminal login user identifier, the server sends the mail including the URL (uniform resource locator) address to a mailbox corresponding to the target mailbox address, and when the user views the mail and clicks the URL address in the mail, the user jumps to an interface corresponding to the URL address. Taking the example of setting the enterprise WeChat business card in the mailbox, when the user clicks the URL address, the user can jump to the corresponding enterprise WeChat interface. The enterprise wechat interface can be a web page interface, and the enterprise wechat interface can comprise a signature example and an authorization request trigger key.
In one embodiment, different interface display data or mail text contents are set according to the domain name corresponding to the target mailbox address. And the server judges whether the server interface can be called to set the mailbox signature according to the address of the target mailbox, and determines corresponding interface display data or mail text content according to the judgment result. Specifically, as shown in fig. 4, for a mailbox server that can make an interface call, the authorization content on the trigger key is "one-key setting". As shown in fig. 5, for the mailbox server that cannot make an interface call, the authorization content on the trigger key is "go to open", and the interface display data or the mail body content further includes signature setting operation guidance data. Through the arrangement, the classification of the mail content under the condition of different mailbox servers can be realized, so that the operation needing the participation of the user is determined according to the functions which can be realized by the mailbox servers, and the signature setting of different types of mailboxes is realized.
And S230, generating signature data according to the identity information and a preset signature data format.
The preset signature data format refers to a requirement specification for displaying the identity information of each category at a set position in a set data format. Such as the location of each of the data, such as name, company name, job title, font size, font color, and font style (italic, bold, underline, etc.). The signature data is data that standardizes the identity information according to a preset signature data format. In one embodiment, the signature data may be obtained by compiling the identity information in a preset signature data format in a machine language. The mailbox server can generate a signature shown according to a preset signature data format according to the signature data.
S240, the signature data are sent to the mailbox server corresponding to the target mailbox address, so that the mailbox server generates a mailbox signature containing the business card information according to the signature data.
And the server generates a signature setting request comprising mailbox identification and signature data corresponding to the target mailbox address to the mailbox server according to the target mailbox address. And the mailbox server converts the signature data into the mailbox signature of the mailbox identifier based on the signature setting logic of the mailbox server according to the mailbox identifier, so that the signature setting of the target mailbox is realized.
According to the mailbox signature generation method, the user identification and the target mailbox address are logged in through the terminal in the mail sending request, the mailbox and the business card setting object of the mailbox signature to be set are determined, the identity information containing the business card information is converted into signature data which can be identified by the mailbox server according to the set signature data format through the server, and the signature data is sent to the mailbox server, so that the mailbox server realizes signature setting of the mailbox after acquiring the signature data, conversion of the identity information and the signature data is realized in the server, the participation threshold of a user is reduced, the participation process of the user in the signature setting process is simplified, and quick and convenient setting of the mailbox signature is realized.
In one embodiment, before generating the signature setting authorization request according to the terminal login user identification, the method further comprises the following steps:
and acquiring a mailbox server identifier with an interface calling relationship established in advance. And constructing a mailbox domain name list according to the mailbox domain name corresponding to the mailbox server identifier.
Generating a signature setting authorization request according to the terminal login user identifier comprises the following steps:
and when the mailbox domain name list contains the mailbox domain name of the target mailbox address, generating a signature setting authorization request for calling a signature setting interface.
The interface call relation refers to the contact established when the server and the mailbox server achieve consensus in advance and allow the server to call some data processing interfaces of the mailbox server for data processing under the condition of user authorization. For example, the call relationship between servers belonging to the same server cluster, such as an enterprise WeChat Server and an Advance Enterprise mailbox Server. For another example, the same enterprise develops a software server and a mailbox server, such as an enterprise WeChat Server and a QQ mailbox server. For another example, different companies may have an agreement between a software server and a mailbox server, such as an enterprise WeChat Server and 163 mailbox servers, that allow access by each other. In an embodiment, the data processing interface may comprise a signature settings interface. And a signature setting interface of the mailbox server sets the signature of the corresponding mailbox as the mailbox signature corresponding to the signature data according to the received signature data under the user authorization condition. The server determines a mailbox domain name corresponding to the mailbox server identifier according to the mailbox server identifier with an interface calling relationship established in advance, thereby determining whether the mailbox server corresponding to the target mailbox address can be called according to the mailbox domain name in the target mailbox address input by the user and carrying out mailbox signature setting.
When the number of the mailbox server identifications pre-established with the interface calling relation is multiple, a mailbox domain name list is constructed according to the mailbox domain names corresponding to the mailbox server identifications, and when the server receives a target mailbox address uploaded by a user through a terminal, the server traverses the mailbox domain name list by extracting the mailbox domain name of the target mailbox address and determines whether the mailbox domain name list contains the mailbox domain name. And when the mailbox domain name list contains the mailbox domain name of the target mailbox address, generating a signature setting authorization request comprising calling a signature setting interface. Based on the signature setting authorization request containing the call signature setting interface, when the user authorizes, the server can call the signature setting interface of the mailbox server to set the mailbox signature of the target mailbox.
In one embodiment, the step of sending the signature data to the mailbox server corresponding to the target mailbox address so that the mailbox server generates the mailbox signature containing the business card information according to the signature data includes steps S610 to S620.
S610, the signature data is sent to a mailbox server.
And S620, calling a signature setting interface corresponding to the mailbox server to enable the signature setting interface to execute preset signature setting logic, and generating a mailbox signature containing the mailbox signature of the business card information based on the signature data.
After a user receives a mail containing a signature setting authorization request for calling a signature setting interface, when a server receives authorization information fed back by the user, the server sends the authorization information to a mailbox server, the mailbox server agrees to call a signature setting interface corresponding to the mailbox server according to the authorization request, the server sends signature data to the signature setting interface, the signature setting interface executes preset signature setting logic, converts the signature data into a mailbox signature and replaces the current existing mailbox signature. By calling the signature setting interface of the mailbox server, one-key setting of the mailbox signature can be realized, user operation is simplified, and quick setting of the mailbox signature is realized.
In one embodiment, after constructing the mailbox domain name list according to the mailbox domain name corresponding to the mailbox server identifier, the method further includes: when the mailbox domain name list does not contain the mailbox domain name of the target mailbox address, acquiring mailbox setting operation guide data; and sending the signature data and the mailbox setting operation guide data to a mailbox corresponding to the target mailbox address, wherein the mailbox setting operation guide data is used for guiding a user to carry out setting operation and generating a mailbox signature corresponding to the signature data.
The mailbox domain name list does not contain the mailbox domain name of the target mailbox address, and the connection relation of interface calling is not established between the characterization server and the mailbox server corresponding to the target mailbox address, so that the server cannot directly call the signature setting interface of the target server to realize one-key setting of mailbox signatures. In the embodiment, the signature data is data in a programming language format, at the moment, the server sends the signature data and the mailbox setting operation guide data to the mailbox corresponding to the target mailbox address, after the user receives the mail, the user can check the signature data, and the signature setting operation of the mailbox is carried out according to the mailbox setting operation guide data by copying the signature data, so that the user does not need to master programming knowledge to write programs, and the mailbox signature can be obtained only by carrying out the setting operation according to the mailbox setting operation guide data.
In one embodiment, the server obtains updated mailbox setting operation guide data by adding the signature data to the mailbox setting operation guide data, then sends the updated mailbox setting operation guide data serving as a mailbox text to a mailbox corresponding to a target mailbox address, and the updated mailbox setting operation guide data is used for guiding a user to perform setting operation on the mailbox by using the signature data to generate a mailbox signature.
In another embodiment, the server sends the URL address corresponding to the terminal login user identification to the mailbox corresponding to the target mailbox address, after the user clicks the URL address, the mailbox login terminal jumps to an interface corresponding to the URL address from the mailbox interface, and when the server receives a trigger signal of the URL address, sending interface configuration data including mailbox setting operation guide data and trigger key to mailbox login terminal, obtaining mailbox setting operation guide data in interface by user, including mailbox signature example in the mailbox setting operation guide data, when the user triggers a trigger key of the interface, the server sends interface configuration data including signature data to the mailbox login terminal, the signature data is configured into code data which can be copied through the association button, and a user copies the code data by clicking the association button and performs mailbox signature setting according to mailbox setting operation guide data.
In one embodiment, the business card information is a two-dimensional code business card. Generating signature data according to the identity information and a preset signature data format comprises: and acquiring a business card reading link corresponding to the two-dimensional code business card, and performing link packaging processing. And according to a preset signature data format, converting the basic information in the identity information and the packaged business card reading link into signature data in a hypertext markup language format.
The business card information in the two-dimensional code format is added into the mailbox signature, a user receiving the mail can conveniently add the user corresponding to the two-dimensional code as a friend by scanning the two-dimensional code, office communication is carried out at a client corresponding to the two-dimensional code, and the like, the business card reading link corresponding to the two-dimensional code business card is packaged, namely the two-dimensional code business card of the user is not directly displayed in the mailbox signature, but is written in a link form, and is converted into signature data in the hypertext markup language format together with other basic information of the user except the two-dimensional code business card, so that the two-dimensional code business card of the user cannot be directly displayed in the mailbox signature of the user, the data in the picture format cannot be displayed in the mailbox signature part, and the mail interception phenomenon caused by judging the two-dimensional code picture as a junk mail by part of a mailbox server is avoided.
In one embodiment, when a business card reading request which triggers sending of a packaged business card reading link is received, a two-dimensional code business card corresponding to the business card reading link is fed back.
As shown in fig. 7, the business card reading link has a one-to-one correspondence with the two-dimensional code business card of the user, and when the user clicks the business card reading link, the server receives the business card reading request and feeds back the two-dimensional code business card corresponding to the business card reading link to the mailbox login terminal.
Fig. 8 is a flowchart illustrating a mailbox signature generation method according to an embodiment. It should be understood that, although the steps in the flowchart of fig. 8 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least a portion of the steps in fig. 8 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 8, a mailbox signature generation method is provided, which includes steps S802 to S826.
S802, receiving a mail sending request uploaded by the terminal, and extracting a terminal login user identifier and a target mailbox address carried by the mail sending request.
S804, acquiring the mailbox server identification with the interface calling relationship established in advance.
And S806, constructing a mailbox domain name list according to the mailbox domain name corresponding to the mailbox server identifier.
And S808, when the mailbox domain name list contains the mailbox domain name of the target mailbox address, generating a signature setting authorization request comprising calling a signature setting interface.
And S810, sending the mail carrying the signature setting authorization request to a mailbox corresponding to the target mailbox address.
S812, when receiving authorization information fed back when the signature setting authorization request is triggered, searching identity information corresponding to the terminal login user identification, wherein the identity information comprises a two-dimensional code name card corresponding to the terminal login user identification.
S814, obtaining the business card reading link corresponding to the two-dimensional code business card, and performing link packaging processing.
And S816, according to a preset signature data format, converting the basic information in the identity information and the packaged business card reading link into signature data in a hypertext markup language format.
And S818, sending the signature data to a mailbox server.
And S820, calling a signature setting interface corresponding to the mailbox server to enable the signature setting interface to execute preset signature setting logic, and generating a mailbox signature containing the mailbox signature of the business card information based on the signature data.
And S822, acquiring mailbox setting operation guide data when the mailbox domain name list does not contain the mailbox domain name of the target mailbox address.
And S824, sending the signature data and the mailbox setting operation guide data to a mailbox corresponding to the target mailbox address, wherein the mailbox setting operation guide data is used for guiding a user to perform setting operation and generating a mailbox signature corresponding to the signature data.
And S826, when a business card reading request sent by triggering the packaged business card reading link is received, feeding back a two-dimensional code business card corresponding to the business card reading link.
In an application example, taking the example that an external enterprise business card corresponding to enterprise WeChat is added to a mailbox signature, a mailbox signature generation method is provided.
In the traditional technology, a user generates own external enterprise WeChat business card on the WeChat side of an enterprise, extracts information in the business card, writes own mail signature code, and finally sets the mail signature code to an own mailbox. However, the existing technology has a high threshold, and a user needs to know the HTML principle, how to obtain the WeChat-to-outside business card of an enterprise, and how to make a mail signature. The following method provides a technical scheme for realizing the use of enterprise WeChat business cards by users in the same series of mailboxes and non-same series mailboxes of enterprise WeChat. Besides the automatic generation of the mail signature, the mail signature can be automatically written by identifying that the user is the same series of mailboxes, and the non-same series of mailboxes guide the user to set the signature.
For the same series of mailboxes associated with the enterprise WeChat, flight system mailboxes such as QQ mailboxes and flight enterprise mailboxes are used. After a user inputs a mailbox address through the enterprise wechat client, the enterprise wechat client sends the mailbox address to the enterprise wechat server, the enterprise wechat server automatically identifies the mailbox as a flight message system mailbox according to a mailbox domain name, generates a URL address which is uniquely received by the user logged in the enterprise wechat client at present, writes the URL address into a mail as an informing mail and sends the informing mail to a mailbox input by the user, and the user clicks to receive the URL address after checking the mail. And jumping to an enterprise WeChat page at the mailbox login terminal. The enterprise wechat server acquires identity information registered in enterprise wechat of the user through the unique identification code in the URL to generate a mailbox signature, calls the Tencent system mailbox background API, writes a mailbox signature file of the user through the Tencent system mailbox background API, and finally informs the user of successful signature acquisition through an enterprise wechat page.
For non-identical series mailboxes which are not associated with enterprise WeChat, such as 139 mailboxes, Sina mailboxes and other non-flight-system mailboxes. After a user inputs a mailbox address through the enterprise WeChat client, the enterprise WeChat client sends the mailbox address to the enterprise WeChat server, the enterprise WeChat server automatically identifies the mailbox as a non-Tencent system mailbox according to the mailbox domain name, a URL address which is uniquely received by the current enterprise WeChat client logging user is generated, then the URL address is written into a mail and used as a mailbox for informing the user to send the mail to the user, and the user clicks to receive the URL address after checking the mail. And jumping to an enterprise WeChat page at the mailbox login terminal. The enterprise wechat server acquires the identity information registered in the enterprise wechat of the user through the unique identification code in the URL, generates a mailbox signature, returns the mailbox signature to the user page, informs the user that the user can click and copy the mail signature to the sticky version, creates a new signature in the mailbox signature file and enters the sticky version.
Specifically, as shown in fig. 9, a time sequence diagram for implementing a mailbox signature generation method is provided by taking a mailbox signature generation process of a flight system mailbox associated with an enterprise WeChat as an example.
The enterprise WeChat client sends a mail sending request containing a target mailbox address to the enterprise WeChat server, the enterprise WeChat server extracts a terminal login user identifier and the target mailbox address, automatically identifies the terminal as an Tencent mailbox according to a mailbox domain name, generates a mail containing a signature setting authorization request corresponding to the terminal login user identifier, then sends the terminal login user identifier to a mailbox server input by a user, the mailbox server sends the mail to the mailbox client, and the user confirms authorization after checking the mail. The enterprise WeChat server acquires identity information registered in enterprise WeChat of the user, generates mailbox signature data, sends the mailbox signature data to the mailbox server, and writes a mailbox signature file of the user by utilizing the Tencent system mailbox background API to generate a mailbox signature.
As shown in fig. 10, in one embodiment, a mailbox signature generation apparatus 1000 is provided and includes a receiving module 1002, a lookup module 1004, a generation module 1006, and a sending module 1008.
The receiving module 1002 is configured to receive a mail sending request uploaded by a terminal, and extract a terminal login user identifier and a target mailbox address carried in the mail sending request;
the searching module 1004 is used for searching identity information corresponding to the terminal login user identification, wherein the identity information comprises business card information corresponding to the terminal login user identification;
a generating module 1006, configured to generate signature data according to the identity information and a preset signature data format;
and a sending module 1008, configured to send the signature data to a mailbox server corresponding to the target mailbox address, so that the mailbox server generates a mailbox signature including the business card information according to the signature data.
According to the mailbox signature generation device, the user identification and the target mailbox address are logged in through the terminal in the mail sending request, the mailbox and the business card setting object of the mailbox signature needing to be set are determined, the identity information containing the business card information is converted into signature data which can be identified by the mailbox server according to the set signature data format through the server, and the signature data is sent to the mailbox server, so that the mailbox server realizes signature setting of the mailbox after obtaining the signature data, conversion of the identity information and the signature data is realized in the server, the participation threshold of a user is reduced, the participation process of the user in the signature setting process is simplified, and the quick and convenient setting of the mailbox signature is realized.
In one embodiment, the lookup module 1004 further includes a generation unit, a transmission unit, and a lookup unit.
And the generating unit is used for generating a signature setting authorization request according to the terminal login user identifier.
And the sending unit is used for sending the mail carrying the signature setting authorization request to a mailbox corresponding to the target mailbox address.
And the searching unit is used for searching the identity information corresponding to the terminal login user identification when receiving the authorization information fed back when the signature setting authorization request is triggered.
In one embodiment, the mailbox signature generation device further comprises a list construction module, wherein the list construction module is used for acquiring a mailbox server identifier with an interface call relationship established in advance; and constructing a mailbox domain name list according to the mailbox domain name corresponding to the mailbox server identifier.
The generating unit is further used for generating a signature setting authorization request comprising calling a signature setting interface when the mailbox domain name list comprises the mailbox domain name of the target mailbox address.
In one embodiment, the sending module 1008 is further configured to send the signature data to a mailbox server; and calling a signature setting interface corresponding to the mailbox server to enable the signature setting interface to execute preset signature setting logic, and generating a mailbox signature of the mailbox signature containing the business card information based on the signature data.
In one embodiment, the mailbox signature generating device further includes a second sending module, configured to obtain mailbox setting operation guidance data when the mailbox domain name list does not include the mailbox domain name of the target mailbox address; and sending the signature data and the mailbox setting operation guide data to a mailbox corresponding to the target mailbox address, wherein the mailbox setting operation guide data is used for guiding a user to carry out setting operation and generating a mailbox signature corresponding to the signature data.
In one embodiment, the business card information is a two-dimensional code business card. The generating module 1006 is further configured to obtain a name card reading link corresponding to the two-dimensional code name card, and perform link encapsulation processing; and according to a preset signature data format, converting the basic information in the identity information and the packaged business card reading link into signature data in a hypertext markup language format.
In an embodiment, the mailbox signature generating apparatus further includes a business card feedback module, configured to feed back a two-dimensional code business card corresponding to a business card reading link when receiving a business card reading request that triggers sending of the encapsulated business card reading link.
FIG. 11 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the server 120 in fig. 1. As shown in fig. 11, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen, which are connected through a system bus. The memory comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the mailbox signature generation method. The internal memory may also have stored therein a computer program that, when executed by the processor, causes the processor to perform a mailbox signature generation method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 11 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the mailbox signature generation apparatus provided in the present application may be implemented in the form of a computer program, and the computer program may be run on a computer device as shown in fig. 11. The memory of the computer device may store various program modules constituting the mailbox signature generation apparatus, such as the receiving module 1002, the searching module 1004, the generating module 1006 and the sending module 1008 shown in fig. 10. The computer program constituted by the program modules causes the processor to execute the steps in the mailbox signature generation method according to the embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 11 may execute, through the receiving module 1002 in the mailbox signature generation apparatus shown in fig. 10, a mail sending request uploaded by a receiving terminal, and extract a terminal login user identifier and a target mailbox address carried in the mail sending request. The computer device may perform a search for identity information corresponding to the terminal login user identifier through the search module 1004, where the identity information includes business card information corresponding to the terminal login user identifier. The computer device may execute generating signature data according to the identity information and a preset signature data format by the generating module 1006. The computer device may send the signature data to the mailbox server corresponding to the target mailbox address through the sending module 1008, so that the mailbox server generates a mailbox signature containing the business card information according to the signature data.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the above mailbox signature generation method. Here, the steps of the mailbox signature generation method may be steps in the mailbox signature generation methods of the various embodiments described above.
In one embodiment, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, causes the processor to perform the steps of the mailbox signature generation method described above. Here, the steps of the mailbox signature generation method may be steps in the mailbox signature generation methods of the foregoing embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (16)

1. A mailbox signature generation method comprises the following steps:
receiving a mail sending request uploaded by a terminal, and extracting a terminal login user identifier and a target mailbox address carried by the mail sending request, wherein the target mailbox address is a mailbox address of a mail sender;
searching identity information corresponding to the terminal login user identification, wherein the identity information comprises business card information corresponding to the terminal login user identification;
generating signature data according to the identity information and a preset signature data format;
and sending the signature data to a mailbox server corresponding to the target mailbox address so that the mailbox server generates a mailbox signature containing the business card information according to the signature data.
2. The method of claim 1, wherein the searching for identity information corresponding to the terminal login user identifier comprises:
generating a signature setting authorization request according to the terminal login user identifier;
sending the mail carrying the signature setting authorization request to a mailbox corresponding to the target mailbox address;
and when receiving the authorization information fed back when the signature setting authorization request is triggered, searching the identity information corresponding to the terminal login user identification.
3. The method according to claim 2, before said generating a signature setup authorization request according to said terminal login user identification, further comprising:
acquiring a mailbox server identifier pre-established with an interface calling relationship;
constructing a mailbox domain name list according to the mailbox domain name corresponding to the mailbox server identifier;
the generating of the signature setting authorization request according to the terminal login user identifier comprises:
and when the mailbox domain name list contains the mailbox domain name of the target mailbox address, generating a signature setting authorization request comprising calling a signature setting interface.
4. The method according to claim 3, wherein the sending the signature data to a mailbox server corresponding to the target mailbox address so that the mailbox server generates a mailbox signature containing the business card information according to the signature data comprises:
sending the signature data to the mailbox server;
and calling a signature setting interface corresponding to the mailbox server to enable the signature setting interface to execute preset signature setting logic, and generating a mailbox signature containing the business card information based on the signature data.
5. The method according to claim 3, wherein after the constructing the mailbox domain name list according to the mailbox domain name corresponding to the mailbox server identifier, further comprises:
when the mailbox domain name list does not contain the mailbox domain name of the target mailbox address, acquiring mailbox setting operation guide data;
and sending the signature data and the mailbox setting operation guide data to a mailbox corresponding to the target mailbox address, wherein the mailbox setting operation guide data is used for guiding a user to carry out setting operation and generating a mailbox signature corresponding to the signature data.
6. The method according to claim 1, wherein the business card information is a two-dimensional code business card;
the generating signature data according to the identity information and a preset signature data format comprises:
acquiring a business card reading link corresponding to the two-dimensional code business card, and performing link packaging processing;
and converting the basic information in the identity information and the packaged business card reading link into signature data in a hypertext markup language format according to a preset signature data format.
7. The method of claim 6, further comprising:
and when a business card reading request which triggers the sending of the packaged business card reading link is received, feeding back the two-dimensional code business card corresponding to the business card reading link.
8. A mailbox signature generation apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving a mail sending request uploaded by a terminal, and extracting a terminal login user identifier and a target mailbox address carried by the mail sending request, wherein the target mailbox address is a mailbox address of a mail sender;
the searching module is used for searching identity information corresponding to the terminal login user identification, wherein the identity information comprises business card information corresponding to the terminal login user identification;
the generating module is used for generating signature data according to the identity information and a preset signature data format;
and the sending module is used for sending the signature data to a mailbox server corresponding to the target mailbox address so that the mailbox server generates a mailbox signature containing the business card information according to the signature data.
9. The apparatus of claim 8, wherein the lookup module comprises a generation unit, a transmission unit, and a lookup unit:
the generating unit is used for generating a signature setting authorization request according to the terminal login user identification;
the sending unit is used for sending the mail carrying the signature setting authorization request to a mailbox corresponding to the target mailbox address;
and the searching unit is used for searching the identity information corresponding to the terminal login user identification when receiving the authorization information fed back when the signature setting authorization request is triggered.
10. The apparatus according to claim 9, wherein the mailbox signature generating apparatus further comprises a list construction module, configured to obtain a mailbox server identifier with an interface call relationship established in advance; constructing a mailbox domain name list according to the mailbox domain name corresponding to the mailbox server identifier;
the generating unit is further configured to generate a signature setting authorization request including invoking a signature setting interface when the mailbox domain name list includes the mailbox domain name of the target mailbox address.
11. The apparatus of claim 10, wherein the sending module is further configured to send the signature data to the mailbox server; and calling a signature setting interface corresponding to the mailbox server to enable the signature setting interface to execute preset signature setting logic, and generating a mailbox signature containing the business card information based on the signature data.
12. The apparatus according to claim 10, wherein the mailbox signature generating apparatus further includes a second sending module, configured to obtain mailbox setting operation guidance data when the mailbox domain name of the target mailbox address is not included in the mailbox domain name list; and sending the signature data and the mailbox setting operation guide data to a mailbox corresponding to the target mailbox address, wherein the mailbox setting operation guide data is used for guiding a user to carry out setting operation and generating a mailbox signature corresponding to the signature data.
13. The apparatus of claim 8, wherein the business card information is a two-dimensional code business card;
the generating module is further used for obtaining the name card reading link corresponding to the two-dimensional code name card and performing link packaging processing; and converting the basic information in the identity information and the packaged business card reading link into signature data in a hypertext markup language format according to a preset signature data format.
14. The apparatus according to claim 13, wherein the mailbox signature generating apparatus further includes a business card feedback module, configured to feed back a two-dimensional code business card corresponding to the business card reading link when receiving a business card reading request that triggers sending of the encapsulated business card reading link.
15. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 7.
16. A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 7.
CN201911074253.2A 2019-11-06 2019-11-06 Mailbox signature generation method and device, readable storage medium and computer equipment Active CN112769674B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911074253.2A CN112769674B (en) 2019-11-06 2019-11-06 Mailbox signature generation method and device, readable storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911074253.2A CN112769674B (en) 2019-11-06 2019-11-06 Mailbox signature generation method and device, readable storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN112769674A CN112769674A (en) 2021-05-07
CN112769674B true CN112769674B (en) 2022-07-19

Family

ID=75692965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911074253.2A Active CN112769674B (en) 2019-11-06 2019-11-06 Mailbox signature generation method and device, readable storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN112769674B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312132B (en) * 2021-06-16 2023-05-23 腾讯科技(深圳)有限公司 Mail sending method, device, equipment and storage medium
CN113556330B (en) * 2021-07-06 2023-03-24 上海传英信息技术有限公司 Business card information management method, mobile terminal and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8341396B1 (en) * 2005-06-10 2012-12-25 Sprint Spectrum L.P. Dynamic selection and insertion of signature blocks during message transmission
CN101127730B (en) * 2006-08-14 2012-04-18 阿里巴巴集团控股有限公司 A method and system for generating Email signature
CN104917672B (en) * 2015-06-25 2019-05-21 小米科技有限责任公司 Mail signature setting method and device

Also Published As

Publication number Publication date
CN112769674A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
US11252203B2 (en) Method for processing message in group session, storage medium, and computer device
CN107665233B (en) Database data processing method and device, computer equipment and storage medium
CN109600408B (en) Resource sharing method and device, storage medium and computer equipment
CN108829528B (en) Content sharing method and device, and message processing method and device
CN107784552B (en) Information push task execution method and device, computer equipment and storage medium
CN110177039B (en) Message sharing method and device, computer equipment and storage medium
CN109542366B (en) Printing method, device, equipment and storage medium based on browser
RU2017134532A (en) SYSTEM AND METHOD FOR EXTRACTING AND JOINT USE OF CUSTOMIZED DATA ASSOCIATED WITH THE APPLICATION
CN110688598B (en) Service parameter acquisition method and device, computer equipment and storage medium
CN110750222A (en) Printing method, printing device, computer equipment and storage medium
CN112769674B (en) Mailbox signature generation method and device, readable storage medium and computer equipment
CN108959384B (en) Webpage data acquisition method and device, computer equipment and storage medium
CN111475310B (en) Message sharing method and device and user data acquisition method and device
CN111182065A (en) Message processing method and device based on MQTT protocol and computer equipment
US11405403B2 (en) Method and device, and server and terminal for processing network resource access
CN108062714B (en) Annuity data sending method and device, computer equipment and storage medium
CN109040284B (en) Information display and information push method, device, equipment and storage medium
CN111506551A (en) Conference file extraction method and system and computer equipment
CN111190727A (en) Asynchronous memory destructuring method and device, computer equipment and storage medium
CN108418797B (en) Webpage access method and device, computer equipment and storage medium
CN110083782A (en) Inspection method, device, computer equipment and the storage medium of electronic insurance policy
CN111026988A (en) Page loading method, device and system and computer equipment
CN107357562B (en) Information filling method, device and client
CN115190112A (en) Marketing data processing method, server and storage medium
CN114745146B (en) Jump interception method, apparatus, readable storage medium 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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40049227

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant