[go: up one dir, main page]

CN107249023B - Processing method and device for file sending - Google Patents

Processing method and device for file sending Download PDF

Info

Publication number
CN107249023B
CN107249023B CN201710393362.5A CN201710393362A CN107249023B CN 107249023 B CN107249023 B CN 107249023B CN 201710393362 A CN201710393362 A CN 201710393362A CN 107249023 B CN107249023 B CN 107249023B
Authority
CN
China
Prior art keywords
file
address information
media interaction
sending
opposite terminal
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.)
Active
Application number
CN201710393362.5A
Other languages
Chinese (zh)
Other versions
CN107249023A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710393362.5A priority Critical patent/CN107249023B/en
Publication of CN107249023A publication Critical patent/CN107249023A/en
Application granted granted Critical
Publication of CN107249023B publication Critical patent/CN107249023B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4555Directories for electronic mail or instant messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/30Types of network names
    • H04L2101/37E-mail addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

In the method, after a file sending operation is triggered, a media interaction event occurring before the triggering can be acquired, then identification information of opposite terminal equipment in the media interaction event is acquired, and recipient address information used for sending a file to the opposite terminal equipment is acquired according to the identification information. When a user learns that a file needs to be sent to an opposite terminal device through a media interaction event, the method provided by the embodiment of the invention can automatically acquire the corresponding address information according to the identification information of the opposite terminal device after the user triggers the file sending operation, so that the sending ID of the opposite terminal device does not need to be manually searched, and the processing efficiency of the user for sending the file can be effectively improved.

Description

