CN108965095A - Mail analytic method, mail resolution system, electronic equipment and readable storage medium storing program for executing - Google Patents

Mail analytic method, mail resolution system, electronic equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN108965095A
CN108965095A CN201710346730.0A CN201710346730A CN108965095A CN 108965095 A CN108965095 A CN 108965095A CN 201710346730 A CN201710346730 A CN 201710346730A CN 108965095 A CN108965095 A CN 108965095A
Authority
CN
China
Prior art keywords
mailbox
mail
parsing
server
resolution system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710346730.0A
Other languages
Chinese (zh)
Other versions
CN108965095B (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 Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201710346730.0A priority Critical patent/CN108965095B/en
Publication of CN108965095A publication Critical patent/CN108965095A/en
Application granted granted Critical
Publication of CN108965095B publication Critical patent/CN108965095B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/62Establishing a time schedule for servicing the requests

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 present invention provides a kind of mail analytic method, mail resolution system, electronic equipment and readable storage medium storing program for executing.The mail analytic method includes: to receive mail by each mailbox in multiple first mailboxes;According to mailbox mapping relations, by email relaying server by the mail distribution from each first mailbox to one or more second mailboxes, to carry out mail parsing in second mailbox, wherein first mailbox and second mailbox are associated by the mailbox mapping relations;A corresponding thread is distributed respectively to each second mailbox, and then each second mailbox is parsed simultaneously in a parallel fashion;And the parsing result according to the parsing, to configure the mailbox mapping relations.

Description

Mail analytic method, mail resolution system, electronic equipment and readable storage medium storing program for executing
Technical field
The present invention relates to a kind of mail analytic method, mail resolution system, electronic equipment and readable storage medium storing program for executing, it is specific and Speech, by realizing that configurable mail is parsed based on timer-triggered scheduler and cloud storage.
Background technique
Large-scale e-commerce website, is especially directly facing the B2C business web site of individual consumer, can all receive daily A large amount of Email.And Email has been the important means for communicating with each other between employee, conveying order, reporting the work. Company is equipped with various enterprise's mailboxes to realize the different division of labor, and if customer service mailbox specially receives Customer mail, unbundlings mailbox is special Receive the unbundlings request of customer accounting code and cell-phone number.A large amount of mails are handled in order to solve collaboration between several customer services.The prior art It is middle to complete to use javaMail to the real time scan of mail in specified mailbox using Clover2.0 distributed timing task system Technology parses mail.
Clover2.0 distributed timing task system is a kind of enterprise servers bus, by SOA Services Integration with Scheduling makes system have lower coupling, and preferably extended capability etc..Dispatch service is realized by Worker.Each Worker is equivalent to a dispatch service, and each Worker uses web as home server, while allowing Clover is unified to manage Reason, such as scheduler task Thread Count, runing time, open and close etc..
Mail is converted into mail requests input database, then different requests is distributed to different customer services.It realizes more Collaboration handles the different mail in same mailbox between name customer service, and sender is same mailbox again when sending mail.
For business web site, when a certain business increases a mailbox newly every time, such as it is used for receiving client Mail, then business web site will increase a Worker timed task to parse more.And the business increment of enterprise and different Business scenario is changed constantly again, in this way since, if increasing a mailbox newly often it is necessary to develop the parsing of mailbox again Task, which not only adds workloads, also extend the on-line time of new demand.
In realizing process of the present invention, at least there are the following problems in the prior art for inventor's discovery:
1) single thread parses, and processing speed is slow.
Since mail does not have fragment number, if multithreading parses a mailbox simultaneously and can bring mail parsing repetition, data The problems such as repeating typing.
2) increasing mailbox newly needs exploitation code again
With the extension of business scenario, mailbox is increased newly every time, will develop a mail again automatically parses service.And And the multiplicity of code is high, not only causes extra work to bear to engineer, more influence job schedule.
3) server disk occupied space is big.
The attachment of mail is saved directly on every application server, can occupy a large amount of disk space.
Summary of the invention
In view of this, the one aspect of the embodiment of the present invention provides a kind of mail analytic method comprising: by multiple Each mailbox in first mailbox receives mail;It, will be from each by email relaying server according to mailbox mapping relations The mail distribution of first mailbox is to one or more second mailboxes, to carry out mail parsing in second mailbox, wherein First mailbox and second mailbox are associated by the mailbox mapping relations;Each second mailbox is distinguished A corresponding thread is distributed, and then each second mailbox is parsed simultaneously in a parallel fashion;And according to described The parsing result of parsing, to configure the mailbox mapping relations.
Further, the mail analytic method further include: if parsing result is shown in the multiple first mailbox At least one mailbox volume of mail increase, then extend the number of the second mailbox corresponding at least one mailbox.
Further, the mail analytic method further include: if parsing result is shown in the multiple first mailbox At least one mailbox volume of mail reduce, then reduce the number of the second mailbox corresponding at least one mailbox.
Further, the mail analytic method further include: during being parsed to mail, to second postal Each mailbox in case individually distributes a thread, to execute mail parsing.
Further, the mail analytic method further include: pass through cloud storage mode, the attachment of the mail after being resolved It is uniformly stored in cloud storage service device, while the path for the attachment being saved being saved in database.
Further, the mail analytic method further include: the mail after will be resolved is converted into mail requests and creates Mail requests table is built, in the mail requests table, preserves the title and text of the mail.
The embodiment of the present invention another aspect provides a kind of mail resolution systems comprising: mail server, packet Containing multiple first mailboxes and multiple second mailboxes, first mailbox is for receiving the mail from the exterior;Mail Forwarding server, be used for will the mail distribution from first mailbox to second mailbox;Task scheduling server, For parsing the mail in second mailbox;And mailbox configurations portion, it is used to configure about first mailbox and institute Mailbox message in each of the second mailbox is stated, and includes the mailbox mapping pass of first mailbox and second mailbox System, wherein according to mailbox mapping relations, arrived the mail distribution from each first mailbox by email relaying server One or more of described second mailbox is serviced with carrying out mail parsing in second mailbox by the task schedule Device parses each second mailbox;And by the mailbox configurations portion, according to the parsing result of the parsing, To configure the mailbox mapping relations.
Further, in the mail resolution system, if parsing result is shown in the multiple first mailbox The volume of mail of at least one mailbox increases, then the mailbox configurations portion extends the second mailbox corresponding at least one mailbox Number.
Further, in the mail resolution system, if parsing result is shown in the multiple first mailbox The volume of mail of at least one mailbox is reduced, then the mailbox configurations portion reduces the second mailbox corresponding at least one mailbox Number.
Further, in the mail resolution system, the task scheduling server is to every in second mailbox A mailbox individually distributes a thread, to execute mail parsing.
Further, in the mail resolution system, the mail resolution system further includes cloud storage service device, In, it is uniformly stored in the cloud storage service device by the attachment of cloud storage mode, the mail after being resolved, while will be attached The path of part is saved in database.
Further, in the mail resolution system, the mail resolution system further includes mail text server, In, the task scheduling server is also used to: the mail after will be resolved is converted into mail requests and creates mail requests table, And the mail requests table is stored in the mail text server, in the mail requests table, preserve the mail Title and text.
The embodiment of the present invention another aspect provides a kind of electronic equipment comprising: one or more processors;It deposits Storage device, for storing one or more programs, when one or more of programs are executed by one or more of processors, So that one or more of processors realize the method as described in above-mentioned various aspects.
The embodiment of the present invention another aspect provides a kind of computer-readable mediums, be stored thereon with computer journey Sequence realizes the method as described in above-mentioned various aspects when described program is executed by processor.
The embodiment of the present invention has the following advantages that or beneficial effect.Specifically, since parsing mailbox is configurable, Therefore every time newly-increased mailbox when do not have to again exploitation code again, without application server deployment and restart.In addition, passing through mapping And the single mailbox of multiple threads is realized indirectly, the fast throughput of big data quantity mail parsing is improved, and then improve Resolution speed.By realizing Quick-return to mail, and customer experience is improved indirectly.Further, it is deposited by using cloud Storage technology realizes the effect outstanding for saving the occupancy of server disk.In addition, by mailbox list visualization management, Being able to use additions and deletions changes the operation looked into carry out page management to mailbox.
Detailed description of the invention
Attached drawing for a better understanding of the present invention, does not constitute an undue limitation on the present invention.Wherein:
Fig. 1 is the schematic diagram of the mail analytic method of the prior art;
Fig. 2 is the schematic diagram that mail analytic method according to an embodiment of the present invention is constructed;
Fig. 3 is to show the block diagram for the mail resolution system that mail analytic method according to an embodiment of the present invention is constructed;
Fig. 4 is the schematic diagram for showing mailbox mapping configuration according to an embodiment of the present invention;
Fig. 5 is the schematic diagram for showing mail analytical center according to an embodiment of the present invention;
Fig. 6 is adapted for the structural representation of the computer system for the terminal device or server of realizing the embodiment of the present invention Figure.
Specific embodiment
Below in conjunction with attached drawing, an exemplary embodiment of the present invention will be described, including the various of the embodiment of the present invention Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize It arrives, it can be with various changes and modifications are made to the embodiments described herein, without departing from scope and spirit of the present invention.Together Sample, for clarity and conciseness, descriptions of well-known functions and structures are omitted from the following description.
Referring to attached drawing 1, the prior art uses Worker as timer-triggered scheduler means to automatically parse mail, and mail is literary This (title, content) is saved in database.The prior art is directed to multiple and different special email boxes, i.e. mailbox 1 is adopted to mailbox N With multiple Worker, i.e. Worker1 to Work N is parsed respectively.
Also, the attachment of mail is stored directly under the particular category of application server disk, and uses mount order Magnetic disc shares are done to particular category.In this way when checking Email attachment, no matter attachment is in which disk, can be carried out downloading.
But there are many defects for the prior art.For example, due to being parsed using single thread, so processing speed is slow.By There is no fragment number in mail, if multithreading parses a mailbox simultaneously and can bring mail parsing repetition, Data duplication typing etc. Problem.In addition, every time when newly-increased mailbox, will develop a mail again automatically parses clothes with the extension of business scenario Business.And the multiplicity of code is high, not only causes extra work to bear to engineer, more influence job schedule.Also, due to The attachment of mail is saved directly on every application server, can occupy a large amount of disk space.
Fig. 2 is schematic diagram according to the system in the embodiment of the present invention.
In Fig. 2, mailbox A and mailbox B are shown, as external mailbox (the first mailbox).Note that externally mailbox quantity is unlimited In two.In addition, Fig. 2 also shows multiple internal mailbox (the second mailbox) A1, A2, A3 and B1 etc..Note that internal mailbox quantity It is not limited to four.
By email relaying server by the mail distribution in the external mailbox into corresponding internal mailbox, at this Mail parsing is carried out in internal mailbox, wherein the external mailbox and the internal mailbox by the mailbox mapping relations come It is associated.Using task scheduling server, periodically internal mailbox (A1, A2, A3) is parsed simultaneously in a parallel fashion.By right The analysis feature of mail in internal mailbox is analyzed, and the reception amount based on current mail and the following growth trend can be sentenced It is disconnected whether mail mapping relations to be configured, for example, judgement is to increase or reduce the quantity of the internal mailbox.
If external mailbox --- for example, it is assumed that the volume of mail for mailbox A increases, corresponding to expansible mailbox A Internal mailbox number, to realize fast resolving.Conversely, for example, this can be reduced if externally the volume of mail of mailbox A is reduced Mailbox number in inside corresponding to mailbox A.Specifically, distribution one is right respectively for each internal mailbox A2, A3, A4 etc. The thread answered is parsed, and is carried out so that the parsing of these internal mailboxes is parallel simultaneously.In addition, for each internal mailbox, Task scheduling server can distribute a thread, and periodically, for example, carrying out poll parsing should in a manner of every few minutes All mails in internal mailbox.
In addition, saving Email attachment using cloud storage referring to attached drawing 2.Specifically, will it is resolved after mail it is attached Part is uniformly stored in cloud storage service device, while the path for the attachment being saved being saved in database.By by attachment Path be saved in database, passage path quickly can search and download attachment.The unified management of attachment has been achieved.
Fig. 3 is block diagram according to the system in the embodiment of the present invention.
In Fig. 3, shown system includes mail server 31, mailbox configurations center (mailbox configurations portion) 32, mail Analytical center (mail analysis unit) 33, text storage server 34 and attachment storage server 35.Mail server 31 is at least With the following functions: external mailbox is responsible for receiving all Outside Mails;And by mailbox mapping relations, by mail distribution to pair In the worker parsing mailbox answered.By mail server 31, single externally mailbox multithreading is parsed to realize indirectly.
Fig. 4 is the schematic diagram for showing mailbox mapping configuration according to an embodiment of the present invention.Referring to attached drawing 4, numbered in upper figure 40,41,42,43 and n respectively represents a mailbox, and n is the natural number greater than 0.
Mailbox 40 is used as external mailbox, is specifically used to receive various Outside Mails.External mailbox can be multiple, such as customer service Mailbox, unbundlings mailbox etc..All postals that client's mailbox is sent out commonly used to receive client to the contact staff of such as business web site Part, and unbinding mailbox is usually the mailbox that customer requirement releases cell-phone number binding.One can be arranged generally directed to each business A special external mailbox.
Mailbox 41,42,43 etc. is the inside mailbox of Worker parsing, is only used to parse, the reception work of not responsible mail Make.
Mail server 31 is also responsible for other than being responsible for receiving mail according to the mapping between mailbox as shown in Fig. 4 Mail in external mailbox 40 is balancedly distributed in internal mailbox 41 to 43 by relationship.For example, when in an external mailbox There are 10000 envelope mails, and the inside mailbox of an external mailbox mapping has 10, then can be distributed in each internal mailbox 1000 envelope mails.
Mailbox configurations center 32 is at least with the following functions: configuring internal mailbox and external mailbox message, wherein the letter Breath includes but is not limited to such as user name, password, email address information;And configure the mapping of external mailbox and internal mailbox Relationship.Herein it should be noted that being, when the username and password etc. of mailbox to be saved in data, data here can be more Data, every data represent a mail parsing task, carry out mail parsing by Worker timing allocation thread.
Fig. 5 is the schematic diagram for showing operation performed by mail analytical center 33.
Mail analytical center 33 is at least with the following functions: a thread is individually distributed to each internal mailbox distribution, it should Thread is used to realize the work of mailbox parsing.
Referring to attached drawing 5,41 to 43 respectively represent the inside mailbox for doing mail parsing in figure.For each internal mailbox It is provided with a fragment number.
When database builds table, a field is defined as fragment number, which is used to realize that multithreading is distributed Handle data.Usually 0-63 is circuited sequentially.For example, it is assumed that there is 2 threads, wherein the thread crawl of thread number 0, which is numbered, is 0,2,4,6,8 ... 62 row record, thread number be 1 thread crawl 1,3,5,7,9 ... .63 row record.Change speech It, the fragment number that per thread is distributed is fragment sum divided by the obtained value of Thread Count.For example, when fragment sum be 64 and When Thread Count is 4, the available 64/4=16 fragment number of per thread.
Each mailbox can distribute a thread to each task, execute mail parsing as a processing task, Worker. By this mapping and email relaying, the mail of multiple thread process one external mailbox can be realized indirectly, to accelerate postal The resolution speed of part.
In the present invention, the attachment of mail is stored by way of cloud storage.Specifically, every envelope mail all may packet Containing attachment.When being parsed to mail, the attachment of mail institute band is compressed, and then is uniformly saved in cloud storage.Pressure Contracting file uses requested ID (identifier), and at the same time assigning a unique attribute to the compressed file.The request ID increases ID from database table certainly.For Email attachment before being saved to cloud storage, database table can first create a row Record, the request ID is the major key of this row record, after being then saved into cloud storage, generates an attachment url, can be same Step, which updates, arrives this line of the request ID of database.About the request ID, it is database table from major key is increased, has in table Global uniqueness.Assuming that receiving an envelope mail, while a mailing lists can be provided in database table.Thus, it is possible to postal Part table row ID is used as looking into from cloud storage as the file storage key assignments that request ID, this request ID are as cloud storage Look for the parameter of file.
It by using the mode of cloud storage, avoids and mail is saved directly in resolution server, to not only reduce The occupancy of disk, moreover it is possible to attachment is managed collectively by cloud storage, avoid for attachment being distributed on multiple servers.
The system of embodiment according to the present invention also has email text data library.It is asked by converting mail for mail It asks, creates mail requests table, and then save the title and text of mail.And newly-built Email attachment table, and then it is attached to save mail The cloud storage path of part.
Fig. 6 is adapted for the structural representation of the computer system for the terminal device or server of realizing the embodiment of the present invention Figure.
Below with reference to Fig. 6, it illustrates the computer systems 600 for the terminal device for being suitable for being used to realize the embodiment of the present invention Structural schematic diagram.Terminal device shown in Fig. 6 is only an example, function to the embodiment of the present invention and should not use model Shroud carrys out any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and Execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data. CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always Line 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.; And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon Computer program be mounted into storage section 608 as needed.
Particularly, disclosed embodiment according to the present invention, above mail solution according to an embodiment of the present invention as shown in Figure 2 Analysis method may be implemented as computer software programs.For example, embodiment disclosed by the invention includes a kind of computer program production Product comprising carry computer program on a computer-readable medium, which includes for executing as shown in Figure 2 Method program code.In such embodiments, the computer program can by communications portion 609 from network by under It carries and installs, and/or be mounted from detachable media 611.It is executed in the computer program by central processing unit (CPU) 601 When, execute the above-mentioned function of limiting in system of the invention.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the present invention, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In invention, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned Any appropriate combination.
It should be pointed out that schematic diagram and block diagram in each attached drawing, illustrate and are according to various embodiments of the invention The architecture, function and operation in the cards of system, method and computer program product.In this regard, each schematic diagram or frame Each box in figure can represent a part of a module, program segment or code, above-mentioned module, program segment or code A part includes one or more executable instructions for implementing the specified logical function.It should also be noted that in some conducts In the realization of replacement, function marked in the box can also occur in a different order than that indicated in the drawings.For example, two The box succeedingly indicated can actually be basically executed in parallel, they can also be executed in the opposite order sometimes, this according to Depending on related function.It is also noted that the side in each box and block diagram or flow chart in block diagram or flow chart The combination of frame can be realized with the dedicated hardware based system for executing defined functions or operations, or can be used special It is realized with the combination of hardware and computer instruction.
Being set forth in unit involved in the embodiment of the present invention can be realized by way of software, can also pass through hardware Mode realize.Described unit also can be set in the processor, for example, can be described as: a kind of processor includes Mail server unit, it includes multiple first mailboxes and multiple second mailboxes, first mailbox is for receiving from described The mail of exterior;Email relaying server unit, be used for will the mail distribution from first mailbox to described Two mailboxes;Task scheduling server unit is used to parse the mail in second mailbox;And mailbox configurations portion unit, It is used to configure the mailbox message in each of first mailbox and second mailbox, and includes described first The mailbox mapping relations of mailbox and second mailbox.Wherein, the title of these units is not constituted to this under certain conditions The restriction of unit itself.
As on the other hand, the present invention also provides a kind of computer-readable medium, which be can be Included in equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying equipment.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the equipment, makes It obtains the equipment and executes following each operation: mail is received by each mailbox in multiple first mailboxes;It is mapped according to mailbox Relationship, by email relaying server by the mail distribution from each first mailbox to one or more second mailboxes, To carry out mail parsing in second mailbox, wherein first mailbox and second mailbox are mapped by the mailbox Relationship is associated;A corresponding thread is distributed respectively to each second mailbox, and then in a parallel fashion to each institute It states the second mailbox while being parsed;And the parsing result according to the parsing, to configure the mailbox mapping relations.
Method provided by the embodiment of the present invention can be performed in the said goods, has the corresponding functional module of execution method and has Beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to method provided by the embodiment of the present invention.
Technical solution according to an embodiment of the present invention, the beneficial effect that can be realized.
(1) parsing mailbox is configurable, therefore does not have to again exploitation code again when each newly-increased mailbox.
(2) the single mailbox of multiple threads is realized by mapping indirectly, improves resolution speed.And then it realizes to mail Quick-return, to promote customer experience indirectly.
(3) occupancy of web server disk is saved using cloud storage technology.
(4) mailbox list visualization management is changed using additions and deletions and looks into operation to mailbox progress page management.
Above-mentioned specific embodiment, does not constitute a limitation on the scope of protection of the present invention.Those skilled in the art should be bright It is white, design requirement and other factors are depended on, various modifications, combination, sub-portfolio and substitution can occur.It is any Made modifications, equivalent substitutions and improvements etc. within the spirit and principles in the present invention, should be included in the scope of the present invention Within.

