CN107819830A - A kind of IM softwares send document method and device - Google Patents

A kind of IM softwares send document method and device Download PDF

Info

Publication number
CN107819830A
CN107819830A CN201710991557.XA CN201710991557A CN107819830A CN 107819830 A CN107819830 A CN 107819830A CN 201710991557 A CN201710991557 A CN 201710991557A CN 107819830 A CN107819830 A CN 107819830A
Authority
CN
China
Prior art keywords
window
session window
file
transmission process
document transmission
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.)
Withdrawn
Application number
CN201710991557.XA
Other languages
Chinese (zh)
Inventor
黄允芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Billion Kesaizhuo Electronic Technology Co Ltd
Original Assignee
Suzhou Billion Kesaizhuo Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Billion Kesaizhuo Electronic Technology Co Ltd filed Critical Suzhou Billion Kesaizhuo Electronic Technology Co Ltd
Priority to CN201710991557.XA priority Critical patent/CN107819830A/en
Publication of CN107819830A publication Critical patent/CN107819830A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The invention discloses a kind of IM softwares to send document method and device, the session window currently presented by determining IM softwares;Obtain the file transfer operation event in the window;When detecting that new session window opens event, judge whether document transmission process terminates, if it is not, then keeping document transmission process to correspond to former session window.Because the present invention has first detected whether that IM software windows transmit file before new window opening, rather than file is directly transferred to new window and opened, reduce file error of transmission, avoid and other windows are arrived into file misinformation, caused by file divulge a secret, and the trouble brought for user.

Description

