WO2014040342A1 - Resource allocation method, device and system based on multi-level user classification - Google Patents

Resource allocation method, device and system based on multi-level user classification Download PDF

Info

Publication number
WO2014040342A1
WO2014040342A1 PCT/CN2012/085120 CN2012085120W WO2014040342A1 WO 2014040342 A1 WO2014040342 A1 WO 2014040342A1 CN 2012085120 W CN2012085120 W CN 2012085120W WO 2014040342 A1 WO2014040342 A1 WO 2014040342A1
Authority
WO
WIPO (PCT)
Prior art keywords
mail
resource
user
preset
value
Prior art date
Application number
PCT/CN2012/085120
Other languages
French (fr)
Chinese (zh)
Inventor
陈颖棠
林延中
Original Assignee
盈世信息科技(北京)有限公司
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 盈世信息科技(北京)有限公司 filed Critical 盈世信息科技(北京)有限公司
Publication of WO2014040342A1 publication Critical patent/WO2014040342A1/en

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

Definitions

  • the present invention relates to the field of communications, and in particular, to a resource allocation method, apparatus, and system based on multi-level user classification.
  • the technical problem to be solved by the embodiments of the present invention is to provide a resource allocation method, apparatus and system based on multi-level user classification that can provide different levels of mail storage services for users with different service requirements.
  • an embodiment of the present invention provides a resource allocation method based on a multi-level user classification, including: acquiring a resource group corresponding to the preset service level according to a preset service level of the user.
  • the resource group includes an advanced resource and a common resource; determining, according to a preset rule, a mail type of the mail, the mail type including a low value mail, a normal mail, and an important mail; storing the mail according to the mail type to the The corresponding location of the resource group of the user to which the message belongs.
  • the resource allocation method based on multi-level user classification further includes: when the resource is When the storage space of the source packet reaches a preset value, sending a reminder email to the user; when the number of the low-value email exceeds the preset number, deleting the low-value email with the longest storage time until the number of the low-value email is less than or Equal to the preset number; when the storage time of the low-value mail exceeds the preset time, deleting the low-value mail.
  • the step of acquiring a resource group corresponding to the preset service level according to a preset service level of the user includes: acquiring a corresponding data number according to a preset service level of the user; The data number obtains a corresponding data set, and the data set includes a resource group and a function list.
  • the step of storing the mail in a corresponding location of a resource group of a user to which the mail belongs according to the mail type includes: storing the important mail to a resource of a user to which the mail belongs In the grouped advanced resources; storing the low-value mail and the ordinary mail in a common resource of a resource group of the user to which the mail belongs.
  • the embodiment of the present invention further provides a resource allocation apparatus based on a multi-level user classification, including: configured to acquire a resource group corresponding to the preset service level according to a preset service level of the user.
  • the client group the resource group includes an advanced resource and a common resource; a determining module for determining a mail type of the mail according to a preset rule, the mail type includes a low value mail, a normal mail, and an important mail; respectively
  • the determining module is connected to store the mail according to the mail type to a storage module in a corresponding location of the resource group of the user to which the mail belongs.
  • the resource allocation apparatus based on the multi-level user classification further includes: connecting to the storage module, configured to send to a user when a storage space of the resource group reaches a preset value An alert module of the reminder email; connected to the storage module, configured to delete the low-value mail with the longest storage time when the number of the low-value mail exceeds the preset number, until the number of the low-value mail is less than or equal to a preset number of first deletion modules; connected to the storage module, configured to delete the second deletion module of the low-value mail when the storage time of the low-value mail exceeds a preset time.
  • the client includes: a first acquiring unit configured to acquire a corresponding data number according to a preset service level of the user; and is connected to the first acquiring unit, according to the The data number obtains a second acquiring unit of the corresponding data set, and the data set includes a resource group and a function list.
  • the storage module includes: a first storage unit configured to store the important mail into an advanced resource of a resource group of a user to which the mail belongs; and configured to use the low-value mail And the normal mail is stored in the second storage unit in the ordinary resource of the resource group of the user to which the mail belongs.
  • the embodiment of the present invention further provides a resource allocation system based on multi-level user classification, comprising: the resource allocation device based on multi-level user classification according to any one of claims 5-8,
  • the resource allocation system based on the multi-level user classification includes at least one resource allocation device based on the multi-level user classification; and is connected to the resource allocation device based on the multi-level user classification, and is used to preset the service level and storage of the user. Spatial default value, low value The preset number of messages and the preset device for the preset time.
  • the resource allocation system based on multi-level user classification includes a storage resource, and the storage resource includes at least one storage.
  • Embodiments of the present invention have the following beneficial effects:
  • the resource group corresponding to the preset acquisition level is obtained by the client according to the preset service level of the user, and the determining module determines the type of the mail according to the preset rule, and the storage module is configured according to the
  • the mail type stores the mail in the corresponding location of the resource group of the user to which the mail belongs, and can effectively classify and store the mail, thereby improving the utilization rate of the stored resources in the mail system.
  • the embodiment of the present invention provides a resource allocation system based on multi-level user classification, including at least one resource allocation device and a preset device based on multi-level user classification, which are preset by the preset device.
  • the resource allocation system of the user in the resource allocation device based on the multi-level user classification thereby implementing unified management of the users in the system, the resource allocation system based on the multi-level user classification includes a storage resource, and the storage resource includes at least one storage Therefore, it can effectively improve the speed of mail storage.
  • FIG. 1 is a schematic structural diagram of a first embodiment of a resource allocation method based on multi-level user classification according to the present invention
  • FIG. 2 is a second embodiment of a resource allocation method based on multi-level user classification according to the present invention
  • FIG. 3 is a schematic structural diagram of a resource allocation apparatus based on multi-level user classification according to the present invention
  • FIG. 4 is a schematic structural diagram of a resource allocation system based on multi-level user classification according to the present invention.
  • FIG. 1 is a schematic structural diagram of a first embodiment of a resource allocation method based on multi-level user classification according to the present invention, including:
  • the resource group includes an advanced resource and a common resource
  • the advanced resource refers to a hardware resource with a fast mail storage speed, stable work, and high price
  • the other is Ordinary resources
  • the user's service level is divided by the nature of the user's position, the user's activity level, and the user's mail, etc., that is, the higher the user's position, the more active the user, the more the user's mail, the user's service level is The higher.
  • For different users use different resource groupings. The higher the service level, the better the hardware resources used.
  • S101 Determine, according to a preset rule, a mail type of the mail, where the mail type includes a low-value mail or a normal mail. And important mail.
  • the network receives the incoming mail or the user edits the mail, and determines the type of the mail by using a preset rule, the mail type includes a low-value mail, a normal mail, and an important mail, for example, an advertisement mail, a system notification mail, and a system refund.
  • the letter and the user delete the mail and the like as a low-value mail, and the user's specially marked mail is an important mail, and the other is a normal mail.
  • S102 Store the mail according to the mail type to a corresponding location of a resource group of a user to which the mail belongs.
  • the resource groups corresponding to different service levels are different.
  • the resource group includes advanced resources and common resources.
  • the mail is stored according to the type of the mail to the resource group of the user to which the mail belongs. In the location, thus achieving the classified storage of the mail.
  • the corresponding resource group needs to be obtained according to the preset service level of the user, and the mail is determined according to a preset rule.
  • Type finally storing the mail in the resource group of the user to which the mail belongs, since the resource group includes advanced resources and common resources, the mail type includes low-value mail, normal mail, and important mail, so the mail is stored.
  • the mail needs to be stored in the corresponding location of the resource group of the user to which the mail belongs according to the category of the mail, so that the mail can be classified and stored reasonably.
  • FIG. 2 is a schematic structural diagram of a second embodiment of a resource allocation method based on multi-level user classification according to the present invention, including:
  • S200 Obtain a corresponding data number according to a preset service level of the user.
  • S201 Acquire a corresponding data set according to the data number, where the data set includes a resource group and a function list.
  • the data set includes a resource group and a function list, where the resource group includes an advanced resource and a common resource, and the preset service level of the user is based on the nature of the user's position.
  • the user's activity level and the user's mail are divided. That is, the higher the user's position, the more active the user, and the more the user's mail, the higher the user's service level. At the same time, the higher the service level, the more the user's resource grouping. Well, at the same time, the hardware resources used by the user are better.
  • the function list includes whether the user can use the POP3/IMAP/SMTP (3rd version of the post office protocol/Simple Mail Transfer Protocol/Interactive Mail Access Protocol) service, whether the mail session function can be used. Whether the mail status tracking can be used, whether the user login history can be recorded, etc., the functions in the function list occupy a certain hardware resource, so the user can selectively open the functions in the function list.
  • S202. Determine, according to a preset rule, a mail type of the mail, where the mail type includes a low value mail, a normal mail, and an important mail.
  • the network receives the incoming mail or the user edits the mail, and determines the type of the mail by using a preset rule, the mail type includes a low-value mail, a normal mail, and an important mail, for example, an advertisement mail, a system notification mail, and a system refund.
  • the letter and the user have deleted the mail, etc. as a low-value mail, and the user's specially marked mail is an important mail, and the other is a normal mail.
  • S203 Store the important mail in a high-level resource of a resource group of a user to which the mail belongs.
  • the important mail refers to the mail that the user has marked, and at the same time, the service level of the user is different, and the storage performance of the advanced resource in the resource group corresponding to the user is different, so when storing the important mail, The important mail needs to be stored in the advanced resource of the resource group of the user to which the mail belongs.
  • the advanced resource includes a first advanced resource and a second advanced resource
  • the important mail is stored in the first advanced resource when the important mail is stored, when the storage time of the important mail exceeds the preset time. And transferring the important mail that has been stored for more than the preset time to the second advanced resource, and deleting the important mail in the first advanced resource that is stored for more than the preset time.
  • the storage performance of an advanced resource is higher than the storage performance of the second advanced resource.
  • the low-value mail refers to an advertisement mail, a system notification mail, a system return letter, and a user deleted mail, etc., except for important mails and low-value mails, other mails are ordinary mails, and at the same time, due to the user's service level
  • the storage performance of the common resource in the resource group corresponding to the user is different. Therefore, when storing the low-value mail and the ordinary mail, the low-value mail and the ordinary mail need to be stored in the user of the mail.
  • the common resource includes a first common resource, a second common resource, and a third common resource, and the low-value mail is stored in a third common resource, and the ordinary mail received or edited by the user is first stored.
  • the first common resource when the storage time of the normal mail exceeds the preset time, the normal mail whose storage time exceeds the preset time is transferred to the second common resource, and the first common resource is deleted. The mail whose storage time exceeds the preset time.
  • the storage performance of the first common resource is stronger than the storage performance of the second common resource, and the storage performance of the second normal resource is stronger than the storage performance of the third common resource.
  • S205 Send a reminder email to the user when the storage space of the resource group reaches a preset value.
  • the storage system prompts the user by using a reminder email, and the storage space of the resource group reaches a preset value, and the storage space of the common resource reaches a preset value. The storage space for the value and advanced resources reaches the preset value.
  • S206 When the quantity of the low-value mail exceeds a preset quantity, deleting the low-value mail with the longest storage time until the quantity of the low-value mail is less than or equal to the preset quantity.
  • step S203 and step S204 have no order, when the mail to be stored is an important mail, step S203 is performed; When the mail to be stored is a normal mail or a low-value mail, step S204 is performed. Steps S205, S206, and S207 are performed without a sequence. When the resource group and the mail in it satisfy the conditions described in S205, S206, or S207, the corresponding steps can be performed.
  • the resource allocation method based on the multi-level user classification is used to store the mail
  • the corresponding data number is obtained according to the preset service level of the user
  • the corresponding data is obtained according to the data number.
  • the set includes the resource group and the function list in the data set
  • the resource group includes an advanced resource and a common resource.
  • the network receives the incoming mail or the user edits the mail, and determines the type of the mail by using a preset rule.
  • the mail type includes a low-value mail, a normal mail, and an important mail. If the mail to be stored is an important mail, the step S203 is performed. The important mail is stored in the advanced resource of the resource group of the user to which the mail belongs. If the mail to be stored is a low-value mail or a normal mail, the ordinary mail or the low-value mail is stored in the mail to the mail in step S204.
  • the user's resources are grouped into common resources.
  • the reminder mail is sent to the user; when the number of the low-value mail exceeds the preset quantity, the longest low-value mail is deleted, until the The number of low-value mails is less than or equal to the preset number; when the storage time of the low-value mail exceeds a preset time, the low-value mail is deleted.
  • the preset service level of the user is the first service level
  • the resource group corresponding to the first service level is the advanced resource S1, S2, and the common resource S3, and the incoming mail received by the user is Al, A2, and A3.
  • the A1 is an important mail
  • the A2 is a normal mail
  • the A3 is a low-value mail.
  • the mail A1 may be stored in the advanced resources S1 and S2, and the ordinary mail A2 and the low-value mail A3 may be stored. Stored in the ordinary resource S3.
  • 3 is a schematic structural diagram of a resource allocation apparatus based on multi-level user classification according to the present invention.
  • the resource allocation apparatus based on the multi-level user classification includes:
  • the client 1 for obtaining a resource group corresponding to the preset service level according to a preset service level of the user includes the advanced resource and the common resource.
  • the determining module 2 for determining the mail type of the mail according to the preset rule, the mail type includes a low value mail, a normal mail, and an important mail.
  • the resource group corresponding to the preset service level is obtained by the client 1 according to the preset service level of the user, where the resource group includes an advanced resource and a common resource, and the advanced resource refers to the mail.
  • the determining module 2 is configured to determine, according to a preset rule, a mail type of the mail, where the mail type includes a low-value mail, a normal mail, and an important mail, for example, an advertisement mail, a system notification mail, a system bounce, a user, and a deleted mail.
  • the storage module 3 stores the mail in a corresponding location of the resource group of the user to which the mail belongs according to the mail type, so that the mail is classified and stored.
  • the resource allocation device based on the multi-level user classification further includes:
  • the storage module 3 is connected to the early warning module 4 for sending a reminder email to the user when the storage space of the resource group reaches a preset value.
  • the early warning module 4 sends a reminder email to the user, when the number of the low-value mail exceeds the pre-
  • the first deleting module 5 deletes the low-value mail with the longest storage time until the quantity of the low-value mail is less than or equal to the preset quantity, when the storage time of the low-value mail exceeds the preset time
  • the second deleting module 6 deletes the low value mail whose storage time exceeds the preset time, thereby improving the utilization rate of the resource group.
  • the client 1 includes:
  • a first obtaining unit 11 for acquiring a corresponding data number according to a preset service level of the user.
  • the obtaining unit 12 includes a resource group and a function list in the data set.
  • the first acquiring unit 11 acquires a corresponding data number according to the preset service level of the user
  • the second acquiring unit 12 acquires a corresponding data set according to the data number, where the data set
  • the resource grouping includes a high-level resource and a common resource
  • the function list includes whether the user can use the POP3/IMAP/SMTP service, whether the mail session function can be used, whether the mail status tracking can be used, whether The user login history and the like are recorded, and the functions in the function list occupy a certain hardware resource, so the user can selectively activate the functions in the function list.
  • the storage module 3 includes:
  • a second storage unit 32 for storing the low-value mail and normal mail in a common resource of a resource group of a user to which the mail belongs.
  • the determining module 2 divides the mail into important mails, normal mails, and low-value mails by classifying the received mails or the mails edited by the user, and the first storage is performed.
  • the unit 31 stores the important mail in the advanced resource of the resource group of the user to which the mail belongs, and the second storage unit 32 stores the low-value mail and the ordinary mail in the ordinary resource group of the user to which the mail belongs. In the resource, you can complete the multi-level classification storage of the mail.
  • the advanced resource includes a first advanced resource and a second advanced resource.
  • the first storage unit 31 stores the important email into the first advanced resource, when the important email is When the storage time exceeds the preset time, the first storage unit 31 can transfer the important mail whose storage time exceeds the preset time to the second advanced resource, and delete the storage in the first advanced resource.
  • the common resource includes a first common resource, a second common resource, and a third common resource, and the low-value mail is stored in the third common resource, where the second storage unit 32 The normal mail received or edited by the user is first stored in the first common resource. When the storage time of the normal mail exceeds the preset time, the second storage unit 32 stores the storage time longer than the preset time.
  • the normal mail is transferred to the second common resource, and the mail stored in the first common resource for more than the preset time is deleted.
  • the storage performance of the first advanced resource is stronger than the storage performance of the second advanced resource
  • the storage performance of the first common resource is stronger than the storage performance of the second common resource
  • the storage of the second common resource is The performance is better than that of the third common resource, so that the mail can be stored in multiple layers.
  • the preset service level of the user is the first service level
  • the client 1 is the advanced resource S1, S2 and the common resource S3 according to the resource group corresponding to the first service level
  • the incoming mail received by the system is Al, 8 and 3
  • the determining module 2 determines the types of the incoming mails A1, A2, and A3, and obtains the A1 as an important mail, A2 as a normal mail, and A3 as a low-value mail.
  • the first storage unit 31 can store the mail A1 into the advanced resources S1 and S2, by using the
  • the second storage unit 32 can store the mails A2 and A3 into the ordinary resource S3.
  • FIG. 4 is a schematic structural diagram of a resource allocation system based on multi-level user classification according to the present invention.
  • the resource allocation system based on multi-level user classification includes:
  • the resource allocation apparatus based on the multi-level user classification according to any one of claims 5 to 8, wherein the resource allocation system based on the multi-level user classification includes at least one resource allocation apparatus based on the multi-level user classification.
  • the preset device 7 for presetting the service level of the user, the preset value of the storage space, the preset number of low-value mails, and the preset time is connected to the resource allocation device based on the multi-level user classification. .
  • the resource allocation system based on the multi-level user classification includes the resource allocation device based on the multi-level user classification and the preset device 7, and the resource allocation system based on the multi-level user classification includes At least one resource allocation device based on the multi-level user classification, and preset the service level of the user to the resource allocation device based on the multi-level user classification by the preset device 7, that is, according to the position of the user by the preset device 7
  • the nature of the user, the level of activity of the user, the number of letters of the user, etc. divides the service level of the user. For example, the higher the user position, the more active the user and the more letters, the higher the service level.
  • the preset device 7 may further set the preset value of the storage space, the first deletion, to the alert module 4 in the resource allocation device based on the multi-level user classification.
  • the preset quantity of the low-value mail is set in the module 5, and the preset time is set in the second deletion module 6.
  • the preset device 7 can also allocate all the resources in the system based on the multi-level user classification.
  • the mail received by the resource allocation device based on the multi-level user classification is marked, so that the marked mail becomes an important mail.
  • the preset device 7 directly receives the mail from the company A by the resource allocation device based on the multi-level user classification, and receives all the mails from the company A as important mails, thereby enabling the company A.
  • the mail is stored in the corresponding advanced resources according to the user's service level.
  • the resource allocation system based on multi-level user classification includes a storage resource, and the storage resource includes at least one storage.
  • the storage resource refers to all the storage resources in the resource allocation system based on the multi-level user classification, and the storage resource is used to store all the resource allocation devices based on the multi-level user classification. Or an edited email, the storage resource including at least one storage.
  • any storage in the storage resource belongs to at least one resource group corresponding to one user, so that any storage in the storage resource stores at least one user's mail, and the multi-level user is based on
  • the classified resource allocation system uniformly manages all storage resources, that is, any storage in the storage resource may belong to one or more
  • the resource groups corresponding to the users can be used to make efficient use of the storage resources in the system.
  • the same storage can be stored differently depending on the service level corresponding to the user and the importance of receiving the mail. Type of mail.
  • the storage 1 may store the mail received by the user 1 and the user 2, and at the same time, for the resource group corresponding to the user 1, the storage 1 is an advanced resource; and for the resource group corresponding to the user 2, the storage 1 is a common resource, and in the process of storing the mail, the user 1 stores the important mail received in the storage 1. At the same time, the user 2 stores the normal mail and the low value mail in the storage unit 1.
  • the resource allocation system based on the multi-level user classification includes at least one of the resource allocation devices and the preset device 7 based on the multi-level user classification, and the preset device 7 is configured to pre-predetermine
  • the service level of all users in the resource allocation system based on the multi-level user classification is set.
  • the service level of the user is divided according to the nature of the user's job, the degree of activity of the user, and the number of mails of the user, and the corresponding resource group is obtained according to the preset service level of the user, and the preset device 7 can also be configured.
  • the preset time of the low-value mail storage in the 6th, and the preset device 7 may receive the important information received by the resource allocation device based on the multi-level user classification in the resource allocation system based on the multi-level user classification. The message is marked.
  • the system includes a storage 1, a storage 2 and a storage 3, the storage 1 includes a high-speed storage device S1, the storage 2 includes two medium-speed storage devices S2, S3, and a storage device 3 Includes two low speed storage devices S4, S5.
  • the system sets up two resource groups:
  • Resource grouping 1 Sl, S2, S4, where SI is defined as an advanced resource, and S2 and S4 are ordinary resources.
  • Resource group 2 S3, S5, where S3 is defined as an advanced resource, and S5 is defined as a normal resource.
  • the preset device 7 presets an important user in the enterprise as a first service level, the resource group corresponding to the first service level is grouped into resource group 1; and the ordinary user is preset as a second service level, The resource group corresponding to the second service level is grouped into resource group 2.
  • the important mail is stored in S1
  • the ordinary mail and low-value mail are stored in S2 and S4.
  • the ordinary user stores important mails into S3, and stores ordinary mails and low-value mails into S5.
  • the resource allocation system based on the multi-level user classification may perform unified management on all storage resources in the system, and all the multi-levels in the resource allocation system based on the multi-level user classification
  • the resource group corresponding to the resource allocation device of the user classification uniformly allocates hardware resources.
  • any storage in the storage resource belongs to at least one resource group corresponding to one user, and the storage resource can be utilized to the maximum extent.