Claims (14)

1. a kind of mail analytic method comprising:
Mail is received by each mailbox in multiple first mailboxes;
According to mailbox mapping relations, by email relaying server by the mail distribution from each first mailbox to one Or multiple second mailboxes, to carry out mail parsing in second mailbox, wherein first mailbox and second mailbox are logical The mailbox mapping relations are crossed to be associated;
A corresponding thread is distributed respectively to each second mailbox, and then in a parallel fashion to each second mailbox It is parsed simultaneously;And
According to the parsing result of the parsing, to configure the mailbox mapping relations.
2. mail analytic method according to claim 1, further includes:
If the volume of mail that parsing result shows at least one mailbox in the multiple first mailbox increases, this is extended extremely The number of second mailbox corresponding to a few mailbox.
3. mail analytic method according to claim 1, further includes:
If the volume of mail that parsing result shows at least one mailbox in the multiple first mailbox is reduced, reduce this extremely The number of second mailbox corresponding to a few mailbox.
4. mail analytic method according to claim 4, further includes:
During parsing to mail, a thread is individually distributed to each mailbox in second mailbox, to hold The parsing of row mail.
5. mail analytic method described in any one of -4 according to claim 1, further includes:
It is uniformly stored in cloud storage service device, while will be protected by the attachment of cloud storage mode, the mail after being resolved The path for the attachment deposited is saved in database.
6. mail analytic method according to claim 5, further includes:
Mail after will be resolved is converted into mail requests and creates mail requests table, in the mail requests table, saves There are the title and text of the mail.
7. a kind of mail resolution system comprising:
Mail server, it includes multiple first mailboxes and multiple second mailboxes, first mailbox is for receiving from described The mail of exterior;
Email relaying server, be used for will the mail distribution from first mailbox to second mailbox;
Task scheduling server is used to parse the mail in second mailbox;And
Mailbox configurations portion is used to configure the mailbox message in each of first mailbox and second mailbox, And it include the mailbox mapping relations of first mailbox and second mailbox,
Wherein,
According to mailbox mapping relations, by email relaying server by the mail distribution from each first mailbox to described One or more of second mailbox, to carry out mail parsing in second mailbox,
By the task scheduling server, each second mailbox is parsed;And
By the mailbox configurations portion, according to the parsing result of the parsing, to configure the mailbox mapping relations.
8. mail resolution system according to claim 7, in which:
If the volume of mail that parsing result shows at least one mailbox in the multiple first mailbox increases, the mailbox Configuration section extends the number of the second mailbox corresponding at least one mailbox.
9. mail resolution system according to claim 7, in which:
If the volume of mail that parsing result shows at least one mailbox in the multiple first mailbox is reduced, the mailbox Configuration section reduces the number of the second mailbox corresponding at least one mailbox.
10. mail resolution system according to claim 9, in which:
The task scheduling server individually distributes a thread to each mailbox in second mailbox, to execute mail solution Analysis.
11. the mail resolution system according to any one of claim 7-10,
The mail resolution system further includes cloud storage service device,
Wherein,
It is uniformly stored in the cloud storage service device by the attachment of cloud storage mode, the mail after being resolved, simultaneously will The path of attachment is saved in database.
12. mail resolution system according to claim 11,
The mail resolution system further includes mail text server,
Wherein,
The task scheduling server is also used to: the mail after will be resolved is converted into mail requests and creates mail requests Table, and the mail requests table is stored in the mail text server, in the mail requests table, preserve the postal The title and text of part.
13. a kind of electronic equipment characterized by comprising
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as method as claimed in any one of claims 1 to 6.
14. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is held by processor Such as method as claimed in any one of claims 1 to 6 is realized when row.
CN201710346730.0A 2017-05-17 2017-05-17 Mail analysis method, mail analysis system, electronic device and readable storage medium Active CN108965095B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710346730.0A CN108965095B (en) 2017-05-17 2017-05-17 Mail analysis method, mail analysis system, electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710346730.0A CN108965095B (en) 2017-05-17 2017-05-17 Mail analysis method, mail analysis system, electronic device and readable storage medium

