WO2019161598A1 - Method, apparatus and device for interacting instant messaging with mail, and storage medium - Google Patents
Method, apparatus and device for interacting instant messaging with mail, and storage medium Download PDFInfo
- Publication number
- WO2019161598A1 WO2019161598A1 PCT/CN2018/082244 CN2018082244W WO2019161598A1 WO 2019161598 A1 WO2019161598 A1 WO 2019161598A1 CN 2018082244 W CN2018082244 W CN 2018082244W WO 2019161598 A1 WO2019161598 A1 WO 2019161598A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- instant messaging
- interface
- account
- preset
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/56—Unified messaging, e.g. interactions between e-mail, instant messaging or converged IP messaging [CPM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/42—Mailbox-related aspects, e.g. synchronisation of mailboxes
Definitions
- the present application relates to the field of instant messaging, and in particular, to an instant messaging and mail interaction method, device, device and storage medium.
- the existing instant messaging software is used by more and more enterprises and individuals for interactive information.
- the instant messaging software usually has other functions attached to the actual information interaction, so that the user can respond to the execution of the instant messaging software.
- Tencent QQ has settings for messages, emails, contacts, etc.
- Tencent QQ users can chat on the chat interface, and can also exit the chat interface and trigger the email function on the main interface to send emails.
- Tencent QQ mail is not bound to the user's related account, only when the user needs the chat person to send the mail, the user needs to enter the interface of Tencent QQ mailbox, and re-select the recipient in the interface of Tencent QQ mailbox, and carry out other A series of editing operations, such a mail sending operation is more cumbersome, the user needs to perform complicated operations to send the mail information to the corresponding recipient, how to realize the instant information exchange with the mail, and become a treat Solved technical problems.
- the application provides an instant messaging and mail interaction method, device, device and storage medium, which can make the user's operation more convenient through instant communication and mail interaction.
- the present application provides a method for interacting with a mail and executed by a computer device, and the method for interacting with the mail includes the following steps:
- the preset mail function is triggered based on the instant messaging interface to send the mail;
- the preset instant messaging function is triggered based on the mail function page for instant messaging information transmission.
- the method before the step of receiving the interaction instruction to obtain the current display interface on the display screen, the method includes:
- the IM login command of the IM account is received, and the IM login information in the IM login command is obtained, and the email account is registered according to the IM login information and the interworking authentication table.
- the step of triggering the preset email function based on the instant messaging interface to send the email includes:
- the display information of the current display interface is obtained, and it is determined whether the current display interface is an instant messaging chat interface
- the chat interface includes a chat object
- the step of opening the mail function page, the step of the chat object as a recipient in the mail function page, so that the user sends the mail includes:
- the login command of the email account is triggered based on the IM login information and the interworking authentication table;
- the step of opening the mail function page, after the step of using the chat object as a recipient in the mail function page, to enable the user to send the mail includes:
- the step of triggering the preset instant messaging function based on the mail function page to send the instant messaging information includes:
- the mailbox identifier of the sending account in the current display interface and the mailbox identifier of the receiving account are obtained;
- the preset instant messaging function is triggered to send instant messaging information.
- the step of triggering the instant messaging function to send the instant messaging information includes:
- the login command of the IM account is triggered based on the IM login information and the interworking authentication table;
- the present application further provides an instant messaging and mail interaction device, and the instant messaging and mail interaction device includes:
- Receiving an acquisition module configured to receive an interaction instruction, and acquiring a current display interface on the display screen
- the comparison module is configured to compare the current display interface with the preset interaction interface
- the mail interaction module is configured to trigger a preset mail function based on the instant messaging interface to perform mail sending if the current display interface matches the instant messaging interface in the preset interactive interface;
- the instant messaging interaction module is configured to trigger a preset instant messaging function based on the mail function page to perform instant messaging information transmission if the current display interface matches the mail function page in the preset interaction interface.
- the present application further provides an interactive device for instant messaging and mail
- the instant messaging and mail interaction device includes: a memory, a processor, and an interactive program of the instant messaging and the mail stored on the memory and operable on the processor, wherein:
- the present application further provides a computer storage medium
- the computer storage medium stores an interactive program of instant messaging and mail, and the interactive program of the instant messaging and the mail is executed by the processor to implement the steps of the instant messaging and mail interaction method as described above.
- An instant messaging and mail interaction method, device, device and storage medium are provided by the embodiment of the present application.
- the user triggers an interactive command of instant messaging and mail on the terminal, and the terminal receives an interactive instruction to obtain a current display interface on the display screen of the terminal.
- the terminal compares the current display interface with the preset interaction interface; determines whether the current display interface is an instant messaging interface or a mail function page for interactive response, specifically, if the current display interface and the preset interactive interface are in an instant messaging interface Matching, based on the instant messaging interface triggering the preset mail function, and displaying the mail function page for mail sending; if the current display interface matches the mail function in the preset interactive interface, triggering the preset instant messaging function based on the mail function page And displaying an instant messaging interface for instant messaging information transmission.
- the user does not need to manually perform the instant messaging function or the mail function is enabled, and the terminal can perform instant messaging and mail interaction according to the user's interactive instruction, realizing instant messaging and Switching of the mail page, Now the seamless switch between instant messaging and e-mail sent to help simplify user operations, improve the user experience.
- FIG. 1 is a schematic structural diagram of an apparatus of a hardware operating environment involved in an embodiment of the present application
- FIG. 2 is a schematic diagram of a process of association between an email account and an instant messaging account in an interaction method between instant messaging and mail in the present application;
- FIG. 3 is a schematic flowchart of a first embodiment of an interaction method between instant messaging and mail according to the present application
- step S30 is a schematic flowchart of the refinement of step S30 of the method for interacting with the instant messaging and the mail in FIG. 3;
- FIG. 5 is a schematic flowchart of the refinement of step S33 of the method for interacting with the instant messaging and the mail in FIG. 4;
- FIG. 6 is a schematic flowchart of a second embodiment of an interaction method between instant messaging and mail according to the present application.
- FIG. 8 is a schematic flowchart showing the refinement of step S44 of the method for interacting with the instant messaging and the mail in FIG. 7;
- FIG. 9 is a schematic diagram of a functional module of an instant messaging and mail interaction device of the present application.
- the main solution of the embodiment of the present application is: interworking the IM account information of the instant messaging software registered by the user with the email account information registered by the user, and realizing the interaction between the instant messaging and the mail, and the user can interact with the mailbox based on the instant communication software. Or the user can interact with the instant messaging software on the mail function page, making the user's instant messaging and mail interaction more convenient and efficient.
- the user triggers an interactive command on Tencent QQ (instant messaging software), and the terminal opens a preset mail function page intercommunicating with Tencent QQ (it is required that the preset mail function page interworking with Tencent QQ can be a QQ mailbox interface, It can also be a 139 mailbox interface, that is, the user sets 139 mailbox account and QQ account related, the terminal associates the mailbox login information of the 139 mailbox account with the QQ login information of the QQ account, and generates an interworking authentication table to realize the instant messaging account and the mailbox. Account association), the instant messaging software chat object is displayed as the recipient on the mail function page, and the recipient email information is displayed in the recipient text box of the mail function page. (It should be noted that the number of recipients can be multiple.
- the email accounts of the three recipients can be of different types, for example, one is 139 mailboxes, and one is 163 mailboxes.
- One is a corporate email, etc., and the email is sent according to the user's operation on the mail function page.
- the user can trigger the QQ mail function through QQ and send the mail, but such a method has disadvantages.
- the user needs to operate the user multiple times when the mail function is enabled. The user's operation is more complicated; secondly, the user can only open the mail function page on the instant messaging interface according to the set process, and can not open the instant messaging interface on the mail function page in reverse; in addition, instant messaging and mail are Pre-set, for example, the user can only open QQ mailbox based on Tencent QQ; finally, the existing instant messaging software can not be highly integrated with the mail function, and the instant messaging message and the mail content cannot be intercommunicated in the instant messaging software. Wait.
- FIG. 1 is a schematic structural diagram of a terminal (also called an instant messaging and mail interaction device) in a hardware operating environment according to an embodiment of the present application.
- a terminal also called an instant messaging and mail interaction device
- the terminal in the embodiment of the present application may be a fixed terminal or a mobile terminal, wherein the fixed terminal is an "Internet of Things device", a smart air conditioner with networking function, a smart electric light, a smart power source, etc.; a mobile terminal, such as an AR with networking function /VR devices, smart speakers, self-driving cars, PCs, smart phones, tablets, e-book readers, portable computers and other terminal devices with display functions.
- the fixed terminal is an "Internet of Things device", a smart air conditioner with networking function, a smart electric light, a smart power source, etc.
- a mobile terminal such as an AR with networking function /VR devices, smart speakers, self-driving cars, PCs, smart phones, tablets, e-book readers, portable computers and other terminal devices with display functions.
- the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
- the communication bus 1002 is used to implement connection communication between these components.
- the user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface.
- the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
- the memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
- the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
- the terminal may further include a camera, RF (Radio) Frequency, RF) circuit, sensor, audio circuit, WiFi module; input unit, display screen, touch screen; network interface optional in addition to wireless interface in addition to WiFi, Bluetooth, probe, 3G/4G/5G networked base station equipment, etc. .
- the mobile terminal can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and details are not described herein again.
- terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
- the computer software product is stored in a storage medium (storage medium: also called computer storage medium, computer medium, readable medium, readable storage medium, computer readable storage medium or directly called medium, such as ROM).
- storage medium also called computer storage medium, computer medium, readable medium, readable storage medium, computer readable storage medium or directly called medium, such as ROM).
- /RAM, disk, CD-ROM including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the various embodiments of the present application as a
- the memory 1005 of the computer storage medium may include an operating system, a network communication module, a user interface module, and an interactive application of instant messaging and mail.
- the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server;
- the user interface 1003 is mainly used to connect the client (user end), and perform data communication with the client;
- the processor The 1001 can be used to invoke the interactive application of the instant messaging and the mail stored in the memory 1005, and perform the steps in the method for interacting with the instant messaging and mail provided by the following embodiments of the present application.
- the method for interacting with the instant message and the mail includes:
- the preset mail function is triggered based on the instant messaging interface to send the mail;
- the preset instant messaging function is triggered based on the mail function page for instant messaging information transmission.
- the method includes associating a mail account with an instant messaging account to implement interworking between the mailbox transfer account and the instant messaging account.
- associating the mailbox account with the instant messaging account in the embodiment includes the following steps:
- step S01 the mailbox login information of the email account is associated with the IM login information of the IM account, and an interworking authentication table is generated.
- the terminal interfaces the data interface between the email account and the instant messaging account, that is, the terminal grants the permission between the email account and the instant messaging account according to the user operation, for example, the user's WeChat account and the 139 mobile email account mutually authorize, In order to enable the user to open the interface of the 139 mobile phone mailbox on the WeChat interface.
- the terminal associates the mailbox login information of the email account with the IM login information of the IM account, and generates an interworking authentication table.
- the terminal uses the login information of the WeChat (the WeChat login information includes: WeChat account name, WeChat login password, etc.
- the information is linked to the mailbox login information of the 139 mobile phone mailbox (the mailbox login information includes: the email account name, the email login password, and the like).
- the terminal When the terminal receives the authorization of the user, the terminal generates an interworking authentication table (the interworking authentication table includes The email login information, the login information of the instant messaging software, and the authorization information of the user, so that the terminal logs in to the instant messaging software based on the email login information and the mutual authentication table; or the terminal logs in to the email based on the instant messaging account login information and the interworking authentication table.
- the interworking authentication table includes The email login information, the login information of the instant messaging software, and the authorization information of the user, so that the terminal logs in to the instant messaging software based on the email login information and the mutual authentication table; or the terminal logs in to the email based on the instant messaging account login information and the interworking authentication table.
- Step S02 Receive an email login command of the email account, obtain the email login information in the email login instruction, and log in to the IM account according to the email login information and the mutual authentication table.
- the terminal receives the email login command of the email account, and the terminal obtains the email login information in the email login instruction, so that the terminal receives the interactive instruction on the email function page, and the terminal logs in to the IM account according to the email login information and the mutual authentication table. Trigger the preset instant messaging function to send instant messaging information.
- step S03 the IM login command of the IM account is received, and the IM login information in the IM login command is obtained, and the email account is registered according to the IM login information and the interworking authentication table.
- the terminal receives the IM login command of the IM account, and the terminal obtains the IM login information in the IM login command, so that the terminal receives the interactive command on the communication chat interface, the terminal logs in to the email account according to the IM login information and the interworking authentication table. Trigger the preset mail function to send mail.
- the terminal associates the mailbox login information with the IM login information of the IM account, and generates an interworking authentication table, so as to implement interworking between the email account and the IM account, and realize different types of email accounts and IM accounts.
- the login can be mutually authenticated.
- the instant messaging software can only interact with the corresponding mailbox.
- different email accounts and IM accounts are exchanged according to the user's operating habits, so that The user's instant messaging and mail interaction are more flexible.
- the step of performing an instant messaging and mail interaction method according to a user operation includes:
- Step S10 Receive an interactive instruction to obtain a current display interface on the display screen.
- the interaction instruction the terminal acquires the current interface display information, and the terminal determines a corresponding interaction response step according to the display information on the current display interface, to perform a corresponding interaction response, specifically:
- step S20 the current display interface is compared with the preset interactive interface.
- the terminal will obtain the display information of the current display interface, and the terminal displays the display information on the current display interface with the preset interaction interface (the preset interaction interface is a preset instant messaging interface or a mailbox interface, for example, a chat window interface of the instant messaging software)
- the framework and the main interface framework, or the main interface framework in the mail function page, and the mail content input interface framework are compared. Specifically, the terminal compares the display information of the current display interface with the preset interactive interface display information to determine the current Displays the type of interface.
- step S30 if the current display interface matches the instant messaging interface in the preset interaction interface, the preset mail function is triggered based on the instant messaging interface to send the mail.
- the matching means that the similarity between the current display interface and the instant messaging interface in the preset interaction interface is greater than a preset value (the preset value is determined according to the specific situation).
- the setting for example, is set to 80%), that is, the similarity between the display information in the current display interface and the instant messaging interface in the preset interaction interface is greater than 85, and the terminal determines the instant messaging interface in the current display interface and the preset interaction interface.
- the terminal determines that the user is an interactive command for triggering the mail function on the instant messaging software interface, and the terminal triggers the preset mail function according to the user based on the instant messaging interface, and the terminal opens the corresponding mail function page and sends the mail.
- Step S40 If the current display interface matches the mail function page in the preset interaction interface, the preset instant messaging function is triggered based on the mail function page to perform instant messaging information transmission.
- the matching here means that the current display interface is similar to the preset value of the mail function page in the preset interaction interface (the preset value is set according to the specific situation, For example, the setting is 80%), that is, the display information in the current display interface matches the mail function page in the preset interaction interface, and the terminal determines that the user is an interactive instruction for triggering instant messaging on the mail function page, and the terminal receives the user based mail function.
- the page triggers the preset instant messaging function interactive command, and the interface of the instant messaging application is displayed on the terminal display interface to perform instant messaging information transmission.
- the user does not need to manually perform the instant messaging function or the opening of the mail function
- the terminal can perform instant messaging and mail interaction according to the user's interactive instruction, realize instant messaging and mail page switching, and realize instant messaging and mail sending. Seamless switching between users helps simplify user operations and enhance the user experience.
- the present embodiment is further proposed based on the first embodiment of the present application.
- This embodiment is a refinement of the step S30 in the first embodiment.
- the difference between this embodiment and the first embodiment of the present application is that the steps and principles for implementing the mail interaction on the instant messaging interface are specifically described in the embodiment.
- the method of interacting with instant messaging and mail includes:
- Step S31 If the current display interface matches the instant messaging interface in the preset interaction interface, obtain the display information of the current display interface, and determine whether the current display interface is an instant messaging chat interface.
- the terminal obtains the display information of the instant messaging interface, and determines whether the current display interface is the chat boundary of the instant messaging software.
- Step S32 If the current display interface is a chat interface of the instant messaging software, the chat object of the chat interface is obtained.
- the terminal acquires a chat object of the chat interface (the chat object refers to an account other than the login account user on the terminal), so that the terminal uses the chat object of the chat interface as the mail.
- the recipient sends the mail information; If the current display interface of the terminal is not the chat interface of the instant messaging software and is the main interface information, the terminal logs in to the mail account to open the mail function page according to the IM login information and the mutual authentication table, and does not perform the operation of confirming the recipient information in the mailbox.
- step S33 the mail function page is opened, and the chat object is used as a recipient in the mail function page, so that the user sends the mail.
- the terminal will use the chat object as the recipient and open the mail function page to enable the user to send the mail.
- the step of the terminal using the chat object in the instant messaging software as the recipient of the mail includes: obtaining the terminal The communication account information in the instant messaging software, and obtain the IM account identifier in the communication account information (the IM account identifier refers to: information when the user registers the instant messaging software, and can determine the user information, for example, the user account or the user name) and The mailbox identifier (the mailbox identifier refers to the account information of the email), and the terminal establishes an association relationship between the IM account identifier and the mailbox identifier, so that the terminal obtains the IM account identifier, and the mailbox identifier corresponding to the IM account identifier can be determined according to the preset association relationship. .
- step S33 includes:
- Step S331 obtaining an IM account identifier in the chat interface, and determining a corresponding mailbox identifier according to the preset association relationship.
- the terminal obtains the IM account identifier in the chat interface, and determines the corresponding mailbox identifier according to the preset association relationship (the preset association relationship refers to the relationship between the IM account identifier and the mailbox identifier pre-established according to the user's remark information), and needs to be supplemented.
- the IM account identifier in the chat interface includes: the IM account identifier of the recipient and the IM account identifier of the sender. If the chat interface is a group chat, there may be an IM account identifier of multiple recipients.
- Step S332 determining whether the email account corresponding to the mailbox identifier is logged in.
- the terminal determines whether the email account corresponding to the mailbox identifier is logged in, that is, the terminal obtains the mailbox identifier corresponding to the IM account identifier of the local IM account, and determines whether the email account corresponding to the mailbox identifier is in the login state.
- step S333 if there is no login, the login command of the email account is triggered based on the IM login information and the interworking authentication table.
- the terminal triggers the login command of the email account based on the IM login information and the interworking authentication table, that is, the terminal obtains the email login information according to the IM login information and the interworking authentication table, and triggers the email login instruction.
- Step S334 receiving a login instruction of the email account, opening the mail function page, and using the chat object as a recipient in the mail function page, so that the user sends the mail.
- the terminal receives the login instruction of the email account, opens the mail function page, and uses the chat object as the recipient in the mail function page, the terminal obtains the IM account identifier of the chat object, and the terminal determines the mailbox identifier based on the IM account identifier and the association relationship; The terminal uses the mailbox identifier as the recipient's mailbox information, and displays the mailbox information in the text box corresponding to the recipient on the mail function page, so that the user can send the mail.
- the WeChat account on the instant messaging interface of the terminal is 1xxx4567 (IM account identifier), and the terminal obtains the 139 mailbox identifier of 159xxxx5684@139.com with the WeChat account number being 1xxx4567 in accordance with the WeChat account number being 1xxx4567 and the preset association relationship, and judging the terminal. If the terminal determines that 159xxxx5684@139.com is not logged in, the terminal triggers the login command of the 159xxxx5684@139.com email account based on the IM login information and the interworking authentication table; the terminal obtains the WeChat account number as 1xxx4567.
- the login information and the mutual authentication table are registered in the 159xxxx5684@139.com mailbox, and the terminal obtains the email identifier of the chat object on the instant messaging interface, and displays the email identifier of the chat object on the mail function page corresponding to the recipient. In order for the user to send mail.
- the terminal determines the opened mail function interface according to the current display information, and displays the recipient information on the mail function interface.
- the interaction between different email accounts and the IM account is realized, and the terminal is on the instant messaging interface. Open the email interface directly, making instant messaging and email interaction more convenient and efficient.
- a second embodiment of the present application is further proposed.
- the difference between the second embodiment of the present application and the first embodiment of the present application is that the step of adding the mail content on the mail function page is specifically described in the embodiment; the interaction method between the instant messaging and the mail includes:
- Step S50 Receive a mail content adding request triggered by the mail function page, and obtain a chat identifier included in the mail content adding request.
- the terminal receives the mail content adding request triggered on the mail function page, and obtains the chat identifier included in the mail content adding request, wherein the chat identifier refers to the identifier information corresponding to the user chat information on the instant messaging interface, and the terminal may determine the chat according to the chat identifier. information.
- Step S60 Acquire instant messaging information corresponding to the chat identifier in the instant messaging software, and add the instant messaging information as the email content to the email function page for sending the email.
- the terminal obtains the instant messaging information corresponding to the chat identifier in the chat interface of the instant messaging software, adds the instant messaging information as the email content to the email function page, and displays the email information correspondingly in the text box corresponding to the email content, so as to use the chat record as the email Information is sent.
- the instant message sent in the instant messaging software can be sent as the mail content, so that the user's operation is faster and more convenient, and the user does not need to manually input the information content again, thereby improving the user's operation efficiency and making the mailbox content. Synchronize with instant messaging information, avoiding the omission of information caused by users not seeing instant messaging software.
- the present embodiment is further proposed based on the first embodiment of the present application.
- This embodiment is a refinement of the step S40 in the first embodiment.
- the difference between this embodiment and the first embodiment of the present application is that the steps and principles for implementing the instant messaging software interaction on the mail function page are specifically described in this embodiment. .
- the method for interacting with the instant message and the mail includes:
- Step S41 If the current display interface matches the mail function page in the preset interaction interface, obtain the mailbox identifier of the sending account and the mailbox identifier of the receiving account in the current display interface;
- the terminal obtains the email address information of the recipient and the sender on the mail function page. It should be noted that if the user receives the mail, the terminal on the mail interface The mail account on this machine is the recipient on the mail function page. If the user sends the mail, the mail account on the mail machine on the mail interface is the sender on the mail function page.
- Step S42 determining an IM account identifier of the sending account and an IM account identifier of the receiving account according to the preset association relationship.
- the terminal determines the IM account identifier of the sending account and the IM account identifier of the receiving account according to the preset association relationship, and the terminal determines whether the recipient is at least two, and if the recipient is at least two, the prompt information is displayed for the
- the user determines the chat object of the instant messaging chat window, opens an instant messaging interface according to the email account information and association relationship of the recipient and the sender, and performs instant messaging information based on the group chat window created by the user-determined chat object. send.
- step S43 it is determined whether the IM account identifier of the sender account and the IM account identifier of the recipient account belong to the same type of instant messaging software.
- the terminal determines whether the IM account identifier of the sending account and the IM account identifier of the receiving account belong to the same type of instant messaging software, for example, the terminal determines whether the IM account identifier of the sending account and the IM account identifier of the receiving account are both WeChat or At the same time for QQ.
- step S44 if it belongs to the same type of instant messaging software, the preset instant messaging function is triggered to perform instant messaging information transmission.
- the preset instant messaging function to send instant messaging information. If it belongs to the same type of instant messaging software, trigger the preset instant messaging function to send instant messaging information. If it does not belong to the same type of instant messaging software, select the instant messaging software for logging in to the email account; for example, the user is at 139 mailbox
- the interactive command is triggered, that is, after the user first sends the mail information in the 139 mailbox, the user needs to perform the real-time of the guarantee information, the user triggers the instant messaging interactive command, and the terminal obtains the IM account identifier micro-signal and the recipient corresponding to the 139 mailbox.
- the corresponding QQ number of the mailbox (the recipient's mailbox can be 163 mailbox or other) belongs to the instant messaging software of different types, and the user needs to select the instant messaging software.
- step S44 includes:
- Step S441 if it belongs to the same type of instant messaging software, it is determined whether the IM account is logged in;
- the terminal belongs to the same type of instant messaging software, it is determined whether the IM account is logged in.
- Step S442 if the IM account is not logged in, triggering the login command of the IM account based on the IM login information and the interworking authentication table;
- the terminal is based on the IM login information and the interworking authentication table, and the terminal triggers the login command of the IM account; if the IM account is logged in, the terminal creates a corresponding chat window for instant messaging information transmission.
- Step S443 receiving a login command of the IM account, and creating a corresponding chat window for instant messaging information transmission.
- the terminal receives the login command of the IM account, and creates a corresponding chat window for instant messaging information transmission, that is, according to the recipient and the sender on the email interface are created as a chat window for instant messaging information transmission.
- the terminal opens an instant messaging interface according to the email account information and association relationship between the recipient and the sender, and based on the group chat window created by the user-determined chat object, to perform instant messaging information transmission, and realizes The instant interaction of the instant messaging software is enabled on the terminal mail interface, the terminal quickly opens the instant messaging software, and creates a chat window, thereby improving user operation efficiency.
- the embodiment of the present application further provides an interaction device for instant messaging and mail, and the interaction device between the instant messaging and the mail includes:
- Receiving the acquisition module 10 configured to receive an interaction instruction, and acquire a current display interface on the display screen;
- the comparison module 20 is configured to compare the current display interface with the preset interaction interface
- the mail interaction module 30 is configured to trigger a preset mail function based on the instant messaging interface to perform mail sending if the current display interface matches the instant messaging interface in the preset interaction interface;
- the instant messaging interaction module 40 is configured to trigger a preset instant messaging function based on the mail function page to perform instant messaging information transmission if the current display interface matches the mail function page in the preset interaction interface.
- the steps of implementing the function modules of the instant messaging and the mail interaction device may refer to various embodiments of the method for interacting with the instant messaging and the mail in the present application, and details are not described herein again.
- the embodiment of the present application also proposes a computer storage medium.
- the computer storage medium stores an interactive program of the instant messaging and the mail, and the interactive program of the instant messaging and the mail is executed by the processor to implement the operation in the instant messaging and mail interaction method provided by the foregoing embodiment.
- a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk) includes a plurality of instructions for causing a terminal device to perform the method described in the various embodiments of the present application.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
本申请要求于2018年2月23日提交中国专利局、申请号为201810156138.9、发明名称为“即时通讯与邮件的交互方法、装置、设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。This application claims the priority of the Chinese Patent Application filed on February 23, 2018, the Chinese Patent Office, Application No. 201101156138.9, entitled "Interactive Communication and Mail Interaction Method, Apparatus, Equipment, and Storage Medium", the entire contents of which is hereby incorporated by reference. It is incorporated in the application by reference.
技术领域Technical field
本申请涉及即时通讯领域,尤其涉及即时通讯与邮件的交互方法、装置、设备和存储介质。The present application relates to the field of instant messaging, and in particular, to an instant messaging and mail interaction method, device, device and storage medium.
背景技术Background technique
现有的即时通讯软件被越来越多的企业和个人运用于交互信息,即时通讯软件在现实信息交互时通常附带有其他的功能,以方便用户在即时通讯软件的执行关联响应。The existing instant messaging software is used by more and more enterprises and individuals for interactive information. The instant messaging software usually has other functions attached to the actual information interaction, so that the user can respond to the execution of the instant messaging software.
以腾讯QQ为例,腾讯QQ对应设置有消息、邮件、通讯录等等,腾讯QQ用户可以在聊天界面上进行聊天,还可以在退出聊天界面,在主界面上触发邮件功能进行邮件的发送,但是由于腾讯QQ邮件并没有和用户的相关账户进行绑定,只有用户需要聊天人发送邮件时,用户需要进入腾讯QQ邮箱的界面,并在腾讯QQ邮箱的界面重新选择收件人,并进行其他一系列的编辑操作,这样的邮件发送操作方式较为麻烦,用户需要进行复杂的操作才可以将邮件信息发送至对应的收件人,如何才可以实现即时通讯与邮件便捷的信息交互,成为了亟待解决的技术问题。Take Tencent QQ as an example, Tencent QQ has settings for messages, emails, contacts, etc. Tencent QQ users can chat on the chat interface, and can also exit the chat interface and trigger the email function on the main interface to send emails. However, since Tencent QQ mail is not bound to the user's related account, only when the user needs the chat person to send the mail, the user needs to enter the interface of Tencent QQ mailbox, and re-select the recipient in the interface of Tencent QQ mailbox, and carry out other A series of editing operations, such a mail sending operation is more cumbersome, the user needs to perform complicated operations to send the mail information to the corresponding recipient, how to realize the instant information exchange with the mail, and become a treat Solved technical problems.
上述内容仅用于辅助理解本申请的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist in understanding the technical solutions of the present application, and does not constitute an admission that the above is prior art.
发明内容Summary of the invention
本申请的提供一种即时通讯与邮件的交互方法、装置、设备和存储介质,其可通过即时通讯与邮件的交互,使得用户的操作更加便捷。The application provides an instant messaging and mail interaction method, device, device and storage medium, which can make the user's operation more convenient through instant communication and mail interaction.
本申请提供一种由计算机设备执行的即时通讯与邮件的交互方法,所述即时通讯与邮件的交互方法包括以下步骤:The present application provides a method for interacting with a mail and executed by a computer device, and the method for interacting with the mail includes the following steps:
接收交互指令,获取显示屏上的当前显示界面;Receiving an interactive instruction to obtain a current display interface on the display screen;
将当前显示界面与预置交互界面进行比对;Comparing the current display interface with the preset interactive interface;
若当前显示界面与预置交互界面中的即时通讯界面匹配,则基于即时通讯界面触发预置邮件功能,以进行邮件发送;If the current display interface matches the instant messaging interface in the preset interactive interface, the preset mail function is triggered based on the instant messaging interface to send the mail;
若当前显示界面与预置交互界面中的邮件功能页面匹配,则基于邮件功能页面触发预置即时通讯功能,以进行即时通讯信息发送。If the current display interface matches the mail function page in the preset interaction interface, the preset instant messaging function is triggered based on the mail function page for instant messaging information transmission.
可选地,所述接收交互指令,获取显示屏上的当前显示界面的步骤之前,包括:Optionally, before the step of receiving the interaction instruction to obtain the current display interface on the display screen, the method includes:
将邮箱账户的邮箱登录信息与IM账户的IM登录信息进行关联,并生成互通认证表;Associate the email login information of the email account with the IM login information of the IM account, and generate an interworking authentication table;
接收邮箱账户的邮箱登录指令,获取邮箱登录指令中的邮箱登录信息,以根据邮箱登录信息和互通认证表,登录IM账户;Receiving the email login command of the email account, obtaining the email login information in the email login instruction, and logging in to the IM account according to the email login information and the mutual authentication table;
接收IM账户的IM登录指令,获取IM登录指令中的IM登录信息,以根据IM登录信息和互通认证表,登录邮箱账户。The IM login command of the IM account is received, and the IM login information in the IM login command is obtained, and the email account is registered according to the IM login information and the interworking authentication table.
可选地,所述若当前显示界面与预置交互界面中的即时通讯界面匹配,则基于即时通讯界面触发预置邮件功能,以进行邮件发送的步骤,包括:Optionally, if the current display interface matches the instant messaging interface in the preset interaction interface, the step of triggering the preset email function based on the instant messaging interface to send the email includes:
若当前显示界面与预置交互界面中的即时通讯界面匹配,则获取当前显示界面的显示信息,并判断当前显示界面是否为即时通讯聊天界面;If the current display interface matches the instant messaging interface in the preset interaction interface, the display information of the current display interface is obtained, and it is determined whether the current display interface is an instant messaging chat interface;
若当前显示界面是即时通讯聊天界面,则获取聊天界面中包含聊天对象;If the current display interface is an instant messaging chat interface, the chat interface includes a chat object;
开启邮件功能页面,将聊天对象的作为邮件功能页面中的收件人,以使用户进行邮件发送。Open the mail function page and use the chat object as the recipient in the mail function page to enable the user to send mail.
可选地,所述开启邮件功能页面,将聊天对象的作为邮件功能页面中的收件人,以使用户进行邮件发送的步骤,包括:Optionally, the step of opening the mail function page, the step of the chat object as a recipient in the mail function page, so that the user sends the mail, includes:
获取聊天界面中IM账户标识,并根据预设关联关系确定对应的邮箱标识;Obtain an IM account identifier in the chat interface, and determine a corresponding mailbox identifier according to the preset association relationship;
判断邮箱标识对应的邮箱账户是否登陆;Determine whether the email account corresponding to the mailbox identifier is logged in;
若没有登陆,则基于IM登录信息和互通认证表,触发邮箱账户的登陆指令;If not logged in, the login command of the email account is triggered based on the IM login information and the interworking authentication table;
接收邮箱账户的登陆指令,开启邮件功能页面,并将聊天对象的作为邮件功能页面中的收件人,以使用户进行邮件发送。Receiving the login command of the email account, opening the mail function page, and using the chat object as the recipient in the mail function page, so that the user can send the mail.
可选地,所述开启邮件功能页面,将聊天对象的作为邮件功能页面中的收件人,以使用户进行邮件发送的步骤之后,包括:Optionally, the step of opening the mail function page, after the step of using the chat object as a recipient in the mail function page, to enable the user to send the mail, includes:
接收基于邮件功能页面触发的邮件内容添加请求,获取邮件内容添加请求中包含的聊天标识;Receiving a mail content adding request triggered by the mail function page, and acquiring a chat identifier included in the mail content adding request;
获取即时通讯软件中聊天标识对应的即时通讯信息,将即时通讯信息作为邮件内容添加邮件功能页面上,以进行邮件发送。Obtain the instant messaging information corresponding to the chat identifier in the instant messaging software, and add the instant messaging information as the email content to the email function page for sending the email.
可选地,所述若当前显示界面与预置交互界面中的邮件功能页面匹配,则基于邮件功能页面触发预置即时通讯功能,以进行即时通讯信息发送的步骤,包括:Optionally, if the current display interface matches the mail function page in the preset interaction interface, the step of triggering the preset instant messaging function based on the mail function page to send the instant messaging information includes:
若当前显示界面与预置交互界面中的邮件功能页面匹配,则获取当前显示界面中的发件账户的邮箱标识和收件账户的邮箱标识;If the current display interface matches the mail function page in the preset interaction interface, the mailbox identifier of the sending account in the current display interface and the mailbox identifier of the receiving account are obtained;
根据预设关联关系确定发件账户的IM账户标识和收件账户的IM账户标识;Determining an IM account identifier of the sending account and an IM account identifier of the receiving account according to the preset association relationship;
判断发件账户的IM账户标识和收件账户的IM账户标识是否属于相同类型的即时通讯软件;Determining whether the IM account identifier of the sending account and the IM account identifier of the receiving account belong to the same type of instant messaging software;
若属于相同类型的即时通讯软件,则触发预置即时通讯功能,以进行即时通讯信息发送。If it belongs to the same type of instant messaging software, the preset instant messaging function is triggered to send instant messaging information.
可选地,所述若属于相同类型的即时通讯软件,则触发预置即时通讯功能,以进行即时通讯信息发送的步骤,包括:Optionally, if the instant messaging software of the same type belongs to the instant messaging function, the step of triggering the instant messaging function to send the instant messaging information includes:
若属于相同类型的即时通讯软件,则判断IM账户是否登陆;If it belongs to the same type of instant messaging software, it is judged whether the IM account is logged in;
若IM账户没有登陆,则基于IM登录信息和互通认证表,触发IM账户的登陆指令;If the IM account is not logged in, the login command of the IM account is triggered based on the IM login information and the interworking authentication table;
接收IM账户的登陆指令,并创建对应的聊天窗口,以进行即时通讯信息发送。Receive the login command of the IM account and create a corresponding chat window for instant messaging information transmission.
此外,为实现上述目的,本申请还提供一种即时通讯与邮件的交互装置,所述即时通讯与邮件的交互装置包括:In addition, in order to achieve the above object, the present application further provides an instant messaging and mail interaction device, and the instant messaging and mail interaction device includes:
接收获取模块,设置为接收交互指令,获取显示屏上的当前显示界面;Receiving an acquisition module, configured to receive an interaction instruction, and acquiring a current display interface on the display screen;
比对模块,设置为将当前显示界面与预置交互界面进行比对;The comparison module is configured to compare the current display interface with the preset interaction interface;
邮件交互模块,设置为若当前显示界面与预置交互界面中的即时通讯界面匹配,则基于即时通讯界面触发预置邮件功能,以进行邮件发送;The mail interaction module is configured to trigger a preset mail function based on the instant messaging interface to perform mail sending if the current display interface matches the instant messaging interface in the preset interactive interface;
即时通讯交互模块,设置为若当前显示界面与预置交互界面中的邮件功能页面匹配,则基于邮件功能页面触发预置即时通讯功能,以进行即时通讯信息发送。The instant messaging interaction module is configured to trigger a preset instant messaging function based on the mail function page to perform instant messaging information transmission if the current display interface matches the mail function page in the preset interaction interface.
此外,为实现上述目的,本申请还提供一种即时通讯与邮件的交互设备;In addition, to achieve the above object, the present application further provides an interactive device for instant messaging and mail;
所述即时通讯与邮件的交互设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的即时通讯与邮件的交互程序,其中:The instant messaging and mail interaction device includes: a memory, a processor, and an interactive program of the instant messaging and the mail stored on the memory and operable on the processor, wherein:
所述即时通讯与邮件的交互程序被所述处理器执行时实现如上述的即时通讯与邮件的交互方法的步骤。The step of realizing the interaction method of the instant messaging and the mail as described above when the interactive program of the instant messaging and the mail is executed by the processor.
此外,为实现上述目的,本申请还提供一种计算机存储介质;In addition, to achieve the above object, the present application further provides a computer storage medium;
所述计算机存储介质上存储有即时通讯与邮件的交互程序,所述即时通讯与邮件的交互程序被处理器执行时实现如上述的即时通讯与邮件的交互方法的步骤。The computer storage medium stores an interactive program of instant messaging and mail, and the interactive program of the instant messaging and the mail is executed by the processor to implement the steps of the instant messaging and mail interaction method as described above.
本申请实施例提出的一种即时通讯与邮件的交互方法、装置、设备和存储介质,用户在终端上触发即时通讯与邮件的交互指令,终端接收交互指令,获取终端显示屏上的当前显示界面;终端将当前显示界面与预置交互界面进行比对;判断当前显示界面是即时通讯界面还是邮件功能页面,以进行交互响应,具体地,若当前显示界面与预置交互界面中的即时通讯界面匹配,则基于即时通讯界面触发预置邮件功能,并显示邮件功能页面,以进行邮件发送;若当前显示界面与预置交互界面中的邮件功能匹配,则基于邮件功能页面触发预置即时通讯功能,并显示即时通讯界面,以进行即时通讯信息发送,在本申请中无需用户手动执行即时通讯功能或者邮件功能的开启,终端可根据用户的交互指令进行即时通讯和邮件的交互,实现即时通讯和邮件页面的切换,实现了即时通讯与邮件发送之间的无缝切换,有助于简化用户操作、提升用户体验。An instant messaging and mail interaction method, device, device and storage medium are provided by the embodiment of the present application. The user triggers an interactive command of instant messaging and mail on the terminal, and the terminal receives an interactive instruction to obtain a current display interface on the display screen of the terminal. The terminal compares the current display interface with the preset interaction interface; determines whether the current display interface is an instant messaging interface or a mail function page for interactive response, specifically, if the current display interface and the preset interactive interface are in an instant messaging interface Matching, based on the instant messaging interface triggering the preset mail function, and displaying the mail function page for mail sending; if the current display interface matches the mail function in the preset interactive interface, triggering the preset instant messaging function based on the mail function page And displaying an instant messaging interface for instant messaging information transmission. In this application, the user does not need to manually perform the instant messaging function or the mail function is enabled, and the terminal can perform instant messaging and mail interaction according to the user's interactive instruction, realizing instant messaging and Switching of the mail page, Now the seamless switch between instant messaging and e-mail sent to help simplify user operations, improve the user experience.
附图说明DRAWINGS
图1是本申请实施例方案涉及的硬件运行环境的装置结构示意图;1 is a schematic structural diagram of an apparatus of a hardware operating environment involved in an embodiment of the present application;
图2为本申请即时通讯与邮件的交互方法中邮箱账户与即时通讯账户之间关联的流程示意图;2 is a schematic diagram of a process of association between an email account and an instant messaging account in an interaction method between instant messaging and mail in the present application;
图3为本申请即时通讯与邮件的交互方法第一实施例的流程示意图;3 is a schematic flowchart of a first embodiment of an interaction method between instant messaging and mail according to the present application;
图4为图3中即时通讯与邮件的交互方法的步骤S30的细化流程示意图;4 is a schematic flowchart of the refinement of step S30 of the method for interacting with the instant messaging and the mail in FIG. 3;
图5为图4中即时通讯与邮件的交互方法的步骤S33的细化流程示意图;FIG. 5 is a schematic flowchart of the refinement of step S33 of the method for interacting with the instant messaging and the mail in FIG. 4;
图6为本申请即时通讯与邮件的交互方法第二实施例的流程示意图; 6 is a schematic flowchart of a second embodiment of an interaction method between instant messaging and mail according to the present application;
图7为图3中即时通讯与邮件的交互方法的步骤S40的细化流程示意图;7 is a schematic diagram showing a refinement process of step S40 of the method for interacting with instant messaging and mail in FIG. 3;
图8为图7中即时通讯与邮件的交互方法的步骤S44的细化流程示意图;FIG. 8 is a schematic flowchart showing the refinement of step S44 of the method for interacting with the instant messaging and the mail in FIG. 7;
图9为本申请即时通讯与邮件的交互装置的一功能模块示意图。FIG. 9 is a schematic diagram of a functional module of an instant messaging and mail interaction device of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features and advantages of the present application will be further described with reference to the accompanying drawings.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
本申请实施例的主要解决方案是:将用户注册的即时通讯软件的IM账户信息与用户注册的邮箱账户信息进行互通,实现即时通讯与邮件的交互,用户可以基于即时通信软件与邮箱进行交互,或者用户可以在邮件功能页面上与即时通讯软件进行交互,使得用户即时通讯与邮件的交互更加便捷高效。The main solution of the embodiment of the present application is: interworking the IM account information of the instant messaging software registered by the user with the email account information registered by the user, and realizing the interaction between the instant messaging and the mail, and the user can interact with the mailbox based on the instant communication software. Or the user can interact with the instant messaging software on the mail function page, making the user's instant messaging and mail interaction more convenient and efficient.
例如,用户在腾讯QQ(即时通讯软件)上触发交互指令,终端开启与腾讯QQ互通的预置邮件功能页面(需要说明的是,与腾讯QQ互通的预置邮件功能页面可以是QQ邮箱界面,还可以是139邮箱界面,即,用户设置139邮箱账户和QQ账户相关,终端将139邮箱账户的邮箱登录信息与QQ账户的QQ登录信息进行关联,并生成互通认证表,实现即时通讯账户与邮箱账户的关联),邮件功能页面上显示即时通讯软件聊天对象作为收件人,并在邮件功能页面收件人文本框中显示接收人邮箱信息 (需要说明的是,收件人可以是多个,例如,收件人有3个时,3个收件人的邮箱账户可以是的是不同类型,例如一个是139邮箱、一个是163邮箱、一个是企业邮箱等),并根据用户在邮件功能页面上的操作,进行邮件的发送。For example, the user triggers an interactive command on Tencent QQ (instant messaging software), and the terminal opens a preset mail function page intercommunicating with Tencent QQ (it is required that the preset mail function page interworking with Tencent QQ can be a QQ mailbox interface, It can also be a 139 mailbox interface, that is, the user sets 139 mailbox account and QQ account related, the terminal associates the mailbox login information of the 139 mailbox account with the QQ login information of the QQ account, and generates an interworking authentication table to realize the instant messaging account and the mailbox. Account association), the instant messaging software chat object is displayed as the recipient on the mail function page, and the recipient email information is displayed in the recipient text box of the mail function page. (It should be noted that the number of recipients can be multiple. For example, when there are 3 recipients, the email accounts of the three recipients can be of different types, for example, one is 139 mailboxes, and one is 163 mailboxes. One is a corporate email, etc., and the email is sent according to the user's operation on the mail function page.
由于现有技术中即时通讯软件通常设置有邮件功能,用户可以通过QQ触发QQ邮件功能,并进行邮件发送,但是这样的方法存在不足之处,首先,用户在开启邮件功能时需要用户多次操作,用户的操作较为繁杂;其次,用户只能按照设置的流程,在即时通讯界面上开启邮件功能页面,而并不能反向地在邮件功能页面上开启即时通讯界面;此外,即时通讯与邮件是预先设置好的,例如,用户只能基于腾讯QQ开启QQ邮箱;最后,现有的即时通讯软件并不能真正的与邮件功能进行高度融合,即时通讯软件上即时通讯消息与邮件内容并不能进行互通等。Since the instant messaging software in the prior art is usually provided with the mail function, the user can trigger the QQ mail function through QQ and send the mail, but such a method has disadvantages. First, the user needs to operate the user multiple times when the mail function is enabled. The user's operation is more complicated; secondly, the user can only open the mail function page on the instant messaging interface according to the set process, and can not open the instant messaging interface on the mail function page in reverse; in addition, instant messaging and mail are Pre-set, for example, the user can only open QQ mailbox based on Tencent QQ; finally, the existing instant messaging software can not be highly integrated with the mail function, and the instant messaging message and the mail content cannot be intercommunicated in the instant messaging software. Wait.
如图1所示,图1是本申请实施例方案涉及的硬件运行环境的终端(终端又叫即时通讯与邮件的交互设备)结构示意图。As shown in FIG. 1 , FIG. 1 is a schematic structural diagram of a terminal (also called an instant messaging and mail interaction device) in a hardware operating environment according to an embodiment of the present application.
本申请实施例终端可以固定终端,也可以是移动终端,其中,固定终端如“物联网设备”、带联网功能的智能空调、智能电灯、智能电源等等;移动终端,如带联网功能的AR/VR设备,智能音箱、自动驾驶汽车、PC,智能手机、平板电脑、电子书阅读器、便携计算机等具有显示功能的终端设备。The terminal in the embodiment of the present application may be a fixed terminal or a mobile terminal, wherein the fixed terminal is an "Internet of Things device", a smart air conditioner with networking function, a smart electric light, a smart power source, etc.; a mobile terminal, such as an AR with networking function /VR devices, smart speakers, self-driving cars, PCs, smart phones, tablets, e-book readers, portable computers and other terminal devices with display functions.
如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1, the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to implement connection communication between these components. The user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). The memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage. The memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
可选地,终端还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块;输入单元,比显示屏,触摸屏;网络接口可选除无线接口中除WiFi外,蓝牙、探针、3G/4G/5G联网基站设备等等。当然,移动终端还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Optionally, the terminal may further include a camera, RF (Radio) Frequency, RF) circuit, sensor, audio circuit, WiFi module; input unit, display screen, touch screen; network interface optional in addition to wireless interface in addition to WiFi, Bluetooth, probe, 3G/4G/5G networked base station equipment, etc. . Of course, the mobile terminal can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and details are not described herein again.
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It will be understood by those skilled in the art that the terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
如图1所示,该计算机软件产品存储在一个存储介质(存储介质:又叫计算机存储介质、计算机介质、可读介质、可读存储介质、计算机可读存储介质或者直接叫介质等,如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及即时通讯与邮件的交互应用程序。As shown in FIG. 1, the computer software product is stored in a storage medium (storage medium: also called computer storage medium, computer medium, readable medium, readable storage medium, computer readable storage medium or directly called medium, such as ROM). /RAM, disk, CD-ROM, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the various embodiments of the present application as a The memory 1005 of the computer storage medium may include an operating system, a network communication module, a user interface module, and an interactive application of instant messaging and mail.
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的即时通讯与邮件的交互应用程序,并执行本申请以下实施例提供的即时通讯与邮件的交互方法中的步骤。In the terminal shown in FIG. 1, the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server; the user interface 1003 is mainly used to connect the client (user end), and perform data communication with the client; and the processor The 1001 can be used to invoke the interactive application of the instant messaging and the mail stored in the memory 1005, and perform the steps in the method for interacting with the instant messaging and mail provided by the following embodiments of the present application.
本申请即时通讯与邮件的交互方法的第一实施例中,所述即时通讯与邮件的交互方法包括:In the first embodiment of the method for interacting with an instant message and a mail, the method for interacting with the instant message and the mail includes:
接收交互指令,获取显示屏上的当前显示界面;Receiving an interactive instruction to obtain a current display interface on the display screen;
将当前显示界面与预置交互界面进行比对;Comparing the current display interface with the preset interactive interface;
若当前显示界面与预置交互界面中的即时通讯界面匹配,则基于即时通讯界面触发预置邮件功能,以进行邮件发送;If the current display interface matches the instant messaging interface in the preset interactive interface, the preset mail function is triggered based on the instant messaging interface to send the mail;
若当前显示界面与预置交互界面中的邮件功能页面匹配,则基于邮件功能页面触发预置即时通讯功能,以进行即时通讯信息发送。If the current display interface matches the mail function page in the preset interaction interface, the preset instant messaging function is triggered based on the mail function page for instant messaging information transmission.
进一步地,在本实施例之前,包括将邮件账户与即时通讯账户进行关联,实现邮箱转账户与即时通讯账户的互通。Further, before the embodiment, the method includes associating a mail account with an instant messaging account to implement interworking between the mailbox transfer account and the instant messaging account.
具体地,参照图2,在本实施例中将邮箱账户与即时通讯账户之间进行关联包括以下步骤:Specifically, referring to FIG. 2, associating the mailbox account with the instant messaging account in the embodiment includes the following steps:
步骤S01,将邮箱账户的邮箱登录信息与IM账户的IM登录信息进行关联,并生成互通认证表。In step S01, the mailbox login information of the email account is associated with the IM login information of the IM account, and an interworking authentication table is generated.
终端将邮箱账户与即时通讯账户之间的数据接口进行对接,即,终端根据用户操作的将邮箱账户与即时通讯账户之间相互授予权限,例如,用户的微信账户与139手机邮箱账户互相授权,以使用户在微信的界面可开启139手机邮箱的界面。The terminal interfaces the data interface between the email account and the instant messaging account, that is, the terminal grants the permission between the email account and the instant messaging account according to the user operation, for example, the user's WeChat account and the 139 mobile email account mutually authorize, In order to enable the user to open the interface of the 139 mobile phone mailbox on the WeChat interface.
具体地,终端将邮箱账户的邮箱登录信息与IM账户的IM登录信息进行关联,并生成互通认证表,例如,终端将微信的登录信息(微信的登录信息包括:微信账户名称、微信登录密码等信息)的和139手机邮箱的邮箱登录信息(邮箱登录信息包括:邮箱账户名称、邮箱登录密码等信息)进行关联,在终端接收到用户的授权时,终端生成互通认证表(互通认证表中包含邮箱登录信息、即时通讯软件的登录信息以及用户的授权信息),以使终端基于邮箱登录信息和互通认证表登录即时通讯软件;或者终端基于即时通讯账户登录信息和互通认证表登录邮箱。Specifically, the terminal associates the mailbox login information of the email account with the IM login information of the IM account, and generates an interworking authentication table. For example, the terminal uses the login information of the WeChat (the WeChat login information includes: WeChat account name, WeChat login password, etc. The information is linked to the mailbox login information of the 139 mobile phone mailbox (the mailbox login information includes: the email account name, the email login password, and the like). When the terminal receives the authorization of the user, the terminal generates an interworking authentication table (the interworking authentication table includes The email login information, the login information of the instant messaging software, and the authorization information of the user, so that the terminal logs in to the instant messaging software based on the email login information and the mutual authentication table; or the terminal logs in to the email based on the instant messaging account login information and the interworking authentication table.
步骤S02,接收邮箱账户的邮箱登录指令,获取邮箱登录指令中的邮箱登录信息,以根据邮箱登录信息和互通认证表,登录IM账户。Step S02: Receive an email login command of the email account, obtain the email login information in the email login instruction, and log in to the IM account according to the email login information and the mutual authentication table.
终端接收邮箱账户的邮箱登录指令,终端获取邮箱登录指令中的邮箱登录信息,以使终端接收到邮件功能页面上的交互指令时,则终端根据邮箱登录信息和互通认证表,登录IM账户,以触发预置即时通讯功能,以进行即时通讯信息发送。The terminal receives the email login command of the email account, and the terminal obtains the email login information in the email login instruction, so that the terminal receives the interactive instruction on the email function page, and the terminal logs in to the IM account according to the email login information and the mutual authentication table. Trigger the preset instant messaging function to send instant messaging information.
步骤S03,接收IM账户的IM登录指令,获取IM登录指令中的IM登录信息,以根据IM登录信息和互通认证表,登录邮箱账户。In step S03, the IM login command of the IM account is received, and the IM login information in the IM login command is obtained, and the email account is registered according to the IM login information and the interworking authentication table.
终端接收IM账户的IM登录指令,终端获取IM登录指令中的IM登录信息,以使终端接收到通讯聊天界面上的交互指令时,则终端根据IM登录信息和互通认证表,登录邮箱账户,以触发预置邮件功能,以进行邮件发送。The terminal receives the IM login command of the IM account, and the terminal obtains the IM login information in the IM login command, so that the terminal receives the interactive command on the communication chat interface, the terminal logs in to the email account according to the IM login information and the interworking authentication table. Trigger the preset mail function to send mail.
在本实施例中,终端通过将邮箱登录信息与IM账户的IM登录信息进行关联,并生成互通认证表,实现邮箱账户和IM账户的互通,实现不同的类型的邮箱账户和IM账户之间在用户授权时可以相互验证登录,相比现有技术中即时通讯软件只能和对应的邮箱进行交互相比,本实施例中根据用户的操作习惯将不同的邮箱账户和IM账户进行账户互通,使得用户的即时通讯与邮件的交互更加灵活。In this embodiment, the terminal associates the mailbox login information with the IM login information of the IM account, and generates an interworking authentication table, so as to implement interworking between the email account and the IM account, and realize different types of email accounts and IM accounts. When the user is authorized, the login can be mutually authenticated. Compared with the prior art, the instant messaging software can only interact with the corresponding mailbox. In this embodiment, different email accounts and IM accounts are exchanged according to the user's operating habits, so that The user's instant messaging and mail interaction are more flexible.
进一步地,参照图3,在本申请的第一实施例中,根据用户的操作进行即时通讯与邮件的交互方法的步骤包括:Further, referring to FIG. 3, in the first embodiment of the present application, the step of performing an instant messaging and mail interaction method according to a user operation includes:
步骤S10,接收交互指令,获取显示屏上的当前显示界面。Step S10: Receive an interactive instruction to obtain a current display interface on the display screen.
用户在终端即时通讯界面上点击邮箱标识的图标,或者用户在邮件功能页面时上点击带有即时通讯标识的图标,以触发即时通讯与邮件的交互指令,终端接收用户在终端显示界面上触发的交互指令,终端获取当前界面显示信息,终端根据当前显示界面上的显示信息确定对应的交互响应步骤,以进行对应的交互响应,具体地:The user clicks the icon of the mailbox identifier on the instant messaging interface of the terminal, or clicks the icon with the instant messaging identifier on the email function page to trigger the interactive command of the instant messaging and the email, and the terminal receives the trigger triggered by the user on the terminal display interface. The interaction instruction, the terminal acquires the current interface display information, and the terminal determines a corresponding interaction response step according to the display information on the current display interface, to perform a corresponding interaction response, specifically:
步骤S20,将当前显示界面与预置交互界面进行比对。In step S20, the current display interface is compared with the preset interactive interface.
终端将获取的当前显示界面的显示信息,终端将当前显示界面上的显示信息与预置交互界面(预置交互界面是预先设置的即时通讯界面或者邮箱界面,例如,即时通讯软件的聊天窗口界面框架和主界面框架,或者邮件功能页面中的主界面框架,邮件内容输入界面框架)进行比对,具体地,终端将当前显示界面的显示信息与预置交互界面显示信息进行比对,确定当前显示界面的类型。The terminal will obtain the display information of the current display interface, and the terminal displays the display information on the current display interface with the preset interaction interface (the preset interaction interface is a preset instant messaging interface or a mailbox interface, for example, a chat window interface of the instant messaging software) The framework and the main interface framework, or the main interface framework in the mail function page, and the mail content input interface framework are compared. Specifically, the terminal compares the display information of the current display interface with the preset interactive interface display information to determine the current Displays the type of interface.
步骤S30,若当前显示界面与预置交互界面中的即时通讯界面匹配,则基于即时通讯界面触发预置邮件功能,以进行邮件发送。In step S30, if the current display interface matches the instant messaging interface in the preset interaction interface, the preset mail function is triggered based on the instant messaging interface to send the mail.
若终端判定当前显示界面与预置交互界面中的即时通讯界面匹配,这里的匹配是指当前显示界面与预置交互界面中的即时通讯界面的相似度大于预设值(预设值根据具体情况设置,例如,设置为80%),即,当前显示界面中的显示信息与预置交互界面中的即时通讯界面的相似度大于85,终端确定当前显示界面与预置交互界面中的即时通讯界面匹配,终端确定用户是在即时通讯软件界面上触发邮件功能的交互指令,终端根据用户基于即时通讯界面触发预置邮件功能,终端开启对应的邮件功能页面,并进行邮件发送。If the terminal determines that the current display interface matches the instant messaging interface in the preset interaction interface, the matching here means that the similarity between the current display interface and the instant messaging interface in the preset interaction interface is greater than a preset value (the preset value is determined according to the specific situation). The setting, for example, is set to 80%), that is, the similarity between the display information in the current display interface and the instant messaging interface in the preset interaction interface is greater than 85, and the terminal determines the instant messaging interface in the current display interface and the preset interaction interface. Matching, the terminal determines that the user is an interactive command for triggering the mail function on the instant messaging software interface, and the terminal triggers the preset mail function according to the user based on the instant messaging interface, and the terminal opens the corresponding mail function page and sends the mail.
步骤S40,若当前显示界面与预置交互界面中的邮件功能页面匹配,则基于邮件功能页面触发预置即时通讯功能,以进行即时通讯信息发送。Step S40: If the current display interface matches the mail function page in the preset interaction interface, the preset instant messaging function is triggered based on the mail function page to perform instant messaging information transmission.
若终端当前显示界面与预置交互界面中的邮件功能页面,这里的匹配是指当前显示界面与预置交互界面中的邮件功能页面的相似的大于预设值(预设值根据具体情况设置,例如设置为80%)即,当前显示界面中的显示信息与预置交互界面中的邮件功能页面匹配,终端确定用户是在邮件功能页面上触发即时通讯的交互指令,则终端接收用户基于邮件功能页面触发预置即时通讯功能交互指令,终端显示屏显示界面上显示即时通信应用的界面,以进行即时通讯信息发送。If the current display interface of the terminal and the mail function page in the preset interaction interface, the matching here means that the current display interface is similar to the preset value of the mail function page in the preset interaction interface (the preset value is set according to the specific situation, For example, the setting is 80%), that is, the display information in the current display interface matches the mail function page in the preset interaction interface, and the terminal determines that the user is an interactive instruction for triggering instant messaging on the mail function page, and the terminal receives the user based mail function. The page triggers the preset instant messaging function interactive command, and the interface of the instant messaging application is displayed on the terminal display interface to perform instant messaging information transmission.
在本实施例中无需用户手动执行即时通讯功能或者邮件功能的开启,终端可根据用户的交互指令进行即时通讯和邮件的交互,实现即时通讯和邮件页面的切换,实现了即时通讯与邮件发送之间的无缝切换,有助于简化用户操作、提升用户体验。In this embodiment, the user does not need to manually perform the instant messaging function or the opening of the mail function, and the terminal can perform instant messaging and mail interaction according to the user's interactive instruction, realize instant messaging and mail page switching, and realize instant messaging and mail sending. Seamless switching between users helps simplify user operations and enhance the user experience.
进一步的,参照图4,在本申请第一实施例的基础上,进一步提出了本实施例。Further, referring to FIG. 4, the present embodiment is further proposed based on the first embodiment of the present application.
本实施例是第一实施例中步骤S30的细化,本实施例与本申请第一实施例的区别在于,本实施例中具体说明了在即时通讯界面上实现邮件交互的步骤和原理;所述即时通讯与邮件的交互方法包括:This embodiment is a refinement of the step S30 in the first embodiment. The difference between this embodiment and the first embodiment of the present application is that the steps and principles for implementing the mail interaction on the instant messaging interface are specifically described in the embodiment. The method of interacting with instant messaging and mail includes:
步骤S31,若当前显示界面与预置交互界面中的即时通讯界面匹配,则获取当前显示界面的显示信息,并判断当前显示界面是否为即时通讯聊天界面。Step S31: If the current display interface matches the instant messaging interface in the preset interaction interface, obtain the display information of the current display interface, and determine whether the current display interface is an instant messaging chat interface.
若终端当前显示界面与预置交互界面中的即时通讯界面匹配,则终端获取即时通讯界面的显示信息,并判断当前显示界面是否为即时通讯软件的聊天界。If the current display interface of the terminal matches the instant messaging interface in the preset interaction interface, the terminal obtains the display information of the instant messaging interface, and determines whether the current display interface is the chat boundary of the instant messaging software.
步骤S32,若当前显示界面是即时通讯软件的聊天界面,则获取聊天界面的聊天对象。Step S32: If the current display interface is a chat interface of the instant messaging software, the chat object of the chat interface is obtained.
若终端当前显示界面是即时通讯软件的聊天界面,则终端获取聊天界面的聊天对象(聊天对象是指除终端上登录账户用户之外的账户),以使终端将聊天界面的聊天对象作为邮件的收件人进行邮件信息的发送; 若终端当前显示界面不是即时通讯软件的聊天界面,是主界面信息,则终端根据IM登录信息和互通认证表,登录邮件账户开启邮件功能页面,并不进行邮箱中收件人信息确认的操作。If the current display interface of the terminal is a chat interface of the instant messaging software, the terminal acquires a chat object of the chat interface (the chat object refers to an account other than the login account user on the terminal), so that the terminal uses the chat object of the chat interface as the mail. The recipient sends the mail information; If the current display interface of the terminal is not the chat interface of the instant messaging software and is the main interface information, the terminal logs in to the mail account to open the mail function page according to the IM login information and the mutual authentication table, and does not perform the operation of confirming the recipient information in the mailbox.
步骤S33,开启邮件功能页面,将聊天对象的作为邮件功能页面中的收件人,以使用户进行邮件发送。In step S33, the mail function page is opened, and the chat object is used as a recipient in the mail function page, so that the user sends the mail.
终端将将聊天对象作为收件人,并开启邮件功能页面,以使用户进行邮件发送,具体地,终端将即时通讯软件中聊天对象作为邮件的收件人的步骤,之前,还包括:终端获取即时通讯软件中的通讯账户信息,并获取通讯账户信息中的IM账户标识(IM账户标识是指:用户注册即时通讯软件时的信息,可以确定用户的信息,例如,用户账户或用户名称)和邮箱标识(邮箱标识是指邮件的账户信息),终端建立IM账户标识和邮箱标识之间的关联关系,以使终端获取到IM账户标识,可根据预设关联关系确定IM账户标识对应的邮箱标识。The terminal will use the chat object as the recipient and open the mail function page to enable the user to send the mail. Specifically, the step of the terminal using the chat object in the instant messaging software as the recipient of the mail includes: obtaining the terminal The communication account information in the instant messaging software, and obtain the IM account identifier in the communication account information (the IM account identifier refers to: information when the user registers the instant messaging software, and can determine the user information, for example, the user account or the user name) and The mailbox identifier (the mailbox identifier refers to the account information of the email), and the terminal establishes an association relationship between the IM account identifier and the mailbox identifier, so that the terminal obtains the IM account identifier, and the mailbox identifier corresponding to the IM account identifier can be determined according to the preset association relationship. .
具体地,参照图5,步骤S33中包括:Specifically, referring to FIG. 5, step S33 includes:
步骤S331,获取聊天界面中IM账户标识,并根据预设关联关系确定对应的邮箱标识。Step S331, obtaining an IM account identifier in the chat interface, and determining a corresponding mailbox identifier according to the preset association relationship.
终端获取聊天界面中IM账户标识,并根据预设关联关系(预设关联关系是指根据用户的备注信息预先建立的IM账户标识和邮箱标识之间的关系)确定对应的邮箱标识,需要补充说明的是聊天界面中IM账户标识包括:收件人的IM账户标识和发件人的IM账户标识,若聊天界面为群组聊天时还可以存在多个收件人的IM账户标识。The terminal obtains the IM account identifier in the chat interface, and determines the corresponding mailbox identifier according to the preset association relationship (the preset association relationship refers to the relationship between the IM account identifier and the mailbox identifier pre-established according to the user's remark information), and needs to be supplemented. The IM account identifier in the chat interface includes: the IM account identifier of the recipient and the IM account identifier of the sender. If the chat interface is a group chat, there may be an IM account identifier of multiple recipients.
步骤S332,判断邮箱标识对应的邮箱账户是否登陆。Step S332, determining whether the email account corresponding to the mailbox identifier is logged in.
终端判断邮箱标识对应的邮箱账户是否登陆,即,终端获取本机IM账户的IM账户标识对应的邮箱标识,并判断该邮箱标识对应的邮箱账户是否处于登陆状态。The terminal determines whether the email account corresponding to the mailbox identifier is logged in, that is, the terminal obtains the mailbox identifier corresponding to the IM account identifier of the local IM account, and determines whether the email account corresponding to the mailbox identifier is in the login state.
步骤S333,若没有登陆,则基于IM登录信息和互通认证表,触发邮箱账户的登陆指令。In step S333, if there is no login, the login command of the email account is triggered based on the IM login information and the interworking authentication table.
若没有登陆,则终端基于IM登录信息和互通认证表,触发邮箱账户的登陆指令,即,终端根据IM登录信息和互通认证表得到邮件登录信息,并触发邮箱登录指令。If the login is not performed, the terminal triggers the login command of the email account based on the IM login information and the interworking authentication table, that is, the terminal obtains the email login information according to the IM login information and the interworking authentication table, and triggers the email login instruction.
步骤S334,接收邮箱账户的登陆指令,开启邮件功能页面,并将聊天对象的作为邮件功能页面中的收件人,以使用户进行邮件发送。Step S334, receiving a login instruction of the email account, opening the mail function page, and using the chat object as a recipient in the mail function page, so that the user sends the mail.
终端接收邮箱账户的登陆指令,开启邮件功能页面,并将聊天对象的作为邮件功能页面中的收件人,终端获取聊天对象的IM账户标识,终端并基于IM账户标识和关联关系确定邮箱标识;终端将邮箱标识作为收件人的邮箱信息,将邮箱信息显示在邮件功能页面上收件人对应的文本框,以使用户进行邮件发送。The terminal receives the login instruction of the email account, opens the mail function page, and uses the chat object as the recipient in the mail function page, the terminal obtains the IM account identifier of the chat object, and the terminal determines the mailbox identifier based on the IM account identifier and the association relationship; The terminal uses the mailbox identifier as the recipient's mailbox information, and displays the mailbox information in the text box corresponding to the recipient on the mail function page, so that the user can send the mail.
例如,终端即时通讯界面上微信账号为1xxx4567(IM账户标识),终端根据微信账号为1xxx4567和预设关联关系获取微信账号为1xxx4567中用户备注的159xxxx5684@139.com的139邮箱标识,并判断终端上是否已登录159xxxx5684@139.com邮箱,若终端判定159xxxx5684@139.com没有登录,则终端基于IM登录信息和互通认证表触发159xxxx5684@139.com邮箱账户的登陆指令;终端获取微信账号为1xxx4567的登录信息和互通认证表,登录159xxxx5684@139.com邮箱,终端获取即时通讯界面上的聊天对象的邮件标识,并将聊天对象的邮件标识显示在邮件功能页面上收件人对应的文本框,以使用户进行邮件发送。For example, the WeChat account on the instant messaging interface of the terminal is 1xxx4567 (IM account identifier), and the terminal obtains the 139 mailbox identifier of 159xxxx5684@139.com with the WeChat account number being 1xxx4567 in accordance with the WeChat account number being 1xxx4567 and the preset association relationship, and judging the terminal. If the terminal determines that 159xxxx5684@139.com is not logged in, the terminal triggers the login command of the 159xxxx5684@139.com email account based on the IM login information and the interworking authentication table; the terminal obtains the WeChat account number as 1xxx4567. The login information and the mutual authentication table are registered in the 159xxxx5684@139.com mailbox, and the terminal obtains the email identifier of the chat object on the instant messaging interface, and displays the email identifier of the chat object on the mail function page corresponding to the recipient. In order for the user to send mail.
在本实施例中终端根据当前显示信息确定开启的邮件功能界面,并在邮件功能界面上显示收件人信息,本实施例中实现了不同邮箱账户与IM账户的交互,终端在即时通讯界面上直接开启邮箱界面,使得即时通讯与邮件的交互更加便捷高效。In this embodiment, the terminal determines the opened mail function interface according to the current display information, and displays the recipient information on the mail function interface. In this embodiment, the interaction between different email accounts and the IM account is realized, and the terminal is on the instant messaging interface. Open the email interface directly, making instant messaging and email interaction more convenient and efficient.
进一步的,参照图6,在本申请第一实施例的基础上,进一步提出了本申请的第二实施例。本申请第二实施例与本申请第一实施例的区别在于,本实施例中具体说明了邮件功能页面上添加邮件内容的步骤;所述即时通讯与邮件的交互方法包括:Further, referring to FIG. 6, based on the first embodiment of the present application, a second embodiment of the present application is further proposed. The difference between the second embodiment of the present application and the first embodiment of the present application is that the step of adding the mail content on the mail function page is specifically described in the embodiment; the interaction method between the instant messaging and the mail includes:
步骤S50,接收基于邮件功能页面触发的邮件内容添加请求,获取邮件内容添加请求中包含的聊天标识。Step S50: Receive a mail content adding request triggered by the mail function page, and obtain a chat identifier included in the mail content adding request.
终端接收邮件功能页面上触发的邮件内容添加请求,获取邮件内容添加请求中包含的聊天标识,其中,聊天标识是指即时通讯界面上的用户聊天信息对应的标识信息,终端可根据聊天标识确定聊天信息。The terminal receives the mail content adding request triggered on the mail function page, and obtains the chat identifier included in the mail content adding request, wherein the chat identifier refers to the identifier information corresponding to the user chat information on the instant messaging interface, and the terminal may determine the chat according to the chat identifier. information.
步骤S60,获取即时通讯软件中聊天标识对应的即时通讯信息,将即时通讯信息作为邮件内容添加邮件功能页面上,以进行邮件发送。Step S60: Acquire instant messaging information corresponding to the chat identifier in the instant messaging software, and add the instant messaging information as the email content to the email function page for sending the email.
终端获取即时通讯软件聊天界面中聊天标识对应的即时通讯信息,将即时通讯信息作为邮件内容添加邮件功能页面上,并终端将邮件信息对应显示在邮件内容对应的文本框,以将聊天记录作为邮件信息进行发送。The terminal obtains the instant messaging information corresponding to the chat identifier in the chat interface of the instant messaging software, adds the instant messaging information as the email content to the email function page, and displays the email information correspondingly in the text box corresponding to the email content, so as to use the chat record as the email Information is sent.
在本实施例中可以将即时通讯软件中发送的即时消息作为邮件内容进行发送,使得用户的操作更加快捷,方便,用户不用手动进行信息内容的再次输入,提高了用户的操作效率,使得邮箱内容与即时通讯信息实现同步,避免了用户由于查看即时通讯软件不及时导致的信息遗漏。In this embodiment, the instant message sent in the instant messaging software can be sent as the mail content, so that the user's operation is faster and more convenient, and the user does not need to manually input the information content again, thereby improving the user's operation efficiency and making the mailbox content. Synchronize with instant messaging information, avoiding the omission of information caused by users not seeing instant messaging software.
进一步的,参照图7,在本申请第一实施例的基础上,进一步提出了本实施例。Further, with reference to FIG. 7, the present embodiment is further proposed based on the first embodiment of the present application.
本实施例是第一实施例中步骤S40的细化,本实施例与本申请第一实施例的区别在于,本实施例中具体说明了在邮件功能页面上实现即时通讯软件交互的步骤和原理。所述即时通讯与邮件的交互方法包括:This embodiment is a refinement of the step S40 in the first embodiment. The difference between this embodiment and the first embodiment of the present application is that the steps and principles for implementing the instant messaging software interaction on the mail function page are specifically described in this embodiment. . The method for interacting with the instant message and the mail includes:
步骤S41,若当前显示界面与预置交互界面中的邮件功能页面匹配,则获取当前显示界面中的发件账户的邮箱标识和收件账户的邮箱标识;Step S41: If the current display interface matches the mail function page in the preset interaction interface, obtain the mailbox identifier of the sending account and the mailbox identifier of the receiving account in the current display interface;
若当前显示界面是预置交互界面中的邮件功能页面,则终端获取邮件功能页面上收件人和发件人的邮箱账户信息,需要说明的是,若用户接收到邮件,则邮件界面上终端本机上的邮件账户是邮件功能页面上收件人,若用户进行邮件发送,则邮件界面上终端本机上的邮件账户是邮件功能页面上发件人。If the current display interface is the mail function page in the preset interactive interface, the terminal obtains the email address information of the recipient and the sender on the mail function page. It should be noted that if the user receives the mail, the terminal on the mail interface The mail account on this machine is the recipient on the mail function page. If the user sends the mail, the mail account on the mail machine on the mail interface is the sender on the mail function page.
步骤S42,根据预设关联关系确定发件账户的IM账户标识和收件账户的IM账户标识。Step S42, determining an IM account identifier of the sending account and an IM account identifier of the receiving account according to the preset association relationship.
终端根据预设关联关系确定发件账户的IM账户标识和收件账户的IM账户标识,终端判断收件人是否为至少两个,若收件人是至少两个,则显示提示信息,以供用户确定即时通讯聊天窗口的聊天对象,根据收件人和发件人的邮箱账户信息和关联关系,开启即时通讯界面,并基于用户确定的聊天对象创建的群组聊天窗口,以进行即时通讯信息发送。The terminal determines the IM account identifier of the sending account and the IM account identifier of the receiving account according to the preset association relationship, and the terminal determines whether the recipient is at least two, and if the recipient is at least two, the prompt information is displayed for the The user determines the chat object of the instant messaging chat window, opens an instant messaging interface according to the email account information and association relationship of the recipient and the sender, and performs instant messaging information based on the group chat window created by the user-determined chat object. send.
步骤S43,判断发件账户的IM账户标识和收件账户的IM账户标识是否属于相同类型的即时通讯软件。In step S43, it is determined whether the IM account identifier of the sender account and the IM account identifier of the recipient account belong to the same type of instant messaging software.
终端判断发件账户的IM账户标识和收件账户的IM账户标识是否属于相同类型的即时通讯软件,例如,终端确定发件账户的IM账户标识和收件账户的IM账户标识是否同时为微信或者同时为QQ。The terminal determines whether the IM account identifier of the sending account and the IM account identifier of the receiving account belong to the same type of instant messaging software, for example, the terminal determines whether the IM account identifier of the sending account and the IM account identifier of the receiving account are both WeChat or At the same time for QQ.
步骤S44,若属于相同类型的即时通讯软件,则触发预置即时通讯功能,以进行即时通讯信息发送。In step S44, if it belongs to the same type of instant messaging software, the preset instant messaging function is triggered to perform instant messaging information transmission.
若属于相同类型的即时通讯软件,则触发预置即时通讯功能,以进行即时通讯信息发送,若不属于相同类型的即时通讯软件,则选择登录邮箱账户的即时通讯软件;例如,用户在139邮箱上触发交互指令,即用户先在139邮箱进行邮件信息发送完成后,用户需要再进行保证信息的实时性,用户触发即时通讯交互指令,终端获取139邮箱对应的IM账户标识微信号和收件人邮箱(收件人邮箱可以是163邮箱或者其他)对应的QQ号,则属于不相同类型的即时通讯软件,则需要用户选择即时通讯软件。If it belongs to the same type of instant messaging software, trigger the preset instant messaging function to send instant messaging information. If it does not belong to the same type of instant messaging software, select the instant messaging software for logging in to the email account; for example, the user is at 139 mailbox The interactive command is triggered, that is, after the user first sends the mail information in the 139 mailbox, the user needs to perform the real-time of the guarantee information, the user triggers the instant messaging interactive command, and the terminal obtains the IM account identifier micro-signal and the recipient corresponding to the 139 mailbox. The corresponding QQ number of the mailbox (the recipient's mailbox can be 163 mailbox or other) belongs to the instant messaging software of different types, and the user needs to select the instant messaging software.
进一步地,参照图8,步骤S44包括:Further, referring to FIG. 8, step S44 includes:
步骤S441,若属于相同类型的即时通讯软件,则判断IM账户是否登陆;Step S441, if it belongs to the same type of instant messaging software, it is determined whether the IM account is logged in;
终端属于相同类型的即时通讯软件,则判断IM账户是否登陆。If the terminal belongs to the same type of instant messaging software, it is determined whether the IM account is logged in.
步骤S442,若IM账户没有登陆,则基于IM登录信息和互通认证表,触发IM账户的登陆指令;Step S442, if the IM account is not logged in, triggering the login command of the IM account based on the IM login information and the interworking authentication table;
若IM账户没有登陆,则终端基于IM登录信息和互通认证表,终端触发IM账户的登陆指令;若IM账户登陆,则终端创建对应的聊天窗口,以进行即时通讯信息发送。If the IM account is not logged in, the terminal is based on the IM login information and the interworking authentication table, and the terminal triggers the login command of the IM account; if the IM account is logged in, the terminal creates a corresponding chat window for instant messaging information transmission.
步骤S443,接收IM账户的登陆指令,并创建对应的聊天窗口,以进行即时通讯信息发送。Step S443, receiving a login command of the IM account, and creating a corresponding chat window for instant messaging information transmission.
终端接收IM账户的登陆指令,并创建对应的聊天窗口,以进行即时通讯信息发送,即,根据将邮箱界面上的收件人和发件人创建为一个聊天窗口,以进行即时通讯信息发送。The terminal receives the login command of the IM account, and creates a corresponding chat window for instant messaging information transmission, that is, according to the recipient and the sender on the email interface are created as a chat window for instant messaging information transmission.
在本实施例中终端根据收件人和发件人的邮箱账户信息和关联关系,开启即时通讯界面,并基于用户确定的聊天对象创建的群组聊天窗口,以进行即时通讯信息发送,实现了终端邮件界面上开启即时通讯软件的快速交互,终端快速地开启即时通讯软件,并创建聊天窗口,提高了用户操作效率。In this embodiment, the terminal opens an instant messaging interface according to the email account information and association relationship between the recipient and the sender, and based on the group chat window created by the user-determined chat object, to perform instant messaging information transmission, and realizes The instant interaction of the instant messaging software is enabled on the terminal mail interface, the terminal quickly opens the instant messaging software, and creates a chat window, thereby improving user operation efficiency.
此外,参照图9,本申请实施例还提出了即时通讯与邮件的交互装置,所述即时通讯与邮件的交互装置包括: In addition, referring to FIG. 9, the embodiment of the present application further provides an interaction device for instant messaging and mail, and the interaction device between the instant messaging and the mail includes:
接收获取模块10,设置为接收交互指令,获取显示屏上的当前显示界面;Receiving the acquisition module 10, configured to receive an interaction instruction, and acquire a current display interface on the display screen;
比对模块20,设置为将当前显示界面与预置交互界面进行比对;The comparison module 20 is configured to compare the current display interface with the preset interaction interface;
邮件交互模块30,设置为若当前显示界面与预置交互界面中的即时通讯界面匹配,则基于即时通讯界面触发预置邮件功能,以进行邮件发送;The mail interaction module 30 is configured to trigger a preset mail function based on the instant messaging interface to perform mail sending if the current display interface matches the instant messaging interface in the preset interaction interface;
即时通讯交互模块40,设置为若当前显示界面与预置交互界面中的邮件功能页面匹配,则基于邮件功能页面触发预置即时通讯功能,以进行即时通讯信息发送。The instant messaging interaction module 40 is configured to trigger a preset instant messaging function based on the mail function page to perform instant messaging information transmission if the current display interface matches the mail function page in the preset interaction interface.
其中,即时通讯与邮件的交互装置的各个功能模块实现的步骤可参照本申请即时通讯与邮件的交互方法的各个实施例,此处不再赘述。The steps of implementing the function modules of the instant messaging and the mail interaction device may refer to various embodiments of the method for interacting with the instant messaging and the mail in the present application, and details are not described herein again.
此外,本申请实施例还提出了计算机存储介质。In addition, the embodiment of the present application also proposes a computer storage medium.
所述计算机存储介质上存储有即时通讯与邮件的交互程序,所述即时通讯与邮件的交互程序被处理器执行时实现上述实施例提供的即时通讯与邮件的交互方法中的操作。The computer storage medium stores an interactive program of the instant messaging and the mail, and the interactive program of the instant messaging and the mail is executed by the processor to implement the operation in the instant messaging and mail interaction method provided by the foregoing embodiment.
需要说明的是,在对于装置实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,此外,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备执行本申请各个实施例所述的方法。It should be noted that, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment. The device embodiments described above are merely illustrative. In addition, the technical solutions of the present application, which are essential or contribute to the prior art, may be embodied in the form of a software product stored as above. A storage medium (such as a ROM/RAM, a magnetic disk, an optical disk) includes a plurality of instructions for causing a terminal device to perform the method described in the various embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above is only a preferred embodiment of the present application, and is not intended to limit the scope of the patent application, and the equivalent structure or equivalent process transformations made by the specification and the drawings of the present application, or directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of this application.
Claims (20)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810156138.9A CN108390818B (en) | 2018-02-23 | 2018-02-23 | Method, device, equipment and storage medium for interaction of instant messaging and mails |
| CN201810156138.9 | 2018-02-23 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019161598A1 true WO2019161598A1 (en) | 2019-08-29 |
Family
ID=63069133
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2018/082244 Ceased WO2019161598A1 (en) | 2018-02-23 | 2018-04-09 | Method, apparatus and device for interacting instant messaging with mail, and storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN108390818B (en) |
| WO (1) | WO2019161598A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114374665A (en) * | 2021-12-31 | 2022-04-19 | 上海掌门科技有限公司 | A method, apparatus, medium and program product for sending mail |
| CN116016402A (en) * | 2022-12-07 | 2023-04-25 | 深圳渊联技术有限公司 | Message interaction method and communication system for communication application |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109815100B (en) * | 2019-01-04 | 2022-06-28 | 深圳市象形字科技股份有限公司 | Behavior monitoring method for CABAO software by utilizing image contrast analysis |
| CN110661698A (en) * | 2019-09-23 | 2020-01-07 | 天津中新智冠信息技术有限公司 | Mail system with instant messaging function |
| CN113595850B (en) * | 2020-04-30 | 2022-11-25 | 北京字节跳动网络技术有限公司 | Information interaction method, device, server, system and storage medium |
| CN111756617A (en) * | 2020-05-15 | 2020-10-09 | 广东理工学院 | A communication method and communication device integrating instant messaging and mailbox communication |
| CN113079085B (en) * | 2021-03-30 | 2023-01-10 | 北京有竹居网络技术有限公司 | Business service interaction method, device, equipment and storage medium |
| CN115604212B (en) * | 2021-06-28 | 2025-02-07 | 腾讯科技(深圳)有限公司 | A method for sending mail, related device and equipment |
| CN114553804B (en) * | 2022-02-16 | 2025-05-09 | 北京淘友天下科技发展有限公司 | Message transmission method and device, electronic equipment and computer readable storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090098894A1 (en) * | 2007-10-16 | 2009-04-16 | Sybase 365, Inc. | System and Method for Enhanced Content Delivery |
| CN102609168A (en) * | 2011-01-25 | 2012-07-25 | 联想(北京)有限公司 | Processing method for application object and electronic device |
| CN105955968A (en) * | 2015-09-15 | 2016-09-21 | 平安科技(深圳)有限公司 | Data query and search method and system |
| CN107122654A (en) * | 2017-04-26 | 2017-09-01 | 杜敬红 | Intelligent switch method and system |
| CN107193445A (en) * | 2017-06-30 | 2017-09-22 | 上海传英信息技术有限公司 | Interface of mobile terminal switches display methods and display device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110572312B (en) * | 2016-03-28 | 2022-06-28 | 阿里巴巴集团控股有限公司 | Mail sending and prompting method and device for instant messaging application |
-
2018
- 2018-02-23 CN CN201810156138.9A patent/CN108390818B/en active Active
- 2018-04-09 WO PCT/CN2018/082244 patent/WO2019161598A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090098894A1 (en) * | 2007-10-16 | 2009-04-16 | Sybase 365, Inc. | System and Method for Enhanced Content Delivery |
| CN102609168A (en) * | 2011-01-25 | 2012-07-25 | 联想(北京)有限公司 | Processing method for application object and electronic device |
| CN105955968A (en) * | 2015-09-15 | 2016-09-21 | 平安科技(深圳)有限公司 | Data query and search method and system |
| CN107122654A (en) * | 2017-04-26 | 2017-09-01 | 杜敬红 | Intelligent switch method and system |
| CN107193445A (en) * | 2017-06-30 | 2017-09-22 | 上海传英信息技术有限公司 | Interface of mobile terminal switches display methods and display device |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114374665A (en) * | 2021-12-31 | 2022-04-19 | 上海掌门科技有限公司 | A method, apparatus, medium and program product for sending mail |
| CN114374665B (en) * | 2021-12-31 | 2024-04-09 | 上海掌门科技有限公司 | A method, device, medium and program product for sending mail |
| CN116016402A (en) * | 2022-12-07 | 2023-04-25 | 深圳渊联技术有限公司 | Message interaction method and communication system for communication application |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108390818A (en) | 2018-08-10 |
| CN108390818B (en) | 2020-01-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2019161598A1 (en) | Method, apparatus and device for interacting instant messaging with mail, and storage medium | |
| WO2019174090A1 (en) | Screenshot file sharing control method, apparatus and device, and computer storage medium | |
| WO2020147383A1 (en) | Process examination and approval method, device and system employing blockchain system, and non-volatile storage medium | |
| WO2019144738A1 (en) | Financial service verification method, apparatus and device, and computer storage medium | |
| WO2014175602A1 (en) | Electronic device and method of registering personal cloud apparatus in user portal server thereof | |
| WO2018233352A1 (en) | Data transmission method, device, terminal and computer readable storage medium | |
| WO2020224246A1 (en) | Block chain-based data management method and apparatus, device and storage medium | |
| WO2015103954A1 (en) | Information sharing method, information sharing apparatus, and electronic device | |
| WO2020253120A1 (en) | Webpage registration method, system and device, and computer storage medium | |
| WO2016119414A1 (en) | Two-dimensional barcode-based file sharing method, system and mobile terminal | |
| WO2012100607A1 (en) | Terminal desktop processing system, terminal, server and method | |
| WO2014201838A1 (en) | Social information push method and system, push server and storage medium | |
| WO2020206899A1 (en) | Timestamp-based identity verification method, apparatus and device, and storage medium | |
| WO2012139443A1 (en) | Method for transmitting session messages in instant communication, instant communication client and storage medium thereof | |
| WO2014198101A1 (en) | Electronic account login method, intelligent terminal and mobile terminal | |
| WO2020019405A1 (en) | Database monitoring method, device and apparatus, and computer storage medium | |
| WO2020042464A1 (en) | Data interaction method, apparatus and device, and readable storage medium | |
| WO2014112754A1 (en) | Web service push method and web service push server and web service providing server performing same | |
| WO2019205288A1 (en) | Connection establishment method, system, and device, and computer readable storage medium | |
| WO2020042471A1 (en) | Firewall policy verification method, system and device, and readable storage medium | |
| WO2020097995A1 (en) | Electricity consumption amount monitoring method for household appliance, and air conditioner and storage medium | |
| WO2012022215A1 (en) | Interaction method, device, and system for interactive message on internet | |
| WO2018014594A1 (en) | Network request and response processing method, device, terminal, server and storage medium | |
| WO2019017544A1 (en) | User authentication service provision method, web server, and user terminal | |
| WO2018120311A1 (en) | Method and device capable of verifying sending time of electronic mail |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18906911 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17/11/2020 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18906911 Country of ref document: EP Kind code of ref document: A1 |