Abstract

Disclosed is a resource allocation method based on multi-level user classification, comprising: according to a preset service grade of a user, acquiring a resource packet corresponding to the preset service grade, the resource packet comprising high-grade resources and regular resources; according to a preset rule, judging the mail type of a mail, the mail type comprising low-value mail, regular mail and important mail; and according to the mail type, storing the mail in a corresponding position of a resource packet of a user to which the mail belongs. Also disclosed are a resource allocation device and system based on multi-level user classification. The present invention can be applied to provide different grades of mail storage services to users with different service demands, so as to overcome the problem that there is no difference in mail storage manner in a current mail system, and increase the utilization rate of storage resources in the mail system.

Description

一种基于多层次用户分类的资源分配方法、 装置及系统 技术领域  Resource allocation method, device and system based on multi-level user classification
[0001] 本发明涉及通信领域, 尤其涉及一种基于多层次用户分类的资源分配方法、 装置及 系统。  [0001] The present invention relates to the field of communications, and in particular, to a resource allocation method, apparatus, and system based on multi-level user classification.
背景技术 Background technique
[0002] 传统的邮件系统中, 例如常用的 Qmail、 SendmaiK Postfix, Exchange, Mdaemon及 Winmail等, 均包括基于这些系统改造的邮件系统, 邮件账号的邮件数据集中式储存, 即同 一个用户的邮件集中储存在同一个地方, 当用户的邮件数量膨胀, 储存空间不足的时候, 必 须要把用户的全部数据复制到其它空余的储存装置上, 即当储存空间不足时, 必须有一个用 户数据迁移的过程, 随着用户邮件数量不断的增长, 迁移速度会随着邮件数量的膨胀而急剧 下降, 为了解决该问题, 目前主要的解决方案是: 1、 使昂贵的硬件设备, 不停地对邮件系 统储存空间进行扩容; 2、 使用分布式储存系统, 通过软件把用户的数据透明的储存到不同 的硬件上。 这两种方案各有好处, 硬件方案速度快、 性能好, 但是价格高, 软件方案灵活、 价格低廉, 但是性能相对低下, 维护成本高。  [0002] In the traditional mail system, for example, commonly used Qmail, SendmaiK Postfix, Exchange, Mdaemon and Winmail, etc., all include a mail system based on the transformation of these systems, and the mail data of the mail account is stored in a centralized manner, that is, the mail collection of the same user. Stored in the same place, when the number of users' emails expands and the storage space is insufficient, all the user's data must be copied to other spare storage devices. That is, when the storage space is insufficient, there must be a process of user data migration. As the number of users' emails continues to increase, the migration speed will drop sharply as the number of emails expands. To solve this problem, the main solutions are: 1. Make expensive hardware devices and keep storing the email system. Space expansion; 2. Using a distributed storage system, the user's data is stored transparently on different hardware through software. These two schemes have their own advantages. The hardware scheme is fast and has good performance, but the price is high, the software scheme is flexible, and the price is low, but the performance is relatively low and the maintenance cost is high.
[0003] 另外, 很多企业的邮件系统是分布式使用, 即在全国各地乃至全世界各地都部署节 点, 用户根据工作地域创建到不同的节点当中, 但目前的邮件系统, 用户只能使用用户所在 工作节点的储存资源, 不能使用其他地方的资源进行邮件的储存, 然而企业没有办法实现不 同地域储存资源的统一, 使子节点中需要使用的高级资源的用户不能使用中心节点空余的储 存资源, 造成储存资源的浪费。  [0003] In addition, many enterprises' mail systems are distributed, that is, nodes are deployed throughout the country and around the world, and users are created according to work areas to different nodes. However, in the current mail system, users can only use users. The storage resources of the working node cannot use the resources of other places for the storage of the mail. However, the enterprise has no way to realize the unification of the storage resources of different regions, so that the users of the advanced resources that need to be used in the child nodes cannot use the storage resources of the central node, resulting in Waste of storage resources.
发明内容 Summary of the invention
[0004] 本发明实施例所要解决的技术问题在于, 提供一种可以为不同服务需求的用户提供 不同等级的邮件储存服务的基于多层次用户分类的资源分配方法、 装置及系统。  The technical problem to be solved by the embodiments of the present invention is to provide a resource allocation method, apparatus and system based on multi-level user classification that can provide different levels of mail storage services for users with different service requirements.
[0005] 为了解决上述技术问题, 本发明实施例提供了一种基于多层次用户分类的资源分配 方法, 包括: 根据用户的预设服务等级, 获取与所述预设服务等级相对应的资源分组, 所述 资源分组包括高级资源及普通资源; 根据预设规则判断邮件的邮件类型, 所述邮件类型包括 低价值邮件、 普通邮件及重要邮件; 根据所述邮件类型将所述邮件储存到所述邮件所属用户 的资源分组的相应位置中。 [0005] In order to solve the above technical problem, an embodiment of the present invention provides a resource allocation method based on a multi-level user classification, including: acquiring a resource group corresponding to the preset service level according to a preset service level of the user. The resource group includes an advanced resource and a common resource; determining, according to a preset rule, a mail type of the mail, the mail type including a low value mail, a normal mail, and an important mail; storing the mail according to the mail type to the The corresponding location of the resource group of the user to which the message belongs.
[0006] 作为上述方案的改进, 所述基于多层次用户分类的资源分配方法还包括: 当所述资 源分组的储存空间达到预设值时, 向用户发送提醒邮件; 当所述低价值邮件数量超过预设数 量时, 删除储存时间最长的低价值邮件, 直至所述低价值邮件的数量小于或等于预设数量; 当所述低价值邮件的储存时间超过预设时间时, 删除所述低价值邮件。 [0006] As an improvement of the foregoing solution, the resource allocation method based on multi-level user classification further includes: when the resource is When the storage space of the source packet reaches a preset value, sending a reminder email to the user; when the number of the low-value email exceeds the preset number, deleting the low-value email with the longest storage time until the number of the low-value email is less than or Equal to the preset number; when the storage time of the low-value mail exceeds the preset time, deleting the low-value mail.
[0007] 作为上述方案的改进, 所述根据用户的预设服务等级, 获取与所述预设服务等级相 对应的资源分组的步骤包括: 根据用户的预设服务等级获取相应的数据编号; 根据所述数据 编号获取相应的数据集合, 所述数据集合内包括资源分组及功能列表。  [0007] As an improvement of the foregoing solution, the step of acquiring a resource group corresponding to the preset service level according to a preset service level of the user includes: acquiring a corresponding data number according to a preset service level of the user; The data number obtains a corresponding data set, and the data set includes a resource group and a function list.
[0008] 作为上述方案的改进, 根据所述邮件类型将所述邮件储存到所述邮件所属用户的资 源分组的相应位置中的步骤包括: 将所述重要邮件储存到所述邮件所属用户的资源分组的高 级资源中; 将所述低价值邮件及普通邮件储存到所述邮件所属用户的资源分组的普通资源中。  [0008] As an improvement of the foregoing solution, the step of storing the mail in a corresponding location of a resource group of a user to which the mail belongs according to the mail type includes: storing the important mail to a resource of a user to which the mail belongs In the grouped advanced resources; storing the low-value mail and the ordinary mail in a common resource of a resource group of the user to which the mail belongs.
[0009] 相应地, 本发明实施例还提供了一种基于多层次用户分类的资源分配装置, 包括: 用于根据用户的预设服务等级, 获取与所述预设服务等级相对应的资源分组的客户端, 所述 资源分组包括高级资源及普通资源; 用于根据预设规则判断邮件的邮件类型的判断模块, 所 述邮件类型包括低价值邮件、 普通邮件及重要邮件; 分别与所述客户端及判断模块相连接, 用于根据所述邮件类型将所述邮件储存到所述邮件所属用户的资源分组的相应位置中的储存 模块。 Correspondingly, the embodiment of the present invention further provides a resource allocation apparatus based on a multi-level user classification, including: configured to acquire a resource group corresponding to the preset service level according to a preset service level of the user. The client group, the resource group includes an advanced resource and a common resource; a determining module for determining a mail type of the mail according to a preset rule, the mail type includes a low value mail, a normal mail, and an important mail; respectively And the determining module is connected to store the mail according to the mail type to a storage module in a corresponding location of the resource group of the user to which the mail belongs.
[0010] 作为上述方案的改进, 所述基于多层次用户分类的资源分配装置还包括: 与所述储 存模块相连接, 用于当所述资源分组的储存空间达到预设值时, 向用户发送提醒邮件的预警 模块; 与所述储存模块相连接, 用于当所述低价值邮件数量超过预设数量时, 删除储存时间 最长的低价值邮件, 直至所述低价值邮件的数量小于或等于预设数量的第一删除模块; 与所 述储存模块相连接, 用于当所述低价值邮件的储存时间超过预设时间时, 删除所述低价值邮 件的第二删除模块。  [0010] As a modification of the foregoing solution, the resource allocation apparatus based on the multi-level user classification further includes: connecting to the storage module, configured to send to a user when a storage space of the resource group reaches a preset value An alert module of the reminder email; connected to the storage module, configured to delete the low-value mail with the longest storage time when the number of the low-value mail exceeds the preset number, until the number of the low-value mail is less than or equal to a preset number of first deletion modules; connected to the storage module, configured to delete the second deletion module of the low-value mail when the storage time of the low-value mail exceeds a preset time.
[0011] 作为上述方案的改进, 所述客户端包括: 用于根据用户的预设服务等级获取相应的数 据编号的第一获取单元; 与所述第一获取单元相连接, 用于根据所述数据编号获取相应的数 据集合的第二获取单元, 所述数据集合内包括资源分组及功能列表。  [0011] As a modification of the foregoing solution, the client includes: a first acquiring unit configured to acquire a corresponding data number according to a preset service level of the user; and is connected to the first acquiring unit, according to the The data number obtains a second acquiring unit of the corresponding data set, and the data set includes a resource group and a function list.
[0012] 作为上述方案的改进, 所述储存模块包括: 用于将所述重要邮件储存到所述邮件所 属用户的资源分组的高级资源中的第一储存单元; 用于将所述低价值邮件及普通邮件储存到 所述邮件所属用户的资源分组的普通资源中的第二储存单元。  [0012] As a modification of the foregoing solution, the storage module includes: a first storage unit configured to store the important mail into an advanced resource of a resource group of a user to which the mail belongs; and configured to use the low-value mail And the normal mail is stored in the second storage unit in the ordinary resource of the resource group of the user to which the mail belongs.
[0013] 相应地, 本发明实施例还提供了一种基于多层次用户分类的资源分配系统, 包括: 权利要求 5~8任一项所述的基于多层次用户分类的资源分配装置, 所述基于多层次用户分类 的资源分配系统内包括至少一个所述基于多层次用户分类的资源分配装置; 与所述基于多层 次用户分类的资源分配装置相连接, 用于预设用户的服务等级、 储存空间的预设值、 低价值 邮件的预设数量及预设时间的预设装置。 [0013] Correspondingly, the embodiment of the present invention further provides a resource allocation system based on multi-level user classification, comprising: the resource allocation device based on multi-level user classification according to any one of claims 5-8, The resource allocation system based on the multi-level user classification includes at least one resource allocation device based on the multi-level user classification; and is connected to the resource allocation device based on the multi-level user classification, and is used to preset the service level and storage of the user. Spatial default value, low value The preset number of messages and the preset device for the preset time.
[0014] 作为上述方案的改进, 所述基于多层次用户分类的资源分配系统包括储存资源, 所 述储存资源包括至少一个储存器。  [0014] As a modification of the foregoing solution, the resource allocation system based on multi-level user classification includes a storage resource, and the storage resource includes at least one storage.
[0015] 实施本发明实施例, 具有如下有益效果:  [0015] Embodiments of the present invention have the following beneficial effects:
本发明实施例通过客户端根据用户的预设服务等级获取与所述预设获取等级相应的资源分组, 同时所述判断模块根据预设规则判断所述邮件的类型, 所述储存模块根据所述邮件类型将所 述邮件储存到所述邮件所属用户的资源分组的相应位置中, 可以有效的对邮件进行分类储存, 提高邮件系统中储存资源的利用率。 In the embodiment of the present invention, the resource group corresponding to the preset acquisition level is obtained by the client according to the preset service level of the user, and the determining module determines the type of the mail according to the preset rule, and the storage module is configured according to the The mail type stores the mail in the corresponding location of the resource group of the user to which the mail belongs, and can effectively classify and store the mail, thereby improving the utilization rate of the stored resources in the mail system.
[0016] 同时, 本发明实施例提供了一种基于多层次用户分类的资源分配系统, 包括至少一 所述基于多层次用户分类的资源分配装置及预设装置, 通过所述预设装置预设所述基于多层 次用户分类的资源分配装置内用户的服务等级, 从而实现对系统内用户的统一管理, 所述基 于多层次用户分类的资源分配系统包括储存资源, 所述储存资源包括至少一个储存器, 从而 可以有效的提高邮件储存时的速度。  [0016] In the meantime, the embodiment of the present invention provides a resource allocation system based on multi-level user classification, including at least one resource allocation device and a preset device based on multi-level user classification, which are preset by the preset device. The resource allocation system of the user in the resource allocation device based on the multi-level user classification, thereby implementing unified management of the users in the system, the resource allocation system based on the multi-level user classification includes a storage resource, and the storage resource includes at least one storage Therefore, it can effectively improve the speed of mail storage.
附图说明 DRAWINGS
[0017] 图 1 是本发明一种基于多层次用户分类的资源分配方法的第一实施例的结构示意图; 图 2是本发明一种基于多层次用户分类的资源分配方法的第二实施例的结构示意图; 图 3是本发明一种基于多层次用户分类的资源分配装置的结构示意图;  1 is a schematic structural diagram of a first embodiment of a resource allocation method based on multi-level user classification according to the present invention; FIG. 2 is a second embodiment of a resource allocation method based on multi-level user classification according to the present invention; FIG. 3 is a schematic structural diagram of a resource allocation apparatus based on multi-level user classification according to the present invention; FIG.
图 4是本发明一种基于多层次用户分类的资源分配系统的结构示意图。 4 is a schematic structural diagram of a resource allocation system based on multi-level user classification according to the present invention.
具体实施方式 detailed description
[0018] 为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明作进一步 地详细描述。  The present invention will be further described in detail below with reference to the accompanying drawings.
[0019] 图 1 为本发明一种基于多层次用户分类的资源分配方法的第一实施例的结构示意图, 包括:  1 is a schematic structural diagram of a first embodiment of a resource allocation method based on multi-level user classification according to the present invention, including:
S100, 根据用户的预设服务等级, 获取与所述预设服务等级相对应的资源分组, 所述资源分 组包括高级资源及普通资源。  S100. Acquire, according to a preset service level of the user, a resource group corresponding to the preset service level, where the resource group includes an advanced resource and a common resource.
[0020] 根据用户的预设服务等级获取相应的资源分组, 所述资源分组包括高级资源及普通 资源, 所述高级资源是指邮件储存速度快、 工作稳定、 价格昂贵的硬件资源, 其他的是普通 资源, 用户的服务等级是通过用户职位的性质、 用户的活跃程度及用户的邮件多少等进行划 分的, 即用户的职位越高、 用户越活跃、 用户邮件越多, 则用户的服务等级就越高。 对于不 同用户, 使用不同的资源分组, 服务等级越高, 使用的硬件资源就越好。  And obtaining a corresponding resource group according to the preset service level of the user, where the resource group includes an advanced resource and a common resource, where the advanced resource refers to a hardware resource with a fast mail storage speed, stable work, and high price, and the other is Ordinary resources, the user's service level is divided by the nature of the user's position, the user's activity level, and the user's mail, etc., that is, the higher the user's position, the more active the user, the more the user's mail, the user's service level is The higher. For different users, use different resource groupings. The higher the service level, the better the hardware resources used.
[0021] S101 , 根据预设规则判断邮件的邮件类型, 所述邮件类型包括低价值邮件、 普通邮件 及重要邮件。 [0021] S101. Determine, according to a preset rule, a mail type of the mail, where the mail type includes a low-value mail or a normal mail. And important mail.
[0022] 网络接收外来邮件或者用户编辑邮件, 并通过预设规则判断所述邮件的类型, 所述 邮件类型包括低价值邮件、 普通邮件及重要邮件, 例如, 广告邮件、 系统通知邮件、 系统退 信及用户删除邮件等为低价值邮件, 用户做特殊标记的邮件为重要邮件, 其他的为普通信件。  [0022] The network receives the incoming mail or the user edits the mail, and determines the type of the mail by using a preset rule, the mail type includes a low-value mail, a normal mail, and an important mail, for example, an advertisement mail, a system notification mail, and a system refund. The letter and the user delete the mail and the like as a low-value mail, and the user's specially marked mail is an important mail, and the other is a normal mail.
[0023] S102, 根据所述邮件类型将所述邮件储存到所述邮件所属用户的资源分组的相应位置 中。 [0023] S102. Store the mail according to the mail type to a corresponding location of a resource group of a user to which the mail belongs.
[0024] 不同服务等级对应的资源分组不同, 同时, 所述资源分组包括高级资源及普通资源, 在邮件储存时, 需根据邮件的类型将所述邮件储存到所述邮件所属用户的资源分组相应的位 置中, 从而实现邮件的分类储存。  [0024] The resource groups corresponding to different service levels are different. At the same time, the resource group includes advanced resources and common resources. When the mail is stored, the mail is stored according to the type of the mail to the resource group of the user to which the mail belongs. In the location, thus achieving the classified storage of the mail.
[0025] 需要说明的是, 在通过所述基于多层次用户分类的资源分配方法进行邮件的储存时, 需要根据用户的预设服务等级获取相应资源分组, 同时根据预设规则判断所述邮件的类型, 最后将邮件储存到所述邮件所属用户的资源分组中, 由于所述资源分组包括高级资源及普通 资源, 所述邮件类型包括低价值邮件、 普通邮件及重要邮件, 因此在对邮件进行储存时, 需 要按照邮件的类别将所述邮件储存到所述邮件所属用户的资源分组的相应位置中, 从而使邮 件能够分类及合理的储存。  [0025] It should be noted that, when the mail is stored by the resource allocation method based on the multi-level user classification, the corresponding resource group needs to be obtained according to the preset service level of the user, and the mail is determined according to a preset rule. Type, finally storing the mail in the resource group of the user to which the mail belongs, since the resource group includes advanced resources and common resources, the mail type includes low-value mail, normal mail, and important mail, so the mail is stored. The mail needs to be stored in the corresponding location of the resource group of the user to which the mail belongs according to the category of the mail, so that the mail can be classified and stored reasonably.
[0026] 图 2 为本发明一种基于多层次用户分类的资源分配方法的第二实施例的结构示意图, 包括:  2 is a schematic structural diagram of a second embodiment of a resource allocation method based on multi-level user classification according to the present invention, including:
S200, 根据用户的预设服务等级获取相应的数据编号。  S200: Obtain a corresponding data number according to a preset service level of the user.
[0027] 不同的用户对应不同的服务等级, 不同服务等级对应不同的数据编号, 从而使不同 用户对应不同的数据编号。  [0027] Different users correspond to different service levels, and different service levels correspond to different data numbers, so that different users correspond to different data numbers.
[0028] S201 , 根据所述数据编号获取相应的数据集合, 所述数据集合内包括资源分组及功能 列表。  [0028] S201. Acquire a corresponding data set according to the data number, where the data set includes a resource group and a function list.
[0029] 根据所述数据编号获取相应的数据集合, 所述数据集合内包括资源分组及功能列表, 所述资源分组包括高级资源及普通资源, 用户的预设服务等级是根据用户的职位性质、 用户 的活跃程度、 用户的邮件多少进行划分的, 即用户的职位越高、 用户越活跃、 用户邮件越多, 则用户的服务等级就越高, 同时服务等级越高, 用户的资源分组就越好, 同时, 用户所使用 的硬件资源就越好。  [0029] obtaining a corresponding data set according to the data number, where the data set includes a resource group and a function list, where the resource group includes an advanced resource and a common resource, and the preset service level of the user is based on the nature of the user's position. The user's activity level and the user's mail are divided. That is, the higher the user's position, the more active the user, and the more the user's mail, the higher the user's service level. At the same time, the higher the service level, the more the user's resource grouping. Well, at the same time, the hardware resources used by the user are better.
[0030] 另夕卜, 所述功能列表包括用户是否可以使用 POP3/IMAP/SMTP (邮局协议的第 3 个 版本 /简单邮件传输协议 /交互式邮件存取协议) 服务、 是否可以使用邮件会话功能、 是否可 以使用邮件状态跟踪、 是否可以记录用户登录历史等等, 使用所述功能列表内的功能会占用 一定的硬件资源, 因此用户可以选择性的开通所述功能列表内的功能。 [0031] S202, 根据预设规则判断邮件的邮件类型, 所述邮件类型包括低价值邮件、 普通邮件 及重要邮件。 [0030] In addition, the function list includes whether the user can use the POP3/IMAP/SMTP (3rd version of the post office protocol/Simple Mail Transfer Protocol/Interactive Mail Access Protocol) service, whether the mail session function can be used. Whether the mail status tracking can be used, whether the user login history can be recorded, etc., the functions in the function list occupy a certain hardware resource, so the user can selectively open the functions in the function list. [0031] S202. Determine, according to a preset rule, a mail type of the mail, where the mail type includes a low value mail, a normal mail, and an important mail.
[0032] 网络接收外来邮件或者用户编辑邮件, 并通过预设规则判断所述邮件的类型, 所述 邮件类型包括低价值邮件、 普通邮件及重要邮件, 例如, 广告邮件、 系统通知邮件、 系统退 信及用户已删除邮件等为低价值邮件, 用户做特殊标记的邮件为重要邮件, 其他的为普通信 件。  [0032] The network receives the incoming mail or the user edits the mail, and determines the type of the mail by using a preset rule, the mail type includes a low-value mail, a normal mail, and an important mail, for example, an advertisement mail, a system notification mail, and a system refund. The letter and the user have deleted the mail, etc. as a low-value mail, and the user's specially marked mail is an important mail, and the other is a normal mail.
[0033] S203, 将所述重要邮件储存到所述邮件所属用户的资源分组的高级资源中。  [0033] S203. Store the important mail in a high-level resource of a resource group of a user to which the mail belongs.
[0034] 所述重要邮件是指用户进行标记过的邮件, 同时, 用户的服务等级的不同, 所述用 户对应的资源分组中的高级资源的储存性能不同, 因此在对重要邮件进行储存时, 需要将所 述重要邮件储存到所述邮件所属用户的资源分组的高级资源中。 [0034] The important mail refers to the mail that the user has marked, and at the same time, the service level of the user is different, and the storage performance of the advanced resource in the resource group corresponding to the user is different, so when storing the important mail, The important mail needs to be stored in the advanced resource of the resource group of the user to which the mail belongs.
[0035] 另外, 所述高级资源内包括第一高级资源及第二高级资源, 在重要邮件储存时, 将 重要邮件储存到第一高级资源内, 当所述重要邮件的储存时间超过预设时间时, 即可将储存 时间超过预设时间的重要邮件转存到第二高级资源中, 同时删除所述第一高级资源中的所述 储存时间超过预设时间的重要邮件, 另外, 所述第一高级资源的储存性能高于所述第二高级 资源的储存性能。  [0035] In addition, the advanced resource includes a first advanced resource and a second advanced resource, and the important mail is stored in the first advanced resource when the important mail is stored, when the storage time of the important mail exceeds the preset time. And transferring the important mail that has been stored for more than the preset time to the second advanced resource, and deleting the important mail in the first advanced resource that is stored for more than the preset time. The storage performance of an advanced resource is higher than the storage performance of the second advanced resource.
S204, 将所述低价值邮件及普通邮件储存到所述邮件所属用户的资源分组的普通资源中。  S204. Store the low-value mail and the ordinary mail in a common resource of a resource group of the user to which the mail belongs.
[0036] 所述低价值邮件是指广告邮件、 系统通知邮件、 系统退信及用户已删除邮件等, 除 了重要邮件及低价值邮件, 其他的邮件均为普通邮件, 同时, 由于用户的服务等级的不同, 所述用户对应的资源分组中的普通资源的储存性能不同, 因此在对低价值邮件及普通邮件进 行储存时, 需要将所述低价值邮件及普通邮件储存到所述邮件所属用户的资源分组的普通资 源中。 [0036] The low-value mail refers to an advertisement mail, a system notification mail, a system return letter, and a user deleted mail, etc., except for important mails and low-value mails, other mails are ordinary mails, and at the same time, due to the user's service level The storage performance of the common resource in the resource group corresponding to the user is different. Therefore, when storing the low-value mail and the ordinary mail, the low-value mail and the ordinary mail need to be stored in the user of the mail. A common resource grouped by resources.
[0037] 另外, 所述普通资源包括第一普通资源、 第二普通资源及第三普通资源, 将所述低 价值邮件储存到第三普通资源中, 所述用户接收或者编辑的普通邮件首先储存到第一普通资 源中, 当所述普通邮件的储存时间超过预设时间时, 则将所述储存时间超过预设时间的普通 邮件转存到第二普通资源中, 同时删除第一普通资源中所述储存时间超过预设时间的邮件。 另外, 所述第一普通资源的储存性能比所述第二普通资源的储存性能强, 同时, 所述第二普 通资源的储存性能比第三普通资源的储存性能强。  [0037] In addition, the common resource includes a first common resource, a second common resource, and a third common resource, and the low-value mail is stored in a third common resource, and the ordinary mail received or edited by the user is first stored. In the first common resource, when the storage time of the normal mail exceeds the preset time, the normal mail whose storage time exceeds the preset time is transferred to the second common resource, and the first common resource is deleted. The mail whose storage time exceeds the preset time. In addition, the storage performance of the first common resource is stronger than the storage performance of the second common resource, and the storage performance of the second normal resource is stronger than the storage performance of the third common resource.
[0038] S205, 当所述资源分组的储存空间达到预设值时, 向用户发送提醒邮件。  [0038] S205. Send a reminder email to the user when the storage space of the resource group reaches a preset value.
[0039] 在邮件储存过程中, 当所述资源分组的储存空间达到预设值时, 储存系统通过提醒 邮件提醒用户, 所述资源分组的储存空间达到预设值包括普通资源的储存空间达到预设值及 高级资源的储存空间达到预设值。 [0040] S206, 当所述低价值邮件数量超过预设数量时, 删除储存时间最长的低价值邮件, 直 至所述低价值邮件的数量小于或等于预设数量。 [0039] In the mail storage process, when the storage space of the resource group reaches a preset value, the storage system prompts the user by using a reminder email, and the storage space of the resource group reaches a preset value, and the storage space of the common resource reaches a preset value. The storage space for the value and advanced resources reaches the preset value. [0040] S206. When the quantity of the low-value mail exceeds a preset quantity, deleting the low-value mail with the longest storage time until the quantity of the low-value mail is less than or equal to the preset quantity.
[0041] 通过预设低价值邮件的数量, 当所述低价值邮件数量超过预设数量时, 依次删除储 存时间最长的低价值邮件, 直至所述低价值邮件的数量小于或者等于预设数量, 从而有效的 控制低价值邮件的数量, 提高普通资源的利用率。  [0041] By preset the number of low-value mails, when the number of low-value mails exceeds a preset number, the longest-valued low-value mails are sequentially deleted until the number of the low-value mails is less than or equal to the preset quantity. , thus effectively controlling the number of low-value mail and improving the utilization of common resources.
[0042] S207, 当所述低价值邮件的储存时间超过预设时间时, 删除所述低价值邮件。  [0042] S207. Delete the low-value mail when the storage time of the low-value mail exceeds a preset time.
[0043] 通过预设低价值邮件的储存时间, 当所述低价值邮件的储存时间超过预设时间时, 自动删除所述低价值邮件, 可以有效的提高普通资源的利用率。 [0043] By presetting the storage time of the low-value mail, when the storage time of the low-value mail exceeds the preset time, the low-value mail is automatically deleted, which can effectively improve the utilization rate of the common resources.
[0044] 需要说明的是, 在通过所述基于多层次用户分类的资源分配方法进行邮件的储存时, 步骤 S203与步骤 S204没有先后顺序, 当需要存储的邮件为重要邮件时, 执行步骤 S203; 当需要储存的邮件为普通邮件或者低价值邮件时, 执行步骤 S204 即可。 执行步骤 S205、 S206及 S207没有先后顺序, 当资源分组及其中的邮件满足 S205、 S206或 S207中的所述的 条件时, 即可执行相应的步骤。  [0044] It should be noted that when the mail is stored by the resource allocation method based on the multi-level user classification, step S203 and step S204 have no order, when the mail to be stored is an important mail, step S203 is performed; When the mail to be stored is a normal mail or a low-value mail, step S204 is performed. Steps S205, S206, and S207 are performed without a sequence. When the resource group and the mail in it satisfy the conditions described in S205, S206, or S207, the corresponding steps can be performed.
[0045] 采用本发明实施例所述的基于多层次用户分类的资源分配方法进行邮件的储存时, 需根据用户的预设服务等级获取相应的数据编号, 并根据所述数据编号获取相应的数据集合, 所述数据集合内包括资源分组及功能列表所述资源分组包括高级资源及普通资源。 网络接收 外来邮件或者用户编辑邮件, 并通过预设规则判断所述邮件的类型, 所述邮件类型包括低价 值邮件、 普通邮件及重要邮件, 如果需要储存的邮件为重要邮件, 通过步骤 S203 将所述重 要邮件储存到所述邮件所属用户的资源分组的高级资源中, 如果需要储存的邮件为低价值邮 件或者普通邮件, 则通过步骤 S204 将所述普通邮件或者低价值邮件储存到所述邮件所属用 户的资源分组的普通资源中。  [0045] When the resource allocation method based on the multi-level user classification according to the embodiment of the present invention is used to store the mail, the corresponding data number is obtained according to the preset service level of the user, and the corresponding data is obtained according to the data number. The set includes the resource group and the function list in the data set, and the resource group includes an advanced resource and a common resource. The network receives the incoming mail or the user edits the mail, and determines the type of the mail by using a preset rule. The mail type includes a low-value mail, a normal mail, and an important mail. If the mail to be stored is an important mail, the step S203 is performed. The important mail is stored in the advanced resource of the resource group of the user to which the mail belongs. If the mail to be stored is a low-value mail or a normal mail, the ordinary mail or the low-value mail is stored in the mail to the mail in step S204. The user's resources are grouped into common resources.
[0046] 另外, 当所述资源分组的储存空间达到预设值时, 向用户发送提醒邮件; 当所述低 价值邮件数量超过预设数量时, 删除储存时间最长的低价值邮件, 直至所述低价值邮件的数 量小于或等于所述预设数量; 当所述低价值邮件的储存时间超过预设时间时, 删除所述低价 值邮件。  [0046] In addition, when the storage space of the resource group reaches a preset value, the reminder mail is sent to the user; when the number of the low-value mail exceeds the preset quantity, the longest low-value mail is deleted, until the The number of low-value mails is less than or equal to the preset number; when the storage time of the low-value mail exceeds a preset time, the low-value mail is deleted.
[0047] 例如, 用户的预设服务等级为第一服务等级, 所述第一服务等级对应的资源分组为 高级资源 Sl、 S2及普通资源 S3, 用户接收的外来邮件为 Al、 A2及 A3, 所述 A1为重要邮 件, 所述 A2为普通邮件, 所述 A3为低价值邮件。  [0047] For example, the preset service level of the user is the first service level, the resource group corresponding to the first service level is the advanced resource S1, S2, and the common resource S3, and the incoming mail received by the user is Al, A2, and A3. The A1 is an important mail, the A2 is a normal mail, and the A3 is a low-value mail.
[0048] 在通过本发明实施例所述的基于多层次用户分类的资源分配方法进行邮件储存时, 可以将邮件 A1储存到高级资源 S1及 S2中, 将所述普通邮件 A2与低价值邮件 A3储存到 普通资源 S3中。 [0049] 图 3为本发明一种基于多层次用户分类的资源分配装置的结构示意图。 [0048] When the mail is stored by the resource allocation method based on the multi-level user classification according to the embodiment of the present invention, the mail A1 may be stored in the advanced resources S1 and S2, and the ordinary mail A2 and the low-value mail A3 may be stored. Stored in the ordinary resource S3. 3 is a schematic structural diagram of a resource allocation apparatus based on multi-level user classification according to the present invention.
[0050] 如图 3所示, 所述一种基于多层次用户分类的资源分配装置, 包括:  [0050] As shown in FIG. 3, the resource allocation apparatus based on the multi-level user classification includes:
用于根据用户的预设服务等级, 获取与所述预设服务等级相对应的资源分组的客户端 1, 所 述资源分组包括高级资源及普通资源。 The client 1 for obtaining a resource group corresponding to the preset service level according to a preset service level of the user includes the advanced resource and the common resource.
[0051] 用于根据预设规则判断邮件的邮件类型的判断模块 2, 所述邮件类型包括低价值邮件、 普通邮件及重要邮件。  [0051] The determining module 2 for determining the mail type of the mail according to the preset rule, the mail type includes a low value mail, a normal mail, and an important mail.
[0052] 分别与所述客户端 1 及判断模块 2相连接, 用于根据所述邮件类型将所述邮件储存 到所述邮件所属用户的资源分组的相应位置中的储存模块 3。  And connecting to the client 1 and the determining module 2 respectively, and configured to store the mail according to the mail type to the storage module 3 in a corresponding location of the resource group of the user to which the mail belongs.
[0053] 需要说明的是, 通过客户端 1 根据用户的预设服务等级获取与所述预设服务等级相 应的资源分组, 所述资源分组包括高级资源及普通资源, 所述高级资源是指邮件储存速度快、 工作稳定、 价格昂贵的硬件资源, 其他的是普通资源; 所述用户的服务等级是根据用户职位 的性质、 用户的活跃程度、 用户信件多少等进行划分的。 所述判断模块 2用于根据预设规则 判断邮件的邮件类型, 所述邮件类型包括低价值邮件、 普通邮件及重要邮件, 例如, 广告邮 件、 系统通知邮件、 系统退信及用户以及删除的邮件等为低价值邮件, 用户做特殊标记的邮 件为重要邮件, 其他的为普通信件。 所述储存模块 3根据所述邮件类型将所述邮件储存到所 述邮件所属用户的资源分组的相应位置中, 从而使邮件进行分类储存。  [0053] It should be noted that the resource group corresponding to the preset service level is obtained by the client 1 according to the preset service level of the user, where the resource group includes an advanced resource and a common resource, and the advanced resource refers to the mail. Hardware resources with fast storage speed, stable operation and high price, and other common resources; the service level of the user is divided according to the nature of the user's position, the user's activity level, and the number of user letters. The determining module 2 is configured to determine, according to a preset rule, a mail type of the mail, where the mail type includes a low-value mail, a normal mail, and an important mail, for example, an advertisement mail, a system notification mail, a system bounce, a user, and a deleted mail. When it is a low-value mail, the user's specially marked mail is an important mail, and the other is a normal mail. The storage module 3 stores the mail in a corresponding location of the resource group of the user to which the mail belongs according to the mail type, so that the mail is classified and stored.
[0054] 更佳地, 所述基于多层次用户分类的资源分配装置还包括: [0054] More preferably, the resource allocation device based on the multi-level user classification further includes:
与所述储存模块 3相连接, 用于当所述资源分组的储存空间达到预设值时, 向用户发送提醒 邮件的预警模块 4。 The storage module 3 is connected to the early warning module 4 for sending a reminder email to the user when the storage space of the resource group reaches a preset value.
[0055] 与所述储存模块 3 相连接, 用于当所述低价值邮件数量超过预设数量时, 删除储存 时间最长的低价值邮件, 直至所述低价值邮件的数量小于或等于预设数量的第一删除模块 5。  [0055] connected to the storage module 3, configured to delete the low-value mail with the longest storage time when the number of the low-value mail exceeds the preset quantity, until the quantity of the low-value mail is less than or equal to the preset The number of first deletion modules 5.
[0056] 与所述储存模块 3 相连接, 用于当所述低价值邮件的储存时间超过预设时间时, 删 除所述低价值邮件的第二删除模块 6。 And connecting to the storage module 3, configured to delete the second deletion module 6 of the low-value mail when the storage time of the low-value mail exceeds a preset time.
[0057] 需要说明的是, 在邮件储存的过程中, 当所述资源分组的储存空间达到预设值时, 所述预警模块 4向用户发送提醒邮件, 当所述低价值邮件的数量超过预设数量时, 所述第一 删除模块 5删除储存时间最长的低价值邮件, 直至所述低价值邮件的数量小于或者等于预设 数量, 当所述低价值邮件的储存时间超过预设时间时, 所述第二删除模块 6删除储存时间超 过预设时间的低价值邮件, 从而提高所述资源分组的利用率。  [0057] It should be noted that, in the process of storing the mail, when the storage space of the resource group reaches a preset value, the early warning module 4 sends a reminder email to the user, when the number of the low-value mail exceeds the pre- When the quantity is set, the first deleting module 5 deletes the low-value mail with the longest storage time until the quantity of the low-value mail is less than or equal to the preset quantity, when the storage time of the low-value mail exceeds the preset time The second deleting module 6 deletes the low value mail whose storage time exceeds the preset time, thereby improving the utilization rate of the resource group.
[0058] 更佳地, 所述客户端 1包括: [0058] More preferably, the client 1 includes:
用于根据用户的预设服务等级获取相应的数据编号的第一获取单元 11。 A first obtaining unit 11 for acquiring a corresponding data number according to a preset service level of the user.
[0059] 与所述第一获取单元 11 相连接, 用于根据所述数据编号获取相应的数据集合的第二 获取单元 12, 所述数据集合内包括资源分组及功能列表。 [0059] connected to the first obtaining unit 11, configured to acquire a second of the corresponding data set according to the data number The obtaining unit 12 includes a resource group and a function list in the data set.
[0060] 需要说明的是, 所述第一获取单元 11 根据用户的预设服务等级获取相应的数据编号, 所述第二获取单元 12根据所述数据编号获取相应的数据集合, 所述数据集合包括资源分组 及功能列表, 所述资源分组包括高级资源及普通资源; 所述功能列表包括用户是否可以使用 POP3/IMAP/SMTP 服务、 是否可以使用邮件会话功能、 是否可以使用邮件状态跟踪、 是否 可以记录用户登录历史等等, 使用所述功能列表内的功能会占用一定的硬件资源, 因此用户 可以选择性的开通所述功能列表内的功能。  [0060] It should be noted that, the first acquiring unit 11 acquires a corresponding data number according to the preset service level of the user, and the second acquiring unit 12 acquires a corresponding data set according to the data number, where the data set The resource grouping includes a high-level resource and a common resource; the function list includes whether the user can use the POP3/IMAP/SMTP service, whether the mail session function can be used, whether the mail status tracking can be used, whether The user login history and the like are recorded, and the functions in the function list occupy a certain hardware resource, so the user can selectively activate the functions in the function list.
[0061] 更佳地, 所述储存模块 3包括: [0061] More preferably, the storage module 3 includes:
用于将所述重要邮件储存到所述邮件所属用户的资源分组的高级资源中的第一储存单元 31。 A first storage unit 31 for storing the important mail in an advanced resource of a resource group of a user to which the mail belongs.
[0062] 用于将所述低价值邮件及普通邮件储存到所述邮件所属用户的资源分组的普通资源 中的第二储存单元 32。 [0062] a second storage unit 32 for storing the low-value mail and normal mail in a common resource of a resource group of a user to which the mail belongs.
[0063] 需要说明的是, 所述判断模块 2 通过对接收外来的邮件或者用户编辑的邮件进行类 型的划分, 将所述邮件分为重要邮件、 普通邮件及低价值邮件, 所述第一储存单元 31 将所 述重要邮件储存到所述邮件所属用户的资源分组的高级资源中, 所述第二储存单元 32将所 述低价值邮件及普通邮件储存到所述邮件所属用户的资源分组的普通资源中, 即可完成邮件 的多层次分类储存。  [0063] It should be noted that the determining module 2 divides the mail into important mails, normal mails, and low-value mails by classifying the received mails or the mails edited by the user, and the first storage is performed. The unit 31 stores the important mail in the advanced resource of the resource group of the user to which the mail belongs, and the second storage unit 32 stores the low-value mail and the ordinary mail in the ordinary resource group of the user to which the mail belongs. In the resource, you can complete the multi-level classification storage of the mail.
[0064] 另外, 所述高级资源内包括第一高级资源及第二高级资源, 在重要邮件储存时, 所 述第一储存单元 31 将重要邮件储存到第一高级资源内, 当所述重要邮件的储存时间超过预 设时间时, 所述第一储存单元 31 即可将储存时间超过预设时间的重要邮件转存到第二高级 资源中, 同时删除所述第一高级资源中的所述储存时间超过预设时间的重要邮件; 所述普通 资源包括第一普通资源、 第二普通资源及第三普通资源, 将所述低价值邮件储存到第三普通 资源中, 所述第二储存单元 32将所述用户接收或者编辑的普通邮件首先储存到第一普通资 源中, 当所述普通邮件的储存时间超过预设时间时, 所述第二储存单元 32将所述储存时间 超过预设时间的普通邮件转存到第二普通资源中, 同时删除第一普通资源中所述储存时间超 过预设时间的邮件。 另外, 所述第一高级资源的储存性能比所述第二高级资源的储存性能强, 所述第一普通资源的储存性能比第二普通资源的储存性能强, 所述第二普通资源的储存性能 比第三普通资源的储存性能强, 从而可以使邮件得到多层次的储存起来。  [0064] In addition, the advanced resource includes a first advanced resource and a second advanced resource. When the important email is stored, the first storage unit 31 stores the important email into the first advanced resource, when the important email is When the storage time exceeds the preset time, the first storage unit 31 can transfer the important mail whose storage time exceeds the preset time to the second advanced resource, and delete the storage in the first advanced resource. And the common resource includes a first common resource, a second common resource, and a third common resource, and the low-value mail is stored in the third common resource, where the second storage unit 32 The normal mail received or edited by the user is first stored in the first common resource. When the storage time of the normal mail exceeds the preset time, the second storage unit 32 stores the storage time longer than the preset time. The normal mail is transferred to the second common resource, and the mail stored in the first common resource for more than the preset time is deleted. In addition, the storage performance of the first advanced resource is stronger than the storage performance of the second advanced resource, the storage performance of the first common resource is stronger than the storage performance of the second common resource, and the storage of the second common resource is The performance is better than that of the third common resource, so that the mail can be stored in multiple layers.
[0065] 例如, 用户的预设服务等级为第一服务等级, 客户端 1 根据所述第一服务等级对应 的资源分组为高级资源 Sl、 S2及普通资源 S3, 系统接收的外来邮件为 Al、 八2及 3, 所 述判断模块 2判断所述外来邮件 Al、 A2及 A 3的类型, 得到所述 A1为重要邮件, A2为普 通邮件, A3为低价值邮件。 [0066] 根据本发明实施例所述的基于多层次用户分类的资源分配装置进行邮件储存时, 通 过所述第一储存单元 31可将邮件 A1储存到高级资源 S1及 S2中, 通过所述第二储存单元 32可将邮件 A2及 A3储存到普通资源 S3中。 [0065] For example, the preset service level of the user is the first service level, and the client 1 is the advanced resource S1, S2 and the common resource S3 according to the resource group corresponding to the first service level, and the incoming mail received by the system is Al, 8 and 3, the determining module 2 determines the types of the incoming mails A1, A2, and A3, and obtains the A1 as an important mail, A2 as a normal mail, and A3 as a low-value mail. [0066] When the resource allocation device based on the multi-level user classification according to the embodiment of the present invention performs mail storage, the first storage unit 31 can store the mail A1 into the advanced resources S1 and S2, by using the The second storage unit 32 can store the mails A2 and A3 into the ordinary resource S3.
[0067] 如图 4为本发明一种基于多层次用户分类的资源分配系统的结构示意图。  4 is a schematic structural diagram of a resource allocation system based on multi-level user classification according to the present invention.
[0068] 如图 4所示, 所述基于多层次用户分类的资源分配系统, 包括: [0068] As shown in FIG. 4, the resource allocation system based on multi-level user classification includes:
权利要求 5~8任一项所述的基于多层次用户分类的资源分配装置, 所述基于多层次用户分类 的资源分配系统内包括至少一个所述基于多层次用户分类的资源分配装置。 The resource allocation apparatus based on the multi-level user classification according to any one of claims 5 to 8, wherein the resource allocation system based on the multi-level user classification includes at least one resource allocation apparatus based on the multi-level user classification.
[0069] 与所述基于多层次用户分类的资源分配装置相连接, 用于预设用户的服务等级、 储 存空间的预设值、 低价值邮件的预设数量及预设时间的预设装置 7。 And the preset device 7 for presetting the service level of the user, the preset value of the storage space, the preset number of low-value mails, and the preset time is connected to the resource allocation device based on the multi-level user classification. .
[0070] 需要说明的是, 所述基于多层次用户分类的资源分配系统内包括所述基于多层次用 户分类的资源分配装置及预设装置 7, 所述基于多层次用户分类的资源分配系统包括至少一 个所述基于多层次用户分类的资源分配装置, 并通过预设装置 7分别对所述基于多层次用户 分类的资源分配装置预设用户的服务等级, 即通过预设装置 7根据用户职位的性质、 用户的 活跃程度、 用户的信件多少等对用户进行服务等级的划分, 例如, 将用户职位越高、 用户越 活跃及信件越多, 则服务等级就越高。  [0070] It should be noted that the resource allocation system based on the multi-level user classification includes the resource allocation device based on the multi-level user classification and the preset device 7, and the resource allocation system based on the multi-level user classification includes At least one resource allocation device based on the multi-level user classification, and preset the service level of the user to the resource allocation device based on the multi-level user classification by the preset device 7, that is, according to the position of the user by the preset device 7 The nature of the user, the level of activity of the user, the number of letters of the user, etc., divides the service level of the user. For example, the higher the user position, the more active the user and the more letters, the higher the service level.
[0071] 另外, 所述预设装置 7 还可以统一对所有的所述基于多层次用户分类的资源分配装 置内的所述预警模块 4设置所述储存空间的预设值、 所述第一删除模块 5内设置低价值邮件 的预设数量及所述第二删除模块 6内设置预设时间等, 另外, 所述预设装置 7还可以对所述 基于多层次用户分类的资源分配系统内所有所述基于多层次用户分类的资源分配装置接收的 邮件进行标记, 从而使标记后的邮件成为重要邮件。  [0071] In addition, the preset device 7 may further set the preset value of the storage space, the first deletion, to the alert module 4 in the resource allocation device based on the multi-level user classification. The preset quantity of the low-value mail is set in the module 5, and the preset time is set in the second deletion module 6. The preset device 7 can also allocate all the resources in the system based on the multi-level user classification. The mail received by the resource allocation device based on the multi-level user classification is marked, so that the marked mail becomes an important mail.
[0072] 例如, 预设装置 7将所述基于多层次用户分类的资源分配装置接收到来自 A公司的 邮件直接进行标记, 则接收到来自 A公司的邮件全部为重要邮件, 从而使来自 A公司的邮 件根据用户的服务等级储存到相应的高级资源中。  [0072] For example, the preset device 7 directly receives the mail from the company A by the resource allocation device based on the multi-level user classification, and receives all the mails from the company A as important mails, thereby enabling the company A. The mail is stored in the corresponding advanced resources according to the user's service level.
[0073] 更佳地, 所述基于多层次用户分类的资源分配系统包括储存资源, 所述储存资源包 括至少一个储存器。  [0073] More preferably, the resource allocation system based on multi-level user classification includes a storage resource, and the storage resource includes at least one storage.
[0074] 需要说明的是, 所述储存资源是指所述基于多层次用户分类的资源分配系统内所有 的储存资源, 所述储存资源用于储存所有基于多层次用户分类的资源分配装置接收到或者编 辑的邮件, 所述储存资源包括至少一个储存器。  [0074] It should be noted that the storage resource refers to all the storage resources in the resource allocation system based on the multi-level user classification, and the storage resource is used to store all the resource allocation devices based on the multi-level user classification. Or an edited email, the storage resource including at least one storage.
[0075] 另外, 所述储存资源内的任一储存器至少属于一个用户所对应的资源分组, 从而使 所述储存资源内的任一储存器至少储存一个用户的邮件, 所述基于多层次用户分类的资源分 配系统对所有储存资源进行统一管理, 即所述储存资源内的任一储存器可以属于一个或者多 个用户所对应的资源分组, 从而可以使系统内的储存资源得到高效的利用另外, 对于不同的 用户, 根据用户所对应的服务等级不同及接收到邮件的重要性不同, 同一储存器可以储存不 同类型的邮件。 [0075] In addition, any storage in the storage resource belongs to at least one resource group corresponding to one user, so that any storage in the storage resource stores at least one user's mail, and the multi-level user is based on The classified resource allocation system uniformly manages all storage resources, that is, any storage in the storage resource may belong to one or more The resource groups corresponding to the users can be used to make efficient use of the storage resources in the system. In addition, for different users, the same storage can be stored differently depending on the service level corresponding to the user and the importance of receiving the mail. Type of mail.
[0076] 例如, 储存器 1可以储存用户 1及用户 2接收的邮件, 同时, 对于用户 1所对应的 资源分组, 储存器 1为高级资源; 对于用户 2所对应的资源分组, 所述储存器 1为普通资源, 则在邮件储存的过程中, 用户 1将接收到的重要邮件储存到储存器 1里面。 同时, 所述用户 2将普通邮件及低价值邮件储存到储存器 1里面。  [0076] For example, the storage 1 may store the mail received by the user 1 and the user 2, and at the same time, for the resource group corresponding to the user 1, the storage 1 is an advanced resource; and for the resource group corresponding to the user 2, the storage 1 is a common resource, and in the process of storing the mail, the user 1 stores the important mail received in the storage 1. At the same time, the user 2 stores the normal mail and the low value mail in the storage unit 1.
[0077] 需要说明的是, 所述基于多层次用户分类的资源分配系统包括至少一个所述的基于 多层次用户分类的资源分配装置及预设装置 7, 所述预设装置 7用于分别预设所述基于多层 次用户分类的资源分配系统中所有用户的服务等级。 所述用户的服务等级是根据用户的职位 性质、 用户的活跃程度及用户的邮件多少进行划分的, 并根据所述用户的预设服务等级获取 相应的资源分组, 所述预设装置 7还可以分别预设所述基于多层次用户分类的资源分配系统 内所有基于多层次用户分类的资源分配装置的所述第一删除模块 5内所述低价值邮件的预设 数量及所述第二删除模块 6内所述低价值邮件储存的预设时间, 另外, 所述预设装置 7可以 对所述基于多层次用户分类的资源分配系统内所有所述基于多层次用户分类的资源分配装置 接收的重要邮件进行标记。  [0077] It should be noted that the resource allocation system based on the multi-level user classification includes at least one of the resource allocation devices and the preset device 7 based on the multi-level user classification, and the preset device 7 is configured to pre-predetermine The service level of all users in the resource allocation system based on the multi-level user classification is set. The service level of the user is divided according to the nature of the user's job, the degree of activity of the user, and the number of mails of the user, and the corresponding resource group is obtained according to the preset service level of the user, and the preset device 7 can also be configured. Presetting the preset number of the low-value mails in the first deleting module 5 of the resource allocation device based on the multi-level user classification in the resource allocation system of the multi-level user classification, and the second deleting module The preset time of the low-value mail storage in the 6th, and the preset device 7 may receive the important information received by the resource allocation device based on the multi-level user classification in the resource allocation system based on the multi-level user classification. The message is marked.
[0078] 例如, 系统内包括储存器 1、 储存器 2及储存器 3, 所述储存器 1包括高速储存设备 Sl, 所述储存器 2包括两个中速储存设备 S2、 S3, 储存器 3包括两个低速储存设备 S4、 S5。 系统设定两个资源分组:  [0078] For example, the system includes a storage 1, a storage 2 and a storage 3, the storage 1 includes a high-speed storage device S1, the storage 2 includes two medium-speed storage devices S2, S3, and a storage device 3 Includes two low speed storage devices S4, S5. The system sets up two resource groups:
资源分组 1 : Sl、 S2、 S4, 其中 SI定义为高级资源, S2及 S4为普通资源。 Resource grouping 1 : Sl, S2, S4, where SI is defined as an advanced resource, and S2 and S4 are ordinary resources.
[0079] 资源分组 2: S3、 S5, 其中 S3定义为高级资源, S5定义为普通资源。 [0079] Resource group 2: S3, S5, where S3 is defined as an advanced resource, and S5 is defined as a normal resource.
[0080] 所述预设装置 7 将企业内重要用户预设为第一服务等级, 所述第一服务等级对应的 资源分组为资源分组 1 ; 普通用户则预设为第二服务等级, 所述第二服务等级对应的资源分 组为资源分组 2。  [0080] The preset device 7 presets an important user in the enterprise as a first service level, the resource group corresponding to the first service level is grouped into resource group 1; and the ordinary user is preset as a second service level, The resource group corresponding to the second service level is grouped into resource group 2.
[0081] 对此所述重要用户则将重要邮件储存到 S1 中, 将普通邮件及低价值邮件储存到 S2 及 S4中。  [0081] For this important user, the important mail is stored in S1, and the ordinary mail and low-value mail are stored in S2 and S4.
[0082] 所述普通用户则将重要邮件储存到 S3中, 将普通邮件及低价值邮件储存到 S5中。  [0082] The ordinary user stores important mails into S3, and stores ordinary mails and low-value mails into S5.
[0083] 本发明实施例所述的基于多层次用户分类的资源分配系统可以对所述系统内的所有 储存资源进行统一管理, 对所述基于多层次用户分类的资源分配系统内所有基于多层次用户 分类的资源分配装置相对应的资源分组统一分配硬件资源。 同时, 所述储存资源内的任一储 存器至少属于一个用户所对应的资源分组, 可以最大限度的利用所述储存资源。 [0084] 以上所揭露的仅为本发明一种较佳实施例而已, 当然不能以此来限定本发明之权利 范围, 因此依本发明权利要求所作的等同变化, 仍属本发明所涵盖的范围。 [0083] The resource allocation system based on the multi-level user classification according to the embodiment of the present invention may perform unified management on all storage resources in the system, and all the multi-levels in the resource allocation system based on the multi-level user classification The resource group corresponding to the resource allocation device of the user classification uniformly allocates hardware resources. At the same time, any storage in the storage resource belongs to at least one resource group corresponding to one user, and the storage resource can be utilized to the maximum extent. The above disclosure is only a preferred embodiment of the present invention, and of course, the scope of the present invention is not limited thereto, and thus equivalent changes made in accordance with the claims of the present invention are still within the scope of the present invention. .