Publications (2)

Publication Number Publication Date
CN108965095A true CN108965095A (en) 2018-12-07
CN108965095B CN108965095B (en) 2021-03-30

Family

ID=64462566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710346730.0A Active CN108965095B (en) 2017-05-17 2017-05-17 Mail analysis method, mail analysis system, electronic device and readable storage medium

Country Status (1)

Country Link
CN (1) CN108965095B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109802884A (en) * 2018-12-29 2019-05-24 论客科技(广州)有限公司 A kind of moving method and device of campus mail
CN113435862A (en) * 2021-07-20 2021-09-24 支付宝(杭州)信息技术有限公司 Bill processing method and device based on mailbox

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5778217A (en) * 1996-04-02 1998-07-07 Lite-On Communications Corp. Parallel signal processing device for high-speed timing
CN101329755A (en) * 2008-06-10 2008-12-24 施文武 Method and system for managing mail box leasehold
CN102291328A (en) * 2011-07-27 2011-12-21 上海和辰信息技术有限公司 Multi-protocol supporting webpage-based third-party email account transmission and receiving method and system
CN102986174A (en) * 2010-08-31 2013-03-20 株式会社日立制作所 Mail transfer system, mail gateway and data store server
CN103078787A (en) * 2013-01-17 2013-05-01 华为技术有限公司 Method and equipment for processing mail
CN103106573A (en) * 2013-02-20 2013-05-15 中国科学院信息工程研究所 Massive email analyzing method and system based on relational graph
CN103295123A (en) * 2012-02-03 2013-09-11 苹果公司 Email mailbox management
US20170063764A1 (en) * 2015-08-25 2017-03-02 Dell Software, Inc. During an email migration, converting distribution list messages into single-instanced content within a collaboration platform group

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5778217A (en) * 1996-04-02 1998-07-07 Lite-On Communications Corp. Parallel signal processing device for high-speed timing
CN101329755A (en) * 2008-06-10 2008-12-24 施文武 Method and system for managing mail box leasehold
CN102986174A (en) * 2010-08-31 2013-03-20 株式会社日立制作所 Mail transfer system, mail gateway and data store server
CN102291328A (en) * 2011-07-27 2011-12-21 上海和辰信息技术有限公司 Multi-protocol supporting webpage-based third-party email account transmission and receiving method and system
CN103295123A (en) * 2012-02-03 2013-09-11 苹果公司 Email mailbox management
CN103078787A (en) * 2013-01-17 2013-05-01 华为技术有限公司 Method and equipment for processing mail
CN103106573A (en) * 2013-02-20 2013-05-15 中国科学院信息工程研究所 Massive email analyzing method and system based on relational graph
US20170063764A1 (en) * 2015-08-25 2017-03-02 Dell Software, Inc. During an email migration, converting distribution list messages into single-instanced content within a collaboration platform group

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109802884A (en) * 2018-12-29 2019-05-24 论客科技(广州)有限公司 A kind of moving method and device of campus mail
CN109802884B (en) * 2018-12-29 2021-09-07 论客科技(广州)有限公司 Campus mail migration method and device
CN113435862A (en) * 2021-07-20 2021-09-24 支付宝(杭州)信息技术有限公司 Bill processing method and device based on mailbox