A kind of IM softwares send document method and device
Technical field
The present invention relates to Internet technology, more particularly to a kind of IM softwares to send document method and device.
Background technology
Using certain FTP come to transmit file between the computers by network be a kind of very universal method, Wherein FTP (File Transfer Protocol, FTP) agreement be internet upload transmit file it is most important Method.User can mutually transmit file by File Transfer Protocol between the computer of more networkings.
Current file transmission method includes instrument and sends (such as mail), the shared copy of hard disk, cyberspace sharing download, but These methods are difficult to determine whether other side receives, it is often necessary to and it is another to ward off channel communication (such as phone, short message, instant message instrument), So use very inconvenient.
In order to solve file-sharing and message binding purpose, the current method for carrying out file transmission using instant message has two Kind:One kind is to carry out point-to-point file transmission in session window, and this method is that user opens chat window, clicks on selection and sends File directly pulls file to chat window directly from native operating sys-tern file, due to that must be two in chat window People's point-to-point (starting client and purpose client directly establish connection of shaking hands) it requires not by server transport file File only allows to be transmitted to a people simultaneously, and both sides must be simultaneously online in transmitting procedure, if user carries out mass-sending file, by Quiescing.Which is very easy to use due to can be initiated at any time in chat process, so being widely used.
But if during user transmits file, thering are new IM windows to open, file will arrive new window by misinformation Mouthful open, caused by file divulge a secret, and made troubles for user.
The content of the invention
In order to solve the above-mentioned technical problem, the invention provides a kind of IM softwares to send document method, including:
Determine the session window that IM softwares are currently presented;
Obtain the file transfer operation event in the window;
When detecting that new session window opens event, judge whether document transmission process terminates,
If it is not, then document transmission process is kept to correspond to former session window.
Further, the file transfer operation event in the window includes:
Using the file transfer operation event for pulling upload operation triggering.
Further, if it is not, after then keeping document transmission process to correspond to former session window, in addition to:
The new session window is minimized, after pending file transmitting procedure terminates, opens the new session window.
Further, if it is not, after then keeping document transmission process to correspond to former session window, in addition to:
Before opening new session window, the document transmission process of session window is detected whether, if so, then minimizing window To taskbar, and highlight.
Present invention also offers a kind of IM softwares to send file device, including:
Determining module, the session window currently presented for determining IM softwares;
Acquisition module, for obtaining the file transfer operation event in the window;
Judge module, for when detecting that new session window opens event, judging whether document transmission process terminates,
Transport module, for if it is not, then keeping document transmission process to correspond to former session window.
Further, the file transfer operation event in the window includes:
Using the file transfer operation event for pulling upload operation triggering.
Further, in addition to:
Module is minimized, for minimizing the new session window, after pending file transmitting procedure terminates, described in opening New session window.
Further, in addition to:
Module is highlighted, before opening new session window, detects whether the document transmission process of session window, If so, then minimizing window to taskbar, and highlight.
Present invention also offers a kind of mobile terminal, including described device.
In summary, the invention provides a kind of IM softwares to send document method and device, by determining that IM softwares are current The session window of presentation;Obtain the file transfer operation event in the window;When detecting that new session window opens event, Judge whether document transmission process terminates, if it is not, then keeping document transmission process to correspond to former session window.Because the present invention exists New window has first detected whether that IM software windows transmit file before opening, rather than file directly is transferred into new window and opened, Reduce file error of transmission, avoid and other windows arrive into file misinformation, caused by file divulge a secret, and be that user brings Trouble.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art and advantage, below will be to implementing The required accompanying drawing used is briefly described in example or description of the prior art, it should be apparent that, drawings in the following description are only Only it is some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of method provided by the invention;
Fig. 2 is the block diagram of terminal provided by the invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
Embodiment:
As shown in figure 1, in order to solve the above-mentioned technical problem, the invention provides a kind of IM softwares to send document method, bag Include:
S1, determine the session window that IM softwares are currently presented;
S2, obtain the window file transfer operation event;
S3, when detecting that new session window opens event, judge whether document transmission process terminates,
S4, if it is not, then keep document transmission process correspond to former session window.
Further, the file transfer operation event in the window includes:
Using the file transfer operation event for pulling upload operation triggering.
Further, if it is not, after then keeping document transmission process to correspond to former session window, in addition to:
The new session window is minimized, after pending file transmitting procedure terminates, opens the new session window.
Further, if it is not, after then keeping document transmission process to correspond to former session window, in addition to:
Before opening new session window, the document transmission process of session window is detected whether, if so, then minimizing window To taskbar, and highlight.
Present invention also offers a kind of IM softwares to send file device, including:
Determining module, the session window currently presented for determining IM softwares;
Acquisition module, for obtaining the file transfer operation event in the window;
Judge module, for when detecting that new session window opens event, judging whether document transmission process terminates,
Transport module, for if it is not, then keeping document transmission process to correspond to former session window.
Further, the file transfer operation event in the window includes:
Using the file transfer operation event for pulling upload operation triggering.
Further, in addition to:
Module is minimized, for minimizing the new session window, after pending file transmitting procedure terminates, described in opening New session window.
Further, in addition to:
Module is highlighted, before opening new session window, detects whether the document transmission process of session window, If so, then minimizing window to taskbar, and highlight.
Present invention also offers a kind of terminal, including described device.
In summary, the invention provides a kind of IM softwares to send document method, is currently presented by determining IM softwares Session window;Obtain the file transfer operation event in the window;When detecting that new session window opens event, text is judged Whether part transmitting procedure terminates, if it is not, then keeping document transmission process to correspond to former session window.Because the present invention is in new window First detect whether that IM software windows transmit file before opening, rather than file is directly transferred to new window and opened, reduced File error of transmission, avoid and other windows arrive into file misinformation, caused by file divulge a secret, and be the trouble brought of user.
As shown in Fig. 2 present invention also offers a kind of terminal device, device described above is included.
The embodiment of the method that the embodiment of the present application one is provided can be in mobile terminal, terminal or similar fortune Calculate and performed in device.Exemplified by running on computer terminals, Fig. 2 is the terminal of method according to embodiments of the present invention Hardware block diagram.Handled as shown in Fig. 2 terminal 100 can include one or more (one is only shown in figure) Device 102 (processor 102 can include but is not limited to Micro-processor MCV or PLD FPGA etc. processing unit), Memory 104 for data storage and the transmitting device 106 for communication function.Those of ordinary skill in the art can be with Understand, the structure shown in Fig. 2 is only to illustrate, and it does not cause to limit to the structure of above-mentioned electronic installation.For example, terminal 100 may also include more either less components than shown in Fig. 2 or have the configuration different from shown in Fig. 2.
Memory 104 can be used for the software program and module of storage application software, such as the short essay in the embodiment of the present invention Programmed instruction/module corresponding to this sorting technique, processor 102 by operation be stored in software program in memory 104 with And module, so as to perform various function application and data processing, that is, realize above-mentioned short text classification method.Memory 104 May include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory, Or other non-volatile solid state memories.In some instances, memory 104 can further comprise relative to processor 102 Remotely located memory, these remote memories can pass through network connection to terminal 100.The example of above-mentioned network Including but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 106 is used to data are received or sent via a network.Above-mentioned network instantiation may include The wireless network that the communication providerses of terminal 100 provide.In an example, transmitting device 106 includes a network Adapter (Network Interface Controller, referred to as NIC), it can be connected by base station with other network equipments So as to be communicated with internet.In an example, transmitting device 106 can be radio frequency (Radio Frequency, letter Referred to as RF) module, it is used to wirelessly be communicated with internet.
Under above-mentioned running environment, this application provides short text classification method as shown in Figure 1.This method can be applied In intelligent terminal, by the computing device in intelligent terminal, intelligent terminal can be smart mobile phone, flat board Computer etc..At least one application program is installed, the kind of not defining application of the embodiment of the present invention in intelligent terminal Class, can be system class application program, or software class application program.
It should be noted that:The method that above-described embodiment provides, only with the division of above-mentioned each functional module illustrate It is bright, in practical application, it can be completed as needed and by above-mentioned function distribution by different functional modules, object will be searched The internal structure of device is divided into different functional modules, to complete all or part of function described above.It is in addition, above-mentioned The device for the lookup object that embodiment provides belongs to same design with searching the embodiment of the method for object, and it is detailed that it implements process See embodiment of the method, repeat no more here.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (9)