Processing method and device for file sending
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a file sending processing method and device.
Background
Along with the continuous development of intelligent terminal technology, the function that intelligent terminal can realize is more and more powerful. Many other functions can be implemented in addition to basic messaging. For example, the chat application program in the intelligent terminal can be used for chatting, and the file can be conveniently and quickly sent through the file sending application (such as a mailbox application program) in the intelligent terminal.
When someone asks for some files from the user through a phone call, a short message or a chat application, the user generally opens a file sending application, such as a mailbox application program, through the intelligent terminal, then adds corresponding files, and finally sends the files to the person asking for the files. However, in the process of research of related technologies, the inventors found that, when the above situation is met, a user needs to manually search an address list of a mailbox for a mailbox ID (Identity) corresponding to a person requesting a file, and this searching process takes a certain amount of time, which affects the processing efficiency of the user for sending the file.
Disclosure of Invention
An object of the embodiments of the present invention is to provide a method for quickly and accurately transmitting a file.
In a first aspect, an embodiment of the present invention provides a method for processing file transmission, including:
acquiring a media interaction event occurring before a file sending operation is triggered; wherein the media interaction event comprises: answering the incoming call, receiving and reading the short message and receiving and reading at least one event in the application message;
acquiring identification information of opposite terminal equipment in the media interaction event;
judging whether the corresponding relation between the identification information and the address information is stored;
and if so, taking the address information as the recipient address information used for sending the file to the opposite terminal equipment in the file sending operation.
In a second aspect, an embodiment of the present invention provides another file sending processing apparatus, including:
the event acquisition unit is used for acquiring a media interaction event before the file sending operation is triggered; wherein the media interaction event comprises: answering the incoming call, receiving and reading the short message and receiving and reading at least one event in the application message;
an identifier obtaining unit, configured to obtain identifier information of an opposite device in the media interaction event;
the address acquisition unit is used for judging whether the corresponding relation between the identification information and the address information is stored; and if so, taking the address information as the recipient address information used for sending the file to the opposite terminal equipment in the file sending operation.
In the method, after a file sending operation is triggered, a media interaction event occurring before the triggering can be acquired, then identification information of opposite terminal equipment in the media interaction event is acquired, and recipient address information used for sending a file to the opposite terminal equipment is acquired according to the identification information. When a user learns that a file needs to be sent to an opposite terminal device through a media interaction event, the method provided by the embodiment of the invention can automatically acquire the corresponding address information according to the identification information of the opposite terminal device after the user triggers the file sending operation, so that the sending ID of the opposite terminal device does not need to be manually searched, and the processing efficiency of the user for sending the file can be effectively improved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart of a processing method for sending a file according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating an interface of peer device according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating an interface of a peer device according to another embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a file transmission processing apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In a first aspect, an embodiment of the present invention provides a method for processing file transmission, as shown in fig. 1, including:
s101, acquiring a media interaction event before a file sending operation is triggered; wherein the media interaction event comprises: answering the incoming call, receiving and reading the short message and receiving and reading at least one event in the application message;
s102, acquiring identification information of opposite terminal equipment in the media interaction event;
s103, judging whether the corresponding relation between the identification information and the address information is stored;
and if so, taking the address information as the recipient address information used for sending the file to the opposite terminal equipment in the file sending operation.
The embodiment of the invention provides a processing method for sending a file, which can acquire a media interaction event occurring before triggering after a file sending operation is triggered, then acquire identification information of opposite terminal equipment in the media interaction event, and acquire recipient address information for sending the file to the opposite terminal equipment according to the identification information. When a user learns that a file needs to be sent to an opposite terminal device through a media interaction event, the method provided by the embodiment of the invention can automatically acquire the corresponding address information according to the identification information of the opposite terminal device after the user triggers the file sending operation, so that the sending ID of the opposite terminal device does not need to be manually searched, and the processing efficiency of the user for sending the file can be effectively improved.
In practical applications, the processing method for sending a file may be applied to a file transfer Application program, for example, the method may be implemented by a plug-in and the plug-in is applied to a mailbox APP (Application), and the file transfer Application program (e.g., the mailbox APP) may be loaded in an intelligent terminal.
The file transfer application may be an application that only has a file transfer function, or an application that not only has a file transfer function but also carries other functions. The intelligent terminal and the peer device having a media interaction event with the intelligent terminal may specifically be: smart phones, Personal Digital Assistants (PDAs), tablet computers, laptop computers, desktop computers, vehicle-mounted computers (carputers), handheld game consoles, smart glasses, smart watches, wearable devices, virtual display devices or display enhancement devices (e.g., Google Glass, accumus Rift, Hololens, Gear VR), and the like.
In addition, the identification information of the peer device obtained here may be identification information capable of representing an identity of the peer device, and may be, for example, a mobile phone number of the peer device. The file sending triggering operation may specifically be that an instruction for a user to click a file sending preparation icon is received (for example, a mail writing button in a mailbox APP is clicked), a specific gesture for indicating that a file is to be sent is drawn on a screen for the user, or the user triggers a file sending operation through voice input (for example, the user presses a voice input key and says "write mail" to the smart terminal), or a specific operation for indicating that a file is to be sent is performed on the smart terminal bearing a file transmission application (for example, a shortcut operation such as shaking a shake or pressing an entity key on two terminals at the same time), and the like, which is not specifically limited in this embodiment of the present invention.
In specific implementation, when the media interaction event is the above-mentioned event, it can be understood that, when the user learns that the file needs to be sent to the peer device through the media interaction event, generally, the user may immediately open the file transfer application and search for the file to be sent to the peer device. In this case, the acquiring of the media interaction event occurring before the triggering of the file sending operation in the above embodiment S101 may specifically be:
s101', the media interaction event with the latest occurrence time before the file sending operation is triggered is obtained.
As previously mentioned, media interaction events include a number of different scenarios, each of which is described in detail below.
When the media interaction event only comprises an event of answering a call, if a user of the local computer opens a file transmission application program (such as a mailbox APP) immediately after answering the call of the file requested by the colleague A, the mailbox APP can acquire the number of the call which is answered last time (namely the number of the colleague A) at the moment when the user triggers a file sending operation (such as clicking a button for writing a mail). And then searching whether the mailbox APP currently stores the mailbox ID corresponding to the number or not according to the number. The specific searching mode may be to search whether the address book stored locally or in the cloud of the mailbox APP or the content of the incoming and outgoing mails (including the mail header, the mail body, and the signature of the mail) includes the corresponding relationship between the name of the colleague a, the mobile phone number of the colleague a, and the mailbox ID of the colleague a. If yes, the mailbox ID is automatically filled in a receiver of a mail to be sent to the co-worker A by the local user, and certainly, the receiver displays the mailbox ID of the co-worker A or the name of the co-worker A stored in the mailbox APP to the local user in a column so that the local user can know that the receiver is automatically set as the co-worker A, and therefore the time for the local user to search the mailbox ID of the co-worker A can be saved.
When the media interaction event only includes receiving and reading a short message or an application message, the processing manner at this time is similar to that of the incoming call case. When the colleague A informs the local user of asking for a certain file through a short message, after the local user opens the mailbox APP and clicks a button for writing a mail, the mailbox APP can obtain the number of the newly received and read short message at the moment, and find the corresponding mailbox ID according to the number. Similarly, when the colleague a informs the local user of asking for a certain file through the WeChat, after the local user opens the mailbox APP and clicks the button for writing the mail, the mailbox APP can first acquire the WeChat which is newly received and read, then can acquire the mobile phone number of the colleague a through the WeChat APP (the premise of acquiring the mobile phone number is that the mobile phone number of the colleague a and the WeChat of the colleague a are correspondingly bound in the WeChat APP), finally find the corresponding mailbox ID according to the number, and automatically fill the mailbox ID in the addressee of the mail to be sent to the colleague a.
When the media interaction event comprises at least two events of answering an incoming call, receiving and reading a short message and receiving and reading an application message within a preset time period, at the moment, after the file sending operation is triggered, the identification information of the opposite terminal equipment of the recently occurred media interaction event can also be directly acquired.
It can be understood that, because the methods provided in this embodiment are all for acquiring the media interaction event whose occurrence time is the latest, the method is more suitable for the case that when the user of the local computer learns that the peer a requests the file through the media interaction event, the mailbox APP is immediately opened to prepare for sending the file to the peer a, so that the mailbox APP can be ensured to correctly acquire the number of the peer a and add the address information of the number to the recipient of the mail.
However, in practical applications, for example, after receiving an incoming call of a file requested by a colleague a, the user of the computer receives a short message from a boss and reads the short message, and also receives a WeChat from a colleague B and reads the WeChat. Or the colleague A sends the WeChat to the local user to request the file, the local user has not yet to switch to the mailbox and receives the important WeChat sent by the boss, the colleague B sends the WeChat for informing the opening of the meeting, and the local user reads the WeChat of the boss and the colleague B. At this time, if only the latest event is acquired, only the mobile phone number of the co-worker B can be acquired, the mobile phone number of the co-worker a cannot be acquired, and further, the mailbox ID of the co-worker a cannot be automatically filled in the mail of the file to be sent. For such a case, embodiment S101 of the present invention may further include:
s101, acquiring all media interaction events occurring in a preset time period before triggering file sending operation.
That is, for the case described above, the phone of co-worker A, the phone of boss, and the phone of co-worker B can be acquired at this time. And further acquiring the corresponding mailbox ID according to the acquired telephone. The preset time period may be set as appropriate according to actual conditions, and may be, for example, 1 minute, 3 minutes, or 10 minutes.
However, in such a case, a plurality of numbers are acquired at the same time, but it is unclear which number corresponds to the address information that is the address that the local user really wants to send, so step S103 in the method provided in the embodiment of the present invention may specifically include:
s1031, judging whether the corresponding relation between the identification information corresponding to the opposite terminal devices and the address information is stored; if yes, displaying information of the plurality of opposite-end devices according to a preset sorting rule;
and S1032, if the file sending operation of sending the file to the opposite terminal device is detected, taking the address information corresponding to the identification information of the opposite terminal device as the address information of the recipient of the file sent to the opposite terminal device.
Also taking the above example as an example, if the phone and mailbox ID of the colleague a, the colleague B and the boss are stored in the mailbox APP, then the information of each peer device can be shown to the user at this time. Here, the telephone numbers of the colleague a, the colleague B and the boss may be displayed, the mailbox IDs of the colleague a, the colleague B and the boss may be displayed, or the names of the colleague a, the colleague B and the boss may be directly displayed as shown in fig. 2. And a corresponding selected identifier is arranged beside each opposite terminal device information. If the user only selects the colleague A and clicks on the confirmation, the user can be considered to trigger the file sending operation of sending the file to the colleague A device at the moment, and the mailbox ID of the colleague A is further added to the recipient column.
There are, of course, several special cases. For example, within a preset 3 minutes, if the colleague a and the boss make a call to ask for the same file, or if the colleague a makes a call to ask for the same file before the boss sends a WeChat to ask for the same file, the colleague a and the boss B may be simultaneously selected in the interface shown in fig. 2 and clicked for determination, and at this time, an inquiry popup window shown in fig. 3 pops up to inquire whether to send the same file in the same mail. For the case at this point, yes may be clicked on, and mailbox APP automatically adds the mailbox IDs of colleague a and boss to the recipient column.
For another example, in the preset 3 minutes, the colleague A calls for the file 1, the boss sends the WeChat for the file 2, and the colleague B sends the short message to notify the meeting. At this time, the mailbox APP also obtains the telephone numbers of the colleague a, the boss and the colleague B, and is shown in the manner of fig. 2. At this time, the colleague a and the boss B may also be simultaneously selected and clicked for determination, when the inquiry popup window shown in fig. 3 is popped up, the user clicks "no, send in a multi-mail", the mailbox APP first adds the mailbox ID of the colleague a in the recipient column, and after the mail is sent, automatically enters a new mail-writing page and simultaneously adds the mailbox ID of the boss in the recipient column in the new mail, thereby realizing automatic sending of different files to different peer devices.
In specific implementation, as shown in fig. 2, each peer device may be sorted according to a plurality of rules, where several optional sorting manners are:
(1) sorting by the occurrence time of the media interaction events;
that is, after all the media interaction events within the preset time period are acquired, the types of the media interaction events are not distinguished, and the acquired information of the plurality of peer devices is displayed to the user in a manner of sorting according to the occurrence time of the media interaction events in advance and in the later stage as shown in fig. 2. For example, information of peer devices for which events occur later may be listed above the list.
(2) And sequencing according to the criticality of the content of the information carried by the media interaction events.
Specifically, the content of the information carried by each acquired media interaction event may be detected to perform criticality detection, and each peer device may be arranged in the list shown in fig. 2 according to the criticality in a descending order.
Further, the detecting the criticality of the content of the carried information may specifically be: and carrying out voice or character recognition on the information content carried by the media interaction event, and sequencing according to the number of the preset keywords carried in the recognition result.
Specifically, if the content of the media interaction event carrying information includes voice content (e.g., incoming call, voice sms, voice WeChat, etc.), the voice content may be subjected to voice recognition, and a specific recognition process may be to convert the voice into text and then recognize the text. If the content of the media interaction event carrying information contains text content, the text is directly identified. The recognition of the text here may be the number of keywords contained in the search text. The keywords may be "send me", "send me a copy", "send me" and so on. The peer devices are then arranged in the list shown in figure 2 in order of magnitude according to the number of detected included keys.
In specific implementation, it is understood that, for the content of the information carried by the media interaction event, the keyword "send me" may be identified, and a field related to a file in the content may also be identified, so step S103 in the embodiment of the present invention may further include:
s1031, judging whether the corresponding relation between the identification information and the address information is stored currently; if yes, carrying out voice or character recognition on information content carried by the media interaction event triggered by the opposite terminal equipment;
s1032, if the identification result is matched with the name of the currently stored file, automatically adding the file in the file sending operation, and taking the address information as the recipient address information for sending the file to the opposite terminal device.
The specific speech and text recognition processes have been described in the foregoing, and are not described in detail herein. After the content is identified, the mailbox APP can scan a preset folder for storing the file in the intelligent terminal or all files in the terminal at the moment, if the name of a certain stored file is scanned to be matched with the identified content, the file can be added into an accessory after a receiver is automatically added in the file sending operation, so that the receiver can be automatically added, the file can be automatically added, the trouble of searching the file in the terminal by a user is avoided, and the sending efficiency of the user is improved.
In addition, in specific implementation, after the file is sent according to the above manner, the user of the local computer often forgets to remind the other party to check and receive, so that the other party sending the file may not check and receive the file in time, and the time of the other party is wasted. Therefore, the method provided by the embodiment of the present invention may further include:
and S104, after the file is sent to the opposite terminal equipment, the content used for indicating the file is sent to the opposite terminal equipment in a message mode.
The content indicating that the file has been sent may include the name of the file attachment just sent, the screenshot of the mail, and so on, and is attached with content reminding the other party to check in time. The sending in the form of the message may be specifically sending to the other party by a short message or sending to the other party by a WeChat, and this is not specifically limited in the embodiment of the present invention.
In a second aspect, an embodiment of the present invention further provides a processing apparatus for file transmission, as shown in fig. 4, including:
an event acquiring unit 201, configured to acquire a media interaction event that occurs before a file sending operation is triggered; wherein the media interaction event comprises: answering the incoming call, receiving and reading the short message and receiving and reading at least one event in the application message;
an identifier obtaining unit 202, configured to obtain identifier information of an opposite device in the media interaction event;
an address obtaining unit 203, configured to determine whether a corresponding relationship between the identification information and address information is stored; and if so, taking the address information as the recipient address information used for sending the file to the opposite terminal equipment in the file sending operation.
Optionally, the event obtaining unit 201 is further configured to:
the media interaction event occurring most recently before the file sending operation is triggered is obtained.
Optionally, the event obtaining unit 201 is further configured to:
acquiring all media interaction events occurring in a preset time period before triggering file sending operation;
the address obtaining unit is further configured to:
judging whether corresponding relations between identification information corresponding to a plurality of opposite terminal devices and a plurality of address information are stored; if yes, displaying the information of the plurality of opposite-end devices according to a preset sorting rule;
and if the file sending operation of sending the file to the opposite terminal device is detected, taking the address information corresponding to the identification information of the opposite terminal device as the recipient address information of the file sent to the opposite terminal device.
Optionally, the preset ordering rule includes:
sequencing according to the occurrence time of the media interaction events;
or, sorting according to the key degree of the content of the information carried by the media interaction event.
Optionally, the address obtaining unit 203 is further configured to:
and carrying out voice and/or character recognition on the information content carried by the media interaction event, and sequencing according to the number of the preset keywords carried in the recognition result.
Optionally, the address obtaining unit 203 is further configured to:
judging whether the corresponding relation between the identification information and the address information is stored; if yes, carrying out voice and/or character recognition on information content carried by the media interaction event triggered by the opposite terminal equipment;
and if the identification result is matched with the name of the currently stored file, automatically adding the file in a file sending operation, and using the address information as the recipient address information for sending the file to the opposite terminal equipment.
Optionally, the apparatus further comprises:
a sending unit 204, configured to send, to the peer device, content indicating that the file has been sent in a message manner after sending the file to the peer device.
Since the processing device for file transmission described in this embodiment is a device that can execute the processing method for file transmission in this embodiment of the present invention, based on the method for data transmission described in this embodiment of the present invention, a person skilled in the art can understand the specific implementation of the processing device for file transmission in this embodiment and various variations thereof, and therefore, a detailed description of how the processing device for file transmission implements the processing method for file transmission in this embodiment of the present invention is not provided here. As long as a person skilled in the art implements the device used in the processing method for sending a file in the embodiment of the present invention, the device is within the scope of the present application.
FIG. 5 is a block diagram of a computer device of another embodiment of the present invention. The computer device 300 shown in fig. 5 includes: at least one processor 301, memory 302, at least one network interface 304, and other user interfaces 303. The various components in computer device 300 are coupled together by a bus system 303. It will be appreciated that the bus system 303 is used to enable communications among the components. The bus system 303 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 303 in FIG. 5.
The user interface 303 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that the memory 302 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data rate Synchronous Dynamic random access memory (ddr SDRAM ), Enhanced Synchronous SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 302 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 302 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 3021 and application programs 3022.
The operating system 3021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application programs 3022 include various application programs, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. A program implementing the method of an embodiment of the present invention may be included in the application program 3022.
In the embodiment of the present invention, the processor 301 is configured to obtain a media interaction event that occurs before a file sending operation is triggered, by calling a program or an instruction stored in the memory 302, which may be, specifically, a program or an instruction stored in the application 3022; wherein the media interaction event comprises: answering the incoming call, receiving and reading the short message and receiving and reading at least one event in the application message; acquiring identification information of opposite terminal equipment in the media interaction event; judging whether the corresponding relation between the identification information and the address information is stored; and if so, taking the address information as the recipient address information used for sending the file to the opposite terminal equipment in the file sending operation.
The method disclosed in the above embodiments of the present invention may be applied to the processor 301, or implemented by the processor 301. The processor 301 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 301. The Processor 301 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 302, and the processor 301 reads the information in the memory 302 and completes the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the acquiring a media interaction event occurring before triggering a file sending operation includes:
the media interaction event occurring most recently before the file sending operation is triggered is obtained.
Optionally, the acquiring a media interaction event occurring before triggering a file sending operation includes:
acquiring all media interaction events occurring in a preset time period before triggering file sending operation;
correspondingly, acquiring the corresponding relation between the identification information and the address information; taking the address information as the recipient address information used for sending the file to the opposite terminal device in the file sending operation, including:
judging whether corresponding relations between identification information corresponding to a plurality of opposite terminal devices and a plurality of address information are stored; if yes, displaying the information of the plurality of opposite-end devices according to a preset sorting rule;
and if the file sending operation of sending the file to the opposite terminal device is detected, taking the address information corresponding to the identification information of the opposite terminal device as the recipient address information of the file sent to the opposite terminal device.
Optionally, the preset ordering rule includes:
sequencing according to the occurrence time of the media interaction events;
or, sorting according to the key degree of the content of the information carried by the media interaction event.
Optionally, the sorting by the key degree of the content of the information carried by the media interaction event includes:
and carrying out voice and/or character recognition on the information content carried by the media interaction event, and sequencing according to the number of the preset keywords carried in the recognition result.
Optionally, obtaining a corresponding relationship between the identifier information and address information, and using the address information as recipient address information for sending a file to the peer device in the file sending operation includes:
judging whether the corresponding relation between the identification information and the address information is stored; if yes, carrying out voice and/or character recognition on information content carried by the media interaction event triggered by the opposite terminal equipment;
and if the identification result is matched with the name of the currently stored file, automatically adding the file in a file sending operation, and using the address information as the recipient address information for sending the file to the opposite terminal equipment.
Optionally, the method further comprises:
and after the file is sent to the opposite terminal equipment, sending the content used for indicating that the file is sent to the opposite terminal equipment in a message mode.
The computer device 300 can implement the processes implemented by the network side device in the foregoing embodiments, and details are not described here to avoid repetition.
The embodiment of the invention can correspondingly control the data transmission, has more direct and simple control process compared with the prior art, and can better adapt to the future communication network environment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. A processing method for file transmission is characterized by comprising the following steps:
acquiring a media interaction event occurring before a file sending operation is triggered; wherein the media interaction event comprises: answering the incoming call, receiving and reading the short message and receiving and reading at least one event in the application message;
acquiring identification information of opposite terminal equipment in the media interaction event;
judging whether the mailbox APP stores the corresponding relation between the identification information and the mailbox address information or not;
if so, taking the mailbox address information as recipient address information used for sending the file to the opposite terminal equipment in the file sending operation;
acquiring a mapping relation in which the identification information and the mailbox address information are currently stored, and using the mailbox address information as recipient address information used for sending a file to the opposite terminal device in the file sending operation, wherein the mapping relation comprises:
judging whether the mailbox APP stores the corresponding relation between the identification information and the mailbox address information, if so, carrying out voice and/or character recognition on information content carried by a media interaction event triggered by the opposite terminal equipment;
and if the identification result is matched with the name of the stored file, adding the file in a file sending operation, and using the mailbox address information as recipient address information for sending the file to the opposite terminal equipment.
2. The method of claim 1, wherein obtaining the media interaction event that occurs before triggering the file sending operation comprises:
and acquiring the media interaction event which occurs most recently before the file sending operation is triggered.
3. The method of claim 1, wherein obtaining the media interaction event that occurs before triggering the file sending operation comprises:
acquiring all media interaction events occurring in a preset time period before triggering file sending operation;
acquiring a mapping relation between the identification information and mailbox address information, and using the mailbox address information as recipient address information for sending a file to the opposite terminal device in the file sending operation, including:
if the corresponding relation between the identification information corresponding to the plurality of opposite-end devices and the plurality of mailbox address information is stored, displaying the information of the plurality of opposite-end devices according to a preset sequencing rule;
and if the file sending operation of sending the file to the opposite terminal device is detected, using the mailbox address information corresponding to the opposite terminal device identification information as the recipient address information for sending the file to the opposite terminal device.
4. The method of claim 3, wherein the preset ordering rule comprises:
sequencing according to the occurrence time of the media interaction events;
or, sorting according to the key degree of the content of the information carried by the media interaction event.
5. The method of claim 4, wherein ranking by criticality of content of information carried by the media interaction event comprises:
and carrying out voice and/or character recognition on the information content carried by the media interaction event, and sequencing according to the number of the preset keywords carried in the recognition result.
6. The method of claim 1, further comprising:
and after the file is sent to the opposite terminal equipment, sending the content used for indicating that the file is sent to the opposite terminal equipment in a message mode.
7. A file transmission processing apparatus, comprising:
the event acquisition unit is used for acquiring a media interaction event before the file sending operation is triggered; wherein the media interaction event comprises: answering the incoming call, receiving and reading the short message and receiving and reading at least one event in the application message;
an identifier obtaining unit, configured to obtain identifier information of an opposite device in the media interaction event;
the address acquisition unit is used for judging whether the mailbox APP stores the corresponding relation between the identification information and the mailbox address information;
if so, taking the mailbox address information as recipient address information used for sending the file to the opposite terminal equipment in the file sending operation;
the address fetch unit is further to:
judging whether the mailbox APP stores the corresponding relation between the identification information and the mailbox address information or not; if yes, carrying out voice and/or character recognition on information content carried by the media interaction event triggered by the opposite terminal equipment;
and if the identification result is matched with the name of the currently stored file, automatically adding the file in a file sending operation, and using the mailbox address information as recipient address information for sending the file to the opposite terminal equipment.
8. The apparatus of claim 7, wherein the event obtaining unit is further configured to:
the media interaction event occurring most recently before the file sending operation is triggered is obtained.
9. The apparatus of claim 7, wherein the event obtaining unit is further configured to:
acquiring all media interaction events occurring in a preset time period before triggering file sending operation;
the address obtaining unit is further configured to:
if the corresponding relation between the identification information corresponding to the plurality of opposite-end devices and the plurality of mailbox address information is stored, displaying the information of the plurality of opposite-end devices according to a preset sequencing rule;
and if the file sending operation of sending the file to the opposite terminal device is detected, taking the mailbox address information corresponding to the identification information of the opposite terminal device as the recipient address information of the file sent to the opposite terminal device.
10. The apparatus of claim 9, wherein the preset ordering rule comprises:
sequencing according to the occurrence time of the media interaction events;
or, sorting according to the key degree of the content of the information carried by the media interaction event.
11. The apparatus of claim 10, wherein the address fetch unit is further configured to:
and carrying out voice and/or character recognition on the information content carried by the media interaction event, and sequencing according to the number of the preset keywords carried in the recognition result.
12. The apparatus of claim 7, further comprising:
and the sending unit is used for sending the content used for indicating that the file is sent to the opposite terminal equipment in a message mode after the file is sent to the opposite terminal equipment.
CN201710393362.5A 2017-05-27 2017-05-27 Processing method and device for file sending Active CN107249023B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710393362.5A CN107249023B (en) 2017-05-27 2017-05-27 Processing method and device for file sending

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710393362.5A CN107249023B (en) 2017-05-27 2017-05-27 Processing method and device for file sending