Also Published As

Publication number Publication date
CN108965095B (en) 2021-03-30

Similar Documents

Publication Publication Date Title
US11563629B2 (en) Systems and methods for managed services provisioning using service-specific provisioning data instances
CN110310034A (en) A kind of service orchestration applied to SaaS, business flow processing method and apparatus
CN108733476A (en) A kind of method and apparatus executing multitask
US20100251264A1 (en) Systems and/or methods for end-to-end business process management, business event management, and/or business activity monitoring
CN110472207A (en) List generation method and device
CN112311868A (en) Message touch method and device and electronic equipment
CN110019087A (en) Data processing method and its system
CN109981322A (en) The method and apparatus of cloud resource management based on label
CN109905286A (en) A kind of method and system of monitoring device operating status
Djogic et al. Monolithic to microservices redesign of event driven integration platform
CN110377416A (en) Distributed subregion method for scheduling task and device
US7966207B2 (en) Method, system and program product for managing fulfillment of orders
CN109214741A (en) A kind of method for early warning and early warning system of monitor control index
CN109241033A (en) The method and apparatus for creating real-time data warehouse
CN108984549A (en) Table data pick-up method and apparatus are divided in an a kind of point library based on dynamic configuration data library
CN108984496A (en) The method and apparatus for generating report
CN110019539A (en) A kind of method and apparatus that the data of data warehouse are synchronous
CN110515741A (en) A kind of degradation processing method and device based on local task queue
CN110019214A (en) The method and apparatus that data split result is verified
CN110046178A (en) The method and apparatus of distributed data inquiry
CN108984197A (en) A kind of code update method and device
CN108965095A (en) Mail analytic method, mail resolution system, electronic equipment and readable storage medium storing program for executing
CN115310906A (en) Method, device and equipment for establishing picking task and computer readable storage medium
CN109960212A (en) Task sending method and device
CN110083457A (en) A kind of data capture method, device and data analysing method, 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
GR01 Patent grant
GR01 Patent grant