1. a kind of IM softwares send document method, it is characterised in that including:
Determine the session window that IM softwares are currently presented;
Obtain the file transfer operation event in the window;
When detecting that new session window opens event, judge whether document transmission process terminates,
If it is not, then document transmission process is kept to correspond to former session window.
2. according to the method for claim 1, it is characterised in that the file transfer operation event in the window includes:
Using the file transfer operation event for pulling upload operation triggering.
3. according to the method for claim 1, it is characterised in that if it is not, then keeping document transmission process to correspond to former session After window, in addition to:
The new session window is minimized, after pending file transmitting procedure terminates, opens the new session window.
4. according to the method for claim 1, it is characterised in that if it is not, then keeping document transmission process to correspond to former session After window, in addition to:
Before opening new session window, the document transmission process of session window is detected whether, is taken office if so, then minimizing window Business column, and highlight.
5. a kind of IM softwares send file device, it is characterised in that including:
Determining module, the session window currently presented for determining IM softwares;
Acquisition module, for obtaining the file transfer operation event in the window;
Judge module, for when detecting that new session window opens event, judging whether document transmission process terminates,
Transport module, for if it is not, then keeping document transmission process to correspond to former session window.
6. device according to claim 5, it is characterised in that the file transfer operation event in the window includes:
Using the file transfer operation event for pulling upload operation triggering.
7. device according to claim 5, it is characterised in that also include:
Module is minimized, for minimizing the new session window, after pending file transmitting procedure terminates, is opened described new Session window.
8. device according to claim 5, it is characterised in that also include:
Module is highlighted, before opening new session window, detects whether the document transmission process of session window, if It is then to minimize window to taskbar, and highlight.
9. a kind of mobile terminal, it is characterised in that including any described device in claim 5-8.
CN201710991557.XA 2017-10-23 2017-10-23 A kind of IM softwares send document method and device Withdrawn CN107819830A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710991557.XA CN107819830A (en) 2017-10-23 2017-10-23 A kind of IM softwares send document method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710991557.XA CN107819830A (en) 2017-10-23 2017-10-23 A kind of IM softwares send document method and device