Publications (2)

Publication Number Publication Date
CN107249023A CN107249023A (en) 2017-10-13
CN107249023B true CN107249023B (en) 2020-06-30

Family

ID=60018635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710393362.5A Active CN107249023B (en) 2017-05-27 2017-05-27 Processing method and device for file sending

Country Status (1)

Country Link
CN (1) CN107249023B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7116994B2 (en) * 2001-12-21 2006-10-03 Nokia Corporation Mobile network message to email redirection
JP2005012739A (en) * 2003-06-21 2005-01-13 Katsuyasu Ono System for specifying individual under internet by applying arp from remote place
CN101645856A (en) * 2009-08-19 2010-02-10 深圳华为通信技术有限公司 Contact person information processing method and mobile terminal
CN103138954B (en) * 2011-12-02 2015-11-04 中国移动通信集团公司 Method, system and recommendation server for pushing recommended items
CN103970471B (en) * 2013-02-06 2018-01-23 联想(北京)有限公司 A kind of method for sending information, equipment and terminal
CN103220822B (en) * 2013-04-08 2016-03-02 小米科技有限责任公司 Data transmission method, device and mobile terminal

Also Published As

Publication number Publication date
CN107249023A (en) 2017-10-13

Similar Documents

Publication Publication Date Title
US8229413B2 (en) Message filter program for a communication device
US20190327192A1 (en) Communication method and apparatus, and electronic device for communications
EP2549383A2 (en) Context-related data handling
CN109725947A (en) A kind of processing method and terminal of unread message
US9661133B2 (en) Electronic device and method for extracting incoming/outgoing information and managing contacts
MX2013001676A (en) Media/voice binding protocol and related user interfaces.
KR20120095863A (en) Routing user data entries to applications
CN110391966B (en) Message processing method and device and message processing device
CN103500106A (en) Method and device for starting application programs in mobile communication terminal
CN107332963B (en) Number setting method and terminal
US20120198001A1 (en) Method to show/hide e-mail messages by a sender or group of senders within an e-mail thread
CN111656347A (en) Project display method and terminal
CN113595864A (en) Method, device, electronic equipment and storage medium for forwarding mails
US9832044B2 (en) Apparatus for setting an email security and method thereof
CN110020082B (en) Searching method and device
EP2091217A1 (en) Message filter program for a communication device
CN107249023B (en) Processing method and device for file sending
US10630619B2 (en) Electronic device and method for extracting and using semantic entity in text message of electronic device
RU2672716C2 (en) Method and device for data input
US20120290665A1 (en) Systems and methods for changing application information
CN110471793B (en) Data backup method, data recovery method, first terminal and second terminal
CN109768921B (en) Data transparent transmission method and corresponding instant communication terminal
KR101064422B1 (en) Mobile terminal and computer terminal capable of retrieving and registering a telephone number and control method thereof
CN109976549B (en) Data processing method, device and machine readable medium
CN107145286B (en) Browsing interaction processing method and device

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
GR01 Patent grant
GR01 Patent grant