Claims

权 利 要 求 Rights request
1. 一种基于多层次用户分类的资源分配方法, 其特征在于, 包括:  A resource allocation method based on multi-level user classification, which is characterized in that it comprises:
根据用户的预设服务等级, 获取与所述预设服务等级相对应的资源分组, 所述资源分组包括 高级资源及普通资源; Obtaining, according to a preset service level of the user, a resource group corresponding to the preset service level, where the resource group includes an advanced resource and a common resource;
根据预设规则判断邮件的邮件类型, 所述邮件类型包括低价值邮件、 普通邮件及重要邮件; 根据所述邮件类型将所述邮件储存到所述邮件所属用户的资源分组的相应位置中。 Determining the mail type of the mail according to a preset rule, the mail type includes a low value mail, a normal mail, and an important mail; and storing the mail according to the mail type to a corresponding position of the resource group of the user to which the mail belongs.
2. 如权利要求 1 所述的基于多层次用户分类的资源分配方法, 其特征在于, 所述基于多层 次用户分类的资源分配方法还包括:  The resource allocation method based on the multi-level user classification according to claim 1, wherein the resource allocation method based on the multi-level user classification further comprises:
当所述资源分组的储存空间达到预设值时, 向用户发送提醒邮件; Sending a reminder email to the user when the storage space of the resource group reaches a preset value;
当所述低价值邮件数量超过预设数量时, 删除储存时间最长的低价值邮件, 直至所述低价值 邮件的数量小于或等于预设数量; When the number of the low-value mail exceeds the preset quantity, deleting the low-value mail with the longest storage time until the quantity of the low-value mail is less than or equal to the preset quantity;
当所述低价值邮件的储存时间超过预设时间时, 删除所述低价值邮件。 When the storage time of the low-value mail exceeds a preset time, the low-value mail is deleted.
3. 如权利要求 1 所述的基于多层次用户分类的资源分配的方法, 其特征在于, 所述根据用 户的预设服务等级, 获取与所述预设服务等级相对应的资源分组的步骤包括:  The method for obtaining a resource grouping based on a multi-level user classification according to claim 1, wherein the step of acquiring a resource group corresponding to the preset service level according to a preset service level of the user includes: :
根据用户的预设服务等级获取相应的数据编号; Obtain the corresponding data number according to the preset service level of the user;
根据所述数据编号获取相应的数据集合, 所述数据集合内包括资源分组及功能列表。 Obtaining a corresponding data set according to the data number, where the data set includes a resource group and a function list.
4. 如权利要求 1 所述的基于多层次用户分类的资源分配方法, 其特征在于, 根据所述邮件 类型将所述邮件储存到所述邮件所属用户的资源分组的相应位置中的步骤包括:  The method for allocating resources according to the multi-level user classification according to claim 1, wherein the step of storing the mail in the corresponding location of the resource group of the user to which the mail belongs according to the mail type includes:
将所述重要邮件储存到所述邮件所属用户的资源分组的高级资源中; Storing the important mail in a high-level resource of a resource group of a user to which the mail belongs;
将所述低价值邮件及普通邮件储存到所述邮件所属用户的资源分组的普通资源中。 The low-value mail and the ordinary mail are stored in a common resource of a resource group of the user to which the mail belongs.
5. 一种基于多层次用户分类的资源分配装置, 其特征在于, 包括:  A resource allocation device based on a multi-level user classification, comprising:
用于根据用户的预设服务等级, 获取与所述预设服务等级相对应的资源分组的客户端, 所述 资源分组包括高级资源及普通资源; a client for obtaining a resource group corresponding to the preset service level according to a preset service level of the user, where the resource group includes an advanced resource and a common resource;
用于根据预设规则判断邮件的邮件类型的判断模块, 所述邮件类型包括低价值邮件、 普通邮 件及重要邮件; a judging module for judging a mail type of the mail according to a preset rule, wherein the mail type includes a low-value mail, a normal mail, and an important mail;
分别与所述客户端及判断模块相连接, 用于根据所述邮件类型将所述邮件储存到所述邮件所 属用户的资源分组的相应位置中的储存模块。 And respectively connected to the client and the determining module, configured to store the mail according to the mail type to a storage module in a corresponding location of a resource group of the user to which the mail belongs.
6. 如权利要求 5 所述的基于多层次用户分类的资源分配装置, 其特征在于, 所述基于多层 次用户分类的资源分配装置还包括:  The resource allocation device based on the multi-level user classification according to claim 5, wherein the resource allocation device based on the multi-level user classification further comprises:
与所述储存模块相连接, 用于当所述资源分组的储存空间达到预设值时, 向用户发送提醒邮 件的预警模块; 与所述储存模块相连接, 用于当所述低价值邮件数量超过预设数量时, 删除储存时间最长的 低价值邮件, 直至所述低价值邮件的数量小于或等于预设数量的第一删除模块; Connected to the storage module, configured to send an alert module to the user when the storage space of the resource group reaches a preset value; Connected to the storage module, configured to delete the low-value mail with the longest storage time when the number of the low-value mail exceeds the preset quantity, until the quantity of the low-value mail is less than or equal to the preset number of the first Delete the module;
与所述储存模块相连接, 用于当所述低价值邮件的储存时间超过预设时间时, 删除所述低价 值邮件的第二删除模块。 And being connected to the storage module, configured to delete the second deletion module of the low-value mail when the storage time of the low-value mail exceeds a preset time.
7. 如权利要求 5 所述的基于多层次用户分类的资源分配装置, 其特征在于, 所述客户端包 括:  7. The resource allocation apparatus based on multi-level user classification according to claim 5, wherein the client comprises:
用于根据用户的预设服务等级获取相应的数据编号的第一获取单元; a first obtaining unit for obtaining a corresponding data number according to a preset service level of the user;
与所述第一获取单元相连接, 用于根据所述数据编号获取相应的数据集合的第二获取单元, 所述数据集合内包括资源分组及功能列表。 And a second acquiring unit, configured to obtain a corresponding data set according to the data number, where the data set includes a resource group and a function list.
8. 如权利要求 5 所述的基于多层次用户分类的资源分配装置, 其特征在于, 所述储存模块 包括:  The resource allocation device based on the multi-level user classification according to claim 5, wherein the storage module comprises:
用于将所述重要邮件储存到所述邮件所属用户的资源分组的高级资源中的第一储存单元; 用于将所述低价值邮件及普通邮件储存到所述邮件所属用户的资源分组的普通资源中的第二 储存单元。 a first storage unit for storing the important mail in an advanced resource of a resource group of a user to which the mail belongs; a common resource group for storing the low-value mail and the ordinary mail to a user to which the mail belongs The second storage unit in the resource.
9. 一种基于多层次用户分类的资源分配系统, 其特征在于, 包括:  9. A resource allocation system based on multi-level user classification, characterized in that it comprises:
权利要求 5~8任一项所述的基于多层次用户分类的资源分配装置, 所述基于多层次用户分类 的资源分配系统内包括至少一个所述基于多层次用户分类的资源分配装置; The resource allocation apparatus based on the multi-level user classification according to any one of claims 5 to 8, wherein the resource allocation system based on the multi-level user classification includes at least one resource allocation apparatus based on the multi-level user classification;
与所述基于多层次用户分类的资源分配装置相连接, 用于预设用户的服务等级、 储存空间的 预设值、 低价值邮件的预设数量及预设时间的预设装置。 And the resource allocation device based on the multi-level user classification, and the preset device for presetting the service level of the user, the preset value of the storage space, the preset number of low-value mails, and the preset time.
10. 如权利要求 9所述的基于多层次用户分类的资源分配系统, 其特征在于, 所述基于多层 次用户分类的资源分配系统包括储存资源, 所述储存资源包括至少一个储存器。  10. The resource allocation system based on multi-level user classification according to claim 9, wherein the resource allocation system based on multi-level user classification comprises a storage resource, and the storage resource comprises at least one storage.
PCT/CN2012/085120 2012-09-14 2012-11-23 Resource allocation method, device and system based on multi-level user classification WO2014040342A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210339577.6A CN102882768B (en) 2012-09-14 2012-09-14 Resource distribution method, device and system based on multilayer user classification
CN201210339577.6 2012-09-14

