[go: up one dir, main page]

CN101188571B - A method and system for processing mails of built-in device - Google Patents

A method and system for processing mails of built-in device Download PDF

Info

Publication number
CN101188571B
CN101188571B CN2007100321159A CN200710032115A CN101188571B CN 101188571 B CN101188571 B CN 101188571B CN 2007100321159 A CN2007100321159 A CN 2007100321159A CN 200710032115 A CN200710032115 A CN 200710032115A CN 101188571 B CN101188571 B CN 101188571B
Authority
CN
China
Prior art keywords
server
mail
information
processing
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2007100321159A
Other languages
Chinese (zh)
Other versions
CN101188571A (en
Inventor
何小鹏
梁捷
黄荣海
郑从威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
UC TECHNOLOGY (CHINA) Co.,Ltd.
Original Assignee
Ucweb Inc
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 Ucweb Inc filed Critical Ucweb Inc
Priority to CN2007100321159A priority Critical patent/CN101188571B/en
Publication of CN101188571A publication Critical patent/CN101188571A/en
Application granted granted Critical
Publication of CN101188571B publication Critical patent/CN101188571B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种处理嵌入式设备的邮件的方法及系统,其采用客户端、第一服务端以及第二服务端的结构,通过第二服务端对位于嵌入式设备的客户端所发送的邮件操作请求进行操作处理,通过第一服务端根据嵌入式设备的设备信息对邮件操作结果进行适配处理,使适配处理后的结果更适合于在嵌入式设备上展现,并将该处理结果发送给客户端,由客户端在嵌入式设备上展现,由于对邮件的操作处理是在第二服务端上进行,且第一服务端向客户端所发送的是适配处理后的处理结果,更适合于嵌入式设备的屏幕展现,展现内容丰富,既方便,又快捷。

The invention discloses a method and system for processing mails of embedded devices, which adopts the structure of a client, a first server and a second server, and sends mails sent by a client located in an embedded device through the second server The operation request is processed, and the first server adapts the mail operation result according to the device information of the embedded device, so that the result after the adaptation process is more suitable for display on the embedded device, and sends the processing result to For the client, the client will display it on the embedded device. Since the operation and processing of the mail is carried out on the second server, and what the first server sends to the client is the processing result after the adaptation process, more It is suitable for the screen display of embedded devices, and the display content is rich, convenient and fast.

Description

一种处理嵌入式设备的邮件的方法及系统Method and system for processing emails of embedded devices

技术领域 technical field

本发明涉及通信领域,特别涉及一种处理嵌入式设备的邮件的方法及系统。The invention relates to the communication field, in particular to a method and system for processing mails of embedded devices.

背景技术 Background technique

随着通信技术的发展,手机等嵌入式设备以其方便易携带的特点,所提供的服务项目也越来越多,包括通过嵌入式设备在状态下进行办公以及进行各种邮件服务,在嵌入式设备进行邮件服务时,嵌入式设备向邮件服务器发送邮件操作的指令,包括收取邮件操作等等,邮件服务器根据该邮件操作指令执行相应操作,得到相应的邮件操作结果,将邮件操作结果向嵌入式设备发送,并由嵌入式设备对该操作结果进行处理后进行展现,由于通常情况下邮件服务器都是网络邮件服务器,其所返回的邮件操作结果通常都是适合于PC机的屏幕展现,而一般的嵌入式设备的屏幕较小,通常都需要在接收到邮件服务器返回的操作结果后,在嵌入式设备终端进行适应于嵌入式设备的适配处理,而嵌入式设备的处理能力通常不及计算机,导致在嵌入式设备上进行邮件服务时效率低,影响用户操作感受。With the development of communication technology, embedded devices such as mobile phones provide more and more service items due to their convenience and portability, including office work and various mail services through embedded devices. When the embedded device performs mail service, the embedded device sends mail operation instructions to the mail server, including receiving mail operations, etc., and the mail server performs corresponding operations according to the mail operation instructions, obtains the corresponding mail operation results, and sends the mail operation results to the embedded It is sent by the embedded device, and the operation result is processed by the embedded device and then displayed. Since the mail server is usually a web mail server, the returned mail operation results are usually suitable for the screen display of the PC, and the Generally, the screen of an embedded device is small, and usually after receiving the operation result returned by the mail server, it is necessary to perform an adaptation process adapted to the embedded device at the terminal of the embedded device, and the processing capability of the embedded device is usually not as good as that of a computer. , resulting in low efficiency when performing email services on embedded devices, affecting user experience.

发明内容 Contents of the invention

针对现有技术中所存在的问题,本发明的目的在于提供一种效率较高、操作方便的处理嵌入式设备的邮件的方法及系统。In view of the problems existing in the prior art, the object of the present invention is to provide a method and system for processing mails of embedded devices with high efficiency and convenient operation.

为达到上述目的,本发明采用以下技术方案:To achieve the above object, the present invention adopts the following technical solutions:

一种处理嵌入式设备的邮件的方法,包括步骤:A method for processing mail of an embedded device, comprising the steps of:

第一服务端接收并解析客户端发送的邮件操作请求及嵌入式设备的设备信息,所述设备信息包括该嵌入式设备的身份识别信息、屏幕大小信息、屏幕分辨率信息以及该嵌入式设备所支持的文件格式信息;The first server receives and parses the mail operation request sent by the client and the device information of the embedded device. The device information includes the identification information of the embedded device, screen size information, screen resolution information, and Supported file format information;

所述第一服务端根据邮件操作请求中的用户名信息,从多个第二服务端中选择包含有该用户名的第二服务端,并将所述邮件操作请求及设备信息向第二服务端发送;According to the username information in the email operation request, the first server selects the second server including the username from multiple second servers, and sends the email operation request and device information to the second server end send;

所述选定的第二服务端根据所述邮件操作请求向网络服务器获取相应的邮件信息,获得相应的操作结果,并将操作结果向所述第一服务端发送;The selected second server obtains corresponding mail information from the network server according to the mail operation request, obtains a corresponding operation result, and sends the operation result to the first server;

所述第一服务端根据所述设备信息,对所述操作结果进行适应于所述嵌入式设备的适配处理,并将所述适配处理后的处理结果向所述客户端发送。The first server performs adaptation processing on the operation result adapted to the embedded device according to the device information, and sends a processing result after the adaptation processing to the client.

一种处理嵌入式设备的邮件的系统,包括:客户端、第一服务端及第二服务端;A system for processing emails of embedded devices, including: a client, a first server and a second server;

所述客户端,用于向所述第一服务端发送邮件操作请求及嵌入式设备的设备信息,并对所述第一服务端返回的处理结果在所述嵌入式设备上进行展现,所述设备信息包括该嵌入式设备的身份识别信息、屏幕大小信息、屏幕分辨率信息以及该嵌入式设备所支持的文件格式信息;The client is configured to send an email operation request and device information of the embedded device to the first server, and display the processing result returned by the first server on the embedded device, the Device information includes the identification information of the embedded device, screen size information, screen resolution information, and file format information supported by the embedded device;

所述第一服务端,用于根据邮件操作请求中的用户名信息从多个第二服务端中选择包含有该用户名的第二服务端,并将所述邮件操作请求及设备信息向选定的第二服务端转发;根据所述设备信息对所述第二服务端返回的操作结果进行适应于所述嵌入式设备的适配处理,并将所述适配处理后的处理结果向所述客户端发送;The first server is configured to select a second server including the username from multiple second servers according to the username information in the email operation request, and send the email operation request and device information to the selected server. Forwarding by the specified second server; according to the device information, adapt the operation result returned by the second server to the embedded device, and send the adapted processing result to the sent by the client;

所述第二服务端,用于根据所述邮件操作请求向网络服务器获取邮件信息,执行相应的操作,获得相应的邮件操作结果,并将该邮件操作结果向所述第一服务端发送。The second server is configured to obtain mail information from a network server according to the mail operation request, perform corresponding operations, obtain corresponding mail operation results, and send the mail operation results to the first server.

根据本发明的处理嵌入式设备的邮件的方法及系统,在嵌入式设备用户需要执行邮件操作时,通过第二服务端来执行邮件操作,得到相应的邮件操作结果,并通过第一服务端根据上述嵌入式设备的相关设备信息,对所述邮件操作结果执行适应于嵌入式设备的适配处理,并将该处理结果向客户端发送,使其在嵌入式设备上展现,由于对邮件操作结果的适配处理是在第一服务端进行,减少了嵌入式设备终端的处理量,且邮件操作处理是通过第二服务端进行,执行邮件操作时效率更高,此外,第一服务端向位于嵌入式设备的客户端所发送的是进行完适配处理后的处理结果,数据传输量小,且适合于嵌入式设备的屏幕展现,用户通过采用这种方式来通过嵌入式设备执行邮件操作,既方便,又快捷。According to the method and system for processing emails of embedded devices of the present invention, when an embedded device user needs to perform a mail operation, the second server performs the mail operation, obtains the corresponding mail operation result, and passes the first server according to the For the relevant device information of the above-mentioned embedded device, perform an adaptation process suitable for the embedded device on the result of the mail operation, and send the processing result to the client so that it can be displayed on the embedded device. The adaptation process is carried out on the first server, which reduces the processing capacity of the embedded device terminal, and the mail operation processing is carried out through the second server, which is more efficient when performing mail operations. In addition, the first server is located at What the client of the embedded device sends is the processing result after the adaptation process, the amount of data transmission is small, and it is suitable for the screen display of the embedded device. By using this method, the user executes the mail operation through the embedded device. It is convenient and fast.

附图说明 Description of drawings

图1是本发明处理嵌入式设备的邮件的方法实施例的流程示意图;Fig. 1 is a schematic flow chart of an embodiment of a method for processing mail of an embedded device in the present invention;

图2是本发明处理嵌入式设备的邮件的系统实施例的结构示意图。Fig. 2 is a schematic structural diagram of an embodiment of a system for processing emails of embedded devices according to the present invention.

具体实施方式 Detailed ways

如图1所示,是本发明的处理嵌入式设备的邮件的方法的实施例流程示意图,其包括步骤:As shown in Figure 1, it is a schematic flow chart of an embodiment of the method for processing the mail of an embedded device of the present invention, which includes steps:

步骤S101:客户端将邮件操作请求及嵌入式设备的相关设备信息向第一服务端发送,在将邮件操作请求及设备信息发送之前,客户端还可以对其执行压缩、加密操作,从而所传输的数据量减少,且可以增加信息传输的安全性;Step S101: The client sends the mail operation request and related device information of the embedded device to the first server. Before sending the mail operation request and device information, the client can also perform compression and encryption operations on it, so that the transmitted The amount of data is reduced and the security of information transmission can be increased;

步骤S102:第一服务端接收并解析上述压缩加密后的信息,并采用相同的压缩方式及解密算法执行解压缩、解密操作,得到上述邮件操作请求及相关设备信息,并将所述邮件操作请求向第二服务端转发;Step S102: The first server receives and parses the above-mentioned compressed and encrypted information, and uses the same compression method and decryption algorithm to perform decompression and decryption operations, obtains the above-mentioned mail operation request and related device information, and sends the mail operation request forward to the second server;

步骤S103:第二服务端根据上述邮件操作请求执行相应的邮件操作,得到相应的邮件操作结果,并将该邮件操作结果向第一服务端发送;Step S103: the second server executes the corresponding mail operation according to the above mail operation request, obtains the corresponding mail operation result, and sends the mail operation result to the first server;

步骤S104:第一服务端根据上述设备信息,对该操作结果作适应于嵌入式设备的相关适配处理,得到适配处理后的处理结果,并将处理结果向客户端发送,在将所述处理结果发送之前,所述第一服务端还可以对该处理结果执行压缩、加密操作,并将压缩、加密操作后的结果向客户端发送;Step S104: The first server performs relevant adaptation processing on the operation result adapted to the embedded device according to the above-mentioned device information, obtains the processing result after the adaptation processing, and sends the processing result to the client, and then sends the Before sending the processing result, the first server may also perform compression and encryption operations on the processing result, and send the compressed and encrypted results to the client;

步骤S105:客户端接收并解析第一服务端所发送的信息,并按照相同的加解密算法、解压缩算法执行解密、解压缩操作,并将解密、解压缩后的处理结果在嵌入式设备上展现。Step S105: The client receives and parses the information sent by the first server, performs decryption and decompression operations according to the same encryption and decryption algorithm and decompression algorithm, and displays the decrypted and decompressed processing results on the embedded device show.

其中:in:

所述步骤S101中,所述设备信息可以包括该嵌入式设备的身份识别信息、屏幕大小信息、屏幕分辨率信息以及该嵌入式设备所支持的文件格式信息等等,所述邮件操作请求中可以包含请求该邮件操作的用户名信息以及请求内容信息,例如收取邮件、发送邮件等等;In the step S101, the device information may include the identification information of the embedded device, screen size information, screen resolution information, and file format information supported by the embedded device, etc., and the mail operation request may include Contains the user name information and request content information requesting the mail operation, such as receiving mail, sending mail, etc.;

所述步骤S101、S104中,所采用的可以是相同的加密算法,最好是非对称加密算法,以提高信息传输的安全性;In the steps S101 and S104, the same encryption algorithm may be used, preferably an asymmetric encryption algorithm, so as to improve the security of information transmission;

此外,在所述步骤S103中,所述第二服务端在获得邮件操作结果时,还可将该邮件操作结果予以储存,当客户端所作的下一操作需要返回上一个操作页面时,第二服务端根据该返回的操作指令可直接将所保存的上一个操作页面经第一服务端适配处理及压缩加密后返回客户端,从而可以不必每个操作都需要通过邮件服务器来进行,或者,当用户需要读取旧邮件的内容时,第二服务端根据该读取邮件的命令,可以直接从所存储的内容中直接提取该邮件的内容,经第一服务端压缩加密后发送给客户端,而不需要再次进行从邮件服务器提取邮件的操作,提高了邮件操作的效率,可以支持邮件页面的自动转换和浏览。In addition, in the step S103, when the second server obtains the result of the mail operation, it can also store the result of the mail operation. When the next operation performed by the client needs to return to the previous operation page, the second According to the returned operation instruction, the server can directly return the saved last operation page to the client after being adapted, compressed and encrypted by the first server, so that each operation does not need to be performed through the mail server, or, When the user needs to read the content of the old mail, the second server can directly extract the content of the mail from the stored content according to the command to read the mail, and send it to the client after being compressed and encrypted by the first server , without the need to perform the operation of extracting mail from the mail server again, which improves the efficiency of mail operation, and can support automatic conversion and browsing of mail pages.

所述步骤S104中,所述适配处理可以包括:根据嵌入式设备的屏幕大小,对邮件服务器返回的操作结果进行调整,使调整后的结果适合于在该嵌入式设备上显示,其中,所做的调整可以包括:去除上述操作结果中的不必要信息,例如广告信息、页尾、第三方插件等等;对上述操作结果中的页面进行适应于该嵌入式设备的页面重排,使页面重排后的页面方便于在嵌入式设备上进行展现,包括竖向的浏览方式或者横向的浏览方式,且该重排后的页面可以包含相应的菜单与导航功能;对上述操作结果中需要向用户显示的控件做适合于嵌入式设备的相关处理等等。In the step S104, the adaptation process may include: adjusting the operation result returned by the mail server according to the screen size of the embedded device, so that the adjusted result is suitable for display on the embedded device, wherein the The adjustments made may include: removing unnecessary information in the above operation results, such as advertisement information, page footers, third-party plug-ins, etc.; rearranging the pages in the above operation results that are suitable for the embedded device, so that the pages The rearranged pages are convenient to display on embedded devices, including vertical browsing or horizontal browsing, and the rearranged pages can include corresponding menus and navigation functions; The controls displayed by the user do related processing suitable for embedded devices and so on.

此外,所述步骤S102中,在具有多个第二服务端的情况下,在转发邮件操作请求之前,所述第一服务端还先选择相应的第二服务端,并将该邮件操作请求发送给所选定的第二服务端,其选择方式可以包括:不同的第二服务端对应着不同的用户名,第一服务端根据邮件操作请求中的用户名信息,将该邮件操作请求发送给包含有该用户名的第二服务端;或者,根据邮件操作请求中的不同的邮箱类型邮件服务器名称选择相应的第二服务端,或者,所有的第二服务端均可以执行对任何类型的邮件服务器的操作,第一服务端根据各第二服务端当前处理任务的多少或者繁冗程度选择合适的第二服务端,优先选择较空闲的第二服务端,以获得更高效率的处理过程,因此,通过本发明的处理嵌入式设备的邮件的方法,可以通过不同的用户名访问不同类型的邮件服务器,既可以方便嵌入式设备用户的使用,可以实现多邮件用户的访问,且由于通过多个第二服务端来分担邮件任务,使得嵌入式设备用户通过嵌入式设备进行邮件服务时,效率也更高。In addition, in the step S102, if there are multiple second server ends, before forwarding the mail operation request, the first server first selects the corresponding second server end, and sends the mail operation request to The selection method of the selected second server may include: different second servers correspond to different user names, and the first server sends the mail operation request to the There is a second server with the user name; or, select the corresponding second server according to the name of the mail server of different mailbox types in the mail operation request, or, all the second servers can execute any type of mail server For the operation, the first server selects the appropriate second server according to the number or complexity of the current processing tasks of each second server, and preferentially selects the second server that is relatively idle to obtain a more efficient processing process. Therefore, Through the method for processing mails of embedded devices of the present invention, different user names can be used to access different types of mail servers, which can facilitate the use of embedded device users and realize the access of multiple mail users. The two servers share the mail tasks, so that the embedded device users can be more efficient when performing mail services through the embedded device.

根据上述处理流程,下面通过不同的实施例对不同的邮件操作类型进行详细阐述。According to the above processing flow, different mail operation types will be described in detail below through different embodiments.

实施例一:Embodiment one:

在本实施例中,主要针对执行登陆邮箱的操作请求进行阐述。In this embodiment, the description mainly focuses on performing an operation request for logging in to a mailbox.

当嵌入式设备的用户需要登陆邮箱以进行邮件服务时,其通过客户端向第一服务端发送请求登陆邮箱的邮件操作请求信息,同时,将该嵌入式设备的相关设备信息向第一服务端发送,该设备信息可以包括该嵌入式设备的身份识别信息、屏幕大小信息,还可以包括该嵌入式设备的分辨率信息、所支持的数据格式信息等等,其中,在发送邮件操作请求信息及设备信息之前,客户端还可以先对其进行压缩、加密工作,从而不仅减少了传输的数据量的大小,提高了操作的效率,且可以增加信息传输的安全性。When the user of the embedded device needs to log in to the mailbox for mail service, it sends the mail operation request information requesting to log in to the mailbox through the client to the first server, and at the same time, sends the relevant device information of the embedded device to the first server Send, the device information may include the identification information of the embedded device, screen size information, resolution information of the embedded device, supported data format information, etc., wherein, in the sending mail operation request information and Before the device information, the client can also compress and encrypt it, which not only reduces the size of the transmitted data, improves the efficiency of the operation, but also increases the security of information transmission.

在第一服务端接收到上述客户端发送的信息时,对其进行解析操作,该解析操作可以包括解压缩操作及解密操作,获得相应的邮件操作请求及设备信息,并将该邮件操作请求向第二服务端发送;When the first server receives the information sent by the above-mentioned client, it performs a parsing operation. The parsing operation may include a decompression operation and a decryption operation to obtain a corresponding mail operation request and device information, and send the mail operation request to The second server sends;

根据第一服务端所转发的请求登陆邮箱的邮件操作请求,第二服务端将该邮件操作请求向互联网上的邮件服务器发送,互联网邮件服务器将邮箱登陆页面发送给第二服务端,第二服务端将该邮箱登陆页面向第一服务端发送;According to the mail operation request for logging in to the mailbox forwarded by the first server, the second server sends the mail operation request to the mail server on the Internet, and the Internet mail server sends the mailbox login page to the second server, and the second service The terminal sends the email login page to the first server;

第一服务端接收第二服务端所发送的邮箱登陆页面,并根据设备信息对该登陆页面进行适配处理,该适配处理可以包括去除该登陆页面中可以不向嵌入式设备用户显示的内容,对该嵌入式设备所不支持的文件格式进行转化或者去除不必要的控件等等。The first server receives the email login page sent by the second server, and performs an adaptation process on the login page according to the device information, and the adaptation process may include removing content that may not be displayed to the embedded device user on the login page , convert the file format not supported by the embedded device or remove unnecessary controls, etc.

得到适配处理结果后,第一服务端可以对该处理结果进行压缩、加密操作,并将压缩、加密后的结果向客户端发送。After obtaining the adaptation processing result, the first server may perform compression and encryption operations on the processing result, and send the compressed and encrypted result to the client.

客户端接收信息,执行解压缩、解密操作,并直接将解压缩、解密后的结果在嵌入式设备上展现,用户即可通过客户端在嵌入式设备上所展现的邮箱登陆界面,输入用户名及登陆密码等信息,并由客户端向第一服务端发送,客户端同时发送该嵌入式设备的设备信息,第一服务端接收登陆名及新的密码等信息后,向第二服务端转发。The client receives information, performs decompression and decryption operations, and directly displays the decompression and decryption results on the embedded device, and the user can enter the user name through the mailbox login interface displayed by the client on the embedded device and login password and other information, and sent by the client to the first server, and the client sends the device information of the embedded device at the same time, and the first server forwards it to the second server after receiving the login name and new password and other information .

第二服务端将该用户名及登陆密码等信息转发给互联网上的邮件服务器,进行登陆:若登陆成功,该邮件服务器会将登陆成功的信息或者随同登陆后的邮件操作界面返回给第二服务端,在有新邮件到达的情况下,在该邮件操作页面中可包含有新邮件到达的信息;若登陆不成功,即用户名或者登陆密码错误,则邮件服务器会向第二服务端再次登陆的界面。The second server forwards the user name and login password and other information to the mail server on the Internet for login: if the login is successful, the mail server will return the successful login information or the mail operation interface with the login to the second server If a new mail arrives, the mail operation page may include information about the arrival of the new mail; if the login is unsuccessful, that is, the user name or password is wrong, the mail server will log in to the second server again interface.

第二服务端接收到邮件服务器所返回的登陆操作结果后,将该登陆操作结果向第一服务端转发。After receiving the login operation result returned by the mail server, the second server forwards the login operation result to the first server.

第一服务端根据嵌入式设备的设备信息对该登陆操作结果执行适配处理,并对该适配处理结果进行压缩、加密后发送给客户端,由客户端进行解析后展现给嵌入式设备用户,以进行下一步的操作过程。The first server performs adaptation processing on the login operation result according to the device information of the embedded device, compresses and encrypts the adaptation processing result and sends it to the client, and the client parses it and presents it to the embedded device user , to proceed to the next step.

实施例二:Embodiment two:

在本实施例中,针对修改邮箱密码的操作进行阐述。In this embodiment, the operation of modifying the mailbox password is described.

在本实施例中,假设用户已成功登陆邮箱,可以执行其他的邮箱操作。In this embodiment, assuming that the user has successfully logged into the mailbox, other mailbox operations can be performed.

用户通过客户端在嵌入式设备所展现的邮件操作界面,选择修改邮箱密码的操作,客户端捕获到该信息,并将该修改邮箱密码的操作请求以及该嵌入式设备的设备信息压缩、加密后向第一服务端发送。The user selects the operation of modifying the mailbox password through the mail operation interface displayed by the client on the embedded device. The client captures the information and compresses and encrypts the operation request of modifying the mailbox password and the device information of the embedded device. Send to the first server.

第一服务端接收客户端所发送的信息,执行解压缩、解密操作,并将解压缩、解密后的修改邮箱密码的操作请求向第二服务端发送;The first server receives the information sent by the client, performs decompression and decryption operations, and sends the decompressed and decrypted operation request for modifying the mailbox password to the second server;

第二服务端接收第一服务端所发送的修改邮箱密码的操作请求,并将修改邮箱密码的操作请求向互联网上的邮件服务器发送,互联网邮件服务器接收到该请求后,会将修改登陆密码的界面返回给第二服务端,第二服务端将该修改登陆密码的界面向第一服务端发送。The second server receives the operation request for modifying the mailbox password sent by the first server, and sends the operation request for modifying the mailbox password to the mail server on the Internet. After the Internet mail server receives the request, it will modify the login password. The interface is returned to the second server, and the second server sends the interface for modifying the login password to the first server.

第一服务端接收到该修改登陆密码的界面后,根据嵌入式设备的设备信息,对其进行适应于嵌入式设备的适配处理,并在对该处理结果执行压缩、加密操作后发送给客户端。After receiving the interface for modifying the login password, the first server performs an adaptation process suitable for the embedded device according to the device information of the embedded device, and sends the processing result to the client after performing compression and encryption operations end.

客户端接收该第一服务端所发送的信息,并在执行解压缩、解密操作后进行展现;The client receives the information sent by the first server, and presents it after performing decompression and decryption operations;

用户通过客户端所展现的修改登陆密码的界面,输入新的登陆密码,根据互联网邮件服务器类型的不同,还可能需要输入用户邮箱的原始密码,以防止有人利用不法手段篡改其他用户的登陆密码,客户端将所输入的相关信息以及嵌入式设备的设备信息经压缩、加密后发送给第一服务端;The user enters a new login password through the interface for modifying the login password displayed on the client terminal. Depending on the type of Internet mail server, the user may also need to enter the original password of the user's mailbox to prevent someone from tampering with other users' login passwords by illegal means. The client compresses and encrypts the input related information and the device information of the embedded device to the first server;

第一服务端接收客户端所发送的信息,执行解压缩、解密操作后向第二服务端发送;The first server receives the information sent by the client, performs decompression and decryption operations, and then sends it to the second server;

第二服务端将用户输入的用户名及新密码等信息发送给互联网邮件服务器,互联网邮件服务器根据该信息进行相应的操作,将操作结果返回给第二服务端,该操作结果可以包括:修改登陆密码操作成功、修改登陆密码操作失败或者用户输入资料不齐全(例如一般的邮件服务器在修改密码时需要重复输入两次新密码,而用户只输入了一次时)等等,第二服务端将该操作结果发送给第一服务端。The second server sends information such as the user name and new password input by the user to the Internet mail server, and the Internet mail server performs corresponding operations according to the information, and returns the operation result to the second server. The operation result may include: modify the login If the password operation succeeds, the operation of changing the login password fails, or the user input information is incomplete (for example, when the general mail server needs to repeatedly input the new password twice when changing the password, but the user only enters it once), etc., the second server will send the The operation result is sent to the first server.

第一服务端接收到该操作结果后,根据嵌入式设备的设备信息执行适配处理,并在对该处理结果压缩、加密后发送给客户端。After receiving the operation result, the first server performs adaptation processing according to the device information of the embedded device, and sends the processing result to the client after compressing and encrypting it.

客户端接收到第一服务端所发送的信息后,执行解压缩、解密操作并将解压缩、解密操作后的结果在嵌入式设备上进行展现。After receiving the information sent by the first server, the client performs decompression and decryption operations and displays the results of the decompression and decryption operations on the embedded device.

实施例三:Embodiment three:

在本实施例中,主要针对收取邮件的操作进行阐述。In this embodiment, the operation of receiving emails is mainly described.

在本实施例中,假设用户已成功登陆邮箱,可以执行其他的邮箱操作。In this embodiment, assuming that the user has successfully logged into the mailbox, other mailbox operations can be performed.

用户根据客户端在嵌入式设备上所显示的邮件操作界面,选择收取邮件的操作,客户端捕捉到该信息,并将该收取邮件请求以及嵌入式设备的设备信息发送给第一服务端;The user selects the operation of receiving mail according to the mail operation interface displayed by the client on the embedded device, and the client captures the information, and sends the request for receiving mail and the device information of the embedded device to the first server;

第一服务端接收客户端所发送的信息,并将该信息向第二服务端转发;The first server receives the information sent by the client, and forwards the information to the second server;

第二服务端根据收取邮件请求,向互联网邮件服务器发送收取邮件请求信息,互联网邮件服务器根据该收取邮件请求,进行相应的操作处理,包括:判断该用户信箱中是否有新的邮件,或者,在有新的邮件的情况下,确定该新邮件的发件人以及信件主题等信息,并将操作结果返回给第二服务端,第二服务端将该操作结果发送给第一服务端;The second server sends the request information for receiving mail to the Internet mail server according to the request for receiving mail, and the Internet mail server performs corresponding operations and processing according to the request for receiving mail, including: judging whether there is a new mail in the user mailbox, or When there is a new email, determine the sender of the new email and the subject of the email, and return the operation result to the second server, and the second server sends the operation result to the first server;

第一服务端根据嵌入式设备的设备信息,对该操作结果进行适应于该嵌入式设备的适配处理,并对该将处理结果压缩、加密后发送给客户端;According to the device information of the embedded device, the first server performs adaptation processing on the operation result suitable for the embedded device, and compresses and encrypts the processing result and sends it to the client;

客户端接收到第一服务端所发送的信息后,执行解压缩、解密操作并进行展现。After receiving the information sent by the first server, the client performs decompression and decryption operations and presents it.

嵌入式设备用户根据所展现的内容,在有新邮件的情况下,用户可选择阅读该新邮件的内容,客户端向第一服务端发送阅读新邮件内容的请求信息以及嵌入式设备的设备信息,在该请求信息中可包含该新邮件的地址或者邮件主题等信息。According to the displayed content, the user of the embedded device can choose to read the content of the new mail when there is a new mail, and the client sends the request information for reading the content of the new mail and the device information of the embedded device to the first server. , the request information may include information such as the address of the new email or the subject of the email.

第一服务端接收所发送的信息,并将该阅读新邮件的请求信息向第二服务端转发;The first server receives the sent information, and forwards the request information for reading the new email to the second server;

第二服务端根据该阅读新邮件内容的请求信息,向邮件服务器发送该请求信息,邮件服务器根据该请求信息执行相应的操作处理,并向第二服务端返回相应的操作结果,该操作结果包含该新邮件的内容,还可能包含该新邮件所携带的附件等信息,第二服务端将邮件服务器返回的操作结果向第一服务端发送;The second server sends the request information to the mail server according to the request information for reading the new email content, and the mail server performs corresponding operation processing according to the request information, and returns a corresponding operation result to the second server end, and the operation result includes The content of the new email may also include information such as attachments carried by the new email, and the second server sends the operation result returned by the mail server to the first server;

第一服务端根据嵌入式设备的设备信息,对该操作结果进行适应于嵌入式设备的适配处理,例如:根据嵌入式设备的屏幕大小以及分辨率等信息对邮件内容进行页面重排,使重排后的结果更适合于在该嵌入式设备上展示;根据该嵌入式设备所支持的文件格式,对该新邮件中所携带的附件进行识别和格式转换,在该附件为图片的情况下,还可以根据该嵌入式设备的屏幕大小以及分辨率对该图片进行裁减或缩小,从而,处理过后的图片较小,更适合于在嵌入式设备上观看。According to the device information of the embedded device, the first server adapts the operation result to the embedded device. The rearranged result is more suitable for display on the embedded device; according to the file format supported by the embedded device, the attachment carried in the new email is identified and format converted, in the case that the attachment is a picture , the picture can also be cut or reduced according to the screen size and resolution of the embedded device, so that the processed picture is smaller and more suitable for viewing on the embedded device.

第一服务端将适配处理后的处理结果发送给客户端,客户端将该处理结果在嵌入式设备上进行展现。The first server sends the processing result after the adaptation processing to the client, and the client displays the processing result on the embedded device.

此外,由于嵌入式设备的便捷性,嵌入式设备的用户可能希望在有新邮件到达时及时得到有新邮件的信息,因此,客户端可以根据用户的设定,每隔一定的时间段即自动发起收取邮件的操作请求;或者,第二服务端每隔一定的时间段即自动从邮件服务器上获取新的邮件,在有新邮件到达的情况下,第二服务端即向第一服务端发送有新邮件到达的消息,通过第一服务端对该消息进行适配处理后通过客户端向用户提示有新邮件到达的消息,以方便用户可以随时查看最新邮件,即,本发明的处理嵌入式设备的邮件的方法,可以通过MAILIn addition, due to the convenience of embedded devices, users of embedded devices may wish to receive information about new emails in time when new emails arrive. Therefore, the client can automatically send emails at regular intervals according to user settings. Initiate an operation request to receive emails; or, the second server automatically obtains new emails from the email server every certain period of time, and when new emails arrive, the second server sends a message to the first server There is a message that a new mail arrives, and after the first server adapts the message, the client prompts the user that a new mail arrives, so that the user can check the latest mail at any time, that is, the processing embedded in the present invention The mail method of the device can be through MAIL

PUSH技术来实现向用户及时提示有新邮件到达的信息,以向嵌入式设备用户提供更多的便捷性。PUSH technology is used to remind users of the arrival of new emails in time, so as to provide more convenience to embedded device users.

实施例四:发送邮件Example 4: Send email

在本实施例中,主要针对发送邮件的操作请求进行阐述。In this embodiment, the description mainly focuses on the operation request of sending an email.

在本实施例中,假设用户已成功登陆邮箱,可以执行其他的邮箱操作。In this embodiment, assuming that the user has successfully logged into the mailbox, other mailbox operations can be performed.

根据用户的发送邮件的指令,客户端向第一服务端发送需要发送邮件的信息以及嵌入式设备的设备信息,该发送邮件信息可以包括收件人的地址信息、信件内容等信息,在发送该发送邮件信息之前,客户端还可对其执行压缩、加密操作。According to the user's instruction to send mail, the client sends the information that needs to send mail and the device information of the embedded device to the first server. Before sending email information, the client can also perform compression and encryption operations on it.

第一服务端接收客户端所发送的信息,在对该信息解压缩、解密处理后向第二服务端发送;The first server receives the information sent by the client, and sends it to the second server after decompressing and decrypting the information;

第二服务端将该发送邮件的邮件操作请求发送给互联网邮件服务器,邮件服务器根据该发送邮件信息,将该邮件发送给指定的收件人,并将发送邮件的结果返回给第二服务端,比如:邮件发送成功、邮件发送超时失败等等,第二服务端将该发送邮件的操作结果向第一服务端发送。The second server sends the mail operation request for sending mail to the Internet mail server, and the mail server sends the mail to the designated recipient according to the sending mail information, and returns the result of sending mail to the second server, For example, if the mail is sent successfully, the mail sending fails to time out, etc., the second server sends the operation result of sending the mail to the first server.

第一服务端根据嵌入式设备的设备信息对该操作结果执行适应于该嵌入式设备的适配处理,使适配处理后的结果适合于在该嵌入式设备上展现,并对该适配处理结果压缩、加密后向客户端发送。According to the device information of the embedded device, the first server performs an adaptation process on the operation result adapted to the embedded device, so that the result after the adaptation process is suitable for display on the embedded device, and the adaptation process The result is compressed and encrypted and sent to the client.

客户端接收到第一服务端所发送的信息,进行解压缩、解密操作后向用户展示。The client receives the information sent by the first server, performs decompression and decryption operations, and then displays it to the user.

实施例五:Embodiment five:

在本实施例中,主要针对读取邮件的操作请求进行阐述。In this embodiment, the description mainly focuses on the operation request of reading mail.

在本实施例中,假设用户已成功登陆邮箱,可以执行其他的邮箱操作。In this embodiment, assuming that the user has successfully logged into the mailbox, other mailbox operations can be performed.

当嵌入式设备的用户需要阅读以前已经收取的邮件内容信息时,客户端捕捉到该邮件的主题名称等信息,并将该邮件的信息以及嵌入式设备的设备信息向第一服务端发送;When the user of the embedded device needs to read the previously received mail content information, the client captures information such as the subject name of the mail, and sends the information of the mail and the device information of the embedded device to the first server;

第一服务端接收并解析客户端所发送的信息,根据该登陆的用户名或者当前各第二服务端的处理任务的多少,选择相应的第二服务端,将需要阅读邮件内容的信息发送给所选择的第二服务端;The first server receives and parses the information sent by the client, selects the corresponding second server according to the login user name or the number of processing tasks of each second server, and sends the information that needs to read the email content to all the selected second server;

所选定的第二服务端接收第一服务端所发送的信息,判断该请求信息的相应内容是否已储存,即,可以根据该请求的邮件的主题名称、发送时间或者发件人等信息,判断在该第二服务端是否已有相应的邮件内容信息,若是,直接提取出该邮件的相应的邮件内容,并将该内容发送给第一服务端,若否,可采用与实施例四中的相应的内容进行邮件操作,得到相应的操作结果,并将操作结果发送给第一服务端;The selected second server receives the information sent by the first server, and judges whether the corresponding content of the request information has been stored, that is, according to the subject name, sending time or sender of the requested mail, Judging whether there is corresponding mail content information at the second server, if so, directly extract the corresponding mail content of the mail, and send the content to the first server, if not, can adopt the same method as in Embodiment 4 The corresponding content of the email operation is performed, the corresponding operation result is obtained, and the operation result is sent to the first server;

第一服务端接收到第二服务端所返回的操作结果,根据嵌入式设备的设备信息队该操作结果进行适配处理,并对适配处理后的处理结果进行压缩、加密操作后向客户端发送;The first server receives the operation result returned by the second server, adapts the operation result according to the device information of the embedded device, and compresses and encrypts the adapted processing result to the client send;

客户端接收第一服务端所发送的信息,并对该处理结果进行解压缩、解密操作后在嵌入式设备上向用户进行展现。The client receives the information sent by the first server, decompresses and decrypts the processing result, and presents it to the user on the embedded device.

根据本实施例中的方案,第二服务端可以将所得到的邮件操作结果予以储存,从而当用户所请求的内容是第二服务端中已经存储的内容时,可以直将获得该邮件操作结果,而不需要重复进行连接网络服务器的操作,邮件操作效率高,用户体验更佳,可以支持邮件页面的自动转化和浏览,此外,在具有多个第二服务端的情况下,可以不同类型的用户名的邮件信息可以存放在不同的第二服务端上,从而可以实现多邮件的分布式存储,可以提高邮件操作效率。According to the solution in this embodiment, the second server can store the obtained mail operation result, so that when the content requested by the user is the content already stored in the second server, the mail operation result can be directly obtained , without repeating the operation of connecting to the network server, the mail operation efficiency is high, the user experience is better, and the automatic conversion and browsing of the mail page can be supported. In addition, in the case of multiple second server terminals, different types of users can The mail information of the same name can be stored on different second servers, so that distributed storage of multiple mails can be realized, and the efficiency of mail operation can be improved.

此外,在本发明以上各实施例中,所述第一服务端还可以接收来自同一客户端的不同邮件帐户的不同邮件操作请求,例如,当客户端位于嵌入式设备上时,在嵌入式设备用户具有多个邮箱帐号的情况下,该用户可以在同一个嵌入式设备上实现对这多个邮箱的邮件操作,即,可以通过同一个嵌入式设备实现对多个邮件地址的访问,具体的邮件操作过程可如上各实施例所述,从而,通过使用本发明的处理嵌入式设备的邮件的方法,还可以在同一个嵌入式设备上对多邮件帐号进行处理,丰富了嵌入式设备用户的使用体验。In addition, in the above embodiments of the present invention, the first server can also receive different mail operation requests from different mail accounts of the same client, for example, when the client is located on the embedded device, the embedded device user In the case of multiple email accounts, the user can implement email operations on the multiple email addresses on the same embedded device, that is, access to multiple email addresses can be realized through the same embedded device. The operation process can be as described in the above embodiments, thus, by using the method for processing the mail of the embedded device of the present invention, multiple mail accounts can also be processed on the same embedded device, which enriches the use of embedded device users. experience.

在以上各实施例中,客户端可以是通过cmwap或者cmnet等方式与第一服务端进行通信,从而具有更灵活的使用性,而第二服务端可以采用http(HypertextTransfer Protocol,超文本传输协议)协议,也可以采用标准的pop(Post OfficeProtocol电子邮局传输协议)/smtp(Simple Mail Transfer Protocol,简单邮件传输协议)协议与邮件服务器之间进行通信,从而嵌入式设备的用户可以采用自由的处理逻辑,自动从邮件服务器上提取邮件。In each of the above embodiments, the client can communicate with the first server through cmwap or cmnet, etc., so as to have more flexible usability, and the second server can use http (HypertextTransfer Protocol, Hypertext Transfer Protocol) protocol, or the standard pop (Post Office Protocol)/smtp (Simple Mail Transfer Protocol, Simple Mail Transfer Protocol) protocol can be used to communicate with the mail server, so that users of embedded devices can use free processing logic , to automatically fetch mail from the mail server.

如图2所示,是本发明的处理嵌入式设备的邮件的系统的结构示意图,其包括:As shown in Figure 2, it is a schematic structural diagram of the system for processing the mail of the embedded device of the present invention, which includes:

客户端,用于向第一服务端发送邮件操作请求及嵌入式设备的设备信息,并对所述第一服务端返回的处理结果在所述嵌入式设备上进行展现;The client is configured to send an email operation request and device information of the embedded device to the first server, and display the processing result returned by the first server on the embedded device;

第一服务端,用于将所述邮件操作请求向第二服务端转发,并根据所述设备信息对所述第二服务端所返回的操作结果进行适应于所述嵌入式设备的处理,并将处理结果向所述客户端发送;The first server is configured to forward the mail operation request to the second server, and process the operation result returned by the second server according to the device information, which is suitable for the embedded device, and Send the processing result to the client;

第二服务端,用于根据所述邮件操作请求执行相应的操作,并将操作结果向所述第一服务端发送。The second server is configured to perform a corresponding operation according to the mail operation request, and send the operation result to the first server.

根据本发明的处理嵌入式设备的邮件的系统,对邮件操作的具体处理过程由第二服务端来完成,在获得邮件操作结果后,由第一服务端对该操作结果进行适应于嵌入式设备的适配处理,并将适配处理后的处理结果发送给客户端,由客户端在嵌入式设备上进行展现,由于对邮件操作结果适配处理是在第一服务端进行,嵌入式设备的客户端可以只进行信息的收发及展现操作,有效减少了嵌入式设备终端所需要处理任务的强度,此外,对邮件操作请求的邮件操作过程是在第二服务端进行,处理速度更快,性能好,用户体验更佳。According to the system for processing the mail of the embedded device of the present invention, the specific processing process of the mail operation is completed by the second server, and after obtaining the mail operation result, the operation result is adapted to the embedded device by the first server The adaptation processing, and the processing results after the adaptation processing are sent to the client, and the client displays them on the embedded device. Since the adaptation processing of the mail operation results is performed on the first server, the embedded device The client can only send, receive, and display information, which effectively reduces the intensity of processing tasks required by the embedded device terminal. In addition, the mail operation process for the mail operation request is carried out on the second server, with faster processing speed and better performance. Well, the user experience is better.

其中,所述第二服务端的数目具有至少两个,所述第一服务端可以根据需要选择合适的第二服务端,例如:不同的第二服务端对应于不同类型的邮件服务器,第一服务端根据邮件操作请求中的用户名或者邮件操作请求中的邮件服务器名称选择相应的第二服务端,或者,所有的第二服务端均可以执行对任何类型的邮件服务器的操作,第一服务端根据各第二服务端当前处理任务的多少或者繁冗程度选择合适的第二服务端,优先选择较空闲的第二服务端,以获得更高效率的处理过程,因此,通过本发明的处理嵌入式设备的邮件的系统,可以通过不同的用户名访问不同类型的邮件服务器,既可以方便嵌入式设备用户的使用,可以实现多邮件用户的访问,且由于通过多个第二服务端来分担邮件任务,使得嵌入式设备用户通过嵌入式设备进行邮件服务时,效率更高。Wherein, the number of the second server is at least two, and the first server can select an appropriate second server according to needs, for example: different second servers correspond to different types of mail servers, the first service The terminal selects the corresponding second server according to the user name in the mail operation request or the mail server name in the mail operation request, or, all the second server can perform operations on any type of mail server, and the first server According to the number of current processing tasks of each second server or the degree of redundancy, the appropriate second server is selected, and the second server that is more idle is preferentially selected to obtain a more efficient processing process. Therefore, through the processing embedded in the present invention The mail system of the device can access different types of mail servers through different user names, which can not only facilitate the use of embedded device users, but also realize the access of multiple mail users, and share the mail tasks through multiple second servers , making the embedded device users more efficient when performing mail services through the embedded device.

此外,通过本发明的处理嵌入式设备的邮件的系统,还可以同时对多个不同的邮件帐号进行邮件操作请求,即,所述第一服务端可以接收来自同一个客户端的不同邮件帐户的邮件操作请求,并对其进行处理,由于客户端可位于嵌入式设备上,即可以通过同一个嵌入式设备实现对多个邮件地址的访问,具体的邮件操作过程可如上所述,从而,嵌入式设备用户通过使用本发明的处理嵌入式设备的邮件的系统,还可以在同一个嵌入式设备上对多邮件帐号进行处理,丰富了嵌入式设备用户的使用体验。In addition, through the system for processing emails of embedded devices of the present invention, email operation requests can also be made to multiple different email accounts at the same time, that is, the first server can receive emails from different email accounts of the same client Operation request, and its processing, because the client can be located on the embedded device, that is, access to multiple email addresses can be realized through the same embedded device, the specific mail operation process can be as described above, thus, the embedded By using the mail processing system of the embedded device of the present invention, the device user can also process multiple mail accounts on the same embedded device, which enriches the use experience of the embedded device user.

此外,客户端可以通过cmwap或者cmnet等方式与第一服务端进行通信,具有更灵活的使用性,而第二服务端可以采用http协议,也可以采用标准的pop/smtp协议与邮件服务器之间进行通信,从而嵌入式设备的用户可以采用自由的处理逻辑,自动从邮件服务器上提取邮件。In addition, the client can communicate with the first server through cmwap or cmnet, which has more flexible usability, while the second server can use http protocol or standard pop/smtp protocol to communicate with the mail server Communication is carried out so that the user of the embedded device can use free processing logic to automatically fetch mail from the mail server.

其中,所述客户端包括:Wherein, the client includes:

信息获取模块,用于获取所述嵌入式设备的设备信息;an information acquisition module, configured to acquire device information of the embedded device;

第一信息发送/接收模块,用于将所述设备信息及所述邮件操作请求向所述第一服务端发送,并接收第一服务端所发送的处理结果;The first information sending/receiving module is used to send the device information and the mail operation request to the first server, and receive the processing result sent by the first server;

显示模块,用于将所述处理结果在所述嵌入式设备上展现;a display module, configured to display the processing result on the embedded device;

所述第一服务端包括:The first server includes:

第二信息发送/接收模块,用于接收所述设备信息及所述邮件操作请求,并将所述邮件操作请求向所述第二服务端转发;A second information sending/receiving module, configured to receive the device information and the mail operation request, and forward the mail operation request to the second server;

信息处理模块,用于根据所述设备信息对所述操作结果进行适应于嵌入式设备的处理,得到相应的适配处理结果;An information processing module, configured to process the operation result adapted to the embedded device according to the device information, and obtain a corresponding adaptation processing result;

所述第二服务端包括:The second server includes:

第三信息发送/接收模块,用于接收所述邮件操作请求,并将邮件操作结果向所述第一服务端发送;A third information sending/receiving module, configured to receive the mail operation request, and send the mail operation result to the first server;

邮件操作处理模块,用于根据所述邮件操作请求执行相应的邮件操作,获得相应的操作结果。The mail operation processing module is configured to execute a corresponding mail operation according to the mail operation request, and obtain a corresponding operation result.

所述第二服务端还可以包括:存储模块,用于储存从网络邮件服务器返回的邮件操作结果。从而,当邮件操作请求内容是该存储模块已经储存的内容时,可以直接从该存储模块中提取出相应的操作结果,而不需要每次操作都要从邮件服务器上去获取相应内容,提高了邮件操作时的效率,在具有多个第二服务端的情况下,还可以针对不同的用户名或者不同类型的邮件服务器,将邮件操作结果储存在不同的第二服务端上,实现分布式邮件存储,可以使邮件操作效率更高。The second server may further include: a storage module, configured to store the mail operation result returned from the web mail server. Therefore, when the content of the mail operation request is the content already stored in the storage module, the corresponding operation result can be directly extracted from the storage module, without the need to obtain the corresponding content from the mail server for each operation, which improves the efficiency of mail processing. Efficiency during operation. In the case of multiple second servers, mail operation results can be stored on different second servers for different user names or different types of mail servers to realize distributed mail storage. Can make mail operation more efficient.

所述客户端还可以包括:The client may also include:

第一压缩模块,用于在发送所述邮件操作请求及设备信息之前,对所述邮件操作请求及设备信息执行压缩操作,并对所接收的所述第一服务端发送的信息执行解压缩操作;A first compression module, configured to perform a compression operation on the mail operation request and device information before sending the mail operation request and device information, and perform a decompression operation on the received information sent by the first server. ;

所述第一服务端还可以包括:The first server may also include:

第二压缩模块,用于对所接收的所述客户端发送的信息执行解压缩操作,并在发送所述处理结果之前,对所述处理结果执行压缩操作。The second compression module is configured to perform a decompression operation on the received information sent by the client, and perform a compression operation on the processing result before sending the processing result.

从而,无论是客户端或者第一服务端所发送的消息均经过了压缩的步骤,使得应当传输的数据量更进一步降低,数据传输的时延短,更进一步提高邮件操作处理的效率。Therefore, the messages sent by the client or the first server are all compressed, so that the amount of data to be transmitted is further reduced, the time delay of data transmission is shortened, and the efficiency of mail operation and processing is further improved.

其中,所述客户端还可以包括:Wherein, the client may also include:

第一加密模块,用于在发送所述邮件操作请求及设备信息之前,对所述邮件操作请求及设备信息执行加密操作,并对所接收的所述第一服务端发送的信息执行解密操作;A first encryption module, configured to perform an encryption operation on the mail operation request and device information before sending the mail operation request and device information, and perform a decryption operation on the received information sent by the first server;

所述第一服务端还可以包括:The first server may also include:

第二加密模块,用于对所接收的客户端发送的信息执行解密操作,并在发送所述处理结果之前,对所述处理结果执行加密操作。The second encryption module is configured to perform a decryption operation on the received information sent by the client, and perform an encryption operation on the processing result before sending the processing result.

从而,对所发送的消息执行加密操作,在接收端再执行解密操作,防止了信号发送过程中被第三方接收以后恶意篡改,保证了信息传输的正确性与安全性。其中,上述加密方式还可以是非对称加密方式,从而信息传输更安全。Therefore, the encryption operation is performed on the sent message, and then the decryption operation is performed at the receiving end, which prevents malicious tampering after the signal is received by a third party during the signal transmission process, and ensures the correctness and security of information transmission. Wherein, the above-mentioned encryption method may also be an asymmetric encryption method, so that information transmission is more secure.

以上所述的本发明实施方式,并不构成对本发明保护范围的限定。任何在本发明的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明的权利要求保护范围之内。The embodiments of the present invention described above are not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principle of the present invention shall be included in the protection scope of the claims of the present invention.

Claims (11)

1.一种处理嵌入式设备的邮件的方法,其特征在于,包括步骤:1. A method for processing the mail of an embedded device, characterized in that, comprising steps: 第一服务端接收并解析客户端发送的邮件操作请求及嵌入式设备的设备信息,所述设备信息包括该嵌入式设备的身份识别信息、屏幕大小信息、屏幕分辨率信息以及该嵌入式设备所支持的文件格式信息;The first server receives and parses the mail operation request sent by the client and the device information of the embedded device. The device information includes the identification information of the embedded device, screen size information, screen resolution information, and Supported file format information; 所述第一服务端根据邮件操作请求中的用户名信息,从多个第二服务端中选择包含有该用户名的第二服务端,并将所述邮件操作请求及设备信息向选定的第二服务端发送;According to the username information in the email operation request, the first server selects the second server including the username from multiple second servers, and sends the email operation request and device information to the selected The second server sends; 所述选定的第二服务端根据所述邮件操作请求向互联网上的邮件服务器获取相应的邮件信息,获得相应的操作结果,并将操作结果向所述第一服务端发送;The selected second server obtains corresponding mail information from a mail server on the Internet according to the mail operation request, obtains a corresponding operation result, and sends the operation result to the first server; 所述第一服务端根据所述设备信息,对所述操作结果进行适应于所述嵌入式设备的适配处理,并将所述适配处理后的处理结果向所述客户端发送。The first server performs adaptation processing on the operation result adapted to the embedded device according to the device information, and sends a processing result after the adaptation processing to the client. 2.根据权利要求1所述的处理嵌入式设备的邮件的方法,其特征在于:所述适配处理包括以下处理方式中的至少一种:2. The method for processing the mail of an embedded device according to claim 1, characterized in that: said adaptation processing includes at least one of the following processing methods: 删除所述操作结果中的不必要信息;delete unnecessary information from the results of said operations; 根据所述设备信息对所述操作结果进行页面重排;performing page rearrangement on the operation result according to the device information; 根据所述设备信息对所述操作结果进行格式转换。Perform format conversion on the operation result according to the device information. 3.根据权利要求1所述的处理嵌入式设备的邮件的方法,其特征在于:3. the method for the mail of processing embedded device according to claim 1, is characterized in that: 所述第一服务端根据各第二服务端当前处理任务的多少,选择相应的第二服务端,并将所述邮件操作请求及设备信息发送给选定的第二服务端。The first server selects the corresponding second server according to the number of current processing tasks of each second server, and sends the mail operation request and device information to the selected second server. 4.根据权利要求1所述的处理嵌入式设备的邮件的方法,其特征在于,还包括步骤:所述第二服务端将所述操作结果予以储存。4 . The method for processing emails of embedded devices according to claim 1 , further comprising a step: the second server stores the operation result. 5 . 5.根据权利要求1所述的处理嵌入式设备的邮件的方法,其特征在于,还包括步骤:5. the method for processing the mail of embedded device according to claim 1, is characterized in that, also comprises the step: 当到达预定时间时,所述第二服务端自动执行收取邮件的邮件操作请求。When the predetermined time arrives, the second server automatically executes a mail operation request for receiving mail. 6.根据权利要求1至5任意一项所述的处理嵌入式设备的邮件的方法,其特征在于,还包括:6. The method for processing the mail of an embedded device according to any one of claims 1 to 5, further comprising: 在将所述处理结果向所述客户端发送之前,对所述处理结果执行压缩和/或加密操作;performing compression and/or encryption operations on the processing result before sending the processing result to the client; 所述客户端对所接收到的处理结果执行解压缩和/或解密操作。The client performs decompression and/or decryption operations on the received processing result. 7.根据权利要求6所述的处理嵌入式设备的邮件的方法,其特征在于:所述加密方式为非对称加密。7. The method for processing emails of embedded devices according to claim 6, characterized in that: the encryption method is asymmetric encryption. 8.一种处理嵌入式设备的邮件的系统,包括:客户端、第一服务端及多个第二服务端;8. A system for processing emails of embedded devices, comprising: a client, a first server and multiple second servers; 所述客户端,用于向所述第一服务端发送邮件操作请求及嵌入式设备的设备信息,并对所述第一服务端返回的处理结果在所述嵌入式设备上进行展现,所述设备信息包括该嵌入式设备的身份识别信息、屏幕大小信息、屏幕分辨率信息以及该嵌入式设备所支持的文件格式信息;The client is configured to send an email operation request and device information of the embedded device to the first server, and display the processing result returned by the first server on the embedded device, the Device information includes the identification information of the embedded device, screen size information, screen resolution information, and file format information supported by the embedded device; 所述第一服务端,用于根据邮件操作请求中的用户名信息从多个第二服务端中选择包含有该用户名的第二服务端,并将所述邮件操作请求及设备信息向选定的第二服务端转发;根据所述设备信息对所述第二服务端返回的操作结果进行适应于所述嵌入式设备的适配处理,并将所述适配处理后的处理结果向所述客户端发送;The first server is configured to select a second server including the username from multiple second servers according to the username information in the email operation request, and send the email operation request and device information to the selected server. Forwarding by the specified second server; according to the device information, adapt the operation result returned by the second server to the embedded device, and send the adapted processing result to the sent by the client; 所述第二服务端,用于根据所述邮件操作请求向互联网上的邮件服务器获取邮件信息,执行相应的操作,获得相应的邮件操作结果,并将该邮件操作结果向所述第一服务端发送。The second server is configured to obtain mail information from a mail server on the Internet according to the mail operation request, perform corresponding operations, obtain corresponding mail operation results, and send the mail operation results to the first server send. 9.根据权利要求8所述的处理嵌入式设备的邮件的系统,其特征在于,所述第一服务端根据各第二服务端当前处理任务的多少选择相应的第二服务端,并将所述邮件操作请求及设备信息发送给所选定的第二服务端。9. The system for processing mails of embedded devices according to claim 8, wherein the first server selects the corresponding second server according to the number of current processing tasks of each second server, and the Send the email operation request and device information to the selected second server. 10.根据权利要求9所述的处理嵌入式设备的邮件的系统,其特征在于,所述第二服务端还包括:10. the system for processing the mail of embedded device according to claim 9, is characterized in that, described second service end also comprises: 存储模块,用于储存所述第一服务端发送的设备信息及所述邮件操作结果。A storage module, configured to store the device information sent by the first server and the mail operation result. 11.根据权利要求8或9或10所述的处理嵌入式设备的邮件的系统,其特征在于,11. The system for processing the mail of the embedded device according to claim 8 or 9 or 10, characterized in that, 所述客户端还包括,The client also includes, 第一压缩模块,用于在发送所述邮件操作请求及设备信息之前,对所述邮件操作请求及设备信息执行压缩操作,并对接收的所述第一服务端发送的信息执行解压缩操作;A first compression module, configured to perform a compression operation on the mail operation request and device information before sending the mail operation request and device information, and perform a decompression operation on the received information sent by the first server; 第一加密模块,用于在发送所述设备信息及邮件操作请求之前,对所述邮件操作请求及设备信息执行加密操作,并对接收的所述第一服务端发送的信息执行解密操作;The first encryption module is configured to perform an encryption operation on the email operation request and the equipment information before sending the equipment information and the email operation request, and perform a decryption operation on the received information sent by the first server; 所述第一服务端还包括,The first server also includes, 第二压缩模块,用于对所接收的所述客户端发送的信息执行解压缩操作,并在发送所述处理结果之前,对所述处理结果执行压缩操作;The second compression module is configured to perform a decompression operation on the received information sent by the client, and perform a compression operation on the processing result before sending the processing result; 第二加密模块,用于对所接收的所述客户端发送的信息执行解密操作,并在发送所述处理结果之前,对所述处理结果执行加密操作。The second encryption module is configured to perform a decryption operation on the received information sent by the client, and perform an encryption operation on the processing result before sending the processing result.
CN2007100321159A 2007-12-05 2007-12-05 A method and system for processing mails of built-in device Active CN101188571B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100321159A CN101188571B (en) 2007-12-05 2007-12-05 A method and system for processing mails of built-in device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100321159A CN101188571B (en) 2007-12-05 2007-12-05 A method and system for processing mails of built-in device

Publications (2)

Publication Number Publication Date
CN101188571A CN101188571A (en) 2008-05-28
CN101188571B true CN101188571B (en) 2011-12-28

Family

ID=39480766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100321159A Active CN101188571B (en) 2007-12-05 2007-12-05 A method and system for processing mails of built-in device

Country Status (1)

Country Link
CN (1) CN101188571B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404363B (en) * 2010-09-10 2015-08-26 联想(北京)有限公司 A kind of access method and device
CN103095839A (en) * 2013-01-21 2013-05-08 中国工商银行股份有限公司 System and method of client data presentation
CN108322449B (en) * 2018-01-09 2021-11-26 武汉斗鱼网络科技有限公司 Method, storage medium, equipment and system for preventing video stream from being stolen

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10247936A (en) 1997-03-04 1998-09-14 Matsushita Electric Ind Co Ltd Email sending and receiving system
CN1645392A (en) * 2005-03-01 2005-07-27 北京立通无限科技有限公司 Receiving, transmitting and managing method for wireless mobile terminal E-mail
CN1801811A (en) * 2005-11-19 2006-07-12 华为技术有限公司 Mobile mail terminal adapting method and system
CN101075974A (en) * 2006-05-20 2007-11-21 华为技术有限公司 Method and system for decreasing mobile e-mail repeated adaption

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10247936A (en) 1997-03-04 1998-09-14 Matsushita Electric Ind Co Ltd Email sending and receiving system
CN1645392A (en) * 2005-03-01 2005-07-27 北京立通无限科技有限公司 Receiving, transmitting and managing method for wireless mobile terminal E-mail
CN1801811A (en) * 2005-11-19 2006-07-12 华为技术有限公司 Mobile mail terminal adapting method and system
CN101075974A (en) * 2006-05-20 2007-11-21 华为技术有限公司 Method and system for decreasing mobile e-mail repeated adaption

Also Published As

Publication number Publication date
CN101188571A (en) 2008-05-28

Similar Documents

Publication Publication Date Title
US9686243B1 (en) Encrypted universal resource identifier (URI) based messaging
JP4570626B2 (en) System and method for generating reproducible session keys
US8510397B2 (en) Method and apparatus for message notification via RSS feed
CN102916948B (en) Data safety processing method and device, and terminal
CA2456839A1 (en) System and method for processing encoded messages
JP2000244557A (en) Data transfer protocol using short message service
CN104065681B (en) The method and system of preview is carried out to the ciphered compressed packet in attachment
JP4789100B2 (en) E-mail transmission system
CN101552743A (en) Electronic mail gateway apparatus
CN101188571B (en) A method and system for processing mails of built-in device
CN100461776C (en) System, method and apparatus for implementing email notification
CN103188301A (en) Method and system for processing electronic documents of distributed network and network storage server
CN1283122C (en) Method and system for implementing application of cell phone picture and ring in instant communication tools
WO2011116558A1 (en) Method and terminal for processing short message
CN101394455A (en) Scanning operation management method, device and system
CN101552742B (en) e-mail receiving device
CN101340398B (en) Digital photo frame, obtaining and transmitting method, apparatus and system for shared file
US20160044028A1 (en) Message authentication
CN115242779B (en) File transmission method and system based on applet and electronic equipment
KR20150119668A (en) File sharing method and system using a e-mail message
US20090031323A1 (en) Communication system and method
JP2002359646A (en) E-mail sending and receiving system
EP2378800B1 (en) Secure communication system
JP6167598B2 (en) Information processing apparatus, information processing method, and computer program
CN108900535A (en) Mail encryption method, device and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200511

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 100080, room 16, building 10-20, Building 29, Haidian District, Suzhou Street, Beijing

Patentee before: UC MOBILE Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210301

Address after: 510627 unit 01, 13th floor, Tower B, Pingyun Plaza, 163 xipingyun Road, Huangpu Avenue, Tianhe District, Guangzhou City, Guangdong Province

Patentee after: UC TECHNOLOGY (CHINA) Co.,Ltd.

Address before: Room 508, 5 / F, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Alibaba (China) Co.,Ltd.