WO2017197889A1 - Keyword link method, device and system - Google Patents
Keyword link method, device and system Download PDFInfo
- Publication number
- WO2017197889A1 WO2017197889A1 PCT/CN2016/112419 CN2016112419W WO2017197889A1 WO 2017197889 A1 WO2017197889 A1 WO 2017197889A1 CN 2016112419 W CN2016112419 W CN 2016112419W WO 2017197889 A1 WO2017197889 A1 WO 2017197889A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- keyword
- information
- database
- module
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9558—Details of hyperlinks; Management of linked annotations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/107—Computer-aided management of electronic mailing [e-mailing]
Definitions
- the embodiments of the present invention relate to the field of Internet application technologies, and in particular, to a keyword linking method, apparatus, and system.
- E-mail is a communication method that provides information exchange by electronic means and is the most widely used service on the Internet.
- users can pay the Internet at very low prices (wherever they are sent), in a very fast way (can be sent to any designated destination in the world in a few seconds).
- Users can send or receive various forms of emails such as text, images or sounds by e-mail, which greatly facilitates communication and communication between people and promotes the development of society.
- the embodiment of the present application provides a keyword linking method, device, and system, which are intended to solve the technical problem that the existing email does not have the keyword linking function.
- a keyword linking method including:
- Keyword database Downloading keyword information from a keyword database; wherein the keyword database is used to store the keyword information;
- Receiving an email establishing a keyword index according to the downloaded keyword information, matching the email by the keyword index; determining whether a keyword exists in the email;
- a keyword link is established for the keyword existing in the email through the downloaded keyword information.
- the technical solution adopted by the embodiment of the present application further includes: downloading the keyword information from the keyword database further includes: sending a keyword information download request, and downloading all keyword information from the keyword database, All of the downloaded keyword information is saved in the client local database.
- the technical solution adopted by the embodiment of the present application further includes: determining whether the keyword exists in the email further comprises: acquiring an email HTML text, and storing the email HTML text in a local string; a keyword index matching the email HTML text; and determining whether a keyword exists in the email HTML text; if a keyword exists in the email HTML text, the key exists in the email HTML text The word adds link information to generate the keyword link.
- the technical solution adopted by the embodiment of the present application further includes: the establishing a keyword link for the keyword existing in the email further includes: inserting the generated keyword link into the key of the email HTML text. Corresponding position of the word, the keyword inserted into the keyword link is marked; when the inserted keyword link is clicked, the webpage corresponding to the keyword link is accessed for access.
- the technical solution adopted by the embodiment of the present application further includes: the downloading the keyword information from the keyword database further includes: determining whether the keyword information in the keyword database is updated, if the key The keyword information in the word database is updated, the keyword information is re-downloaded from the keyword database, and the re-downloaded keyword information is replaced with the keyword saved in the client local database. Information, and re-establishing the keyword index according to the re-downloaded keyword information.
- a keyword linking device including: a data downloading module, a mail receiving module, an index matching module, a keyword determining module, and a keyword linking module;
- the data downloading module is configured to download keyword information from a keyword database, where the keyword database is used to store the keyword information;
- the mail receiving module is configured to receive an email
- the index matching module is configured to establish a keyword index according to the downloaded keyword information, and match the email by using the keyword index;
- the keyword determining module is configured to determine whether a keyword exists in the email
- the keyword linking module is configured to establish a keyword link for the keyword existing in the email by using the downloaded keyword information when a keyword exists in the email.
- the technical solution adopted by the embodiment of the present application further includes: a database module, where the data downloading module is further configured to send a keyword information download request, and download all keyword information from the keyword database, and download the All keyword information is stored in the database module.
- the technical solution adopted by the embodiment of the present application further includes: the index matching module is further configured to match the email HTML text by using a keyword index; and the keyword determining module determining whether the keyword exists in the email further includes: obtaining the email HTML Text, storing the email HTML text in a local string; matching the email HTML text by the established keyword index; and determining whether a keyword exists in the email HTML text; if the email A keyword exists in the HTML text, and the keyword link module adds link information to the keyword existing in the email HTML text to generate a keyword link.
- the technical solution adopted by the embodiment of the present application further includes: a link insertion module and a link access module; the link insertion module is configured to insert the generated keyword link into the keyword in the email HTML text Corresponding to the location, the keyword inserted into the keyword link is marked; the link access module is configured to enter a webpage corresponding to the keyword link to access when the inserted keyword link is clicked.
- the technical solution adopted by the embodiment of the present application further includes: an update determination module and a keyword update module, where the update determination module is configured to determine whether the keyword information in the keyword database is updated; The module is configured to re-download the keyword information from the keyword database when the keyword information in the keyword database is updated, and replace the database module by re-downloading the keyword information. Saved keyword letter And re-establishing the keyword index according to the re-downloaded keyword information by the index matching module.
- a further technical solution adopted by the embodiment of the present application is: a keyword linking system, including a server and a keyword linking device, wherein the server is used to establish a keyword database, and the keyword information is stored in the keyword database.
- the keyword linking method, device, and system in the embodiment of the present application establish a keyword database through a server, and download a keyword database through the client when the mail is first read. And judging whether there is a keyword in the mail text according to the keyword database, if there is a keyword, adding a link information to the existing keyword to generate a keyword link, and inserting the keyword link into the mail text, the user clicks on the keyword link
- the keyword corresponding webpage can be accessed; the client can also re-download and replace the keyword information in the local database according to the update of the keyword information by the server, without downloading the keyword information every time the email is received, thereby avoiding traffic. Waste and shorten the time it takes to build keyword links.
- the application is simple in operation, shortens the steps and time for opening the webpage, and improves the user's operating experience.
- An embodiment of the present application provides a computer program comprising computer readable code that, when executed on an electronic device, causes the electronic device to perform the method described above.
- the embodiment of the present application provides a computer readable medium in which the above computer program is stored.
- An embodiment of the present application provides an electronic device, including: at least one processor; and a memory; wherein the memory stores a program executable by the at least one processor, the instruction being executed by the at least one processor So that the at least one processor is capable of performing the method of any of the above-mentioned embodiments of the present application.
- FIG. 1 is a flowchart of a keyword linking method according to a first embodiment of the present application
- FIG. 2 is a flowchart of a keyword linking method according to a second embodiment of the present application.
- FIG. 3 is a flowchart of a keyword linking method according to a third embodiment of the present application.
- FIG. 4 is a schematic structural diagram of a keyword linking apparatus according to a first embodiment of the present application.
- FIG. 5 is a schematic structural diagram of a keyword linking apparatus according to a second embodiment of the present application.
- FIG. 6 is a schematic structural diagram of a keyword linking system according to an embodiment of the present application.
- FIG. 7 is a schematic structural diagram of hardware of an electronic device for performing a keyword linking method according to an embodiment of the present application.
- FIG. 1 is a flowchart of a keyword linking method according to a first embodiment of the present application.
- the keyword linking method of the first embodiment of the present application includes the following steps:
- Step 100 Download keyword information from a keyword database
- the keyword database is used to store the keyword information;
- the keyword information includes, but is not limited to, an application name such as a website, a sensitive hot word or a new word at the current stage, and link information corresponding to the keyword; for example, Keywords Taobao and Taobao link information www.taobao.com and so on.
- Step 101 Receive an email, establish a keyword index according to the downloaded keyword information, and match the email by the keyword index to determine whether a keyword exists in the email; if a keyword exists in the email, perform step 102:
- Step 102 Establish a keyword link for the keyword existing in the email by using the downloaded keyword information.
- the keyword linking method in the first embodiment of the present application downloads a keyword database through a client, and determines whether a keyword exists in the mail text according to the keyword database, and if there is a keyword, adds a link information to the existing keyword to generate a keyword link. And insert the keyword link into the message text, and the user can click on the keyword link to access the keyword page.
- the application is simple in operation, shortens the steps and time for opening the webpage, and improves the user's operating experience.
- FIG. 2 is a flowchart of a keyword linking method according to a second embodiment of the present application.
- the keyword linking method of the second embodiment of the present application includes the following steps:
- Step 200 Establish a keyword database through a server, and store keyword information through a keyword database.
- the keyword information includes, but is not limited to, an application name such as a website, a sensitive hot word or a new word at the current stage, and link information corresponding to the keyword; for example, keyword Taobao and Taobao link information www.taobao.com
- the server can also modify, add or delete the keyword information in the keyword database, and can set the number of keyword information, for example, setting 1000 keyword information in the keyword database.
- Step 201 Receive an email by the client, obtain an HTML text of the email, and store the HTML text in the local string;
- HTML HyperText Mark-up Language, a standard language for making web pages
- HTML text is descriptive text composed of HTML commands, which can describe text, graphics, animations, sounds, tables, links, and more.
- the structure of the HTML text includes two parts: a head and a body, wherein the head describes the information required by the browser, and the body contains the specific content to be described.
- the obtained email text format may also be other formats, such as a normal text format.
- Step 202 Send a keyword information download request to the server through the client, and download all keyword information from the keyword database of the server, and save the downloaded keyword information in the client local database;
- Step 203 Create a keyword index according to the downloaded keyword information, and use the keyword index. Match email HTML text;
- the keyword index is established by: indexing according to the HTML text content, or establishing an index according to the frequency of occurrence of the keyword, the heat index, and the like.
- Step 204 Determine whether there is a keyword in the HTML text; if there is a keyword in the HTML text, perform step 205; if there is no keyword in the HTML text, perform step 208;
- Step 205 Add link information to keywords in the HTML text to generate a keyword link.
- Step 206 Insert the generated keyword link into a corresponding position of the keyword in the HTML text, and mark the keyword;
- step 206 the generated keyword link is inserted into the HTML text by splicing the keyword string; the user is allowed to view by labeling the keyword.
- Step 207 Click the keyword link to enter the webpage corresponding to the keyword to access
- Step 208 End the keyword linking operation.
- the keyword linking method of the second embodiment of the present application establishes a keyword database through the server.
- the keyword database is downloaded through the client, and the keyword database is determined according to the keyword database, and if there is a key, if there is a key Words, add link information to existing keywords to generate keyword links, and insert keyword links into the message text, users can click on the keyword link to access the keyword corresponding page.
- the application is simple in operation, shortens the steps and time for opening the webpage, and improves the user's operating experience.
- FIG. 3 is a flowchart of a keyword linking method according to a third embodiment of the present application.
- the keyword linking method of the third embodiment of the present application includes the following steps:
- Step 300 Establish a keyword database through a server, and store keyword information through a keyword database.
- the keyword information includes, but is not limited to, an application name such as a website, a sensitive hot word or a new word at the current stage, and link information corresponding to the keyword; for example, keyword Taobao and Taobao link information www.taobao.com
- the server can also modify, add or delete the keyword information in the keyword database, and can set the number of keyword information, for example, setting 1000 keyword information in the keyword database.
- Step 301 Receive an email by the client, obtain an HTML text of the email, and Save the HTML text in a local string;
- HTML HyperText Mark-up Language, a standard language for making web pages
- HTML text is descriptive text composed of HTML commands, which can describe text, graphics, animations, sounds, tables, links, and more.
- the structure of the HTML text includes two parts: a head and a body, wherein the head describes the information required by the browser, and the body contains the specific content to be described.
- the obtained email text format may also be other formats, such as a normal text format.
- Step 302 Send a keyword information download request to the server through the client, and download all the keyword information from the keyword database of the server, and save the downloaded keyword information in the client local database;
- Step 303 Create a keyword index according to the downloaded keyword information, and match the email HTML text by the keyword index.
- the rule for establishing the keyword index is: indexing according to the HTML text content, or establishing an index according to the frequency of occurrence of the keyword, the heat index, and the like.
- Step 304 Determine whether there is a keyword in the HTML text; if there is a keyword in the HTML text, perform step 305; if there is no keyword in the HTML text, perform step 308;
- Step 305 Add link information to keywords in the HTML text to generate a keyword link.
- Step 306 Insert the generated keyword link into the corresponding position of the keyword in the HTML text, and mark the keyword;
- step 306 the generated keyword link is inserted into the HTML text by splicing the keyword string; the user is allowed to view by labeling the keyword.
- Step 307 Click the keyword link to enter the webpage corresponding to the keyword to access
- Step 308 determining whether the keyword information in the keyword database is updated, if the keyword information in the keyword database is updated, step 309 is performed; if the keyword information in the keyword database is not updated, step 310 is performed;
- step 308 it is determined whether the keyword information in the keyword database is updated: determining whether the keyword database in the server has operations such as modification, addition, or deletion, or The keyword information in the keyword database is judged based on the data size of the keyword database or the number of keyword information.
- Step 309 Re-download all the keyword information from the keyword database of the server, replace the keyword information in the local database of the client by the re-downloaded keyword information, and re-establish the keyword index according to the re-downloaded keyword information;
- step 309 according to the time when the server updates the keyword database (currently, the server sets a time period to update the keyword information in the keyword database, for example, one week or one month, etc.) to re-download the keyword.
- the time period of the information is set. For example, when the server updates the keyword information in the keyword database for one week, the client sets the time interval for downloading the keyword information from the server's keyword database again. After the set time, the keyword information in the keyword database is automatically downloaded and the keyword information in the client local database is replaced.
- the embodiment of the present application only needs to send a keyword information download request to the server when receiving the email for the first time. When receiving the email again, the keyword information is directly established through the keyword information in the client local database to avoid waste of traffic. And shorten the time to create keyword links.
- Step 310 End the keyword linking operation.
- the keyword linking method of the third embodiment of the present application establishes a keyword database through the server.
- the keyword database is downloaded through the client, and the keyword database is determined according to the keyword database, and if there is a keyword, if there is a key Word, add link information to existing keywords to generate keyword links, and insert keyword links into the mail text, the user can click the keyword link to access the keyword corresponding web page; the client can also use the server to keyword information Updates re-download and replace keyword information in the local database without having to download keyword information every time you receive an email, avoiding wasted traffic and reducing the time it takes to create a keyword link.
- the application is simple in operation, shortens the steps and time for opening the webpage, and improves the user's operating experience.
- FIG. 4 is a schematic structural diagram of a keyword linking apparatus according to a first embodiment of the present application.
- the keyword linking apparatus of the first embodiment of the present application includes a mail receiving module, a data downloading module, an index matching module, a keyword determining module, and a keyword linking module;
- the mail receiving module is configured to receive an email
- the data downloading module is configured to download keyword information from a keyword database when the mail is first received; wherein the keyword database is used to store the keyword information; the keyword information includes but is not limited to an application name such as a website, and a current stage. Sensitive hot words or new words, etc., as well as keywords Corresponding link information; for example, keyword Taobao and Taobao link information www.taobao.com.
- the index matching module is configured to establish a keyword index according to the downloaded keyword information, and match the email by using a keyword index;
- the keyword determining module is configured to determine whether a keyword exists in the email; if a keyword exists in the email, establish a keyword link through the keyword linking module;
- the keyword linking system in the embodiment of the present application downloads a keyword database through a client, and determines whether a keyword exists in the mail text according to the keyword database, and if there is a keyword, adds a link information to the existing keyword to generate a keyword link, and The keyword link is inserted into the mail text, and the user can access the keyword corresponding webpage by clicking the keyword link; the application is simple in operation, shortens the step and time of opening the webpage, and improves the user's operating experience.
- FIG. 5 is a schematic structural diagram of a keyword linking apparatus according to a second embodiment of the present application.
- the keyword linking apparatus of the second embodiment of the present application includes a mail receiving module, a data downloading module, a database module, an index matching module, a keyword determining module, a keyword linking module, a link inserting module, a link accessing module, an update judging module, and a key Word update module;
- the mail receiving module is used for receiving an email, obtaining an HTML text of the email, and storing the HTML text in a local string; wherein the HTML text is currently the most widely used language on the network, and is also the main language constituting the webpage document.
- HTML text is descriptive text composed of HTML commands, which can describe text, graphics, animations, sounds, tables, links, and more.
- the structure of the HTML text includes two parts: a head and a body, wherein the head describes the information required by the browser, and the body contains the specific content to be described.
- the obtained email text format may also be other formats, such as a normal text format.
- the data downloading module is configured to send a keyword information download request to the server when receiving the mail for the first time, and download all keyword information from the keyword database of the server;
- the database module uses the keyword information downloaded by the save data download module
- the index matching module is configured to establish a keyword index according to the downloaded keyword information, and match the email HTML text by using a keyword index; wherein the keyword index is established by: Indexes are based on the content of the HTML text, or based on the frequency of occurrence of the keyword, the heat index, and the like.
- the keyword determining module is configured to determine whether a keyword exists in the HTML text; if a keyword exists in the HTML text, the keyword link is generated by the keyword linking module; if the keyword does not exist in the HTML text, the keyword linking operation is ended.
- the link insertion module is configured to insert the generated keyword link into the corresponding position of the keyword in the HTML text, and mark the keyword; wherein the generated keyword link is inserted by splicing the keyword string Go to the HTML text; it's easy for users to view by tagging the keywords.
- the link access module is used to access the webpage corresponding to the keyword when the keyword link is clicked.
- the update judging module is configured to determine whether the keyword information in the keyword database is updated. If the keyword information in the keyword database is updated, the keyword information is re-downloaded by the keyword update module; wherein, the keyword in the keyword database is determined. Whether the information is updated or not is determined by determining whether the keyword database in the server has operations such as modification, addition, or deletion, or determining keyword information in the keyword database according to the data size of the keyword database or the number of keyword information. .
- the keyword update module is configured to re-download all keyword information from the keyword database of the server when the keyword information in the keyword database is updated, and replace the keyword information in the database module by re-downloading the keyword information, and
- the index matching module re-establishes the keyword index according to the re-downloaded keyword information; wherein, according to the time when the server updates the keyword database (currently, the server sets a time period to update the keyword information in the keyword database) For example, one week or one month, etc.), the time period for re-downloading the keyword information is set. For example, when the server updates the keyword information in the keyword database for one week, the client sets the keyword from the server again. The interval for downloading keyword information in the database is one week. When the set time is reached, the keyword information in the keyword database is automatically downloaded and the keyword information in the database module is replaced.
- the embodiment of the present application only needs to send a keyword letter to the server when receiving the email for the first time.
- the information download request when receiving the email again, directly establish a keyword connection through the keyword information in the client local database, avoiding waste of traffic and shortening the time for establishing the keyword link.
- FIG. 6 is a schematic structural diagram of a keyword linking system according to an embodiment of the present application.
- the keyword linking system of the embodiment of the present application includes a server and a client, a server and a client network connection.
- the server is used to establish a keyword database, and the keyword information is stored in the keyword database;
- the client is configured to receive the email, and download the keyword information from the keyword database of the server, and determine whether the keyword exists in the email text according to the keyword information. If there is a keyword in the message text, add link information for the keyword.
- the keyword information stored in the keyword database of the server includes, but is not limited to, an application name such as a website, a sensitive hot word or a new word at the current stage, and link information corresponding to the keyword; for example, the keyword Taobao and the Taobao link. Information www.taobao.com and so on.
- the server further includes a setting module, which is used to modify, add or delete keyword information in the keyword database, and can set the number of keyword information, for example, setting 1000 keywords in the keyword database. Word information.
- the client comprises a mail receiving module, a data downloading module, a database module, an index matching module, a keyword judging module, a keyword linking module, a link inserting module, a link accessing module, an update judging module and a keyword updating module;
- the mail receiving module is used for receiving an email, obtaining an HTML text of the email, and storing the HTML text in a local string; wherein the HTML text is currently the most widely used language on the network, and is also the main language constituting the webpage document.
- HTML text is descriptive text composed of HTML commands, which can describe text, graphics, animations, sounds, tables, links, and more.
- the structure of the HTML text includes two parts: a head and a body, wherein the head describes the information required by the browser, and the body contains the specific content to be described.
- the obtained email text format may also be other formats, such as a normal text format.
- the data downloading module is configured to send a keyword information download request to the server when receiving the mail for the first time, and download all keyword information from the keyword database of the server;
- the database module is configured to save keyword information downloaded by the data download module
- the index matching module is configured to establish a keyword index according to the downloaded keyword information, and match the email HTML text by using a keyword index; wherein the keyword index is established by: indexing according to the HTML text content, or according to the frequency of occurrence of the keyword , heat index, etc. Index.
- the keyword determining module is configured to determine whether a keyword exists in the HTML text; if a keyword exists in the HTML text, the keyword link is generated by the keyword linking module; if the keyword does not exist in the HTML text, the keyword linking operation is ended.
- the link insertion module is configured to insert the generated keyword link into the corresponding position of the keyword in the HTML text, and mark the keyword; wherein the generated keyword link is inserted by splicing the keyword string Go to the HTML text; it's easy for users to view by tagging the keywords.
- the link access module is used to access the webpage corresponding to the keyword when the keyword link is clicked.
- the update judging module is configured to determine whether the keyword information in the keyword database is updated. If the keyword information in the keyword database is updated, the keyword information is re-downloaded by the keyword update module; wherein, the keyword in the keyword database is determined. Whether the information is updated or not is determined by determining whether the keyword database in the server has operations such as modification, addition, or deletion, or determining keyword information in the keyword database according to the data size of the keyword database or the number of keyword information. .
- the keyword update module is configured to re-download all keyword information from the keyword database of the server when the keyword information in the keyword database is updated, and replace the keyword information in the database module by re-downloading the keyword information, and
- the index matching module re-establishes the keyword index according to the re-downloaded keyword information; wherein, according to the time when the server updates the keyword database (currently, the server sets a time period to update the keyword information in the keyword database) For example, one week or one month, etc.), the time period for re-downloading the keyword information is set. For example, when the server updates the keyword information in the keyword database for one week, the client sets the keyword from the server again. The interval for downloading keyword information in the database is one week. When the set time is reached, the keyword information in the keyword database is automatically downloaded and the keyword information in the database module is replaced.
- the embodiment of the present application only needs to send a keyword information download request to the server when receiving the email for the first time, and directly receives the email in the client local database when receiving the email again.
- Keyword information establishes keyword connections to avoid wasting traffic and shorten the time it takes to create keyword links.
- the keyword linking system in the embodiment of the present application establishes a keyword database through the server.
- the keyword database is downloaded through the client, and the keyword database is used to determine whether there is a keyword in the mail text. If a keyword exists, Add link information to existing keywords to generate keyword links, and insert keyword links into the mail text. Users can click the keyword link to access the keyword corresponding web page; the client can also update the keyword information according to the server.
- the situation re-downloads and replaces the keyword information in the local database without downloading the keyword information every time the email is received, avoiding the waste of traffic and shortening the time to establish the keyword link.
- the application is simple in operation, shortens the steps and time for opening the webpage, and improves the user's operating experience.
- the various component embodiments of the present application can be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
- a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of a television set in accordance with embodiments of the present application.
- the application can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
- Such a program implementing the present application may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
- Embodiments of the present invention also provide a computer program comprising computer readable code that, when executed on an electronic device, causes the electronic device to perform the keyword linking method described above.
- embodiments of the present invention also provide a non-transitory computer readable medium in which the above computer program is stored.
- FIG. 7 is a schematic structural diagram of hardware of an electronic device for performing a keyword linking method according to an embodiment of the present disclosure. As shown in FIG. 7, the electronic device includes:
- processors 710 and memory 720 one processor 710 is taken as an example in FIG.
- the apparatus for performing the processing method of the list item operation may further include: an input device 730 and an output device 740.
- the processor 710, the memory 720, the input device 730, and the output device 740 can pass through the bus. Or other methods of connection, in Figure 7 by way of a bus connection.
- the memory 720 is used as a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer-executable program, and a module, as in the processing method of the list item operation in the embodiment of the present application.
- Program instructions/modules for example, the mail receiving module, the data downloading module, the index matching module, the keyword determining module, and the keyword linking module shown in FIG. 4).
- the processor 710 executes various functional applications of the server and data processing by executing non-volatile software programs, instructions, and modules stored in the memory 720, that is, processing methods for implementing the list item operations of the above method embodiments.
- the memory 720 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created by use of the processing device operated according to the list item, and the like. .
- memory 720 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
- memory 720 can optionally include memory remotely located relative to processor 710 that can be connected to the processing device of the list item operation over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- Input device 730 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the processing device operating on the list item.
- the output device 740 can include a display device such as a display screen.
- the one or more modules are stored in the memory 720, and when executed by the one or more processors 710, perform a processing method of a list item operation in any of the above method embodiments.
- the electronic device of the embodiment of the present application exists in various forms, including but not limited to:
- Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
- Such terminals include: smart phones (such as iPhone), multimedia hands Machines, functional phones, and low-end phones.
- Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
- Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
- Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
- the server consists of a processor, a hard disk, a memory, a system bus, etc.
- the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
- the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Human Resources & Organizations (AREA)
- Databases & Information Systems (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Entrepreneurship & Innovation (AREA)
- Strategic Management (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Operations Research (AREA)
- Computer Hardware Design (AREA)
- Marketing (AREA)
- Economics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The solution relates to the technical field of Internet applications, and in particular, to a keyword link method, device and system. The keyword link method comprises: downloading keyword information from a keyword database, the keyword database being used for storing the keyword information; receiving an email, establishing a keyword index according to the downloaded keyword information and matching the email to the keyword index; determining whether there is a keyword in the email; if there is a keyword in the email, establishing, by means of the downloaded keyword information, a keyword link for the keyword existing in the email. The solution is simple to operate, reducing the steps and time needed for opening a Web page, improving the operation experience of users.
Description
本申请要求在2016年5月19日提交中国专利局、申请号为201610334910.2、发明名称为“一种关键字链接方法、装置及系统”的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201610334910.2, entitled "A Keyword Linking Method, Apparatus and System", filed on May 19, 2016, the entire contents of which is incorporated by reference. Combined in this application.
本申请实施例涉及互联网应用技术领域,尤其涉及一种关键字链接方法、装置及系统。The embodiments of the present invention relate to the field of Internet application technologies, and in particular, to a keyword linking method, apparatus, and system.
电子邮件是一种用电子手段提供信息交换的通信方式,是互联网应用最广的服务。通过网络的电子邮件系统,用户可以以非常低廉的价格(不管发送到哪里,都只需负担网费)、非常快速的方式(几秒钟之内可以发送到世界上任何指定的目的地),与世界上任何一个角落的网络用户联系。用户可以通过电子邮件发送或接收文本、图像或声音等多种形式的电子邮件,从而极大地方便了人与人之间的沟通与交流,促进了社会的发展。E-mail is a communication method that provides information exchange by electronic means and is the most widely used service on the Internet. Through the network's e-mail system, users can pay the Internet at very low prices (wherever they are sent), in a very fast way (can be sent to any designated destination in the world in a few seconds). Connect with network users in any corner of the world. Users can send or receive various forms of emails such as text, images or sounds by e-mail, which greatly facilitates communication and communication between people and promotes the development of society.
随着网络技术的日益发展,越来越多的网站在网页信息中为特定的关键字加上链接,以引导用户通过点击关键字就可以看到更加精彩的信息,而无需重新通过浏览器输入该关键字的链接地址。但是,在实现本申请过程中,发明人发现现有技术中至少存在如下问题:现有的电子邮件中只能插入链接地址,还不具备关键字链接的功能,不便于用户操作。With the development of network technology, more and more websites add links to specific keywords in the webpage information to guide users to click on the keywords to see more exciting information without having to re-enter the browser. The link address of the keyword. However, in the process of implementing the present application, the inventors have found that at least the following problems exist in the prior art: only the link address can be inserted in the existing email, and the function of the keyword link is not provided, which is inconvenient for the user to operate.
发明内容Summary of the invention
本申请实施例提供了一种关键字链接方法、装置及系统,旨在解决现有的电子邮件中不具备关键字链接功能的技术问题。The embodiment of the present application provides a keyword linking method, device, and system, which are intended to solve the technical problem that the existing email does not have the keyword linking function.
为了解决以上提出的问题,本申请实施例采用的技术方案为:一种关键字链接方法,包括:In order to solve the above problems, the technical solution adopted by the embodiment of the present application is: a keyword linking method, including:
从关键字数据库中下载关键字信息;其中,所述关键字数据库用于存放所述关键字信息;
Downloading keyword information from a keyword database; wherein the keyword database is used to store the keyword information;
接收电子邮件,根据所下载的所述关键字信息建立关键字索引,通过所述关键字索引匹配所述电子邮件;判断所述电子邮件中是否存在关键字;Receiving an email, establishing a keyword index according to the downloaded keyword information, matching the email by the keyword index; determining whether a keyword exists in the email;
如果所述电子邮件中存在关键字,通过所下载的所述关键字信息为所述电子邮件中存在的所述关键字建立关键字链接。If a keyword exists in the email, a keyword link is established for the keyword existing in the email through the downloaded keyword information.
本申请实施例采取的技术方案还包括:所述从关键字数据库中下载所述关键字信息还包括:发送关键字信息下载请求,并从所述关键字数据库中下载全部关键字信息,将所下载的所述全部关键字信息保存在客户端本地数据库中。The technical solution adopted by the embodiment of the present application further includes: downloading the keyword information from the keyword database further includes: sending a keyword information download request, and downloading all keyword information from the keyword database, All of the downloaded keyword information is saved in the client local database.
本申请实施例采取的技术方案还包括:所述判断电子邮件中是否存在关键字还包括:获取电子邮件HTML文本,将所述电子邮件HTML文本存入本地字符串中;通过所建立的所述关键字索引匹配所述电子邮件HTML文本;并判断所述电子邮件HTML文本中是否存在关键字;如果所述电子邮件HTML文本中存在关键字,为所述电子邮件HTML文本中存在的所述关键字添加链接信息,生成所述关键字链接。The technical solution adopted by the embodiment of the present application further includes: determining whether the keyword exists in the email further comprises: acquiring an email HTML text, and storing the email HTML text in a local string; a keyword index matching the email HTML text; and determining whether a keyword exists in the email HTML text; if a keyword exists in the email HTML text, the key exists in the email HTML text The word adds link information to generate the keyword link.
本申请实施例采取的技术方案还包括:所述为电子邮件中存在的所述关键字建立关键字链接还包括:将生成的所述关键字链接插入到所述电子邮件HTML文本中所述关键字的对应位置,对插入所述关键字链接的所述关键字进行标注;当点击插入的所述关键字链接时,进入所述关键字链接对应的网页进行访问。The technical solution adopted by the embodiment of the present application further includes: the establishing a keyword link for the keyword existing in the email further includes: inserting the generated keyword link into the key of the email HTML text. Corresponding position of the word, the keyword inserted into the keyword link is marked; when the inserted keyword link is clicked, the webpage corresponding to the keyword link is accessed for access.
本申请实施例采取的技术方案还包括:所述从所述关键字数据库中下载所述关键字信息还包括:判断所述关键字数据库中的所述关键字信息是否存在更新,如果所述关键字数据库中的所述关键字信息存在更新,重新从所述关键字数据库中下载所述关键字信息,将重新下载的所述关键字信息替换所述客户端本地数据库中保存的所述关键字信息,并根据所述重新下载的所述关键字信息重新建立所述关键字索引。The technical solution adopted by the embodiment of the present application further includes: the downloading the keyword information from the keyword database further includes: determining whether the keyword information in the keyword database is updated, if the key The keyword information in the word database is updated, the keyword information is re-downloaded from the keyword database, and the re-downloaded keyword information is replaced with the keyword saved in the client local database. Information, and re-establishing the keyword index according to the re-downloaded keyword information.
本申请实施例采取的另一技术方案为:一种关键字链接装置,包括:数据下载模块、邮件接收模块、索引匹配模块、关键字判断模块、关键字链接模块;
Another technical solution adopted by the embodiment of the present application is: a keyword linking device, including: a data downloading module, a mail receiving module, an index matching module, a keyword determining module, and a keyword linking module;
所述数据下载模块用于从关键字数据库中下载关键字信息;其中,所述关键字数据库用于存放所述关键字信息;The data downloading module is configured to download keyword information from a keyword database, where the keyword database is used to store the keyword information;
所述邮件接收模块用于接收电子邮件;The mail receiving module is configured to receive an email;
所述索引匹配模块用于根据所下载的关键字信息建立关键字索引,通过所述关键字索引匹配所述电子邮件;The index matching module is configured to establish a keyword index according to the downloaded keyword information, and match the email by using the keyword index;
所述关键字判断模块用于判断所述电子邮件中是否存在关键字;The keyword determining module is configured to determine whether a keyword exists in the email;
所述关键字链接模块用于在所述电子邮件中存在关键字时,通过所下载的关键字信息为所述电子邮件中存在的所述关键字建立关键字链接。The keyword linking module is configured to establish a keyword link for the keyword existing in the email by using the downloaded keyword information when a keyword exists in the email.
本申请实施例采取的技术方案还包括:还包括数据库模块,所述数据下载模块还用于发送关键字信息下载请求,并从所述关键字数据库中下载全部关键字信息,将所下载的所述全部关键字信息保存在所述数据库模块中。The technical solution adopted by the embodiment of the present application further includes: a database module, where the data downloading module is further configured to send a keyword information download request, and download all keyword information from the keyword database, and download the All keyword information is stored in the database module.
本申请实施例采取的技术方案还包括:所述索引匹配模块还用于通过关键字索引匹配电子邮件HTML文本;所述关键字判断模块判断电子邮件中是否存在关键字还包括:获取电子邮件HTML文本,将所述电子邮件HTML文本存入本地字符串中;通过所建立的关键字索引匹配所述电子邮件HTML文本;并判断所述电子邮件HTML文本中是否存在关键字;如果所述电子邮件HTML文本中存在关键字,通过所述关键字链接模块为所述电子邮件HTML文本中存在的所述关键字添加链接信息,生成关键字链接。The technical solution adopted by the embodiment of the present application further includes: the index matching module is further configured to match the email HTML text by using a keyword index; and the keyword determining module determining whether the keyword exists in the email further includes: obtaining the email HTML Text, storing the email HTML text in a local string; matching the email HTML text by the established keyword index; and determining whether a keyword exists in the email HTML text; if the email A keyword exists in the HTML text, and the keyword link module adds link information to the keyword existing in the email HTML text to generate a keyword link.
本申请实施例采取的技术方案还包括:还包括链接插入模块和链接访问模块;所述链接插入模块用于将生成的所述关键字链接插入到所述电子邮件HTML文本中所述关键字的对应位置,对插入所述关键字链接的所述关键字进行标注;所述链接访问模块用于当点击插入的所述关键字链接时,进入所述关键字链接对应的网页进行访问。The technical solution adopted by the embodiment of the present application further includes: a link insertion module and a link access module; the link insertion module is configured to insert the generated keyword link into the keyword in the email HTML text Corresponding to the location, the keyword inserted into the keyword link is marked; the link access module is configured to enter a webpage corresponding to the keyword link to access when the inserted keyword link is clicked.
本申请实施例采取的技术方案还包括:还包括更新判断模块和关键字更新模块,所述更新判断模块用于判断所述关键字数据库中的所述关键字信息是否更新;所述关键字更新模块用于在所述关键字数据库中的所述关键字信息有更新时,重新从所述关键字数据库中下载所述关键字信息,通过重新下载的所述关键字信息替换所述数据库模块中保存的所述关键字信
息,并通过所述索引匹配模块根据所述重新下载的所述关键字信息重新建立所述关键字索引。The technical solution adopted by the embodiment of the present application further includes: an update determination module and a keyword update module, where the update determination module is configured to determine whether the keyword information in the keyword database is updated; The module is configured to re-download the keyword information from the keyword database when the keyword information in the keyword database is updated, and replace the database module by re-downloading the keyword information. Saved keyword letter
And re-establishing the keyword index according to the re-downloaded keyword information by the index matching module.
本申请实施例采取的又一技术方案为:一种关键字链接系统,包括服务器和关键字链接装置,其中,所述服务器用于建立关键字数据库,通过所述关键字数据库存放关键字信息。A further technical solution adopted by the embodiment of the present application is: a keyword linking system, including a server and a keyword linking device, wherein the server is used to establish a keyword database, and the keyword information is stored in the keyword database.
与现有技术相比,本申请实施例的有益效果在于:本申请实施例的关键字链接方法、装置及系统通过服务器建立关键字数据库,在首次读取邮件时,通过客户端下载关键字数据库,并根据关键字数据库判断邮件文本中是否存在关键字,如果存在关键字,为存在的关键字添加链接信息生成关键字链接,并将关键字链接插入到邮件文本中,用户通过点击关键字链接即可访问关键字对应网页;客户端还可根据服务器对关键字信息的更新情况重新下载并替换本地数据库中的关键字信息,而无需每次接收邮件时都下载关键字信息,避免造成流量的浪费,并缩短建立关键字链接的时间。本申请操作简单,缩短了网页打开的步骤和时间,提高用户的操作体验。Compared with the prior art, the benefit of the embodiment of the present application is that the keyword linking method, device, and system in the embodiment of the present application establish a keyword database through a server, and download a keyword database through the client when the mail is first read. And judging whether there is a keyword in the mail text according to the keyword database, if there is a keyword, adding a link information to the existing keyword to generate a keyword link, and inserting the keyword link into the mail text, the user clicks on the keyword link The keyword corresponding webpage can be accessed; the client can also re-download and replace the keyword information in the local database according to the update of the keyword information by the server, without downloading the keyword information every time the email is received, thereby avoiding traffic. Waste and shorten the time it takes to build keyword links. The application is simple in operation, shortens the steps and time for opening the webpage, and improves the user's operating experience.
本申请实施例提供一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在电子设备上运行时,导致所述电子设备执行上述的方法。An embodiment of the present application provides a computer program comprising computer readable code that, when executed on an electronic device, causes the electronic device to perform the method described above.
本申请实施例提供一种计算机可读介质,其中存储了上述的计算机程序。The embodiment of the present application provides a computer readable medium in which the above computer program is stored.
本申请实施例提供一种电子设备,包括:至少一个处理器;以及存储器;其中,所述存储器存储有可被所述至少一个处理器执行的程序,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行本申请上述任一项的方法。An embodiment of the present application provides an electronic device, including: at least one processor; and a memory; wherein the memory stores a program executable by the at least one processor, the instruction being executed by the at least one processor So that the at least one processor is capable of performing the method of any of the above-mentioned embodiments of the present application.
上述说明仅是本申请技术方案的概述,为了能够更清楚了解本申请的技术手段,而可依照说明书的内容予以实施,并且为了让本申请的上述和其它目的、特征和优点能够更明显易懂,以下特举本申请的具体实施方式。
The above description is only an overview of the technical solutions of the present application, and the technical means of the present application can be more clearly understood, and the above and other objects, features and advantages of the present application can be more clearly understood. The following is a specific embodiment of the present application.
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。The one or more embodiments are exemplified by the accompanying drawings in the accompanying drawings, and FIG. The figures in the drawings do not constitute a scale limitation unless otherwise stated.
图1为本申请第一实施例的关键字链接方法的流程图;1 is a flowchart of a keyword linking method according to a first embodiment of the present application;
图2为本申请第二实施例的关键字链接方法的流程图;2 is a flowchart of a keyword linking method according to a second embodiment of the present application;
图3为本申请第三实施例的关键字链接方法的流程图;3 is a flowchart of a keyword linking method according to a third embodiment of the present application;
图4为本申请第一实施例的关键字链接装置的结构示意图;4 is a schematic structural diagram of a keyword linking apparatus according to a first embodiment of the present application;
图5为本申请第二实施例的关键字链接装置的结构示意图;FIG. 5 is a schematic structural diagram of a keyword linking apparatus according to a second embodiment of the present application; FIG.
图6为本申请实施例的关键字链接系统的结构示意图。FIG. 6 is a schematic structural diagram of a keyword linking system according to an embodiment of the present application.
图7是本申请实施例提供的用于执行关键字链接方法的电子设备的硬件结构示意图。FIG. 7 is a schematic structural diagram of hardware of an electronic device for performing a keyword linking method according to an embodiment of the present application.
为了便于理解本申请,下面将参照相关附图对本申请进行更全面的描述。附图中给出了本申请的较佳实施例。但是,本申请可以以许多不同的形式来实现,并不限于本文所描述的实施例。相反地,提供这些实施例的目的是使对本申请的公开内容的理解更加透彻全面。In order to facilitate the understanding of the present application, the present application will be described more fully hereinafter with reference to the accompanying drawings. Preferred embodiments of the present application are shown in the drawings. However, the application can be embodied in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that the understanding of the disclosure of the present application will be more thorough.
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。All technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention applies, unless otherwise defined. The terminology used herein is for the purpose of describing particular embodiments, and is not intended to be limiting.
请参阅图1,是本申请第一实施例的关键字链接方法的流程图。本申请第一实施例的关键字链接方法包括以下步骤:Please refer to FIG. 1, which is a flowchart of a keyword linking method according to a first embodiment of the present application. The keyword linking method of the first embodiment of the present application includes the following steps:
步骤100:从关键字数据库中下载关键字信息;Step 100: Download keyword information from a keyword database;
在步骤100中,关键字数据库用于存放所述关键字信息;关键字信息包括但不限于网站等应用名称、当前阶段的敏感热词或新词等,以及关键字对应的链接信息;例如,关键字淘宝以及淘宝链接信息www.taobao.com等。In step 100, the keyword database is used to store the keyword information; the keyword information includes, but is not limited to, an application name such as a website, a sensitive hot word or a new word at the current stage, and link information corresponding to the keyword; for example, Keywords Taobao and Taobao link information www.taobao.com and so on.
步骤101:接收电子邮件,根据所下载的关键字信息建立关键字索引,通过关键字索引匹配电子邮件,判断电子邮件中是否存在关键字;如果电子邮件中存在关键字,执行步骤102:
Step 101: Receive an email, establish a keyword index according to the downloaded keyword information, and match the email by the keyword index to determine whether a keyword exists in the email; if a keyword exists in the email, perform step 102:
步骤102:通过所下载的关键字信息为电子邮件中存在的关键字建立关键字链接。Step 102: Establish a keyword link for the keyword existing in the email by using the downloaded keyword information.
在步骤102中,为关键字建立链接的方式为:假设电子邮件中存在的关键字为“淘宝”,则将电子邮件中所有的关键字“淘宝”都改为“www.taobao.com/q=淘宝”。In step 102, the way to establish a link for the keyword is as follows: if the keyword existing in the email is “Taobao”, all the keywords in the email “Taobao” are changed to “www.taobao.com/q”. = Taobao."
本申请第一实施例的关键字链接方法通过客户端下载关键字数据库,并根据关键字数据库判断邮件文本中是否存在关键字,如果存在关键字,为存在的关键字添加链接信息生成关键字链接,并将关键字链接插入到邮件文本中,用户通过点击关键字链接即可访问关键字对应网页。本申请操作简单,缩短了网页打开的步骤和时间,提高用户的操作体验。The keyword linking method in the first embodiment of the present application downloads a keyword database through a client, and determines whether a keyword exists in the mail text according to the keyword database, and if there is a keyword, adds a link information to the existing keyword to generate a keyword link. And insert the keyword link into the message text, and the user can click on the keyword link to access the keyword page. The application is simple in operation, shortens the steps and time for opening the webpage, and improves the user's operating experience.
请参阅图2,是本申请第二实施例的关键字链接方法的流程图。本申请第二实施例的关键字链接方法包括以下步骤:Please refer to FIG. 2 , which is a flowchart of a keyword linking method according to a second embodiment of the present application. The keyword linking method of the second embodiment of the present application includes the following steps:
步骤200:通过服务器建立关键字数据库,通过关键字数据库存放关键字信息;Step 200: Establish a keyword database through a server, and store keyword information through a keyword database.
在步骤200中,关键字信息包括但不限于网站等应用名称、当前阶段的敏感热词或新词等,以及关键字对应的链接信息;例如,关键字淘宝以及淘宝链接信息www.taobao.com等;服务器还可以对关键字数据库中的关键字信息进行修改、添加或删除等操作,并可设定关键字信息的数量,例如,设定关键字数据库中存放1000条关键字信息。In step 200, the keyword information includes, but is not limited to, an application name such as a website, a sensitive hot word or a new word at the current stage, and link information corresponding to the keyword; for example, keyword Taobao and Taobao link information www.taobao.com The server can also modify, add or delete the keyword information in the keyword database, and can set the number of keyword information, for example, setting 1000 keyword information in the keyword database.
步骤201:通过客户端接收电子邮件,获取电子邮件HTML文本,并将HTML文本存入本地字符串中;Step 201: Receive an email by the client, obtain an HTML text of the email, and store the HTML text in the local string;
在步骤201中,HTML(HyperText Mark-up Language,是一种制作万维网页面的标准语言)文本是目前网络上应用最为广泛的语言,也是构成网页文档的主要语言。HTML文本是由HTML命令组成的描述性文本,HTML命令可以说明文字、图形、动画、声音、表格、链接等。HTML文本的结构包括头部(Head)、主体(Body)两大部分,其中头部描述浏览器所需的信息,而主体则包含所要说明的具体内容。在本申请其他实施例中,获取的电子邮件文本格式也可为其他格式,例如普通文本格式等。In step 201, HTML (HyperText Mark-up Language, a standard language for making web pages) text is currently the most widely used language on the web, and is also the main language constituting web documents. HTML text is descriptive text composed of HTML commands, which can describe text, graphics, animations, sounds, tables, links, and more. The structure of the HTML text includes two parts: a head and a body, wherein the head describes the information required by the browser, and the body contains the specific content to be described. In other embodiments of the present application, the obtained email text format may also be other formats, such as a normal text format.
步骤202:通过客户端向服务器发送关键字信息下载请求,并从服务器的关键字数据库中下载全部关键字信息,将下载的关键字信息保存在客户端本地数据库中;Step 202: Send a keyword information download request to the server through the client, and download all keyword information from the keyword database of the server, and save the downloaded keyword information in the client local database;
步骤203:根据下载的关键字信息建立关键字索引,通过关键字索引
匹配电子邮件HTML文本;Step 203: Create a keyword index according to the downloaded keyword information, and use the keyword index.
Match email HTML text;
在步骤203中,关键字索引的建立规则为:根据HTML文本内容建立索引,或根据关键字的出现频率、热度指数等建立索引。In step 203, the keyword index is established by: indexing according to the HTML text content, or establishing an index according to the frequency of occurrence of the keyword, the heat index, and the like.
步骤204:判断HTML文本中是否存在关键字;如果HTML文本中存在关键字,执行步骤205;如果HTML文本中不存在关键字,执行步骤208;Step 204: Determine whether there is a keyword in the HTML text; if there is a keyword in the HTML text, perform step 205; if there is no keyword in the HTML text, perform step 208;
步骤205:为HTML文本中的关键字添加链接信息,生成关键字链接;Step 205: Add link information to keywords in the HTML text to generate a keyword link.
在步骤205中,为关键字添加链接信息的方式为:假设HTML文本中存在的关键字为“淘宝”,则将HTML文本中所有的关键字“淘宝”都改为“www.taobao.com/q=淘宝”。In step 205, the method of adding link information to the keyword is as follows: if the keyword existing in the HTML text is “Taobao”, all the keywords “Taobao” in the HTML text are changed to “www.taobao.com/”. q=Taobao."
步骤206:将生成的关键字链接插入到HTML文本中关键字的对应位置,并对该关键字进行标注;Step 206: Insert the generated keyword link into a corresponding position of the keyword in the HTML text, and mark the keyword;
在步骤206中,通过对关键字字符串做拼接操作,从而将生成的关键字链接插入到HTML文本中;通过对关键字进行标注,便于用户查看。In step 206, the generated keyword link is inserted into the HTML text by splicing the keyword string; the user is allowed to view by labeling the keyword.
步骤207:点击关键字链接,进入关键字对应的网页进行访问;Step 207: Click the keyword link to enter the webpage corresponding to the keyword to access;
步骤208:结束本次关键字链接操作。Step 208: End the keyword linking operation.
本申请第二实施例的关键字链接方法通过服务器建立关键字数据库,在首次读取邮件时,通过客户端下载关键字数据库,并根据关键字数据库判断邮件文本中是否存在关键字,如果存在关键字,为存在的关键字添加链接信息生成关键字链接,并将关键字链接插入到邮件文本中,用户通过点击关键字链接即可访问关键字对应网页。本申请操作简单,缩短了网页打开的步骤和时间,提高用户的操作体验。The keyword linking method of the second embodiment of the present application establishes a keyword database through the server. When the mail is first read, the keyword database is downloaded through the client, and the keyword database is determined according to the keyword database, and if there is a key, if there is a key Words, add link information to existing keywords to generate keyword links, and insert keyword links into the message text, users can click on the keyword link to access the keyword corresponding page. The application is simple in operation, shortens the steps and time for opening the webpage, and improves the user's operating experience.
请参阅图3,是本申请第三实施例的关键字链接方法的流程图。本申请第三实施例的关键字链接方法包括以下步骤:Please refer to FIG. 3 , which is a flowchart of a keyword linking method according to a third embodiment of the present application. The keyword linking method of the third embodiment of the present application includes the following steps:
步骤300:通过服务器建立关键字数据库,通过关键字数据库存放关键字信息;Step 300: Establish a keyword database through a server, and store keyword information through a keyword database.
在步骤300中,关键字信息包括但不限于网站等应用名称、当前阶段的敏感热词或新词等,以及关键字对应的链接信息;例如,关键字淘宝以及淘宝链接信息www.taobao.com等;服务器还可以对关键字数据库中的关键字信息进行修改、添加或删除等操作,并可设定关键字信息的数量,例如,设定关键字数据库中存放1000条关键字信息。In step 300, the keyword information includes, but is not limited to, an application name such as a website, a sensitive hot word or a new word at the current stage, and link information corresponding to the keyword; for example, keyword Taobao and Taobao link information www.taobao.com The server can also modify, add or delete the keyword information in the keyword database, and can set the number of keyword information, for example, setting 1000 keyword information in the keyword database.
步骤301:通过客户端接收电子邮件,获取电子邮件HTML文本,并
将HTML文本存入本地字符串中;Step 301: Receive an email by the client, obtain an HTML text of the email, and
Save the HTML text in a local string;
在步骤301中,HTML(HyperText Mark-up Language,是一种制作万维网页面的标准语言)文本是目前网络上应用最为广泛的语言,也是构成网页文档的主要语言。HTML文本是由HTML命令组成的描述性文本,HTML命令可以说明文字、图形、动画、声音、表格、链接等。HTML文本的结构包括头部(Head)、主体(Body)两大部分,其中头部描述浏览器所需的信息,而主体则包含所要说明的具体内容。在本申请其他实施例中,获取的电子邮件文本格式也可为其他格式,例如普通文本格式等。In step 301, HTML (HyperText Mark-up Language, a standard language for making web pages) text is currently the most widely used language on the web, and is also the main language constituting web documents. HTML text is descriptive text composed of HTML commands, which can describe text, graphics, animations, sounds, tables, links, and more. The structure of the HTML text includes two parts: a head and a body, wherein the head describes the information required by the browser, and the body contains the specific content to be described. In other embodiments of the present application, the obtained email text format may also be other formats, such as a normal text format.
步骤302:通过客户端向服务器发送关键字信息下载请求,并从服务器的关键字数据库中下载全部关键字信息,将下载的关键字信息保存在客户端本地数据库中;Step 302: Send a keyword information download request to the server through the client, and download all the keyword information from the keyword database of the server, and save the downloaded keyword information in the client local database;
步骤303:根据下载的关键字信息建立关键字索引,通过关键字索引匹配电子邮件HTML文本;Step 303: Create a keyword index according to the downloaded keyword information, and match the email HTML text by the keyword index.
在步骤303中,关键字索引的建立规则为:根据HTML文本内容建立索引,或根据关键字的出现频率、热度指数等建立索引。In step 303, the rule for establishing the keyword index is: indexing according to the HTML text content, or establishing an index according to the frequency of occurrence of the keyword, the heat index, and the like.
步骤304:判断HTML文本中是否存在关键字;如果HTML文本中存在关键字,执行步骤305;如果HTML文本中不存在关键字,执行步骤308;Step 304: Determine whether there is a keyword in the HTML text; if there is a keyword in the HTML text, perform step 305; if there is no keyword in the HTML text, perform step 308;
步骤305:为HTML文本中的关键字添加链接信息,生成关键字链接;Step 305: Add link information to keywords in the HTML text to generate a keyword link.
在步骤305中,为关键字添加链接信息的方式为:假设HTML文本中存在的关键字为“淘宝”,则将HTML文本中所有的关键字“淘宝”都改为“www.taobao.com/q=淘宝”。In step 305, the method of adding link information to the keyword is as follows: assuming that the keyword existing in the HTML text is “Taobao”, all the keywords “Taobao” in the HTML text are changed to “www.taobao.com/” q=Taobao."
步骤306:将生成的关键字链接插入到HTML文本中关键字的对应位置,并对该关键字进行标注;Step 306: Insert the generated keyword link into the corresponding position of the keyword in the HTML text, and mark the keyword;
在步骤306中,通过对关键字字符串做拼接操作,从而将生成的关键字链接插入到HTML文本中;通过对关键字进行标注,便于用户查看。In step 306, the generated keyword link is inserted into the HTML text by splicing the keyword string; the user is allowed to view by labeling the keyword.
步骤307:点击关键字链接,进入关键字对应的网页进行访问;Step 307: Click the keyword link to enter the webpage corresponding to the keyword to access;
步骤308:判断关键字数据库中的关键字信息是否更新,如果关键字数据库中的关键字信息有更新,执行步骤309;如果关键字数据库中的关键字信息没有更新,执行步骤310;Step 308: determining whether the keyword information in the keyword database is updated, if the keyword information in the keyword database is updated, step 309 is performed; if the keyword information in the keyword database is not updated, step 310 is performed;
在步骤308中,判断关键字数据库中的关键字信息是否更新的判断方式为:判断服务器中的关键字数据库是否有修改、添加或删除等操作,或
根据关键字数据库的数据大小或关键字信息的条数等判断关键字数据库中的关键字信息。In step 308, it is determined whether the keyword information in the keyword database is updated: determining whether the keyword database in the server has operations such as modification, addition, or deletion, or
The keyword information in the keyword database is judged based on the data size of the keyword database or the number of keyword information.
步骤309:重新从服务器的关键字数据库中下载全部关键字信息,通过重新下载的关键字信息替换客户端本地数据库中的关键字信息,并根据重新下载的关键字信息重新建立关键字索引;Step 309: Re-download all the keyword information from the keyword database of the server, replace the keyword information in the local database of the client by the re-downloaded keyword information, and re-establish the keyword index according to the re-downloaded keyword information;
在步骤309中,还可以根据服务器更新关键字数据库的时间(目前,服务器会设定一个时间周期对关键字数据库中的关键字信息进行更新,例如,一周或一个月等)对重新下载关键字信息的时间周期进行设定,例如,服务器更新关键字数据库中的关键字信息的时间为一周,则客户端设定重新从服务器的关键字数据库中下载关键字信息的间隔时间为一周,当到达设定的时间后,自动下载关键字数据库中的关键字信息,并替换客户端本地数据库中的关键字信息。本申请实施例只需要在首次接收电子邮件时向服务器发送关键字信息下载请求,当再次接收电子邮件时,直接通过客户端本地数据库中的关键字信息建立关键字连接,避免造成流量的浪费,并缩短建立关键字链接的时间。In step 309, according to the time when the server updates the keyword database (currently, the server sets a time period to update the keyword information in the keyword database, for example, one week or one month, etc.) to re-download the keyword. The time period of the information is set. For example, when the server updates the keyword information in the keyword database for one week, the client sets the time interval for downloading the keyword information from the server's keyword database again. After the set time, the keyword information in the keyword database is automatically downloaded and the keyword information in the client local database is replaced. The embodiment of the present application only needs to send a keyword information download request to the server when receiving the email for the first time. When receiving the email again, the keyword information is directly established through the keyword information in the client local database to avoid waste of traffic. And shorten the time to create keyword links.
步骤310:结束关键字链接操作。Step 310: End the keyword linking operation.
本申请第三实施例的关键字链接方法通过服务器建立关键字数据库,在首次读取邮件时,通过客户端下载关键字数据库,并根据关键字数据库判断邮件文本中是否存在关键字,如果存在关键字,为存在的关键字添加链接信息生成关键字链接,并将关键字链接插入到邮件文本中,用户通过点击关键字链接即可访问关键字对应网页;客户端还可根据服务器对关键字信息的更新情况重新下载并替换本地数据库中的关键字信息,而无需每次接收邮件时都下载关键字信息,避免造成流量的浪费,并缩短建立关键字链接的时间。本申请操作简单,缩短了网页打开的步骤和时间,提高用户的操作体验。The keyword linking method of the third embodiment of the present application establishes a keyword database through the server. When the mail is first read, the keyword database is downloaded through the client, and the keyword database is determined according to the keyword database, and if there is a keyword, if there is a key Word, add link information to existing keywords to generate keyword links, and insert keyword links into the mail text, the user can click the keyword link to access the keyword corresponding web page; the client can also use the server to keyword information Updates re-download and replace keyword information in the local database without having to download keyword information every time you receive an email, avoiding wasted traffic and reducing the time it takes to create a keyword link. The application is simple in operation, shortens the steps and time for opening the webpage, and improves the user's operating experience.
请参阅图4,是本申请第一实施例的关键字链接装置的结构示意图。本申请第一实施例的关键字链接装置包括邮件接收模块、数据下载模块、索引匹配模块、关键字判断模块、关键字链接模块;Please refer to FIG. 4 , which is a schematic structural diagram of a keyword linking apparatus according to a first embodiment of the present application. The keyword linking apparatus of the first embodiment of the present application includes a mail receiving module, a data downloading module, an index matching module, a keyword determining module, and a keyword linking module;
邮件接收模块用于接收电子邮件;The mail receiving module is configured to receive an email;
数据下载模块用于在首次接收邮件时从关键字数据库中下载关键字信息;其中,所述关键字数据库用于存放所述关键字信息;关键字信息包括但不限于网站等应用名称、当前阶段的敏感热词或新词等,以及关键字
对应的链接信息;例如,关键字淘宝以及淘宝链接信息www.taobao.com等。The data downloading module is configured to download keyword information from a keyword database when the mail is first received; wherein the keyword database is used to store the keyword information; the keyword information includes but is not limited to an application name such as a website, and a current stage. Sensitive hot words or new words, etc., as well as keywords
Corresponding link information; for example, keyword Taobao and Taobao link information www.taobao.com.
索引匹配模块用于根据所下载的关键字信息建立关键字索引,通过关键字索引匹配电子邮件;The index matching module is configured to establish a keyword index according to the downloaded keyword information, and match the email by using a keyword index;
关键字判断模块用于判断电子邮件中是否存在关键字;如果所述电子邮件中存在关键字,通过关键字链接模块建立关键字链接;The keyword determining module is configured to determine whether a keyword exists in the email; if a keyword exists in the email, establish a keyword link through the keyword linking module;
关键字链接模块用于通过所下载的关键字信息为电子邮件中存在的关键字建立关键字链接;其中,关键字链接模块为关键字建立链接的方式为:假设电子邮件中存在的关键字为“淘宝”,则将电子邮件中所有的关键字“淘宝”都改为“www.taobao.com/q=淘宝”。The keyword linking module is configured to establish a keyword link for the keyword existing in the email by using the downloaded keyword information; wherein the keyword linking module establishes a link for the keyword: assuming that the keyword existing in the email is "Taobao" will change all the keywords in the email "Taobao" to "www.taobao.com/q=Taobao".
本申请实施例的关键字链接系统通过客户端下载关键字数据库,并根据关键字数据库判断邮件文本中是否存在关键字,如果存在关键字,为存在的关键字添加链接信息生成关键字链接,并将关键字链接插入到邮件文本中,用户通过点击关键字链接即可访问关键字对应网页;本申请操作简单,缩短了网页打开的步骤和时间,提高用户的操作体验。The keyword linking system in the embodiment of the present application downloads a keyword database through a client, and determines whether a keyword exists in the mail text according to the keyword database, and if there is a keyword, adds a link information to the existing keyword to generate a keyword link, and The keyword link is inserted into the mail text, and the user can access the keyword corresponding webpage by clicking the keyword link; the application is simple in operation, shortens the step and time of opening the webpage, and improves the user's operating experience.
请参阅图5,是本申请第二实施例的关键字链接装置的结构示意图。本申请第二实施例的关键字链接装置包括邮件接收模块、数据下载模块、数据库模块、索引匹配模块、关键字判断模块、关键字链接模块、链接插入模块、链接访问模块、更新判断模块和关键字更新模块;Please refer to FIG. 5 , which is a schematic structural diagram of a keyword linking apparatus according to a second embodiment of the present application. The keyword linking apparatus of the second embodiment of the present application includes a mail receiving module, a data downloading module, a database module, an index matching module, a keyword determining module, a keyword linking module, a link inserting module, a link accessing module, an update judging module, and a key Word update module;
邮件接收模块用于接收电子邮件,获取电子邮件HTML文本,并将HTML文本存入本地字符串中;其中,HTML文本是目前网络上应用最为广泛的语言,也是构成网页文档的主要语言。HTML文本是由HTML命令组成的描述性文本,HTML命令可以说明文字、图形、动画、声音、表格、链接等。HTML文本的结构包括头部(Head)、主体(Body)两大部分,其中头部描述浏览器所需的信息,而主体则包含所要说明的具体内容。在本申请其他实施例中,获取的电子邮件文本格式也可为其他格式,例如普通文本格式等。The mail receiving module is used for receiving an email, obtaining an HTML text of the email, and storing the HTML text in a local string; wherein the HTML text is currently the most widely used language on the network, and is also the main language constituting the webpage document. HTML text is descriptive text composed of HTML commands, which can describe text, graphics, animations, sounds, tables, links, and more. The structure of the HTML text includes two parts: a head and a body, wherein the head describes the information required by the browser, and the body contains the specific content to be described. In other embodiments of the present application, the obtained email text format may also be other formats, such as a normal text format.
数据下载模块用于在首次接收邮件时向服务器发送关键字信息下载请求,并从服务器的关键字数据库中下载全部关键字信息;The data downloading module is configured to send a keyword information download request to the server when receiving the mail for the first time, and download all keyword information from the keyword database of the server;
数据库模块用保存数据下载模块下载的关键字信息;The database module uses the keyword information downloaded by the save data download module;
索引匹配模块用于根据下载的关键字信息建立关键字索引,通过关键字索引匹配电子邮件HTML文本;其中,关键字索引的建立规则为:根
据HTML文本内容建立索引,或根据关键字的出现频率、热度指数等建立索引。The index matching module is configured to establish a keyword index according to the downloaded keyword information, and match the email HTML text by using a keyword index; wherein the keyword index is established by:
Indexes are based on the content of the HTML text, or based on the frequency of occurrence of the keyword, the heat index, and the like.
关键字判断模块用于判断HTML文本中是否存在关键字;如果HTML文本中存在关键字,通过关键字链接模块生成关键字链接;如果HTML文本中不存在关键字,结束本次关键字链接操作。The keyword determining module is configured to determine whether a keyword exists in the HTML text; if a keyword exists in the HTML text, the keyword link is generated by the keyword linking module; if the keyword does not exist in the HTML text, the keyword linking operation is ended.
关键字链接模块用于根据关键字信息为电子邮件HTML文本中的关键字添加链接信息,生成关键字链接;其中,关键字链接模块为关键字添加链接信息的方式为:假设HTML文本中存在的关键字为“淘宝”,则将HTML文本中所有的关键字“淘宝”都改为“www.taobao.com/q=淘宝”。The keyword linking module is configured to add a link information to the keyword in the email HTML text according to the keyword information, and generate a keyword link; wherein the keyword link module adds the link information to the keyword: assuming that the HTML text exists The keyword is "Taobao", then all the keywords in the HTML text "Taobao" are changed to "www.taobao.com/q=Taobao".
链接插入模块用于将生成的关键字链接插入到HTML文本中关键字的对应位置,并对该关键字进行标注;其中,通过对关键字字符串做拼接操作,从而将生成的关键字链接插入到HTML文本中;通过对关键字进行标注,便于用户查看。The link insertion module is configured to insert the generated keyword link into the corresponding position of the keyword in the HTML text, and mark the keyword; wherein the generated keyword link is inserted by splicing the keyword string Go to the HTML text; it's easy for users to view by tagging the keywords.
链接访问模块用于在点击关键字链接时,进入关键字对应的网页进行访问。The link access module is used to access the webpage corresponding to the keyword when the keyword link is clicked.
更新判断模块用于判断关键字数据库中的关键字信息是否更新,如果关键字数据库中的关键字信息有更新,通过关键字更新模块重新下载关键字信息;其中,判断关键字数据库中的关键字信息是否更新的判断方式为:判断服务器中的关键字数据库是否有修改、添加或删除等操作,或根据关键字数据库的数据大小或关键字信息的条数等判断关键字数据库中的关键字信息。The update judging module is configured to determine whether the keyword information in the keyword database is updated. If the keyword information in the keyword database is updated, the keyword information is re-downloaded by the keyword update module; wherein, the keyword in the keyword database is determined. Whether the information is updated or not is determined by determining whether the keyword database in the server has operations such as modification, addition, or deletion, or determining keyword information in the keyword database according to the data size of the keyword database or the number of keyword information. .
关键字更新模块用于在关键字数据库中的关键字信息有更新时,重新从服务器的关键字数据库中下载全部关键字信息,通过重新下载的关键字信息替换数据库模块中的关键字信息,并通过索引匹配模块根据重新下载的关键字信息重新建立关键字索引;其中,还可以根据服务器更新关键字数据库的时间(目前,服务器会设定一个时间周期对关键字数据库中的关键字信息进行更新,例如,一周或一个月等)对重新下载关键字信息的时间周期进行设定,例如,服务器更新关键字数据库中的关键字信息的时间为一周,则客户端设定重新从服务器的关键字数据库中下载关键字信息的间隔时间为一周,当到达设定的时间后,自动下载关键字数据库中的关键字信息,并替换数据库模块中的关键字信息。The keyword update module is configured to re-download all keyword information from the keyword database of the server when the keyword information in the keyword database is updated, and replace the keyword information in the database module by re-downloading the keyword information, and The index matching module re-establishes the keyword index according to the re-downloaded keyword information; wherein, according to the time when the server updates the keyword database (currently, the server sets a time period to update the keyword information in the keyword database) For example, one week or one month, etc.), the time period for re-downloading the keyword information is set. For example, when the server updates the keyword information in the keyword database for one week, the client sets the keyword from the server again. The interval for downloading keyword information in the database is one week. When the set time is reached, the keyword information in the keyword database is automatically downloaded and the keyword information in the database module is replaced.
本申请实施例只需要在首次接收电子邮件时向服务器发送关键字信
息下载请求,当再次接收电子邮件时,直接通过客户端本地数据库中的关键字信息建立关键字连接,避免造成流量的浪费,并缩短建立关键字链接的时间。The embodiment of the present application only needs to send a keyword letter to the server when receiving the email for the first time.
The information download request, when receiving the email again, directly establish a keyword connection through the keyword information in the client local database, avoiding waste of traffic and shortening the time for establishing the keyword link.
请参阅图6,是本申请实施例的关键字链接系统的结构示意图。本申请实施例的关键字链接系统包括服务器和客户端,服务器和客户端网络连接。服务器用于建立关键字数据库,通过关键字数据库存放关键字信息;客户端用于接收电子邮件,并从服务器的关键字数据库中下载关键字信息,根据关键字信息判断邮件文本中是否存在关键字,如果邮件文本中存在关键字,为该关键字添加链接信息。Please refer to FIG. 6 , which is a schematic structural diagram of a keyword linking system according to an embodiment of the present application. The keyword linking system of the embodiment of the present application includes a server and a client, a server and a client network connection. The server is used to establish a keyword database, and the keyword information is stored in the keyword database; the client is configured to receive the email, and download the keyword information from the keyword database of the server, and determine whether the keyword exists in the email text according to the keyword information. If there is a keyword in the message text, add link information for the keyword.
具体地,服务器的关键字数据库中存放的关键字信息包括但不限于网站等应用名称、当前阶段的敏感热词或新词等,以及关键字对应的链接信息;例如,关键字淘宝以及淘宝链接信息www.taobao.com等。Specifically, the keyword information stored in the keyword database of the server includes, but is not limited to, an application name such as a website, a sensitive hot word or a new word at the current stage, and link information corresponding to the keyword; for example, the keyword Taobao and the Taobao link. Information www.taobao.com and so on.
服务器还包括设置模块,设置模块用于对关键字数据库中的关键字信息进行修改、添加或删除等操作,并可设定关键字信息的数量,例如,设定关键字数据库中存放1000条关键字信息。The server further includes a setting module, which is used to modify, add or delete keyword information in the keyword database, and can set the number of keyword information, for example, setting 1000 keywords in the keyword database. Word information.
客户端包括邮件接收模块、数据下载模块、数据库模块、索引匹配模块、关键字判断模块、关键字链接模块、链接插入模块、链接访问模块、更新判断模块和关键字更新模块;The client comprises a mail receiving module, a data downloading module, a database module, an index matching module, a keyword judging module, a keyword linking module, a link inserting module, a link accessing module, an update judging module and a keyword updating module;
邮件接收模块用于接收电子邮件,获取电子邮件HTML文本,并将HTML文本存入本地字符串中;其中,HTML文本是目前网络上应用最为广泛的语言,也是构成网页文档的主要语言。HTML文本是由HTML命令组成的描述性文本,HTML命令可以说明文字、图形、动画、声音、表格、链接等。HTML文本的结构包括头部(Head)、主体(Body)两大部分,其中头部描述浏览器所需的信息,而主体则包含所要说明的具体内容。在本申请其他实施例中,获取的电子邮件文本格式也可为其他格式,例如普通文本格式等。The mail receiving module is used for receiving an email, obtaining an HTML text of the email, and storing the HTML text in a local string; wherein the HTML text is currently the most widely used language on the network, and is also the main language constituting the webpage document. HTML text is descriptive text composed of HTML commands, which can describe text, graphics, animations, sounds, tables, links, and more. The structure of the HTML text includes two parts: a head and a body, wherein the head describes the information required by the browser, and the body contains the specific content to be described. In other embodiments of the present application, the obtained email text format may also be other formats, such as a normal text format.
数据下载模块用于在首次接收邮件时向服务器发送关键字信息下载请求,并从服务器的关键字数据库中下载全部关键字信息;The data downloading module is configured to send a keyword information download request to the server when receiving the mail for the first time, and download all keyword information from the keyword database of the server;
数据库模块用于保存数据下载模块下载的关键字信息;The database module is configured to save keyword information downloaded by the data download module;
索引匹配模块用于根据下载的关键字信息建立关键字索引,通过关键字索引匹配电子邮件HTML文本;其中,关键字索引的建立规则为:根据HTML文本内容建立索引,或根据关键字的出现频率、热度指数等建
立索引。The index matching module is configured to establish a keyword index according to the downloaded keyword information, and match the email HTML text by using a keyword index; wherein the keyword index is established by: indexing according to the HTML text content, or according to the frequency of occurrence of the keyword , heat index, etc.
Index.
关键字判断模块用于判断HTML文本中是否存在关键字;如果HTML文本中存在关键字,通过关键字链接模块生成关键字链接;如果HTML文本中不存在关键字,结束本次关键字链接操作。The keyword determining module is configured to determine whether a keyword exists in the HTML text; if a keyword exists in the HTML text, the keyword link is generated by the keyword linking module; if the keyword does not exist in the HTML text, the keyword linking operation is ended.
关键字链接模块用于根据关键字信息为电子邮件HTML文本中的关键字添加链接信息,生成关键字链接;其中,关键字链接模块为关键字添加链接信息的方式为:假设HTML文本中存在的关键字为“淘宝”,则将HTML文本中所有的关键字“淘宝”都改为“www.taobao.com/q=淘宝”。The keyword linking module is configured to add a link information to the keyword in the email HTML text according to the keyword information, and generate a keyword link; wherein the keyword link module adds the link information to the keyword: assuming that the HTML text exists The keyword is "Taobao", then all the keywords in the HTML text "Taobao" are changed to "www.taobao.com/q=Taobao".
链接插入模块用于将生成的关键字链接插入到HTML文本中关键字的对应位置,并对该关键字进行标注;其中,通过对关键字字符串做拼接操作,从而将生成的关键字链接插入到HTML文本中;通过对关键字进行标注,便于用户查看。The link insertion module is configured to insert the generated keyword link into the corresponding position of the keyword in the HTML text, and mark the keyword; wherein the generated keyword link is inserted by splicing the keyword string Go to the HTML text; it's easy for users to view by tagging the keywords.
链接访问模块用于在点击关键字链接时,进入关键字对应的网页进行访问。The link access module is used to access the webpage corresponding to the keyword when the keyword link is clicked.
更新判断模块用于判断关键字数据库中的关键字信息是否更新,如果关键字数据库中的关键字信息有更新,通过关键字更新模块重新下载关键字信息;其中,判断关键字数据库中的关键字信息是否更新的判断方式为:判断服务器中的关键字数据库是否有修改、添加或删除等操作,或根据关键字数据库的数据大小或关键字信息的条数等判断关键字数据库中的关键字信息。The update judging module is configured to determine whether the keyword information in the keyword database is updated. If the keyword information in the keyword database is updated, the keyword information is re-downloaded by the keyword update module; wherein, the keyword in the keyword database is determined. Whether the information is updated or not is determined by determining whether the keyword database in the server has operations such as modification, addition, or deletion, or determining keyword information in the keyword database according to the data size of the keyword database or the number of keyword information. .
关键字更新模块用于在关键字数据库中的关键字信息有更新时,重新从服务器的关键字数据库中下载全部关键字信息,通过重新下载的关键字信息替换数据库模块中的关键字信息,并通过索引匹配模块根据重新下载的关键字信息重新建立关键字索引;其中,还可以根据服务器更新关键字数据库的时间(目前,服务器会设定一个时间周期对关键字数据库中的关键字信息进行更新,例如,一周或一个月等)对重新下载关键字信息的时间周期进行设定,例如,服务器更新关键字数据库中的关键字信息的时间为一周,则客户端设定重新从服务器的关键字数据库中下载关键字信息的间隔时间为一周,当到达设定的时间后,自动下载关键字数据库中的关键字信息,并替换数据库模块中的关键字信息。The keyword update module is configured to re-download all keyword information from the keyword database of the server when the keyword information in the keyword database is updated, and replace the keyword information in the database module by re-downloading the keyword information, and The index matching module re-establishes the keyword index according to the re-downloaded keyword information; wherein, according to the time when the server updates the keyword database (currently, the server sets a time period to update the keyword information in the keyword database) For example, one week or one month, etc.), the time period for re-downloading the keyword information is set. For example, when the server updates the keyword information in the keyword database for one week, the client sets the keyword from the server again. The interval for downloading keyword information in the database is one week. When the set time is reached, the keyword information in the keyword database is automatically downloaded and the keyword information in the database module is replaced.
本申请实施例只需要在首次接收电子邮件时向服务器发送关键字信息下载请求,当再次接收电子邮件时,直接通过客户端本地数据库中的关
键字信息建立关键字连接,避免造成流量的浪费,并缩短建立关键字链接的时间。The embodiment of the present application only needs to send a keyword information download request to the server when receiving the email for the first time, and directly receives the email in the client local database when receiving the email again.
Keyword information establishes keyword connections to avoid wasting traffic and shorten the time it takes to create keyword links.
本申请实施例的关键字链接系统通过服务器建立关键字数据库,在首次读取邮件时,通过客户端下载关键字数据库,并根据关键字数据库判断邮件文本中是否存在关键字,如果存在关键字,为存在的关键字添加链接信息生成关键字链接,并将关键字链接插入到邮件文本中,用户通过点击关键字链接即可访问关键字对应网页;客户端还可根据服务器对关键字信息的更新情况重新下载并替换本地数据库中的关键字信息,而无需每次接收邮件时都下载关键字信息,避免造成流量的浪费,并缩短建立关键字链接的时间。本申请操作简单,缩短了网页打开的步骤和时间,提高用户的操作体验。The keyword linking system in the embodiment of the present application establishes a keyword database through the server. When the mail is first read, the keyword database is downloaded through the client, and the keyword database is used to determine whether there is a keyword in the mail text. If a keyword exists, Add link information to existing keywords to generate keyword links, and insert keyword links into the mail text. Users can click the keyword link to access the keyword corresponding web page; the client can also update the keyword information according to the server. The situation re-downloads and replaces the keyword information in the local database without downloading the keyword information every time the email is received, avoiding the waste of traffic and shortening the time to establish the keyword link. The application is simple in operation, shortens the steps and time for opening the webpage, and improves the user's operating experience.
本申请的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本申请实施例的电视机中的一些或者全部部件的一些或者全部功能。本申请还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本申请的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present application can be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components of a television set in accordance with embodiments of the present application. The application can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein. Such a program implementing the present application may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
本发明实施例还提出一种计算机程序,包括计算机可读代码,当所述计算机可读代码在电子设备上运行时,导致所述电子设备执行上述的关键字链接方法。Embodiments of the present invention also provide a computer program comprising computer readable code that, when executed on an electronic device, causes the electronic device to perform the keyword linking method described above.
此外,本发明实施例还提出一种非暂态计算机可读介质,其中存储了上述的计算机程序。Furthermore, embodiments of the present invention also provide a non-transitory computer readable medium in which the above computer program is stored.
图7是本申请实施例提供的用于执行一种关键字链接方法的电子设备的硬件结构示意图,如图7所示,该电子设备包括:FIG. 7 is a schematic structural diagram of hardware of an electronic device for performing a keyword linking method according to an embodiment of the present disclosure. As shown in FIG. 7, the electronic device includes:
一个或多个处理器710以及存储器720,图7中以一个处理器710为例。One or more processors 710 and memory 720, one processor 710 is taken as an example in FIG.
执行列表项操作的处理方法的设备还可以包括:输入装置730和输出装置740。The apparatus for performing the processing method of the list item operation may further include: an input device 730 and an output device 740.
处理器710、存储器720、输入装置730和输出装置740可以通过总线
或者其他方式连接,图7中以通过总线连接为例。The processor 710, the memory 720, the input device 730, and the output device 740 can pass through the bus.
Or other methods of connection, in Figure 7 by way of a bus connection.
存储器720作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的列表项操作的处理方法对应的程序指令/模块(例如,附图4所示的邮件接收模块、数据下载模块、索引匹配模块、关键字判断模块、关键字链接模块)。处理器710通过运行存储在存储器720中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例列表项操作的处理方法。The memory 720 is used as a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer-executable program, and a module, as in the processing method of the list item operation in the embodiment of the present application. Program instructions/modules (for example, the mail receiving module, the data downloading module, the index matching module, the keyword determining module, and the keyword linking module shown in FIG. 4). The processor 710 executes various functional applications of the server and data processing by executing non-volatile software programs, instructions, and modules stored in the memory 720, that is, processing methods for implementing the list item operations of the above method embodiments.
存储器720可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据列表项操作的处理装置的使用所创建的数据等。此外,存储器720可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器720可选包括相对于处理器710远程设置的存储器,这些远程存储器可以通过网络连接至列表项操作的处理装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 720 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created by use of the processing device operated according to the list item, and the like. . Moreover, memory 720 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 720 can optionally include memory remotely located relative to processor 710 that can be connected to the processing device of the list item operation over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置730可接收输入的数字或字符信息,以及产生与列表项操作的处理装置的用户设置以及功能控制有关的键信号输入。输出装置740可包括显示屏等显示设备。 Input device 730 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the processing device operating on the list item. The output device 740 can include a display device such as a display screen.
所述一个或者多个模块存储在所述存储器720中,当被所述一个或者多个处理器710执行时,执行上述任意方法实施例中的列表项操作的处理方法。The one or more modules are stored in the memory 720, and when executed by the one or more processors 710, perform a processing method of a list item operation in any of the above method embodiments.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。The above products can perform the methods provided by the embodiments of the present application, and have the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiments of the present application.
本申请实施例的电子设备以多种形式存在,包括但不限于:The electronic device of the embodiment of the present application exists in various forms, including but not limited to:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手
机、功能性手机,以及低端手机等。(1) Mobile communication devices: These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication. Such terminals include: smart phones (such as iPhone), multimedia hands
Machines, functional phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。(2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access. Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。(3) Portable entertainment devices: These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。(4) Server: A device that provides computing services. The server consists of a processor, a hard disk, a memory, a system bus, etc. The server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
(5)其他具有数据交互功能的电子装置。(5) Other electronic devices with data interaction functions.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the various embodiments can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on such understanding, the above technical solutions may be embodied in the form of software products in essence or in the form of software products, which may be stored in a computer readable storage medium such as a ROM/RAM or a disk. , an optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments or portions of the embodiments.
上述实施例为本申请较佳的实施方式,但本申请的实施方式并不受上述实施例的限制,其他的任何未背离本申请的精神实质与原理下所作的改变、修饰、替代、组合、简化,均应为等效的置换方式,都包含在本申请的保护范围之内。The above-mentioned embodiments are preferred embodiments of the present application, but the embodiments of the present application are not limited to the above embodiments, and any other changes, modifications, substitutions, combinations, and modifications made without departing from the spirit and principles of the present application. Simplifications should be equivalent replacements and are included in the scope of protection of this application.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非
对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application, and not
The present invention is described in detail with reference to the foregoing embodiments, and those skilled in the art should understand that the technical solutions described in the foregoing embodiments may be modified, or some of the technical features may be equivalent. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims (14)
- 一种关键字链接方法,其特征在于,包括:A keyword linking method, comprising:从关键字数据库中下载关键字信息;其中,所述关键字数据库用于存放所述关键字信息;Downloading keyword information from a keyword database; wherein the keyword database is used to store the keyword information;接收电子邮件,根据所下载的所述关键字信息建立关键字索引,通过所述关键字索引匹配所述电子邮件;判断所述电子邮件中是否存在关键字;Receiving an email, establishing a keyword index according to the downloaded keyword information, matching the email by the keyword index; determining whether a keyword exists in the email;如果所述电子邮件中存在关键字,通过所下载的所述关键字信息为所述电子邮件中存在的所述关键字建立关键字链接。If a keyword exists in the email, a keyword link is established for the keyword existing in the email through the downloaded keyword information.
- 根据权利要求1所述的关键字链接方法,其特征在于,所述从关键字数据库中下载所述关键字信息还包括:发送关键字信息下载请求,并从所述关键字数据库中下载全部关键字信息,将所下载的所述全部关键字信息保存在客户端本地数据库中。The keyword linking method according to claim 1, wherein the downloading the keyword information from the keyword database further comprises: transmitting a keyword information download request, and downloading all the keys from the keyword database The word information stores all of the downloaded keyword information in the client local database.
- 根据权利要求1所述的关键字链接方法,其特征在于,所述判断电子邮件中是否存在关键字还包括:获取电子邮件HTML文本,将所述电子邮件HTML文本存入本地字符串中;通过所建立的所述关键字索引匹配所述电子邮件HTML文本;并判断所述电子邮件HTML文本中是否存在关键字;如果所述电子邮件HTML文本中存在关键字,为所述电子邮件HTML文本中存在的所述关键字添加链接信息,生成所述关键字链接。The keyword linking method according to claim 1, wherein the determining whether the keyword exists in the email further comprises: acquiring an email HTML text, and storing the email HTML text in a local string; Establishing the keyword index to match the email HTML text; and determining whether a keyword exists in the email HTML text; if the keyword exists in the email HTML text, in the email HTML text The existing keyword adds link information to generate the keyword link.
- 根据权利要求3所述的关键字链接方法,其特征在于,所述为电子邮件中存在的所述关键字建立关键字链接还包括:将生成的所述关键字链接插入到所述电子邮件HTML文本中所述关键字的对应位置,对插入所述关键字链接的所述关键字进行标注;当点击插入的所述关键字链接时,进入所述关键字链接对应的网页进行访问。The keyword linking method according to claim 3, wherein the establishing a keyword link for the keyword existing in the email further comprises: inserting the generated keyword link into the email HTML The corresponding position of the keyword in the text is marked with the keyword inserted into the keyword link; when the inserted keyword link is clicked, the webpage corresponding to the keyword link is accessed for access.
- 根据权利要求1至4任一项所述的关键字链接方法,其特征在于,所述从所述关键字数据库中下载所述关键字信息还包括:判断所述关键字 数据库中的所述关键字信息是否存在更新,如果所述关键字数据库中的所述关键字信息存在更新,重新从所述关键字数据库中下载所述关键字信息,将重新下载的所述关键字信息替换所述客户端本地数据库中保存的所述关键字信息,并根据所述重新下载的所述关键字信息重新建立所述关键字索引。The keyword linking method according to any one of claims 1 to 4, wherein the downloading the keyword information from the keyword database further comprises: determining the keyword Whether there is an update of the keyword information in the database, if the keyword information in the keyword database is updated, and the keyword information is re-downloaded from the keyword database, the key to be re-downloaded The word information replaces the keyword information saved in the client local database, and re-establishes the keyword index according to the re-downloaded keyword information.
- 一种关键字链接装置,其特征在于,包括:数据下载模块、邮件接收模块、索引匹配模块、关键字判断模块、关键字链接模块;A keyword linking device, comprising: a data downloading module, a mail receiving module, an index matching module, a keyword determining module, and a keyword linking module;所述数据下载模块用于从关键字数据库中下载关键字信息;其中,所述关键字数据库用于存放所述关键字信息;The data downloading module is configured to download keyword information from a keyword database, where the keyword database is used to store the keyword information;所述邮件接收模块用于接收电子邮件;The mail receiving module is configured to receive an email;所述索引匹配模块用于根据所下载的所述关键字信息建立关键字索引,通过所述关键字索引匹配所述电子邮件;The index matching module is configured to establish a keyword index according to the downloaded keyword information, and match the email by using the keyword index;所述关键字判断模块用于判断所述电子邮件中是否存在关键字;The keyword determining module is configured to determine whether a keyword exists in the email;所述关键字链接模块用于在所述电子邮件中存在所述关键字时,通过所下载的所述关键字信息为所述电子邮件中存在的所述关键字建立关键字链接。The keyword linking module is configured to establish a keyword link for the keyword existing in the email by using the downloaded keyword information when the keyword exists in the email.
- 根据权利要求6所述的关键字链接装置,其特征在于,还包括数据库模块,所述数据下载模块还用于发送关键字信息下载请求,并从所述关键字数据库中下载全部关键字信息,将所下载的所述全部关键字信息保存在所述数据库模块中。The keyword linking device according to claim 6, further comprising a database module, wherein the data downloading module is further configured to send a keyword information download request, and download all keyword information from the keyword database. All of the downloaded keyword information is saved in the database module.
- 根据权利要求7所述的关键字链接装置,其特征在于,所述索引匹配模块还用于通过所述关键字索引匹配电子邮件HTML文本;所述关键字判断模块判断电子邮件中是否存在关键字还包括:获取所述电子邮件HTML文本,将所述电子邮件HTML文本存入本地字符串中;通过所建立的关键字索引匹配所述电子邮件HTML文本;并判断所述电子邮件HTML文本中是否存在关键字;如果所述电子邮件HTML文本中存在关键字,通过 所述关键字链接模块为所述电子邮件HTML文本中存在的所述关键字添加链接信息,生成关键字链接。The keyword linking apparatus according to claim 7, wherein the index matching module is further configured to match the email HTML text by the keyword index; the keyword determining module determines whether a keyword exists in the email The method further includes: obtaining the email HTML text, storing the email HTML text in a local string; matching the email HTML text by the established keyword index; and determining whether the email HTML text is a keyword exists; if a keyword exists in the HTML text of the email, The keyword linking module adds link information to the keyword existing in the email HTML text to generate a keyword link.
- 根据权利要求8所述的关键字链接装置,其特征在于,还包括链接插入模块和链接访问模块;所述链接插入模块用于将生成的所述关键字链接插入到所述电子邮件HTML文本中所述关键字的对应位置,对插入所述关键字链接的所述关键字进行标注;所述链接访问模块用于当点击插入的所述关键字链接时,进入所述关键字链接对应的网页进行访问。The keyword linking device according to claim 8, further comprising a link insertion module and a link access module; wherein the link insertion module is configured to insert the generated keyword link into the email HTML text Corresponding position of the keyword, the keyword inserted into the keyword link is marked; the link access module is configured to enter a webpage corresponding to the keyword link when the inserted keyword link is clicked Make an access.
- 根据权利要求9所述的关键字链接装置,其特征在于,还包括更新判断模块和关键字更新模块,所述更新判断模块用于判断所述关键字数据库中的所述关键字信息是否更新;所述关键字更新模块用于在所述关键字数据库中的所述关键字信息有更新时,重新从所述关键字数据库中下载所述关键字信息,通过重新下载的所述关键字信息替换所述数据库模块中保存的所述关键字信息,并通过所述索引匹配模块根据所述重新下载的所述关键字信息重新建立所述关键字索引。The keyword linking device according to claim 9, further comprising an update determining module and a keyword updating module, wherein the update determining module is configured to determine whether the keyword information in the keyword database is updated; The keyword update module is configured to re-download the keyword information from the keyword database when the keyword information in the keyword database is updated, and replace the keyword information by re-downloading And the keyword information is saved in the database module, and the keyword index is re-established by the index matching module according to the re-downloaded keyword information.
- 一种关键字链接系统,包括服务器和根据权利要求6至10中的任一项所述的关键字链接装置,其中,所述服务器用于建立所述关键字数据库,所述关键字数据库用于存放所述关键字信息。A keyword linking system comprising a server and a keyword linking device according to any one of claims 6 to 10, wherein the server is configured to establish the keyword database, and the keyword database is used for Store the keyword information.
- 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在电子设备上运行时,导致所述电子设备执行根据权利要求1-5中的任一个所述的关键字链接方法。A computer program comprising computer readable code, when the computer readable code is run on an electronic device, causing the electronic device to perform the keyword linking method of any of claims 1-5.
- 一种计算机可读介质,其中存储了如权利要求12所述的计算机程序。A computer readable medium storing the computer program of claim 12.
- 一种电子设备,其特征在于,包括:An electronic device, comprising:至少一个处理器;以及At least one processor;与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein所述存储器存储有能够被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:从关键字数据库中下载关键字信息;其中,所述关键字数据库用于存放所述关键字信息; Downloading keyword information from a keyword database; wherein the keyword database is used to store the keyword information;接收电子邮件,根据所下载的所述关键字信息建立关键字索引,通过所述关键字索引匹配所述电子邮件;判断所述电子邮件中是否存在关键字;Receiving an email, establishing a keyword index according to the downloaded keyword information, matching the email by the keyword index; determining whether a keyword exists in the email;如果所述电子邮件中存在关键字,通过所下载的所述关键字信息为所述电子邮件中存在的所述关键字建立关键字链接。 If a keyword exists in the email, a keyword link is established for the keyword existing in the email through the downloaded keyword information.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610334910.2A CN106021489A (en) | 2016-05-19 | 2016-05-19 | Keyword linking method, apparatus and system |
CN201610334910.2 | 2016-05-19 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017197889A1 true WO2017197889A1 (en) | 2017-11-23 |
Family
ID=57096431
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/112419 WO2017197889A1 (en) | 2016-05-19 | 2016-12-27 | Keyword link method, device and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106021489A (en) |
WO (1) | WO2017197889A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106021489A (en) * | 2016-05-19 | 2016-10-12 | 乐视控股(北京)有限公司 | Keyword linking method, apparatus and system |
CN112395524A (en) * | 2020-11-24 | 2021-02-23 | 广州市久邦数码科技有限公司 | Method, device and storage medium for displaying word annotation and paraphrase |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1310423A (en) * | 2000-02-25 | 2001-08-29 | 株式会社歌乐 | Electronic announcement board system and mail service device |
US20050289113A1 (en) * | 2004-06-29 | 2005-12-29 | Blake Bookstaff | Method and system for automated intelligent electronic advertising |
CN101727471A (en) * | 2008-10-30 | 2010-06-09 | 鸿富锦精密工业(深圳)有限公司 | Website content retrieval system and method |
CN103164542A (en) * | 2013-04-15 | 2013-06-19 | 北京奇虎科技有限公司 | Method of data searching and client-side |
CN106021489A (en) * | 2016-05-19 | 2016-10-12 | 乐视控股(北京)有限公司 | Keyword linking method, apparatus and system |
-
2016
- 2016-05-19 CN CN201610334910.2A patent/CN106021489A/en active Pending
- 2016-12-27 WO PCT/CN2016/112419 patent/WO2017197889A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1310423A (en) * | 2000-02-25 | 2001-08-29 | 株式会社歌乐 | Electronic announcement board system and mail service device |
US20050289113A1 (en) * | 2004-06-29 | 2005-12-29 | Blake Bookstaff | Method and system for automated intelligent electronic advertising |
CN101727471A (en) * | 2008-10-30 | 2010-06-09 | 鸿富锦精密工业(深圳)有限公司 | Website content retrieval system and method |
CN103164542A (en) * | 2013-04-15 | 2013-06-19 | 北京奇虎科技有限公司 | Method of data searching and client-side |
CN106021489A (en) * | 2016-05-19 | 2016-10-12 | 乐视控股(北京)有限公司 | Keyword linking method, apparatus and system |
Also Published As
Publication number | Publication date |
---|---|
CN106021489A (en) | 2016-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020253389A1 (en) | Page translation method and apparatus, medium, and electronic device | |
US10108726B2 (en) | Scenario-adaptive input method editor | |
US9021468B1 (en) | Bundling extension installation with web browser installation | |
US10055409B2 (en) | Method and system for document retrieval with selective document comparison | |
KR101117396B1 (en) | Platform for rendering content for a remote device | |
US9436482B2 (en) | Input content to application via web browser | |
TWI590157B (en) | Compressed serialization of data for communication from a client-side application | |
US20080195954A1 (en) | Delivery of contextually relevant web data | |
US20220075932A1 (en) | Method and apparatus for inserting information into online document | |
US20130073946A1 (en) | Method and apparatus for loading webpage content of webkit browser | |
US20090048821A1 (en) | Mobile language interpreter with text to speech | |
WO2017215270A1 (en) | Information presentation method and apparatus, and electronic device | |
US20060294396A1 (en) | Multiplatform synchronized data access from mobile devices of dynamically aggregated content | |
US9250765B2 (en) | Changing icons for a web page | |
WO2021068634A1 (en) | Page jump method and apparatus, electronic device and computer-readable storage medium | |
US20140282032A1 (en) | Dynamically configuring user experiences with action uniform resource identifiers | |
US11907316B2 (en) | Processor-implemented method, computing system and computer program for invoking a search | |
US8856958B1 (en) | Personalized content access prompt | |
CN108023918A (en) | A kind of information on services acquisition methods, apparatus and system | |
US9805181B1 (en) | Messaging channel for web pages and web applications | |
WO2018053594A1 (en) | Emoji images in text messages | |
WO2017197889A1 (en) | Keyword link method, device and system | |
CN107193819B (en) | Method and equipment for webpage pre-reading, browser and client equipment | |
Mehta | Mobile Web Development | |
CN116233041A (en) | Information processing method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16902268 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16902268 Country of ref document: EP Kind code of ref document: A1 |