Publications (1)

Publication Number Publication Date
WO2014040342A1 true WO2014040342A1 (en) 2014-03-20

Family

ID=47483919

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/085120 WO2014040342A1 (en) 2012-09-14 2012-11-23 Resource allocation method, device and system based on multi-level user classification

Country Status (2)

Country Link
CN (1) CN102882768B (en)
WO (1) WO2014040342A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111880843A (en) * 2020-07-31 2020-11-03 重庆医科大学 Biological big data analysis system and method based on Linux single command line

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109462538B (en) * 2018-09-03 2022-12-06 中国平安人寿保险股份有限公司 Electronic device, mail sharing method based on security classification and storage medium
CN112866087B (en) * 2021-01-11 2022-02-11 腾讯科技(深圳)有限公司 Information receiving method and computer readable storage medium
CN114331368A (en) * 2021-12-31 2022-04-12 深圳市云登智能有限公司 Mail processing method and related equipment thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330476A (en) * 2008-07-02 2008-12-24 北京大学 Method for dynamically detecting junk mail
CN101636742A (en) * 2005-05-27 2010-01-27 微软公司 Efficient processing of time-bounded messages
CN102004942A (en) * 2009-09-02 2011-04-06 贺伯台 Supplementary dividing method and receiving method of regular mails and advertisement mails of E-mails
CN102033876A (en) * 2009-09-25 2011-04-27 叶高 Information management system method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101636742A (en) * 2005-05-27 2010-01-27 微软公司 Efficient processing of time-bounded messages
CN101330476A (en) * 2008-07-02 2008-12-24 北京大学 Method for dynamically detecting junk mail
CN102004942A (en) * 2009-09-02 2011-04-06 贺伯台 Supplementary dividing method and receiving method of regular mails and advertisement mails of E-mails
CN102033876A (en) * 2009-09-25 2011-04-27 叶高 Information management system method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111880843A (en) * 2020-07-31 2020-11-03 重庆医科大学 Biological big data analysis system and method based on Linux single command line
CN111880843B (en) * 2020-07-31 2023-07-07 重庆医科大学 Biological big data analysis system and method based on Linux single command line