Publications (1)

Publication Number Publication Date
CN107819830A true CN107819830A (en) 2018-03-20

Family

ID=61608623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710991557.XA Withdrawn CN107819830A (en) 2017-10-23 2017-10-23 A kind of IM softwares send document method and device

Country Status (1)

Country Link
CN (1) CN107819830A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116578538A (en) * 2023-07-13 2023-08-11 天津中新智冠信息技术有限公司 Cross-platform file processing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094196A (en) * 2006-06-20 2007-12-26 腾讯科技(深圳)有限公司 Method and system for transferring files
CN101286952A (en) * 2008-05-27 2008-10-15 腾讯科技(深圳)有限公司 Method and system for displaying information of file
CN101656688A (en) * 2008-08-21 2010-02-24 华为技术有限公司 Method, system and device for displaying instant messages
CN105955566A (en) * 2016-04-21 2016-09-21 深圳市金立通信设备有限公司 Method for information prompt, and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094196A (en) * 2006-06-20 2007-12-26 腾讯科技(深圳)有限公司 Method and system for transferring files
CN101286952A (en) * 2008-05-27 2008-10-15 腾讯科技(深圳)有限公司 Method and system for displaying information of file
CN101656688A (en) * 2008-08-21 2010-02-24 华为技术有限公司 Method, system and device for displaying instant messages
CN105955566A (en) * 2016-04-21 2016-09-21 深圳市金立通信设备有限公司 Method for information prompt, and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴金玲.: "一个即时通讯系统的设计与实现.", 《中国优秀硕士学位论文全文数据库信息科技辑2013年》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116578538A (en) * 2023-07-13 2023-08-11 天津中新智冠信息技术有限公司 Cross-platform file processing method and device, electronic equipment and storage medium
CN116578538B (en) * 2023-07-13 2023-10-27 天津中新智冠信息技术有限公司 Cross-platform file processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
EP1886455B1 (en) System and method for accessing a web server on a device with a dynamic ip-address residing a firewall
CN102710549B (en) To be established a communications link the method for relation, terminal and system by shooting
US20050038874A1 (en) System and method for downloading data using a proxy
US7419100B2 (en) Method and system for executing document scanning jobs that are intended for a remote work station through using a wireless interconnection between the work station and a scanner facility
CN106657269B (en) File transmission method
CN104158883A (en) Method, device, equipment and system for carrying out user login through cross-terminal equipment
CN108600376A (en) Data transmission method, device, LoRa gateways, system based on LoRa and storage medium
CN105138270A (en) Data transmission mode
CN101754407A (en) Method, server and system for processing service access request
EP1159818B1 (en) Device and method for communication over a network
CN112346751B (en) Application program installation method and device, electronic equipment and storage medium
CN109526020A (en) Data transmission method and Related product
CN109450733A (en) A kind of network-termination device recognition methods and system based on machine learning
US20060031334A1 (en) Methods and systems for forwarding electronic communications to remote users
US8416754B2 (en) Network location based processing of data communication connection requests
CN105959188A (en) Method and device for controlling user terminal to be online
CN110597706A (en) Method and device for testing application program interface data abnormity
CN107819830A (en) A kind of IM softwares send document method and device
US9680739B2 (en) Information transmission system, information communication apparatus, and information transmission apparatus
EP1087569A2 (en) Appliance communications manager
CN107846351A (en) A kind of chat messages sensitive information encryption method and device
CN102457328A (en) Combined wireless data transmission method and system thereof
CN109145588B (en) Data processing method and device
CN106789878A (en) A kind of file towards large traffic environment also original system and method
CN103209181A (en) Achieving method for application and connection firewall under linux network architecture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20180320

WW01 Invention patent application withdrawn after publication