







本申请要求于2020年8月11日提交中国专利局、申请号为202010801055.8、申请名称为“一种邮件处理方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202010801055.8 and the application title "A Mail Processing Method and Electronic Device" filed with the China Patent Office on August 11, 2020, the entire contents of which are incorporated herein by reference middle.
本申请涉及电子技术领域,尤其涉及一种邮件处理方法及电子设备。The present application relates to the field of electronic technology, and in particular, to a mail processing method and electronic device.
当前电子设备在收取新邮件时,一般通过预设阈值(固定收取邮件大小)的方式进行邮件收取。如果预设阈值过大,对于一些不需要阅读的邮件也会收取全部内容,这样增加功耗和流量的负担。如果预设阈值太小,当用户需要阅读收取的新邮件的全部内容时,在用户打开新邮件时才会从服务器重新加载之前未下载的部分,邮件处理效率低,影响用户的阅读体验。When current electronic devices receive new emails, they generally receive emails by means of a preset threshold (fixed size of received emails). If the preset threshold is too large, all the content will be charged for some emails that do not need to be read, which increases the burden of power consumption and traffic. If the preset threshold is too small, when the user needs to read the entire content of the received new email, the undownloaded part will be reloaded from the server when the user opens the new email. The email processing efficiency is low and the user's reading experience is affected.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种邮件处理方法及电子设备,可以节省功耗和流量,提高邮件处理效率。The embodiments of the present application provide a mail processing method and electronic device, which can save power consumption and traffic and improve mail processing efficiency.
第一方面,本申请实施例提供了一种邮件处理方法,包括:当检测到电子设备向服务器收取新邮件时,从服务器获取新邮件的邮件数据,邮件数据包括发件人信息和邮件优先级;确定发件人信息对应的发件人的历史邮件的读取状态;根据发件人信息、邮件优先级和历史邮件的读取状态中的至少一项,从服务器获取新邮件的正文内容。通过发件人信息、邮件优先级和发件人的历史邮件的读取状态动态调整收取邮件大小,并按照调整后的收取邮件大小来收取新邮件的正文内容。避免一些重要的邮件在用户打开时需要重新加载,提高邮件处理效率。同时也避免全部加载一些不重要的邮件,节省了流量和功耗。In a first aspect, an embodiment of the present application provides an email processing method, including: when detecting that an electronic device receives a new email from a server, acquiring email data of the new email from the server, where the email data includes sender information and email priority ; determine the read status of the sender's historical mail corresponding to the sender information; obtain the text content of the new mail from the server according to at least one of the sender information, the mail priority and the read status of the historical mail. Dynamically adjust the size of received emails based on sender information, email priority and the reading status of the sender's historical emails, and receive the body content of new emails according to the adjusted received email size. Avoid some important emails that need to be reloaded when users open, and improve email processing efficiency. At the same time, it also avoids loading all unimportant emails, saving traffic and power consumption.
在一种可能的设计中,当邮件优先级为最高优先级时,从服务器获取新邮件的全部的正文内容。通过邮件优先级调整的收取邮件大小来收取新邮件的正文内容,避免一些重要的邮件在用户打开时重新加载正文内容,提高邮件处理效率。In one possible design, when the mail priority is the highest priority, the entire body content of the new mail is fetched from the server. The body content of new emails is collected by the size of the received emails adjusted by the email priority, so as to avoid reloading the body content of some important emails when users open them, and improve the efficiency of email processing.
在另一种可能的设计中,当从本地发件人信息中未查询到与发件人信息对应的发件人时,按照预设阈值从服务器获取新邮件的正文内容。通过确定接收到的新邮件的发件人是新的发件人,按照固定的收取邮件大小收取新邮件的正文内容,可以避免遗漏新邮件。In another possible design, when the sender corresponding to the sender information is not queried from the local sender information, the body content of the new email is obtained from the server according to a preset threshold. By determining that the sender of the received new mail is the new sender, and collecting the body content of the new mail according to a fixed received mail size, it is possible to avoid missing new mail.
在另一种可能的设计中,当邮件优先级不是最高优先级时,确定从本地发件人信息中是否查询到与发件人信息对应的发件人;当从本地发件人信息中未查询到与发件人信息对应的发件人时,按照预设的收取大小从服务器获取新邮件的正文内容。In another possible design, when the priority of the mail is not the highest priority, it is determined whether the sender corresponding to the sender information is queried from the local sender information; When the sender corresponding to the sender information is queried, the body content of the new email is obtained from the server according to the preset collection size.
在另一种可能的设计中,当邮件优先级不是最高优先级时,确定从本地发件人信息中是否查询到与发件人信息对应的发件人。当从本地发件人信息中查询到与发件人信息对应的发件人时,根据历史邮件的读取状态,从服务器获取新邮件的正文内容。通过该发件人的历史邮件的读取状态,动态调整收取邮件大小来收取新邮件的正文内容。In another possible design, when the priority of the mail is not the highest priority, it is determined whether the sender corresponding to the sender information is queried from the local sender information. When the sender corresponding to the sender information is queried from the local sender information, the body content of the new email is obtained from the server according to the read status of the historical email. According to the read status of the sender's historical mail, dynamically adjust the size of the received mail to receive the body content of the new mail.
在另一种可能的设计中,当历史邮件的读取状态为发件人的历史邮件全部被阅读时,从 服务器获取新邮件的全部的正文内容。通过在发件人的历史邮件全部被阅读时确定该发件人发送的邮件需要加载全部正文内容,避免一些重要的邮件在用户打开时需要重新加载,提高邮件处理效率。In another possible design, when the read status of the historical mail is that all historical mails of the sender have been read, the entire body content of the new mail is obtained from the server. By determining that the emails sent by the sender need to be loaded with all body content when all the historical emails of the sender are read, it is avoided that some important emails need to be reloaded when the user opens them, and the email processing efficiency is improved.
在另一种可能的设计中,当历史邮件的读取状态为发件人的历史邮件部分被阅读时,确定在预设时间段内的发件人的所有历史邮件的阅读比例;根据阅读比例,从服务器获取新邮件的正文内容。通过确定发件人的历史邮件部分被阅读来调整收取邮件大小,按照调整后的收取新邮件的正文内容。In another possible design, when the reading status of the historical mail is that the sender's historical mail part is read, determine the reading ratio of all the sender's historical mail within a preset time period; according to the reading ratio , fetches the body content of the new message from the server. Adjust the size of the received mail by determining that the sender's historical mail part is read, and receive the body content of the new mail after the adjustment.
在另一种可能的设计中,获取所有历史邮件中被阅读的历史邮件的第一数量、未被阅读的历史邮件的第二数量、和最近一次收取到的历史邮件的阅读状态;根据第一数量、第二数量和阅读状态,确定阅读比例。In another possible design, the first number of historical emails that have been read, the second number of historical emails that have not been read, and the reading status of the most recently received historical emails among all historical emails are obtained; The number, the second number, and the reading status determine the reading ratio.
第二方面,本申请实施例提供了一种电子设备,该电子设备被配置为实现上述第一方面中第一设备所执行的方法和功能,由硬件/软件实现,其硬件/软件包括与上述功能相应的模块。In a second aspect, an embodiment of the present application provides an electronic device, the electronic device is configured to implement the method and function performed by the first device in the first aspect above, and is implemented by hardware/software, wherein the hardware/software includes the same as the above-mentioned function corresponding module.
第三方面,本申请实施例提供了一种装置,该装置应用于电子设备中,该装置可以为电子设备或电子设备中的芯片。装置包括:处理器、存储器和通信总线,其中,通信总线用于实现处理器和存储器之间连接通信,处理器执行存储器中存储的程序用于实现上述第一方面的步骤。In a third aspect, an embodiment of the present application provides an apparatus, where the apparatus is applied in an electronic device, and the apparatus may be an electronic device or a chip in the electronic device. The apparatus includes: a processor, a memory, and a communication bus, wherein the communication bus is used to implement connection and communication between the processor and the memory, and the processor executes a program stored in the memory to implement the steps of the first aspect.
第四方面,本申请提供了一种计算机可读存储介质,计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面的方法。In a fourth aspect, the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, when the computer-readable storage medium runs on a computer, the computer executes the methods of the above aspects.
第五方面,本申请提供了一种包含指令的计算机程序,当其在计算机上运行时,使得计算机执行上述各方面的方法。In a fifth aspect, the present application provides a computer program comprising instructions which, when run on a computer, cause the computer to perform the methods of the above aspects.
第六方面,本申请实施例提供了一种芯片,包括处理器,用于从存储器中调用并运行存储器中存储的指令,使得安装有芯片的通信设备执行上述任一方面的方法。In a sixth aspect, an embodiment of the present application provides a chip, including a processor, configured to call and execute instructions stored in the memory from a memory, so that a communication device installed with the chip executes the method of any one of the foregoing aspects.
第七方面,本申请实施例提供了另一种芯片,包括:输入接口、输出接口和处理器。可选的,还包括存储器,输入接口、输出接口、处理器以及存储器之间通过内部连接通路相连,处理器用于执行存储器中的代码,当代码被执行时,处理器用于执行上述任一方面中的方法。In a seventh aspect, an embodiment of the present application provides another chip, including: an input interface, an output interface, and a processor. Optionally, also include a memory, the input interface, the output interface, the processor and the memory are connected through an internal connection path, the processor is used to execute the code in the memory, and when the code is executed, the processor is used to execute any of the above-mentioned aspects. Methods.
第八方面,本申请实施例提供了一种通信系统,包括第一设备和服务器,第一设备可以执行上述任一方面中的方法,服务器可以用于接收电子设备发送的邮件或向电子设备发送邮件。In an eighth aspect, an embodiment of the present application provides a communication system, including a first device and a server, where the first device can execute the method in any of the foregoing aspects, and the server can be used to receive an email sent by the electronic device or send an email to the electronic device. mail.
为了更清楚地说明本申请实施例或背景技术中的技术方案,下面将对本申请实施例或背景技术中所需要使用的附图进行说明。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background technology, the accompanying drawings required in the embodiments or the background technology of the present application will be described below.
图1(A)是本申请实施例提供的一种电子设备的结构示意图;1(A) is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图1(B)是本申请实施例提供的一种电子设备的软件结构框图;Fig. 1 (B) is a software structural block diagram of an electronic device provided by an embodiment of the present application;
图2是本申请实施例提供的一种邮件处理方法的流程示意图;2 is a schematic flowchart of a mail processing method provided by an embodiment of the present application;
图3是本申请实施例提供的另一种邮件处理方法的流程示意图;3 is a schematic flowchart of another mail processing method provided by an embodiment of the present application;
图4(A)是本申请实施例提供的一种UI界面的示意图;4 (A) is a schematic diagram of a UI interface provided by an embodiment of the present application;
图4(B)是本申请实施例提供的另一种UI界面的示意图;4 (B) is a schematic diagram of another UI interface provided by an embodiment of the present application;
图4(C)是本申请实施例提供的另一种UI界面的示意图;4 (C) is a schematic diagram of another UI interface provided by an embodiment of the present application;
图5是本申请实施例提出的一种电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device proposed by an embodiment of the present application.
下面结合本申请实施例中的附图对本申请实施例进行描述。The embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
图1(A)示出了电子设备100的结构示意图。FIG. 1(A) shows a schematic structural diagram of an electronic device 100 .
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。The electronic device 100 may include a
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller may be the nerve center and command center of the electronic device 100 . The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的速率。A memory may also be provided in the
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 . In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting the battery 142 , the
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The
调制解调处理器可以包括调制器和解调器。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be independent of the
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR). The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with the
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处 理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light). emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on. In some embodiments, the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back by the camera 193 . For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193 .
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。A digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos of various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。The NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process the input information, and can continuously learn by itself. Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。Internal memory 121 may be used to store computer executable program code, which includes instructions. The
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 may implement audio functions through an
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。Speaker 170A, also referred to as a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触控操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触控操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触控操作强度的触控操作,可以对应不同的操作指令。例如:当有触控操作强度小于第一压力阈值的触控操作作用于短消息应用图标时,执行查看短消息的指令。当有触控操作强度大于或等于第一压力阈值的触控操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be provided on the display screen 194 . There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, and the like. The capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, the instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 .
气压传感器180C用于测量气压。The air pressure sensor 180C is used to measure air pressure.
磁传感器180D包括霍尔传感器。The magnetic sensor 180D includes a Hall sensor.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
距离传感器180F,用于测量距离。Distance sensor 180F for measuring distance.
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
环境光传感器180L用于感知环境光亮度。The ambient light sensor 180L is used to sense ambient light brightness.
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。The temperature sensor 180J is used to detect the temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸 传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触控操作。触摸传感器可以将检测到的触控操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触控操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch panel". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called "touch screen". The touch sensor 180K is used to detect touch operations on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to touch operations may be provided via display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the pulse of the human body and receive the blood pressure beating signal. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone, combined with the bone conduction earphone. The
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触控操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触控操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。Motor 191 can generate vibrating cues. The motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. The motor 191 can also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 194 . Different application scenarios (for example: time reminder, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。The
本申请实施例中涉及的电子设备可以是手机、平板电脑、桌面型、膝上型、笔记本电脑、超级移动个人计算机(Ultra-mobile Personal Computer,UMPC)、手持计算机、上网本、个人数字助理(Personal Digital Assistant,PDA)、可穿戴电子设备、虚拟现实设备等。The electronic devices involved in the embodiments of the present application may be mobile phones, tablet computers, desktops, laptops, notebook computers, Ultra-mobile Personal Computers (UMPCs), handheld computers, netbooks, personal digital assistants (Personal Digital Assistants) Digital Assistant, PDA), wearable electronic devices, virtual reality devices, etc.
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiments of the present application take an Android system with a layered architecture as an example to exemplarily describe the software structure of the electronic device 100 .
图1(B)是本申请实施例的电子设备100的软件结构框图。FIG. 1(B) is a block diagram of a software structure of an electronic device 100 according to an embodiment of the present application.
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer.
应用程序层可以包括一系列应用程序包。The application layer can include a series of application packages.
如图1(B)所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in Fig. 1(B), the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and so on.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图1(B)所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器,事件管理器等。As shown in FIG. 1(B), the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, an event manager, and the like.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make these data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications. A display interface can consist of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide the communication function of the electronic device 100 . For example, the management of call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
事件管理器可用于在已开启第一控制模式的情况下,判断用户的触控操作的触摸坐标是否在第一区域内。若是,将该触控操作的事件上报至应用程序层;若否,对该触控操作不做任何处理。The event manager may be configured to determine whether the touch coordinates of the user's touch operation are within the first area when the first control mode is enabled. If yes, report the event of the touch operation to the application layer; if not, do nothing to the touch operation.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。A system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
2D图形引擎是2D绘图的绘图引擎。内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。2D graphics engine is a drawing engine for 2D drawing. The kernel layer is the layer between hardware and software. The kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
如图2所示,图2是本申请实施例提供的一种邮件处理方法的流程示意图。本申请实施例中的步骤包括:As shown in FIG. 2 , FIG. 2 is a schematic flowchart of a mail processing method provided by an embodiment of the present application. The steps in the embodiments of the present application include:
S201,当检测到电子设备向服务器收取新邮件时,从所述服务器获取所述新邮件的邮件数据,所述邮件数据包括发件人信息和邮件优先级。S201, when it is detected that the electronic device receives a new mail from the server, obtain mail data of the new mail from the server, where the mail data includes sender information and mail priority.
具体的,用户可以点击邮件应用软件上的选项“收取”,向服务器发送请求消息,或者按照预设的时间间隔向服务器发送请求消息。电子设备获取从服务器返回的邮件数据,然后可以通过命令(sync命令)从邮件数据中获取元数据,该元数据可以包括发件人信息和邮件优先级等等。其中,邮件优先级可以为邮件的重要程度,例如邮件标注为重要、一般重要或者不重要。发件人信息可以包括发件人姓名、联系方式或者邮件地址等等。Specifically, the user may click the option "receive" on the mail application software to send a request message to the server, or send a request message to the server at a preset time interval. The electronic device obtains the mail data returned from the server, and then can obtain metadata from the mail data through a command (sync command), where the metadata may include sender information, mail priority and the like. The priority of the mail may be the importance of the mail, for example, the mail is marked as important, generally important, or not important. The sender information may include the sender's name, contact information or email address, and so on.
S202,确定所述发件人信息对应的发件人的历史邮件的读取状态。S202: Determine the read status of the sender's historical mail corresponding to the sender information.
具体的,可以首先根据发件人信息,从本地发件人信息中查询对应的发件人,然后查找该发件人的所有历史邮件,并确定所有历史邮件的读取状态。可选的,可以查找在预设时间段内的该发件人的所有历史邮件,并确定在预设时间段内所有历史邮件的读取状态。其中,预设时间段可以是1个月或半年等等。读取状态可以为已读取正文内容、未读取正文内容、邮件已被打开或邮件未被打开等等。Specifically, according to the sender information, the corresponding sender can be queried from the local sender information, then all the historical mails of the sender can be searched, and the read status of all the historical mails can be determined. Optionally, all historical emails of the sender within a preset time period may be searched, and the read status of all historical emails within the preset time period may be determined. The preset time period may be one month or half a year, and so on. The read status can be that the body content has been read, the body content has not been read, the mail has been opened, or the mail has not been opened, and so on.
S203,根据所述发件人信息、所述邮件优先级和所述历史邮件的读取状态中的至少一项,从所述服务器获取所述新邮件的正文内容。具体可以包括如下几种可选方式:S203: Acquire the body content of the new email from the server according to at least one of the sender information, the email priority, and the read status of the historical email. Specifically, the following options can be included:
可选的,可以根据新邮件的邮件优先级,从所述服务器获取所述新邮件的正文内容。进一步的,当所述邮件优先级为最高优先级时,从所述服务器获取所述新邮件的全部的正文内容,从而避免在用户打开新邮件时重新加载正文内容。例如,当所述新邮件被标注为重要时,可以将收取邮件大小调整到一个较大值(如10M),使得电子设备可以从所述服务器获取所述新邮件的全部的正文内容。或者,当所述邮件优先级为最高优先级为一般优先级时,可以按照预先设置的固定邮件大小(如200KB大小)来收取该新邮件。Optionally, the body content of the new email may be acquired from the server according to the email priority of the new email. Further, when the priority of the email is the highest priority, the entire body content of the new email is obtained from the server, so as to avoid reloading the body content when the user opens the new email. For example, when the new email is marked as important, the size of the received email can be adjusted to a larger value (eg, 10M), so that the electronic device can obtain the entire body content of the new email from the server. Alternatively, when the email priority is the highest priority and the general priority, the new email may be received according to a preset fixed email size (eg, 200KB).
可选的,可以确定从本地发件人信息中是否查询到与所述发件人信息对应的发件人,当从本地发件人信息中未查询到与所述发件人信息对应的发件人时,可以按照预设阈值从所述服务器获取所述新邮件的正文内容。其中,预设阈值可以为预先设置的固定收取邮件大小,可以为100KB。例如,电子设备的用户之前从来没有接收该新邮件的发件人的任何邮件,则可以按照预先设置的固定邮件大小(例如100KB大小)来收取该新邮件,而不需要考虑是否能够收取到新邮件的全部正文内容。Optionally, it can be determined whether the sender corresponding to the sender information is queried from the local sender information, and when the sender information corresponding to the sender information is not queried from the local sender information. When the email is sent, the body content of the new email may be obtained from the server according to a preset threshold. The preset threshold may be a preset fixed size of received mails, which may be 100KB. For example, if the user of the electronic device has never received any emails from the sender of the new email before, the new email can be received according to the preset fixed email size (for example, 100KB), regardless of whether the new email can be received or not. The full body content of the message.
可选的,可以根据历史邮件的读取状态,从所述服务器获取所述新邮件的正文内容。包括如下几种情况:Optionally, the body content of the new email may be acquired from the server according to the read status of the historical email. This includes the following situations:
第一种可选方式:当所述历史邮件的读取状态为所述发件人的历史邮件全部被阅读时,从所述服务器获取所述新邮件的全部的正文内容。例如,当某个发件人的所有历史邮件都被收件人已经读取,可以针对该发件人将收取邮件大小调整到一个较大值(如10M),使得电子设备可以从所述服务器获取所述新邮件的全部的正文内容,从而避免在用户打开新邮件时重新加载正文内容。The first optional manner: when the read status of the historical mail is that all the historical mails of the sender have been read, obtain all the text content of the new mail from the server. For example, when all the historical mails of a certain sender have been read by the recipient, the size of the received mail can be adjusted to a larger value (eg 10M) for the sender, so that the electronic device can retrieve the message from the server. Get the entire body content of the new email, so as to avoid reloading the body content when the user opens the new email.
第二种可选方式:当所述历史邮件的读取状态为所述发件人的历史邮件部分被阅读时,获取在预设时间段内的所述发件人的所有所述历史邮件中被阅读的历史邮件的第一数量、未被阅读的历史邮件的第二数量、和最近一次收取到的历史邮件的阅读状态;根据所述第一数量、所述第二数量和所述阅读状态,确定在预设时间段内的所述发件人的所有所述历史邮件的阅读比例(也称作收取邮件大小);根据所述阅读比例,从所述服务器获取所述新邮件的正文内容。The second optional way: when the read status of the historical mail is that the sender's historical mail is partially read, obtain all the historical mails of the sender within a preset time period. The first number of historical emails that have been read, the second number of historical emails that have not been read, and the reading status of the most recent received historical emails; according to the first number, the second number, and the reading status , determine the reading ratio (also referred to as the received mail size) of all the historical mails of the sender within a preset time period; according to the reading ratio, obtain the body content of the new mail from the server .
进一步的,如果近一次收取到的历史邮件已经被阅读,则阅读比例计算公式如下:M*((已读历史邮件/全部历史邮件)*K1+K2)。如果近一次收取到的历史邮件没有被阅读,则阅读比例计算公式如下:M*(已读历史邮件/全部历史邮件)。其中,M为预先设置的收取邮件大小, K1和K2为加权系数。Further, if the recent received historical emails have been read, the reading ratio calculation formula is as follows: M*((read historical emails/all historical emails)*K1+K2). If the recent received historical emails have not been read, the reading ratio calculation formula is as follows: M*(read historical emails/all historical emails). Among them, M is the preset received mail size, and K1 and K2 are weighting coefficients.
例如,收件人在半个月内收取了某个发件人的10封邮件,并且已经阅读了6封邮件,其中最近一次收到的一封邮件也已经被阅读,而另外的4封邮件没有阅读。可以根据以下公式计算收取邮件大小:200K*(6/10(10封邮件已阅读6封邮件)*0.5+0.5(最近一次收到的一封邮件已被阅读))=160K,其中,K1和K2均为0.5,也可以为其他值。最后可以将收取邮件大小设置为160K,按照收取邮件大小160K来从服务器中收取新邮件的正文内容。或者,如果最近一次收到的一封邮件没有被阅读,可以根据以下公式计算收取邮件大小:200K*6/10(10封邮件已阅读6封邮件)=120K。最后可以将收取邮件大小设置为120K,按照收取邮件大小120K来从服务器中收取新邮件的正文内容。For example, the recipient has received 10 emails from a certain sender in half a month, and has read 6 emails, of which the most recent received email has also been read, and the other 4 emails No reading. The size of received emails can be calculated according to the following formula: 200K*(6/10(10 emails have been read 6 emails)*0.5+0.5(The last received email has been read))=160K, where K1 and K2 is all 0.5, and can also be other values. Finally, the received mail size can be set to 160K, and the body content of the new mail can be received from the server according to the received mail size of 160K. Or, if the most recent received email has not been read, the received email size can be calculated according to the following formula: 200K*6/10 (10 emails have read 6 emails)=120K. Finally, the received mail size can be set to 120K, and the body content of the new mail can be received from the server according to the received mail size of 120K.
第三种可选方式:当所述历史邮件的读取状态为所述发件人的历史邮件全部没有被阅读时,可以按照预设阈值从所述服务器获取所述新邮件的正文内容,其中,预设阈值可以为预先设置的固定收取邮件大小,可以为100KB。也可以将收取邮件大小设置为0,表示之后只收取该发件发送的新邮件的邮件头,而不再收取该发件人的邮件的正文内容。The third optional way: when the reading status of the historical mail is that all the historical mails of the sender have not been read, the body content of the new mail can be obtained from the server according to a preset threshold, wherein , the preset threshold can be a preset fixed size of received mails, which can be 100KB. You can also set the received mail size to 0, which means that only the mail header of the new mail sent by the sender will be collected, and the body content of the sender's mail will not be collected.
可选的,可以确定新邮件的邮件优先级是否为最高优先级,当所述邮件优先级不是最高优先级时,然后确定从本地发件人信息中是否查询到与所述发件人信息对应的发件人;当从所述本地发件人信息中未查询到与所述发件人信息对应的发件人时,按照预设的收取大小从所述服务器获取所述新邮件的正文内容。Optionally, it can be determined whether the email priority of the new email is the highest priority, and when the email priority is not the highest priority, then determine whether the sender information corresponding to the sender information is queried from the local sender information. the sender; when the sender corresponding to the sender information is not queried from the local sender information, the body content of the new email is obtained from the server according to the preset collection size .
例如,首先确定所述新邮件是否被标注为重要,如果新邮件被标注为不重要,则确定从邮件应用软件的发件人历史列表中是否存在发件人信息对应的发件人,如果发件人历史列表中不存在发件人信息对应的发件人,则确定收件人从来没有收到该发件人的邮件,可以按照预先设置的固定邮件大小(例如200KB大小)来收取该新邮件,而不需要考虑是否能够收取到新邮件的全部正文内容。For example, first determine whether the new email is marked as important, if the new email is marked as unimportant, then determine whether there is a sender corresponding to the sender information from the sender history list of the email application software, if If there is no sender corresponding to the sender information in the sender history list, it is determined that the recipient has never received the sender's email, and the new email can be charged according to the preset fixed email size (for example, 200KB). emails, without having to consider whether the entire body of the new email can be received.
可选的,可以确定新邮件的邮件优先级是否为最高优先级,当所述邮件优先级不是最高优先级时,确定从本地发件人信息中是否查询到与所述发件人信息对应的发件人;当从所述本地发件人信息中查询到与所述发件人信息对应的发件人时,根据所述历史邮件的读取状态,从所述服务器获取所述新邮件的正文内容。Optionally, it can be determined whether the mail priority of the new mail is the highest priority, and when the mail priority is not the highest priority, it is determined whether the local sender information is queried and corresponding to the sender information. the sender; when the sender corresponding to the sender information is queried from the local sender information, the information about the new mail is obtained from the server according to the reading status of the historical mail. Text content.
例如,首先确定所述新邮件是否被标注为重要,如果新邮件被标注为不重要,则确定从邮件应用软件的发件人历史列表中是否存在发件人信息对应的发件人,如果发件人历史列表中存在发件人信息对应的发件人,则获取该发件人在预设时间段内的所有历史邮件的读取状态。又如,收件人在半个月内收取了某个发件人的10封邮件,并且已经阅读了6封邮件,其中最近一次收到的一封邮件也已经被阅读,而另外的4封邮件没有阅读,则计算收取邮件大小的公式为:200K*(6/10(10封邮件已阅读6封邮件)*0.5+0.5(最近一次收到的一封邮件已被阅读))=160K。因此,可以将收取邮件大小设置为160K,按照收取邮件大小160K来从服务器中收取新邮件。For example, first determine whether the new email is marked as important, if the new email is marked as unimportant, then determine whether there is a sender corresponding to the sender information from the sender history list of the email application software, if If there is a sender corresponding to the sender information in the sender history list, the read status of all historical emails of the sender within the preset time period is obtained. For another example, the recipient has received 10 emails from a certain sender within half a month, and has read 6 emails, of which the most recent email has also been read, and the other 4 emails have been read. If the email has not been read, the formula for calculating the size of the received email is: 200K*(6/10(10 emails have been read 6 emails)*0.5+0.5(the last email received has been read))=160K. Therefore, the received mail size can be set to 160K, and new mails can be received from the server according to the received mail size of 160K.
可选的,也可以首先确定从本地发件人信息中是否可以查询到与所述发件人信息对应的发件人,如果从本地发件人信息中可以查询到与所述发件人信息对应的发件人,然后确定新邮件的邮件优先级是否为最高优先级,如果邮件优先级为最高优先级,则从所述服务器获取所述新邮件的全部的正文内容。如果邮件优先级不是最高优先级,则根据所述历史邮件的读取状态,从所述服务器获取所述新邮件的正文内容。与上述类似,此处不再赘述。Optionally, it is also possible to first determine whether the sender corresponding to the sender information can be queried from the local sender information, and if the sender information can be queried from the local sender information. The corresponding sender then determines whether the mail priority of the new mail is the highest priority, and if the mail priority is the highest priority, obtains all the body content of the new mail from the server. If the priority of the mail is not the highest priority, the body content of the new mail is obtained from the server according to the read status of the historical mail. Similar to the above, it is not repeated here.
需要说明的是,通过对发件人信息、邮件优先级和所述历史邮件的读取状态进行判断,设置相应的收取邮件大小,从而按照设置的收取邮件大小来收取发件人的新邮件。并且,在 等到下一次收取新邮件时,更新用户读取邮件的状态或者本地发件人信息,重新计算收取邮件大小。另外,可以对发件人信息、邮件优先级和历史邮件的读取状态其中的一项或者多项进行判断,判断顺序不分先后。It should be noted that, by judging the sender information, the mail priority and the reading status of the historical mail, the corresponding received mail size is set, so as to receive the sender's new mail according to the set received mail size. And, when waiting for the next time to receive a new mail, update the user's read mail status or local sender information, and recalculate the received mail size. In addition, one or more items of sender information, mail priority, and reading status of historical mails can be judged, and the judgment order is in no particular order.
在本申请实施例中,通过发件人信息、邮件优先级和发件人的历史邮件的读取状态动态调整收取邮件大小,并按照调整的收取邮件大小来收取新邮件。避免了一些重要的邮件在用户打开时需要重新加载,提高邮件处理效率。同时也避免全部加载一些不重要的邮件,节省了流量和功耗。In the embodiment of the present application, the size of the received mail is dynamically adjusted according to the sender information, the mail priority and the reading status of the sender's historical mail, and new mail is received according to the adjusted size of the received mail. It avoids the need to reload some important emails when users open them, and improves the efficiency of email processing. At the same time, it also avoids loading all unimportant emails, saving traffic and power consumption.
如图3所示,图3是本申请实施例提供的另一种邮件处理方法的流程示意图。本申请实施例中的步骤包括:As shown in FIG. 3 , FIG. 3 is a schematic flowchart of another mail processing method provided by an embodiment of the present application. The steps in the embodiments of the present application include:
S301,当检测到电子设备向服务器收取新邮件时,从服务器获取邮件数据。S301, when it is detected that the electronic device receives new mail from the server, obtain mail data from the server.
S302,从邮件数据中获取元数据。S302. Obtain metadata from mail data.
S303,从元数据中获取发件人信息和新邮件的邮件优先级。S303, the sender information and the mail priority of the new mail are obtained from the metadata.
S304,确定新邮件的邮件优先级是否为最高优先级。若是,则执行S305。若否,则执行S306。S304, determine whether the mail priority of the new mail is the highest priority. If yes, execute S305. If not, execute S306.
S305,获取新邮件的全部正文内容。S305, obtain all the body content of the new email.
S306,确定所述发件人信息对应的发件人是否为新的发件人,若是,则执行S307。若否,则执行S308。S306: Determine whether the sender corresponding to the sender information is a new sender, and if so, execute S307. If not, execute S308.
S307,按照固定的收取邮件大小收取新邮件。S307: Receive new mails according to a fixed received mail size.
S308,确定在预设时间段内的该发件人的历史邮件是否被收件人已经全部阅读。若是,则执行S309。若否,则执行S310。S308, determine whether the sender's historical emails within a preset time period have been all read by the recipient. If yes, execute S309. If not, execute S310.
S309,获取新邮件的全部正文内容。S309, obtain all the body content of the new email.
S310,确定在预设时间段内的该发件人的历史邮件是否被收件人部分阅读,若否,则执行S311。若是,则执行S312。S310: Determine whether the sender's historical mail within a preset time period has been partially read by the recipient, and if not, execute S311. If yes, execute S312.
S311,设置收取邮件大小为0,只收取该发件发送的新邮件的邮件头,而不再收取该发件人的邮件的正文内容。S311: Set the size of the received mail to 0, and only receive the mail header of the new mail sent by the sender, and no longer receive the body content of the sender's mail.
S312,确定最近一次接收的该发件人的邮件是否被收件人已经读取。若是,则执行S313,若否,则执行S314。S312, determine whether the email of the sender received most recently has been read by the recipient. If yes, execute S313, if not, execute S314.
S313,设置收取邮件大小为M*((已读历史邮件/全部历史邮件)*K1+K2),按照M*((已读历史邮件/全部历史邮件)*K1+K2)来收取新邮件的正文内容。S313, set the received mail size to M*((read historical mail/all historical mail)*K1+K2), and receive new mail according to M*((read historical mail/all historical mail)*K1+K2) Text content.
S314,设置收取邮件大小为M*(已读历史邮件/全部历史邮件),按照M*(已读历史邮件/全部历史邮件)来收取新邮件的正文内容。S314 , set the received mail size to M* (read historical mail/all historical mail), and receive the body content of the new mail according to M* (read historical mail/all historical mail).
本申请实施例中的具体实现方式可以参考上述实施例,本实施例不再赘述。For the specific implementation manner in the embodiments of the present application, reference may be made to the foregoing embodiments, which will not be repeated in this embodiment.
下面介绍本申请实施例涉及的几个应用场景以及各个应用场景下的用户界面(user interface,UI)实施例。Several application scenarios involved in the embodiments of the present application and user interface (user interface, UI) embodiments in each application scenario are described below.
在移动业务数据下,针对已经登录的Email账户,可以打开“智能获取邮件大小”。包括:如图4(A)所述,用户可以打开邮件应用软件的“收件箱”界面,选取“设置”选项。如图4(B)所示,从“收件箱”界面跳转到“设置”界面,在“设置”界面包括多个账户,并且还可以包括“添加账户”选项,用户可以选取其中一个账户进行设置,例如,选取“账户1”。如图4(C)所示,跳转到“账户1”的设置界面,用户可以打开“智能收取邮件大小”选项。这样可以按照上述实施例的具体方式来调整收取邮件大小,并根据调整后的收取邮件大小来收取新邮件。Under Mobile Business Data, for the email account you have logged in, you can turn on "Get Email Size Smartly". Including: as shown in Figure 4(A), the user can open the "Inbox" interface of the mail application software and select the "Settings" option. As shown in Figure 4(B), jump from the "Inbox" interface to the "Settings" interface, where multiple accounts are included in the "Settings" interface, and the "Add Account" option can also be included, and the user can select one of the accounts Make settings, for example, choose Account 1. As shown in Figure 4(C), jump to the setting interface of "Account 1", and the user can turn on the option of "Smart Receive Email Size". In this way, the size of the received mail can be adjusted according to the specific manner of the above-mentioned embodiment, and new mail can be received according to the adjusted size of the received mail.
如图5所示,图5是本申请实施例提出的一种电子设备的结构示意图。该电子设备可以 包括:至少一个处理器501,至少一个通信接口502,至少一个存储器503和至少一个通信总线504。As shown in FIG. 5 , FIG. 5 is a schematic structural diagram of an electronic device proposed by an embodiment of the present application. The electronic device may include: at least one
其中,处理器501可以是中央处理器单元,通用处理器,数字信号处理器,专用集成电路,现场可编程门阵列或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理器和微处理器的组合等等。通信总线504可以是外设部件互连标准PCI总线或扩展工业标准结构EISA总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图5中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。通信总线504用于实现这些组件之间的连接通信。其中,本申请实施例中设备的通信接口502用于与其他节点设备进行信令或数据的通信。存储器503可以包括易失性存储器,例如非挥发性动态随机存取内存(nonvolatile random access memory,NVRAM)、相变化随机存取内存(phase change RAM,PRAM)、磁阻式随机存取内存(magetoresistive RAM,MRAM)等,还可以包括非易失性存储器,例如至少一个磁盘存储器件、电子可擦除可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、闪存器件,例如反或闪存(NOR flash memory)或是反及闪存(NAND flash memory)、半导体器件,例如固态硬盘(solid state disk,SSD)等。存储器503可选的还可以是至少一个位于远离前述处理器501的存储装置。存储器503中可选的还可以存储一组程序代码。处理器501可选的还可以执行存储器503中所存储的程序。The
当检测到电子设备向服务器收取新邮件时,从所述服务器获取所述新邮件的邮件数据,所述邮件数据包括发件人信息和邮件优先级;When detecting that the electronic device receives a new mail from the server, obtain mail data of the new mail from the server, where the mail data includes sender information and mail priority;
确定所述发件人信息对应的发件人的历史邮件的读取状态;Determine the read status of the sender's historical mail corresponding to the sender information;
根据所述发件人信息、所述邮件优先级和所述历史邮件的读取状态中的至少一项,从所述服务器获取所述新邮件的正文内容。Acquire the body content of the new email from the server according to at least one of the sender information, the email priority, and the read status of the historical email.
可选的,处理器501还用于执行如下操作步骤:Optionally, the
当所述邮件优先级为最高优先级时,从所述服务器获取所述新邮件的全部的正文内容。When the priority of the mail is the highest priority, acquire all the body content of the new mail from the server.
可选的,处理器501还用于执行如下操作步骤:Optionally, the
当从本地发件人信息中未查询到与所述发件人信息对应的发件人时,按照预设阈值从所述服务器获取所述新邮件的正文内容。When the sender corresponding to the sender information is not queried from the local sender information, the body content of the new email is acquired from the server according to a preset threshold.
可选的,处理器501还用于执行如下操作步骤:Optionally, the
当所述邮件优先级不是最高优先级时,确定从本地发件人信息中是否查询到与所述发件人信息对应的发件人;When the priority of the email is not the highest priority, determine whether the sender corresponding to the sender information is queried from the local sender information;
当从所述本地发件人信息中未查询到与所述发件人信息对应的发件人时,按照预设的收取大小从所述服务器获取所述新邮件的正文内容。When the sender corresponding to the sender information is not queried from the local sender information, the body content of the new email is acquired from the server according to a preset collection size.
可选的,处理器501还用于执行如下操作步骤:Optionally, the
当所述邮件优先级不是最高优先级时,确定从本地发件人信息中是否查询到与所述发件人信息对应的发件人;When the priority of the email is not the highest priority, determine whether the sender corresponding to the sender information is queried from the local sender information;
当从所述本地发件人信息中查询到与所述发件人信息对应的发件人时,根据所述历史邮件的读取状态,从所述服务器获取所述新邮件的正文内容。When the sender corresponding to the sender information is queried from the local sender information, the text content of the new mail is obtained from the server according to the read status of the historical mail.
可选的,处理器501还用于执行如下操作步骤:Optionally, the
当所述历史邮件的读取状态为所述发件人的历史邮件全部被阅读时,从所述服务器获取所述新邮件的全部的正文内容。When the read status of the historical mail is that all historical mails of the sender have been read, the entire body content of the new mail is acquired from the server.
可选的,处理器501还用于执行如下操作步骤:Optionally, the
当所述历史邮件的读取状态为所述发件人的历史邮件部分被阅读时,确定在预设时间段内的所述发件人的所有所述历史邮件的阅读比例;When the read status of the historical mail is that the sender's historical mail is partially read, determining the reading ratio of all the sender's historical mail within a preset time period;
根据所述阅读比例,从所述服务器获取所述新邮件的正文内容。According to the reading ratio, the body content of the new mail is acquired from the server.
可选的,处理器501还用于执行如下操作步骤:Optionally, the
获取所有所述历史邮件中被阅读的历史邮件的第一数量、未被阅读的历史邮件的第二数量、和最近一次收取到的历史邮件的阅读状态;Obtaining the first number of read historical emails, the second number of unread historical emails, and the reading status of the most recently received historical emails among all the historical emails;
根据所述第一数量、所述第二数量和所述阅读状态,确定所述阅读比例。The reading ratio is determined according to the first number, the second number and the reading state.
进一步的,处理器还可以与存储器和通信接口相配合,执行上述申请实施例中电子设备的操作。Further, the processor may also cooperate with the memory and the communication interface to execute the operations of the electronic device in the above-mentioned embodiments of the application.
本申请涉及的电子设备可以接收服务器发送的邮件或向服务器发送邮件。The electronic device involved in this application can receive emails sent by the server or send emails to the server.
本申请实施例还提供了一种芯片系统,该芯片系统包括处理器,用于支持电子设备以实现上述任一实施例中所涉及的功能,例如生成或处理上述方法中所涉及的发件人信息、邮件优先级和发件人的历史邮件。在一种可能的设计中,所述芯片系统还可以包括存储器,所述存储器,用于电子设备必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。An embodiment of the present application further provides a chip system, where the chip system includes a processor for supporting an electronic device to implement the functions involved in any of the above embodiments, such as generating or processing the sender involved in the above method Information, message priority and sender's history messages. In a possible design, the chip system may further include a memory, which is used for necessary program instructions and data of the electronic device. The chip system may be composed of chips, or may include chips and other discrete devices.
本申请实施例还提供了一种处理器,用于与存储器耦合,用于执行上述各实施例中任一实施例中涉及电子设备的任意方法和功能。An embodiment of the present application further provides a processor, which is coupled to a memory and configured to execute any method and function related to an electronic device in any of the foregoing embodiments.
本申请实施例还提供了一种包含指令的计算机程序,其在计算机上运行时,使得计算机执行上述各实施例中任一实施例中涉及电子设备的任意方法和功能。Embodiments of the present application also provide a computer program including instructions, which, when run on a computer, enables the computer to execute any method and function of an electronic device in any of the foregoing embodiments.
本申请实施例还提供了一种装置,用于执行上述各实施例中任一实施例中涉及电子设备的任意方法和功能。An embodiment of the present application further provides an apparatus for executing any method and function related to an electronic device in any of the foregoing embodiments.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘solid state disk(SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, or the like that includes an integration of one or more available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.
以上所述的具体实施方式,对本申请的目的、技术方案和有益效果进行了进一步详细说明。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the protection scope of this application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010801055.8ACN114079642B (en) | 2020-08-11 | 2020-08-11 | Mail processing method and electronic equipment |
| CN202010801055.8 | 2020-08-11 |
| Publication Number | Publication Date |
|---|---|
| WO2022033355A1true WO2022033355A1 (en) | 2022-02-17 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2021/110318CeasedWO2022033355A1 (en) | 2020-08-11 | 2021-08-03 | Mail processing method and electronic device |
| Country | Link |
|---|---|
| CN (1) | CN114079642B (en) |
| WO (1) | WO2022033355A1 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114693255B (en)* | 2022-03-22 | 2025-04-01 | 深圳市小满科技有限公司 | A mail data processing method and related products |
| CN115589394B (en)* | 2022-10-28 | 2024-07-23 | 北京字跳网络技术有限公司 | A data processing method, device, equipment and storage medium based on mailbox |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040019649A1 (en)* | 2002-07-23 | 2004-01-29 | Murata Kikai Kabushiki Kaisha | Mail server and electronic mail receiving terminal device |
| TW200503468A (en)* | 2003-07-08 | 2005-01-16 | Inventec Multimedia & Telecom | System and method using personal image recording system to send/receive e-mail |
| CN101686535A (en)* | 2008-09-28 | 2010-03-31 | 联想(北京)有限公司 | Mobile terminal and method for same to acquire new mails |
| CN102402741A (en)* | 2010-09-17 | 2012-04-04 | 腾讯科技(深圳)有限公司 | Letter management method and system |
| CN107949043A (en)* | 2017-11-07 | 2018-04-20 | 深圳天珑无线科技有限公司 | Terminal receives optimization method, terminal and the readable storage medium storing program for executing of mail |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4247928B2 (en)* | 1996-07-03 | 2009-04-02 | 京セラ株式会社 | E-mail system |
| JPH1083361A (en)* | 1996-09-06 | 1998-03-31 | Brother Ind Ltd | Email system |
| JP2004252635A (en)* | 2003-02-19 | 2004-09-09 | Nec Saitama Ltd | Electronic mail device and significant mail notifying method |
| JP2006065454A (en)* | 2004-08-25 | 2006-03-09 | Kyocera Mita Corp | E-mail sending apparatus and program |
| US20080005249A1 (en)* | 2006-07-03 | 2008-01-03 | Hart Matt E | Method and apparatus for determining the importance of email messages |
| CN101667976B (en)* | 2008-09-04 | 2012-04-25 | 中国移动通信集团公司 | Mail pushing mode determining method, pushing method and pushing device |
| CN102026117A (en)* | 2010-12-15 | 2011-04-20 | 中兴通讯股份有限公司 | E-mail delivery equipment, method and system |
| CN102316051B (en)* | 2011-09-14 | 2018-06-19 | 中兴通讯股份有限公司 | A kind of method and system of off-line browsing history mail |
| CN105916124A (en)* | 2015-10-27 | 2016-08-31 | 乐视移动智能信息技术(北京)有限公司 | Mobile terminal mail main body display method and device |
| CN105959201A (en)* | 2016-04-19 | 2016-09-21 | 乐视控股(北京)有限公司 | E-mail downloading method and E-mail downloading device |
| CN106022703A (en)* | 2016-05-05 | 2016-10-12 | 青岛海信移动通信技术股份有限公司 | Electronic mail processing method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040019649A1 (en)* | 2002-07-23 | 2004-01-29 | Murata Kikai Kabushiki Kaisha | Mail server and electronic mail receiving terminal device |
| TW200503468A (en)* | 2003-07-08 | 2005-01-16 | Inventec Multimedia & Telecom | System and method using personal image recording system to send/receive e-mail |
| CN101686535A (en)* | 2008-09-28 | 2010-03-31 | 联想(北京)有限公司 | Mobile terminal and method for same to acquire new mails |
| CN102402741A (en)* | 2010-09-17 | 2012-04-04 | 腾讯科技(深圳)有限公司 | Letter management method and system |
| CN107949043A (en)* | 2017-11-07 | 2018-04-20 | 深圳天珑无线科技有限公司 | Terminal receives optimization method, terminal and the readable storage medium storing program for executing of mail |
| Publication number | Publication date |
|---|---|
| CN114079642B (en) | 2023-05-23 |
| CN114079642A (en) | 2022-02-22 |
| Publication | Publication Date | Title |
|---|---|---|
| KR102470275B1 (en) | Voice control method and electronic device | |
| CN110825469A (en) | Voice assistant display method and device | |
| CN110910872A (en) | Voice interaction method and device | |
| CN113726950A (en) | Image processing method and electronic equipment | |
| CN110489215A (en) | The treating method and apparatus of scene is waited in a kind of application program | |
| CN109976626A (en) | A kind of switching method and electronic equipment of application icon | |
| WO2021036770A1 (en) | Split-screen processing method and terminal device | |
| CN114694646A (en) | Voice interaction processing method and related device | |
| WO2022166435A1 (en) | Picture sharing method and electronic device | |
| WO2021159746A1 (en) | File sharing method and system, and related device | |
| CN113641271A (en) | Application window management method, terminal device and computer-readable storage medium | |
| CN112130714A (en) | Keyword search method and electronic device capable of learning | |
| CN110471604A (en) | A kind of more application switching methods and relevant apparatus | |
| WO2022033355A1 (en) | Mail processing method and electronic device | |
| WO2021104122A1 (en) | Method and apparatus for responding to call request, and electronic device | |
| CN113380240B (en) | Voice interaction method and electronic device | |
| CN116048831A (en) | A target signal processing method and electronic equipment | |
| CN112286596A (en) | Message display method and electronic equipment | |
| CN114489471B (en) | An input and output processing method and electronic device | |
| WO2022143891A1 (en) | Focal point synchronization method and electronic device | |
| CN113590346A (en) | Method and electronic equipment for processing service request | |
| CN115482143A (en) | Application image data calling method and system, electronic equipment and storage medium | |
| CN114489469A (en) | A data reading method, electronic device and storage medium | |
| CN114398108A (en) | Electronic device, drive loading method thereof, and medium | |
| CN114006969B (en) | Window starting method and electronic equipment |
| Date | Code | Title | Description |
|---|---|---|---|
| NENP | Non-entry into the national phase | Ref country code:DE | |
| 122 | Ep: pct application non-entry in european phase | Ref document number:21855408 Country of ref document:EP Kind code of ref document:A1 |