Also Published As

Publication number Publication date
CN102882768B (en) 2015-07-08
CN102882768A (en) 2013-01-16

Similar Documents

Publication Publication Date Title
WO2020052605A1 (en) Network slice selection method and device
CN100568857C (en) Email transaction system and method
CN103493449B (en) Efficient circuit in packet switching network
CN101360309B (en) Execution method, apparatus and system for service open command
CN102291465B (en) Load balancing method, device and system
CN101409685A (en) Forwarding method based on virtual LAN mapping and access equipment
WO2011144093A2 (en) Method and device for scheduling queue
WO2014040342A1 (en) Resource allocation method, device and system based on multi-level user classification
WO2007000091A1 (en) A method for limiting the forwarding times of the multimedia message for the multimedia messaging service center mmsc and a system thereof
WO2019024671A1 (en) Method, device and system for deploying network slice
CN101179532B (en) Mail server system and mail distributing method
CN106230997A (en) A kind of resource regulating method and device
CN101594307A (en) Dispatching method and system based on multi-queue
CN105188090A (en) Method and system for realizing short message downlink pressure balance
CN103731870A (en) Management method and device for monitoring tasks
CN113806177A (en) Cluster monitoring method and device, electronic equipment and storage medium
CN102571636A (en) Message communication method and system based on open service delivery platform
CN101459699B (en) Method and apparatus for network address conversion
US20110235788A1 (en) Method and system for efficient use of address resources within an automated communications system
CN107819622B (en) MAC Address management method and device
WO2012167657A1 (en) Event forwarding method and common information model (cim) server
CN102594654A (en) Method and device for queue scheduling
CN102056097A (en) Message sending method based on gateway and Parlay X gateway
CN109298931A (en) The on-demand method for releasing in buffer area and the network equipment
US7647379B2 (en) System and method for re-routing messaging traffic to external resources

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12884620

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12884620

Country of ref document: EP

Kind code of ref document: A1