Mail synchronization method, device, electronic device and storage medium
By responding to login requests, obtaining account information, grouping emails and syncing on the video network terminal, the problem of historical emails cannot be automatically synchronized between video network terminals is solved, and the convenience and user experience of email query are improved.
Patent Information
- Application Number
- CN202211697860.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-28
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2042-12-28
AI Technical Summary
Historical emails cannot be automatically synchronized between video network terminals, resulting in inconvenience in email query and management and poor user experience.
By responding to the login request of the video network terminal, obtain account information, and group the emails according to the preset grouping rules, and finally synchronize the emails and grouping results to the video network terminal.
It realizes automatic synchronization and grouping of emails, improves the convenience of email query, and improves user experience.
Smart Images

Figure CN116233152B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to an email synchronization method, an email synchronization device, an electronic device and a computer-readable storage medium. Background Art
[0002] Visual Internet is a real-time, high-bandwidth transmission network based on Ethernet hardware, used for high-speed transmission of high-definition video and dedicated protocols. Visual Internet terminals can log in to a dedicated mailbox service. If users log in from different terminals, historical emails cannot be automatically synchronized. There are too many emails, and it is impossible to classify historical and new emails. It is very inconvenient to query emails and use mailboxes, and the user experience is poor. Summary of the invention
[0003] In view of the above problems, embodiments of the present invention are proposed to provide an email synchronization method, a corresponding email synchronization device, an electronic device and a computer-readable storage medium that overcome the above problems or at least partially solve the above problems.
[0004] In order to solve the above problem, an embodiment of the present invention discloses an email synchronization method, which includes:
[0005] In response to the verification of the login request of the visual networking terminal, obtaining the account information carried in the login request;
[0006] According to the account information and the preset grouping rule, the emails corresponding to the account information are grouped to obtain an email grouping result;
[0007] The email corresponding to the account information and the email grouping result are synchronized to the visual network terminal.
[0008] Optionally, grouping the emails corresponding to the account information according to the account information and a preset grouping rule to obtain the email grouping result includes:
[0009] Determine human information corresponding to the account information;
[0010] Determine corresponding project information according to the manpower information;
[0011] According to the project information and the preset grouping rule, the emails corresponding to the account information are grouped to obtain an email grouping result, wherein the preset grouping rule includes at least one of the following: grouping by project name and grouping by project status.
[0012] Optionally, grouping the emails corresponding to the account information according to the project information and the preset grouping rule to obtain the email grouping result includes:
[0013] For the emails corresponding to the account information, searching for the project information matching the emails respectively;
[0014] If the first email matches only the project information of one first target project, determining the email grouping result of the first email to be the email grouping corresponding to the first target project;
[0015] If the second email matches the project information of multiple projects, then according to the number of matches between the second email and the project information of each project, the email grouping result of the second email is determined to be the email group corresponding to the second target project with the largest number of matches.
[0016] Optionally, if the second email matches the project information of multiple projects, determining, according to the number of matches between the second email and the project information of each project, that the email grouping result of the second email is the email grouping corresponding to the second target project with the largest number of matches further includes:
[0017] If there are multiple second target items with the largest number of matches, the email grouping result of the second email is determined to be the email grouping corresponding to the second target item with the largest number according to the number of email contacts of the second email belonging to each of the second target items.
[0018] Optionally, if there are multiple second target items with the largest number of matches, determining the email grouping result of the second email as the email grouping corresponding to the second target item with the largest number according to the number of email contacts of the second email belonging to each of the second target items further includes:
[0019] If there are multiple second target items with the largest number, compare the text similarity between the historical emails and the second emails in each of the second target items;
[0020] The email grouping result of the second email is determined to be the email group corresponding to the second target item with the highest text similarity.
[0021] Optionally, in response to the verification of the login request of the visual networking terminal being passed, obtaining the account information carried in the login request includes:
[0022] Receive a verification success notification of the login request of the visual network terminal, wherein the verification success notification carries the visual network account.
[0023] The embodiment of the present invention also discloses an email synchronization device, including:
[0024] An information acquisition module, for obtaining the account information carried in the login request in response to the verification of the login request of the visual network terminal;
[0025] An email grouping module, used to group emails corresponding to the account information according to the account information and preset grouping rules, and obtain email grouping results;
[0026] An email synchronization module is used to synchronize the emails corresponding to the account information and the email grouping results to the visual network terminal.
[0027] Optionally, the mail grouping module includes:
[0028] A human information determination submodule, used to determine the human information corresponding to the account information;
[0029] A project information determination submodule, used to determine corresponding project information according to the manpower information;
[0030] The email grouping submodule is used to group the emails corresponding to the account information according to the project information and the preset grouping rules to obtain email grouping results, wherein the preset grouping rules include at least one of the following: grouping by project name and grouping by project status.
[0031] Optionally, the mail grouping submodule includes:
[0032] An information search unit, configured to search for the project information matching the emails corresponding to the account information;
[0033] A first grouping unit, configured to determine, if the first email matches only the project information of one first target project, that the email grouping result of the first email is the email group corresponding to the first target project;
[0034] The second grouping unit is configured to determine, if the second email matches project information of multiple projects, that the email grouping result of the second email is an email group corresponding to the second target project with the largest number of matches according to the number of matches between the second email and the project information of each project.
[0035] Optionally, the second grouping unit further includes:
[0036] The second grouping subunit is used to determine, if there are multiple second target items with the largest number of matches, that the email grouping result of the second email is the email group corresponding to the second target item with the largest number according to the number of email contacts of the second email belonging to each of the second target items.
[0037] Optionally, the second grouping subunit is also used to: if there are multiple second target items with the largest number, compare the text similarity between the historical emails and the second emails in each of the second target items; and determine that the email grouping result of the second email is the email group corresponding to the second target item with the highest text similarity.
[0038] Optionally, the information acquisition module includes:
[0039] The notification receiving submodule is used to receive a verification pass notification of the login request of the visual network terminal, wherein the verification pass notification carries the visual network account.
[0040] The embodiment of the present invention further discloses an electronic device, including:
[0041] one or more processors; and
[0042] One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, enable the device to perform any of the email synchronization methods described above.
[0043] The embodiment of the present invention further discloses a computer-readable storage medium, wherein a computer program stored in the storage medium enables a processor to execute any of the above-mentioned mail synchronization methods.
[0044] According to an embodiment of the present invention, by responding to the verification of a login request of a visual network terminal, the account information carried in the login request is obtained, and the emails corresponding to the account information are grouped according to the account information and preset grouping rules to obtain the email grouping result, and the emails corresponding to the account information and the email grouping result are synchronized to the visual network terminal, so that in response to the login of the visual network terminal, the emails are automatically grouped, and the emails and the grouping results are synchronized to the visual network terminal, thereby realizing automatic synchronization of emails and grouping of emails, making it more convenient to query emails and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 is a flowchart of steps of an embodiment of an email synchronization method of the present invention;
[0046] Figure 2 It is a schematic diagram of the architecture of the visual networking terminal and mail server;
[0047] Figure 3 is a flowchart of steps of another embodiment of an email synchronization method of the present invention;
[0048] Figure 4 is a structural block diagram of an embodiment of an email synchronization device of the present invention;
[0049] Figure 5 It is a structural block diagram of an electronic device for email synchronization according to an exemplary embodiment. DETAILED DESCRIPTION
[0050] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0051] Visual Internet is a real-time, high-bandwidth transmission network based on Ethernet hardware. It is a dedicated network used for high-speed transmission of high-definition video and dedicated protocols.
[0052] The video network terminal is the landing device of the video network online business, the actual participant or service provider of the video network business, including various conference set-top boxes, video phone set-top boxes, surgical trial teaching set-top boxes, streaming media gateways, storage gateways, media synthesizers, etc. The video network terminal needs to be registered with the video network server before normal business can be carried out. The video network terminal needs a video network number.
[0053] Reference Figure 1 , shows a flowchart of an embodiment of an email synchronization method of the present invention, the method may specifically include the following steps:
[0054] Step 101, in response to the successful verification of the login request of the visual networking terminal, obtain the account information carried in the login request.
[0055] In the embodiment of the present invention, the visual network terminal automatically enters the power-on login interface after being powered on, so that the user can enter the visual network account information and login password on the power-on login interface, and the visual network terminal needs to perform login verification and send a login request to the visual network server, and the login request carries the account information. The account information can be information related to the account such as the visual network number, or any other applicable information, which is not limited in the embodiment of the present invention.
[0056] In the embodiment of the present invention, the visual network server verifies the login request. If the account information exists in a pre-set database and the login password is correct, the login request is verified.
[0057] In an embodiment of the present invention, in response to the successful verification of the login request of the visual networking terminal, the mail server obtains the account information carried in the login request from the visual networking server.
[0058] Step 102: grouping the emails corresponding to the account information according to the account information and a preset grouping rule to obtain an email grouping result.
[0059] In the embodiment of the present invention, mails are stored on the mail server. The mail server can find mails corresponding to the account information according to the account information. The mails include historical mails and new mails.
[0060] In the embodiment of the present invention, the preset grouping rule refers to a rule for grouping emails in advance. For example, emails are grouped according to projects, such as project 1, project 2, project 3, etc. For another example, emails are grouped according to project status, such as completed projects, ongoing projects, etc.
[0061] In the embodiment of the present invention, the mail server groups the mails corresponding to the account information according to the account information and the preset grouping rule, and obtains the group to which each mail belongs, which is recorded as the mail grouping result.
[0062] Step 103, synchronizing the email corresponding to the account information and the email grouping result to the visual network terminal.
[0063] In the embodiment of the present invention, the mail server synchronizes the mail corresponding to the account information and the mail grouping result to the visual network terminal through the visual network server. Specifically, the mails already existing on the visual network terminal are checked, and the historical mails, new mails and mail grouping results not existing on the visual network terminal are sent to the visual network terminal.
[0064] For example, Figure 2 The schematic diagram of the architecture of the visual networking terminal and the mail server is shown. The mail client on the visual networking terminal A and the mail client on the visual networking terminal B are connected to the mail server terminal (or mail server) through the server (such as the visual networking server). The visual networking terminal A and the visual networking terminal B send a login request to the visual networking terminal. After the login request is verified, the mail server obtains the account information of the login request, and groups the mails accordingly to obtain the mail grouping result, and synchronizes the mails corresponding to the account information and the mail grouping result to the mail client on the visual networking terminal A and the mail client on the visual networking terminal B respectively.
[0065] According to an embodiment of the present invention, by responding to the verification of a login request of a visual network terminal, the account information carried in the login request is obtained, and the emails corresponding to the account information are grouped according to the account information and preset grouping rules to obtain the email grouping result, and the emails corresponding to the account information and the email grouping result are synchronized to the visual network terminal, so that in response to the login of the visual network terminal, the emails are automatically grouped, and the emails and the grouping results are synchronized to the visual network terminal, thereby realizing automatic synchronization of emails and grouping of emails, making it more convenient to query emails and improving user experience.
[0066] Reference Figure 3 , shows a flowchart of another embodiment of an email synchronization method of the present invention, the method may specifically include the following steps:
[0067] Step 201, receiving a verification success notification of a login request of the visual network terminal, wherein the verification success notification carries a visual network account.
[0068] In the embodiment of the present invention, the visual network has the characteristic of authentication before management. After the visual network terminal submits a login request to the visual network server, the login request is first verified. The user needs a visual network account to use the visual network. When the visual network account and login password are verified, the visual network server will send a verification pass notification to the mail server. The mail server receives the verification pass notification, and the account information carried in the verification pass notification is the visual network account.
[0069] Step 202: Determine the human information corresponding to the account information.
[0070] In the embodiment of the present invention, human information and project information are stored in the database. Human information refers to information related to the user's identity, including the user's visual network account, name, position, organizational structure number information, etc., or any other applicable information, which is not limited in the embodiment of the present invention. Project information refers to information related to the project, including the project name, project content, project team members, identity information of each member in the project, project status information, etc., or any other applicable information, which is not limited in the embodiment of the present invention.
[0071] In the embodiment of the present invention, the mail server can search and obtain the corresponding human information from the database according to the account information.
[0072] Step 203: Determine corresponding project information according to the manpower information.
[0073] In the embodiment of the present invention, the mail server searches and obtains the corresponding project information according to the human information, that is, according to the human information, the project information of the project to which the user belongs is searched in the project information recorded in the database.
[0074] Step 204: group the emails corresponding to the account information according to the project information and the preset grouping rule to obtain an email grouping result, wherein the preset grouping rule includes at least one of the following: grouping by project name and grouping by project status.
[0075] In the embodiment of the present invention, the preset grouping rule includes at least one of the following: grouping by project name, grouping by project status, and grouping the emails according to the project information and the preset grouping rule.
[0076] For example, grouping is performed based on project names, emails and project information are matched, and according to the matching results, each email is divided into a group corresponding to each project, to obtain project 1 group, project 2 group, project 3 group, and so on.
[0077] For another example, the emails are grouped according to the project status, and the emails are matched with the project information. According to the matching results, each email is divided into a group corresponding to each project status, so as to obtain a group of completed projects, a group of ongoing projects, and the like.
[0078] In an optional embodiment of the present invention, a specific implementation method of grouping the emails corresponding to the account information according to the project information and the preset grouping rule to obtain the email grouping result may include: for the emails corresponding to the account information, searching for the project information matching the emails respectively; if the first email only matches the project information of a first target project, determining the email grouping result of the first email to be the email group corresponding to the first target project; if the second email matches the project information of multiple projects, determining the email grouping result of the second email to be the email group corresponding to the second target project with the largest number of matches based on the number of matches between the second email and the project information of each project.
[0079] For the emails corresponding to the account information, each email and project information are matched respectively to find the project information that matches each email. The specific grouping process is divided into two processes:
[0080] After matching the subject, body, sender or recipient of the email with the project name, project status information, project content, and project team members, only one result is found, that is, an email only matches the project information of one project, then the email can be directly grouped.
[0081] For example: Determine the user's project information based on the visual network account, including the project name, project content, project team members, and identity information of each project. For the email corresponding to the visual network account, match the email's subject, body, sender or recipient with the project name, project status information, project content, and project team members. If the first email only matches the project information of the first target project, the first email belongs to the first target project. If grouped by project name, the first email is grouped as the first target project. If grouped by project status, the first email is grouped as the group corresponding to the project status of the first target project.
[0082] After matching the subject, body, sender or recipient of the email with the project name, project status information, project content, and project team members, multiple results are found, that is, one email matches the project information of multiple projects. Then, based on the number of matches between the second email and the project information of each project, the grouping of the second email is determined. The email grouping result of the second email is the email grouping corresponding to the second target project with the largest number of matches.
[0083] For example, the user's project information is determined based on the visual network account, including the project name, project content, project team members, and identity information of each project. For the email corresponding to the visual network account, the subject, body, sender or recipient of the email is matched with the project name, project status information, project content, and project team members. If the first email matches the project information of multiple projects, the first email belongs to the second target project with the most matches. If grouped by project name, the first email is grouped as the second target project. If grouped by project status, the first email is grouped as the group corresponding to the project status of the second target project.
[0084] In an optional embodiment of the present invention, if the second email matches the project information of multiple projects, then in a specific implementation method of determining the email grouping result of the second email to be the email grouping corresponding to the second target project with the largest number of matches based on the number of matches between the second email and the project information of each project, it may also include: if there are multiple second target projects with the largest number of matches, then according to the number of email contacts of the second email belonging to each of the second target projects, determining the email grouping result of the second email to be the email grouping corresponding to the second target projects with the largest number.
[0085] If the second target project with the most matching times is not unique, that is, the matching times of the project information of multiple projects and the second email are equal and the most, then the number of email contacts of the second email belonging to each second target project is determined respectively, and some email contacts may belong to multiple second target projects. According to the number of email contacts of the second email belonging to each second target project, the email grouping result of the second email is determined to be the email grouping corresponding to the second target project with the most number.
[0086] For example, the mail server counts the number of keywords belonging to project 1 in the second mail as N, and the number of keywords belonging to project 2 as M. If N>M, the second mail is determined to belong to the group of project 1, and the keywords include: project name, project goal, project milestone nodes, etc. If N=M, the number of email contacts belonging to project 1 (N1) and the number of email contacts belonging to project 2 (M1) in the second mail are compared. If N1>M1, the second mail is determined to belong to project 1.
[0087] In an optional embodiment of the present invention, if there are multiple second target items with the largest number of matches, then according to the number of email contacts of the second emails belonging to each of the second target items, a specific implementation method of determining the email grouping result of the second email to be the email grouping corresponding to the second target items with the largest number may also include: if there are multiple second target items with the largest number, comparing the text similarity between the historical emails in each of the second target items and the second emails; and determining the email grouping result of the second email to be the email grouping corresponding to the second target item with the highest text similarity.
[0088] If there are multiple second target projects with the largest number, then the text similarity between the historical emails and the second emails in each second target project is compared. The specific method of calculating the text similarity can be to use a supervised model such as a naive Bayes classifier to judge the text similarity or calculate the similarity, or to use methods such as Euclidean distance to directly calculate the distance or similarity between texts, or any other applicable calculation method, which is not limited by the embodiment of the present invention. According to the text similarity, it is determined that the second email belongs to the second target project with the highest text similarity. If grouped by project name, the grouping of the first email is the grouping of the second target project. If grouped by project status, the grouping of the first email is the grouping corresponding to the project status of the second target project.
[0089] For example, compare the number N1 of email contacts belonging to project 1 and the number M1 belonging to project 2 of the second email. If N1=M1, then compare the text similarity between the historical emails (n, m) in the project and the second email, and assign the second email to the email group of the second target project with higher text similarity.
[0090] Step 205, synchronizing the email corresponding to the account information and the email grouping result to the visual network terminal.
[0091] In the embodiment of the present invention, the specific implementation method of this step can refer to the description in the above embodiment and will not be repeated here.
[0092] According to an embodiment of the present invention, by receiving a verification notification of a login request of the visual network terminal, wherein the verification notification carries a visual network account, the human information corresponding to the account information is determined, and the corresponding project information is determined based on the human information. According to the project information and the preset grouping rules, the emails corresponding to the account information are grouped to obtain email grouping results, wherein the preset grouping rules include at least one of the following: grouping by project name, grouping by project status, and synchronizing the emails corresponding to the account information and the email grouping results to the visual network terminal, so that in response to the login of the visual network terminal, the emails are automatically grouped, and the emails and the grouping results are synchronized to the visual network terminal, thereby realizing automatic synchronization of emails and grouping of emails, making it more convenient to query emails and improving user experience.
[0093] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0094] Reference Figure 4 The structure block diagram of an embodiment of an email synchronization device of the present invention is shown, which may specifically include the following modules:
[0095] The information acquisition module 301 is used to obtain the account information carried in the login request in response to the verification of the login request of the visual network terminal;
[0096] The email grouping module 302 is used to group the emails corresponding to the account information according to the account information and a preset grouping rule to obtain an email grouping result;
[0097] The email synchronization module 303 is used to synchronize the emails corresponding to the account information and the email grouping results to the visual network terminal.
[0098] Optionally, the mail grouping module includes:
[0099] A human information determination submodule, used to determine the human information corresponding to the account information;
[0100] A project information determination submodule, used to determine corresponding project information according to the manpower information;
[0101] The email grouping submodule is used to group the emails corresponding to the account information according to the project information and the preset grouping rules to obtain email grouping results, wherein the preset grouping rules include at least one of the following: grouping by project name and grouping by project status.
[0102] Optionally, the mail grouping submodule includes:
[0103] An information search unit, configured to search for the project information matching the emails corresponding to the account information;
[0104] A first grouping unit, configured to determine, if the first email matches only the project information of one first target project, that the email grouping result of the first email is the email group corresponding to the first target project;
[0105] The second grouping unit is configured to determine, if the second email matches project information of multiple projects, that the email grouping result of the second email is an email group corresponding to the second target project with the largest number of matches according to the number of matches between the second email and the project information of each project.
[0106] Optionally, the second grouping unit further includes:
[0107] The second grouping subunit is used to determine, if there are multiple second target items with the largest number of matches, that the email grouping result of the second email is the email group corresponding to the second target item with the largest number according to the number of email contacts of the second email belonging to each of the second target items.
[0108] Optionally, the second grouping subunit is also used to: if there are multiple second target items with the largest number, compare the text similarity between the historical emails and the second emails in each of the second target items; and determine that the email grouping result of the second email is the email group corresponding to the second target item with the highest text similarity.
[0109] Optionally, the information acquisition module includes:
[0110] The notification receiving submodule is used to receive a verification pass notification of the login request of the visual network terminal, wherein the verification pass notification carries the visual network account.
[0111] According to an embodiment of the present invention, by responding to the verification of a login request of a visual network terminal, the account information carried in the login request is obtained, and the emails corresponding to the account information are grouped according to the account information and preset grouping rules to obtain the email grouping result, and the emails corresponding to the account information and the email grouping result are synchronized to the visual network terminal, so that in response to the login of the visual network terminal, the emails are automatically grouped, and the emails and the grouping results are synchronized to the visual network terminal, thereby realizing automatic synchronization of emails and grouping of emails, making it more convenient to query emails and improving user experience.
[0112] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0113] Figure 5 4 is a block diagram of an electronic device 400 for email synchronization according to an exemplary embodiment. For example, the electronic device 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0114] Reference Figure 5 , the electronic device 400 may include one or more of the following components: a processing component 402 , a memory 404 , a power component 406 , a multimedia component 408 , an audio component 410 , an input / output (I / O) interface 412 , a sensor component 414 , and a communication component 416 .
[0115] The processing component 402 generally controls the overall operation of the electronic device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above-mentioned shutdown control method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.
[0116] The memory 404 is configured to store various types of data to support operations on the device 400. Examples of such data include instructions for any application or method operating on the electronic device 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0117] The power component 404 provides power to the various components of the electronic device 400. The power component 404 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 400.
[0118] The multimedia component 408 includes a screen that provides an output interface between the electronic device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front camera and / or a rear camera. When the electronic device 400 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0119] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC), and when the electronic device 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 404 or sent via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.
[0120] I / O interface 412 provides an interface between processing component 402 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0121] The sensor assembly 414 includes one or more sensors for providing various aspects of status assessment for the electronic device 400. For example, the sensor assembly 414 can detect the open / closed state of the device 400, the relative positioning of components, such as the display and keypad of the electronic device 400, and the sensor assembly 414 can also detect the position change of the electronic device 400 or a component of the electronic device 400, the presence or absence of user contact with the electronic device 400, the orientation or acceleration / deceleration of the electronic device 400, and the temperature change of the electronic device 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0122] The communication component 416 is configured to facilitate wired or wireless communication between the electronic device 400 and other devices. The electronic device 400 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 414 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 414 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0123] In an exemplary embodiment, the electronic device 400 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned shutdown control method.
[0124] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, and the instructions can be executed by a processor 420 of an electronic device 400 to complete the above-mentioned shutdown control method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0125] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a terminal, enables the terminal to perform an email synchronization method, the method comprising:
[0126] In response to the verification of the login request of the visual networking terminal, obtaining the account information carried in the login request;
[0127] According to the account information and the preset grouping rule, the emails corresponding to the account information are grouped to obtain an email grouping result;
[0128] The email corresponding to the account information and the email grouping result are synchronized to the visual network terminal.
[0129] Optionally, grouping the emails corresponding to the account information according to the account information and a preset grouping rule to obtain the email grouping result includes:
[0130] Determine human information corresponding to the account information;
[0131] Determine corresponding project information according to the manpower information;
[0132] According to the project information and the preset grouping rule, the emails corresponding to the account information are grouped to obtain an email grouping result, wherein the preset grouping rule includes at least one of the following: grouping by project name and grouping by project status.
[0133] Optionally, grouping the emails corresponding to the account information according to the project information and the preset grouping rule to obtain the email grouping result includes:
[0134] For the emails corresponding to the account information, searching for the project information matching the emails respectively;
[0135] If the first email matches only the project information of one first target project, determining the email grouping result of the first email to be the email grouping corresponding to the first target project;
[0136] If the second email matches the project information of multiple projects, then according to the number of matches between the second email and the project information of each project, the email grouping result of the second email is determined to be the email group corresponding to the second target project with the largest number of matches.
[0137] Optionally, if the second email matches the project information of multiple projects, determining, according to the number of matches between the second email and the project information of each project, that the email grouping result of the second email is the email grouping corresponding to the second target project with the largest number of matches further includes:
[0138] If there are multiple second target items with the largest number of matches, the email grouping result of the second email is determined to be the email grouping corresponding to the second target item with the largest number according to the number of email contacts of the second email belonging to each of the second target items.
[0139] Optionally, if there are multiple second target items with the largest number of matches, determining the email grouping result of the second email as the email grouping corresponding to the second target item with the largest number according to the number of email contacts of the second email belonging to each of the second target items further includes:
[0140] If there are multiple second target items with the largest number, compare the text similarity between the historical emails and the second emails in each of the second target items;
[0141] The email grouping result of the second email is determined to be the email group corresponding to the second target item with the highest text similarity.
[0142] Optionally, in response to the verification of the login request of the visual networking terminal being passed, obtaining the account information carried in the login request includes:
[0143] Receive a verification success notification of the login request of the visual network terminal, wherein the verification success notification carries the visual network account.
[0144] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0145] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0146] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0147] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0148] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable terminal device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0149] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0150] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0151] The above is a detailed introduction to an email synchronization method and an email synchronization device provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A mail synchronization method, characterized in that: The method comprises: In response to the verification of the login request of the visual networking terminal, obtaining the account information carried in the login request; According to the account information and the preset grouping rule, the emails corresponding to the account information are grouped to obtain an email grouping result; Synchronize the email corresponding to the account information and the email grouping result to the visual network terminal; The grouping of the emails corresponding to the account information according to the account information and the preset grouping rule to obtain the email grouping result includes: Determine human information corresponding to the account information; Determine corresponding project information according to the manpower information; According to the project information and the preset grouping rule, the emails corresponding to the account information are grouped to obtain an email grouping result, wherein the preset grouping rule includes at least one of the following: grouping by project name, grouping by project status; The grouping of the emails corresponding to the account information according to the project information and the preset grouping rule to obtain the email grouping result includes: For the emails corresponding to the account information, searching for the project information matching the emails respectively; If the first email matches only the project information of one first target project, determining the email grouping result of the first email to be the email grouping corresponding to the first target project; If the second email matches the project information of multiple projects, and according to the number of matches between the second email and the project information of each project, the second target project with the largest number of matches is determined to be one, then the email grouping result of the second email is determined to be the email grouping corresponding to the second target project with the largest number of matches; If the second email matches the project information of multiple projects, and according to the number of matches between the second email and the project information of each project, it is determined that there are multiple second target projects with the largest number of matches, and there is one second target project with the largest number of email contacts of the second email belonging to each of the second target projects, then the email grouping result of the second email is determined to be the email grouping corresponding to the second target project with the largest number of contacts; If the second email matches the project information of multiple projects, based on the number of matches between the second email and the project information of each project, it is determined that there are multiple second target projects with the largest number of matches, and there are multiple second target projects with the largest number of email contacts of the second email belonging to each of the second target projects, then the text similarities between the historical emails in each of the second target projects and the second emails are compared; and the email grouping result of the second email is determined to be the email grouping corresponding to the second target project with the highest text similarity.
2. The method according to claim 1, characterized in that: In response to the verification of the login request of the visual networking terminal, obtaining the account information carried in the login request includes: Receive a verification success notification of the login request of the visual network terminal, wherein the verification success notification carries the visual network account.
3. An email synchronization device, characterized in that: The device comprises: An information acquisition module, for obtaining the account information carried in the login request in response to the verification of the login request of the visual network terminal; An email grouping module, used to group emails corresponding to the account information according to the account information and preset grouping rules, and obtain email grouping results; An email synchronization module, used to synchronize the emails corresponding to the account information and the email grouping results to the visual network terminal; The mail grouping module comprises: A human information determination submodule, used to determine the human information corresponding to the account information; A project information determination submodule, used to determine corresponding project information according to the manpower information; An email grouping submodule, configured to group emails corresponding to the account information according to the project information and the preset grouping rule to obtain an email grouping result, wherein the preset grouping rule includes at least one of the following: grouping by project name, grouping by project status; The mail grouping submodule comprises: An information search unit, configured to search for the project information matching the emails corresponding to the account information; A first grouping unit, configured to determine, if the first email matches only the project information of one first target project, that the email grouping result of the first email is the email group corresponding to the first target project; A second grouping unit, configured to determine, if the second email matches the project information of multiple projects, and according to the number of matches between the second email and the project information of each project, the second target project with the largest number of matches is one, then determine the email grouping result of the second email to be the email group corresponding to the second target project with the largest number of matches; If the second email matches the project information of multiple projects, and according to the number of matches between the second email and the project information of each project, it is determined that there are multiple second target projects with the largest number of matches, and there is one second target project with the largest number of email contacts of the second email belonging to each of the second target projects, then the email grouping result of the second email is determined to be the email grouping corresponding to the second target project with the largest number of contacts; If the second email matches the project information of multiple projects, based on the number of matches between the second email and the project information of each project, it is determined that there are multiple second target projects with the largest number of matches, and there are multiple second target projects with the largest number of email contacts of the second email belonging to each of the second target projects, then the text similarities between the historical emails in each of the second target projects and the second emails are compared; and the email grouping result of the second email is determined to be the email grouping corresponding to the second target project with the highest text similarity.
4. An electronic device, characterized in that: include: one or more processors; and One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, enable the electronic device to execute the email synchronization method as described in any one of claims 1 to 2.
5. A computer-readable storage medium, characterized in that: The computer program stored therein enables the processor to execute the email synchronization method as described in any one of claims 1 to 2.
Citation Information
Patent Citations
Mail processing method and electronic equipment
CN114282874A