CN104333583A - Document transmission method and device - Google Patents

Document transmission method and device Download PDF

Info

Publication number
CN104333583A
CN104333583A CN201410583719.2A CN201410583719A CN104333583A CN 104333583 A CN104333583 A CN 104333583A CN 201410583719 A CN201410583719 A CN 201410583719A CN 104333583 A CN104333583 A CN 104333583A
Authority
CN
China
Prior art keywords
file
attribute list
mobile device
target mobile
facility information
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.)
Granted
Application number
CN201410583719.2A
Other languages
Chinese (zh)
Other versions
CN104333583B (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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201410583719.2A priority Critical patent/CN104333583B/en
Publication of CN104333583A publication Critical patent/CN104333583A/en
Application granted granted Critical
Publication of CN104333583B publication Critical patent/CN104333583B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/606Protecting data by securing the transmission between two devices or processes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6281Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database at program execution time, where the protection is within the operating system

Abstract

The invention discloses a document transmission method and device, and belongs to the technical field of computers. The method includes the steps: receiving a document transmission instruction; acquiring device information of a target mobile device; packaging the document transmission instruction including a target storage catalogue into a first attribute list document; packaging a document to be transmitted into a second attribute list document; transmitting the first attribute list document and the second attribute list document according to a first preset sequence and the device information, and storing the parsed document into the target storage catalogue by the target mobile device. The first preset sequence is consistent with the sequence of transmitting the first attribute list document and the second attribute list document by a closed transmission application. The document transmission instruction in an attribute list format and the document to be transmitted are transmitted according to the first preset sequence, the target mobile device stores the parsed document into the target storage catalogue, the document transmission process is independent of the closed transmission application, the applicable range is widened, and a target application program can use the received document, so that security of the document can be ensured.

Description

Document transmission method and device
Technical field
The present invention relates to field of computer technology, particularly a kind of document transmission method and device.
Background technology
At present, apple mobile device is subject to the favor of a lot of user.In the use procedure of apple mobile device, in order to realize sharing of data, often need the file transfer on PC (Personal Computer, personal computer) to apple mobile device.
Correlation technique by PC to apple mobile device transfer files time, usually need PC is provided with iTunes, thus by iTunes transfer files.Wherein, iTunes is Apple one of issuing manages apple mobile device application program by PC, and it is supported file synchronization such as the music on PC to the public directory of apple mobile device.
Realizing in process of the present invention, inventor finds that correlation technique at least exists following problem:
Due to correlation technique by PC to apple mobile device transfer files time, need to be realized by iTunes, be directed to the PC not installing iTunes, then can not realize the transmission of file, the scope of application is limited.In addition, during owing to carrying out file transfer by iTunes, be public directory file being stored to apple mobile device, in this case, make any application of installing in apple mobile device all can access the file transmitted, cause the fail safe of file not high.
Summary of the invention
In order to solve the problem of correlation technique, embodiments provide a kind of document transmission method and device.Described technical scheme is as follows:
First aspect, provides a kind of document transmission method, and described method comprises:
Receive the file transfer instruction of file to be transmitted;
According to described file transfer instruction, obtain the facility information of the target mobile device connected;
Be attribute list form by file transfer Command encapsulate, obtain the first attribute list file, described file transfer order comprises target storage directory;
Be attribute list form by described Document encapsulation to be transmitted, obtain the second attribute list file;
According to the first preset order and described facility information, to described target mobile device described first attribute list file of transmission and described second attribute list file, make described target mobile device that the file to be transmitted parsed is stored to described target storage directory, described first preset order with by sequence consensus when the first attribute list file described in closed transmission application transport and described second attribute list file.
In conjunction with first aspect, in the first possible implementation of first aspect, described according to the first preset order and described facility information, before described target mobile device described first attribute list file of transmission and described second attribute list file, also comprise:
By conversed analysis and packet capturing analysis, obtain the order being transmitted described first attribute list file and described second attribute list file by described closed transmission application to described target mobile device, obtain the first preset order.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, before the facility information of the target mobile device that described acquisition has connected, also comprise:
Obtain the second preset order being obtained facility information by described closed transmission application;
The facility information of the target mobile device that described acquisition has connected, comprising:
According to described second preset order, obtain the facility information of the target mobile device connected.
In conjunction with first aspect, in the third possible implementation of first aspect, described file transfer Command encapsulate is attribute list form before, also comprise:
Identify the current application program of execute file transmission operation;
Determine the destination application on described target mobile device, described destination application mates with described current application program;
Obtain installation directory or the storage directory of described destination application, using described installation directory or storage directory as described target storage directory.
In conjunction with first aspect, in the 4th kind of possible implementation of first aspect, when the first preset order that distinct device information is corresponding different, described according to the first preset order and described facility information, before described target mobile device described first attribute list file of transmission and described second attribute list file, also comprise:
Obtain first preset order of mating with described facility information.
Second aspect, provides a kind of file transfer means, and described device comprises:
Receiver module, for receiving the file transfer instruction of file to be transmitted;
First acquisition module, for according to described file transfer instruction, obtains the facility information of the target mobile device connected;
First package module, for being attribute list form by file transfer Command encapsulate, obtain the first attribute list file, described file transfer order comprises target storage directory;
Second package module, for being attribute list form by described Document encapsulation to be transmitted, obtains the second attribute list file;
Transport module, for according to the first preset order and described facility information, to described target mobile device described first attribute list file of transmission and described second attribute list file, make described target mobile device that the file to be transmitted parsed is stored to described target storage directory, described first preset order with by sequence consensus when the first attribute list file described in closed transmission application transport and described second attribute list file.
In conjunction with second aspect, in the first possible implementation of second aspect, described device, also comprises:
Second acquisition module, for by conversed analysis and packet capturing analysis, is obtained the order being transmitted described first attribute list file and described second attribute list file by described closed transmission application to described target mobile device, obtains the first preset order.
In conjunction with second aspect, in the implementation that the second of second aspect is possible, described device, also comprises:
3rd acquisition module, for obtaining the second preset order being obtained facility information by described closed transmission application;
Described first acquisition module, for according to described second preset order, obtains the facility information of the target mobile device connected.
In conjunction with second aspect, in the third possible implementation of second aspect, described device, also comprises:
Identification module, for identifying the current application program of execute file transmission operation;
Determination module, for determining the destination application on described target mobile device, described destination application mates with described current application program;
4th acquisition module, for obtaining installation directory or the storage directory of described destination application, using described installation directory or storage directory as described target storage directory.
In conjunction with second aspect, in the 4th kind of possible implementation of second aspect, when the first preset order that distinct device information is corresponding different, described device, also comprises:
5th acquisition module, for obtaining first preset order of mating with described facility information.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
The first preset order to target mobile device transfer files and order is applied according to closed transmission, attribute column tabular file transfer order and file to be transmitted is sent to target mobile device, make target mobile device the file to be transmitted be resolved to can be stored to target storage directory corresponding to destination application, make document transmission process can not rely on closed transmission application, thus expand the scope of application.Because the file of reception is stored to target storage directory by target mobile device, therefore, guarantee to use by destination application the file received, thus can guarantee the fail safe of file.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of document transmission method that one embodiment of the invention provides;
Fig. 2 is the flow chart of a kind of document transmission method that another embodiment of the present invention provides;
Fig. 3 is a kind of process schematic obtaining facility information that another embodiment of the present invention provides;
Fig. 4 is the process schematic of a kind of transmission command of providing of another embodiment of the present invention and file;
Fig. 5 is the structural representation of a kind of file transfer means that another embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
In order to when to the target mobile device transfer files connected, closed transmission application can not relied on, thus can realize, quickly and easily to target mobile device transfer files, embodiments providing a kind of document transmission method.In embodiments of the present invention, the operating system of target mobile device can be closed operating system, as IOS; Document transmission device to target mobile device transfer files can be provided with non-enclosed operating system, if non-enclosed operating system can be Windows operating system.
In addition, in order to realize to target mobile device transfer files, usually need to connect with target mobile device.Wherein, when connecting with target mobile device, needing document transmission device to be provided with the driver communicated with target mobile device, thus being communicated with target mobile device by driver.On this basis, when carrying out file transfer, by the current application program storing file to be transmitted, communicated with the operating system of target mobile device by driver, thus realize the transmission of file.Concrete document transmission method refers to each embodiment following.
In conjunction with foregoing, Fig. 1 is the flow chart of a kind of document transmission method provided according to an exemplary embodiment.See Fig. 1, the method flow that the embodiment of the present invention provides comprises:
101, the file transfer instruction of file to be transmitted is received.
102, according to file transfer instruction, the facility information of the target mobile device connected is obtained.
103, be attribute list form by file transfer Command encapsulate, obtain the first attribute list file, wherein, file transfer order comprises target storage directory.
104, be attribute list form by Document encapsulation to be transmitted, obtain the second attribute list file.
105, according to the first preset order and facility information, the first attribute list file and the second attribute list file is transmitted to target mobile device, make target mobile device that the file to be transmitted parsed is stored to target storage directory, wherein, the first preset order with by sequence consensus when closed transmission application transport first attribute list file and the second attribute list file.
The method that the embodiment of the present invention provides, the first preset order to target mobile device transfer files and order is applied according to closed transmission, attribute column tabular file transfer order and file to be transmitted is sent to target mobile device, make target mobile device the file to be transmitted be resolved to can be stored to target storage directory corresponding to destination application, make document transmission process can not rely on closed transmission application, thus expand the scope of application.Because the file of reception is stored to target storage directory by target mobile device, therefore, guarantee to use by destination application the file received, thus can guarantee the fail safe of file.
Alternatively, according to the first preset order and facility information, before transmitting the first attribute list file and the second attribute list file to target mobile device, also comprise:
By conversed analysis and packet capturing analysis, obtain the order being transmitted the first attribute list file and the second attribute list file by closed transmission application to target mobile device, obtain the first preset order.
Alternatively, before obtaining the facility information of the target mobile device connected, also comprise:
Obtain the second preset order being obtained facility information by closed transmission application;
Obtain the facility information of the target mobile device connected, comprising:
According to the second preset order, obtain the facility information of the target mobile device connected.
Alternatively, before file transfer Command encapsulate is attribute list form, also comprise:
Identify the current application program of execute file transmission operation;
Determine the destination application on target mobile device, wherein, destination application mates with current application program;
Obtain the installation directory of destination application or storage directory, using installation directory or storage directory as target storage directory.
Alternatively, when the first preset order that distinct device information is corresponding different, according to the first preset order and facility information, before transmitting the first attribute list file and the second attribute list file to target mobile device, also comprise:
Obtain first preset order of mating with facility information.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
The embodiment of composition graphs 1 correspondence, Fig. 2 is the flow chart of a kind of document transmission method provided according to an exemplary embodiment.See Fig. 2, the method flow that the embodiment of the present invention provides comprises:
201, the file transfer instruction of file to be transmitted is received.
Usually, in order to transmit file to be transmitted, need by user's trigger file transmitting procedure.Particularly, user is when triggering the document transmission process of file to be transmitted, by sliding or the operation such as click, can send the file transfer instruction of file to be transmitted to document transmission device, document transmission device is by receiving the file transfer instruction triggers document transmission process of file to be transmitted.
About the mode of the file transfer instruction of reception file to be transmitted, can have a variety of.During concrete enforcement, include but not limited to: after the predetermined registration operation on file to be transmitted being detected, determine the file transfer instruction receiving file to be transmitted.Such as, after detecting and entering the file transfer page, when the operation that a certain file in this page is clicked being detected, then determine that this clicked file is file to be transmitted, and determine the file transfer instruction receiving file to be transmitted.
Wherein, the type that the embodiment of the present invention does not treat transfer files limits.During concrete enforcement, file to be transmitted can be picture, also can be video, audio frequency, song, business card etc.
202, according to file transfer instruction, the facility information of the target mobile device connected is obtained.
After getting file transfer instruction, need according to this file transfer instruction to which device transmission file to be transmitted in order to clear and definite, obtain the facility information of the target mobile device connected.Wherein, when connecting with target mobile device, USB (Universal Serial Bus is leading to and getting lines crossed) can be passed through and connect, also can connect to wirelessly.Wherein, radio connection includes but not limited to WiFi connected mode.About the particular content of facility information, include but not limited to as device identification, operating system version information, device memory information etc.
Wherein, in order to successfully realize to target mobile device transfer files, need the facility information of the target mobile device obtained may have multiple, and when obtaining these facility informations, often needing to realize in a certain order.Such as, when facility information comprises device identification and operating system version information, when obtaining facility information, needing first to obtain device identification, then obtaining operating system version information.In embodiments of the present invention, when facility information comprises multiple different information, in order to ensure can not relying on closed transmission application transport file to be transmitted, before the facility information obtaining the target mobile device connected, also need to obtain the second preset order being obtained facility information by closed transmission application.On this basis, when obtaining the facility information of the target mobile device connected, according to the second preset order, the facility information of the target mobile device connected can be obtained.
Wherein, when acquisition the second preset order, at least one method in can being analyzed by conversed analysis and packet capturing, determines the second preset order being obtained facility information by closed transmission application.About the particular content of the second preset order, the embodiment of the present invention does not do concrete restriction.
About according to the second preset order, obtain the mode of the facility information of the target mobile device connected, include but not limited to: by the operating system transmitting apparatus acquisition of information instruction of driver to target mobile device, the operating system of target mobile device is according to this apparatus information acquiring instruction fetch apparatus information, and the facility information that feedback gets is to driver, facility information is forwarded to the current application program transmitting file to be transmitted by driver.So far, document transmission device gets the facility information of target mobile device.Wherein, apparatus information acquiring instruction, when to the operating system transmitting apparatus acquisition of information instruction of target mobile device, can be encapsulated as socket by driver.As shown in Figure 3, it illustrates a kind of process schematic obtaining facility information.
203, the current application program of execute file transmission operation is identified, determine the destination application on target mobile device, and obtain installation directory or the storage directory of destination application, using installation directory or storage directory as target storage directory, wherein, destination application mates with current application program.
This step is optional step.Due to when transfer files, usually by a certain application program on document transmission device to a certain application transfer file on target mobile device, and the type of file that different application programs can be transmitted is not identical yet.Therefore, the current application program judging execute file transmission operation is needed.In addition, in order to can by file transfer to be transmitted to the target storage directory in target mobile device, make the destination application that only this target storage directory is corresponding can use the file received, need the destination application determining to mate with current application program.
Wherein, destination application can be the application program consistent with current application program, such as, when current application program is the application A on document transmission device, destination application can be the application A on target mobile device, can also be the application program can mutually called with current application program, etc.
The file to be transmitted of reception can be used, under the file to be transmitted received can being stored to the catalogue relevant to destination application in order to ensure the destination application on only target mobile device.Usually, the catalogue relevant to destination application comprises installation directory or the storage directory of destination application, therefore, can obtain installation directory or the storage directory of destination application, thus using installation directory or storage directory as target storage directory.
Wherein, when obtaining the installation directory of destination application, by traveling through the installation directory of all application programs that target mobile device is installed, the installation directory of destination application can be found out.When searching the installation directory of destination application, due to all corresponding application identities of each application program on target mobile device, therefore, can obtain the application identities of destination application, and the mark of searching destination application in the mark of all application programs of installing from target mobile device realizes.
Further, obtain the principle of the storage directory of destination application, the principle with the installation directory of above-mentioned acquisition destination application is consistent, specifically see the mode of the installation directory of above-mentioned acquisition destination application, can not repeat them here.
204, be attribute list form by file transfer Command encapsulate, obtain the first attribute list file, wherein, file transfer order comprises target storage directory.
In order to notification target mobile device receives file to be transmitted, need to send file transfer order to target mobile device.In order to make target mobile device clearly where be stored to by file to be transmitted, file transfer order comprises target storage directory.Certainly, the file name of file to be transmitted, file type can also be comprised in file transfer order, file size etc.
In addition, because target can for being provided with the equipment of closed operating system in mobile device, and during usually to the data such as device transmission order or file of closed operating system, need to encapsulate data as attribute list form, i.e. Plist (Property List, attribute list) file format.Therefore, be attribute list form by file transfer Command encapsulate, obtain the first attribute list file.About being the tabular mode of attribute column by file transfer Command encapsulate, the embodiment of the present invention does not do concrete restriction.During concrete enforcement, can realize by calling Plist editing machine.
205, be attribute list form by Document encapsulation to be transmitted, obtain the second attribute list file.
The principle of this step is consistent with the principle in above-mentioned steps 204 by file transfer Command encapsulate being attribute list file, specifically see the content in above-mentioned steps 204, can not repeat them here.
It should be noted that, step 204 and step 205 are only with first package file transmission command, then to encapsulate file to be transmitted be that example is illustrated, and when specifically implementing, also can first encapsulate file to be transmitted, then package file transmission command; All right package file transmission command and file to be transmitted simultaneously.
206, according to the first preset order and facility information, the first attribute list file and the second attribute list file is transmitted to target mobile device, make target mobile device that the file to be transmitted parsed is stored to target storage directory, wherein, the first preset order with by sequence consensus when closed transmission application transport first attribute list file and the second attribute list file.
In conjunction with above-mentioned steps 204 and step 205, when to target mobile device transfer files, need to transmit number order toward contact.Wherein, when transmission is encapsulated as the tabular file of attribute column and the tabular order of attribute column, may the order of first transmission property listings format, also may the file of first transmission property listings format, also may there is other transmission sequence.In embodiments of the present invention, in order on the basis not relying on closed transmission application, realize successfully transmitting file to be transmitted to target mobile device, before transmit the first attribute list file and the second attribute list file to target mobile device, also need to obtain the first preset order being transmitted the first attribute list file and the second attribute list file by closed transmission application to target mobile device.
Wherein, when acquisition the first preset order, by conversed analysis and packet capturing analysis, the order being transmitted the first attribute list file and the second attribute list file by closed transmission application to target mobile device can be obtained, thus obtains the first preset order.About the mode analyzed by conversed analysis and packet capturing, include but not limited to be realized by the mode such as dis-assembling, decompiling.
After acquisition first preset order, when transmitting the first attribute list file and the second attribute list file to target mobile device, can realize according to the first preset order.About according to the first preset order, transmit the mode of the first attribute list file and the second attribute list file to target mobile device, the embodiment of the present invention does not do concrete restriction.
As shown in Figure 4, it illustrates a kind of process schematic to target mobile device transmission command and file.First, file transfer order and file to be transmitted is sent by current application program respectively to driver; Then, driver is sent to the operating system of target mobile device after file transfer order and file to be transmitted are encapsulated as the first attribute list file and the second attribute list file respectively.Finally, after the operating system of target mobile device parses file to be transmitted, the file to be transmitted parsed is stored to target storage directory.
Alternatively, due to during to target mobile device transmission command corresponding to distinct device information and file, transmission command may be different with the order of file.Therefore, when the first preset order that distinct device information is corresponding different, according to the first preset order and facility information, before transmitting the first attribute list file and the second attribute list file to target mobile device, also need to obtain first preset order of mating with facility information.After this, just the first attribute list file and the second attribute list file can be transmitted according to the first preset order.
Wherein, before obtaining first preset order of mating with facility information, can the mapping relations of first apparatus for establishing information and preset order.Therefore, when obtaining first preset order of mating with facility information, facility information can be compared with the facility information in the mapping relations set up in advance and realizing.
Alternatively, target mobile device is being resolved to file to be transmitted, and after file to be transmitted is stored to target storage directory, can feedback acknowledgment receipt message, to make the success of document transmission device determination file transfer.Particularly, composition graphs 4, after the operating system of target mobile device determines to receive file to be transmitted, to document transmission device driver feedback file transmission result, driver by file transfer result feedback to current application program.
The method that the embodiment of the present invention provides, according to the first preset order applied by closed transmission to target mobile device transfer files and order, attribute column tabular file transfer order and file to be transmitted is sent to target mobile device, make target mobile device the file to be transmitted be resolved to can be stored to target storage directory corresponding to destination application, make document transmission process can not rely on closed transmission application, thus expand the scope of application.In addition, by identifying the current application program of execute file transmission, and determine the destination application that mates with current application program, thus file to be transmitted is stored to target storage directory corresponding to destination application, guarantee to use by destination application the file received, thus can guarantee the fail safe of file.
Fig. 5 is the structural representation of a kind of file transfer means provided according to an exemplary embodiment, and this device is for performing above-mentioned Fig. 1 or the document transmission method provided embodiment illustrated in fig. 2.See Fig. 5, this device comprises:
Receiver module 501, for receiving the file transfer instruction of file to be transmitted;
First acquisition module 502, for according to file transfer instruction, obtains the facility information of the target mobile device connected;
First package module 503, for being attribute list form by file transfer Command encapsulate, obtain the first attribute list file, wherein, file transfer order comprises target storage directory;
Second package module 504, for being attribute list form by Document encapsulation to be transmitted, obtains the second attribute list file;
Transport module 505, for according to the first preset order and facility information, the first attribute list file and the second attribute list file is transmitted to target mobile device, make target mobile device that the file to be transmitted parsed is stored to target storage directory, the first preset order with by sequence consensus when closed transmission application transport first attribute list file and the second attribute list file.
Alternatively, device also comprises:
Second acquisition module, for by conversed analysis and packet capturing analysis, is obtained the order being transmitted the first attribute list file and the second attribute list file by closed transmission application to target mobile device, obtains the first preset order.
Alternatively, device also comprises:
3rd acquisition module, for obtaining the second preset order being obtained facility information by closed transmission application;
First acquisition module, for according to the second preset order, obtains the facility information of the target mobile device connected.
Alternatively, device also comprises:
Identification module, for identifying the current application program of execute file transmission operation;
Determination module, for determining the destination application on target mobile device, wherein, destination application mates with current application program;
4th acquisition module, for obtaining installation directory or the storage directory of destination application, using installation directory or storage directory as target storage directory.
Alternatively, when the first preset order that distinct device information is corresponding different, device also comprises:
5th acquisition module, for obtaining first preset order of mating with facility information.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
The device that the embodiment of the present invention provides, the first preset order to target mobile device transfer files and order is applied according to closed transmission, attribute column tabular file transfer order and file to be transmitted is sent to target mobile device, make target mobile device the file to be transmitted be resolved to can be stored to target storage directory corresponding to destination application, make document transmission process can not rely on closed transmission application, thus expand the scope of application.Because the file of reception is stored to target storage directory by target mobile device, therefore, guarantee to use by destination application the file received, thus can guarantee the fail safe of file.
It should be noted that: the file transfer means that above-described embodiment provides is when transfer files, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by device is divided into different functional modules, to complete all or part of function described above.In addition, the file transfer means that above-described embodiment provides and document transmission method embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a document transmission method, is characterized in that, described method comprises:
Receive the file transfer instruction of file to be transmitted;
According to described file transfer instruction, obtain the facility information of the target mobile device connected;
Be attribute list form by file transfer Command encapsulate, obtain the first attribute list file, described file transfer order comprises target storage directory;
Be attribute list form by described Document encapsulation to be transmitted, obtain the second attribute list file;
According to the first preset order and described facility information, to described target mobile device described first attribute list file of transmission and described second attribute list file, make described target mobile device that the file to be transmitted parsed is stored to described target storage directory, described first preset order with by sequence consensus when the first attribute list file described in closed transmission application transport and described second attribute list file.
2. method according to claim 1, is characterized in that, described according to the first preset order and described facility information, before described target mobile device described first attribute list file of transmission and described second attribute list file, also comprises:
By conversed analysis and packet capturing analysis, obtain the order being transmitted described first attribute list file and described second attribute list file by described closed transmission application to described target mobile device, obtain the first preset order.
3. method according to claim 1, is characterized in that, before the facility information of the target mobile device that described acquisition has connected, also comprises:
Obtain the second preset order being obtained facility information by described closed transmission application;
The facility information of the target mobile device that described acquisition has connected, comprising:
According to described second preset order, obtain the facility information of the target mobile device connected.
4. method according to claim 1, is characterized in that, described file transfer Command encapsulate is attribute list form before, also comprise:
Identify the current application program of execute file transmission operation;
Determine the destination application on described target mobile device, described destination application mates with described current application program;
Obtain installation directory or the storage directory of described destination application, using described installation directory or storage directory as described target storage directory.
5. method according to claim 1, it is characterized in that, when the first preset order that distinct device information is corresponding different, described according to the first preset order and described facility information, before described target mobile device described first attribute list file of transmission and described second attribute list file, also comprise:
Obtain first preset order of mating with described facility information.
6. a file transfer means, is characterized in that, described device comprises:
Receiver module, for receiving the file transfer instruction of file to be transmitted;
First acquisition module, for according to described file transfer instruction, obtains the facility information of the target mobile device connected;
First package module, for being attribute list form by file transfer Command encapsulate, obtain the first attribute list file, described file transfer order comprises target storage directory;
Second package module, for being attribute list form by described Document encapsulation to be transmitted, obtains the second attribute list file;
Transport module, for according to the first preset order and described facility information, to described target mobile device described first attribute list file of transmission and described second attribute list file, make described target mobile device that the file to be transmitted parsed is stored to described target storage directory, described first preset order with by sequence consensus when the first attribute list file described in closed transmission application transport and described second attribute list file.
7. device according to claim 6, is characterized in that, described device, also comprises:
Second acquisition module, for by conversed analysis and packet capturing analysis, is obtained the order being transmitted described first attribute list file and described second attribute list file by described closed transmission application to described target mobile device, obtains the first preset order.
8. device according to claim 6, is characterized in that, described device, also comprises:
3rd acquisition module, for obtaining the second preset order being obtained facility information by described closed transmission application;
Described first acquisition module, for according to described second preset order, obtains the facility information of the target mobile device connected.
9. device according to claim 6, is characterized in that, described device, also comprises:
Identification module, for identifying the current application program of execute file transmission operation;
Determination module, for determining the destination application on described target mobile device, described destination application mates with described current application program;
4th acquisition module, for obtaining installation directory or the storage directory of described destination application, using described installation directory or storage directory as described target storage directory.
10. device according to claim 6, is characterized in that, when the first preset order that distinct device information is corresponding different, described device, also comprises:
5th acquisition module, for obtaining first preset order of mating with described facility information.
CN201410583719.2A 2014-10-27 2014-10-27 Document transmission method and device Active CN104333583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410583719.2A CN104333583B (en) 2014-10-27 2014-10-27 Document transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410583719.2A CN104333583B (en) 2014-10-27 2014-10-27 Document transmission method and device

Publications (2)

Publication Number Publication Date
CN104333583A true CN104333583A (en) 2015-02-04
CN104333583B CN104333583B (en) 2018-07-20

Family

ID=52408232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410583719.2A Active CN104333583B (en) 2014-10-27 2014-10-27 Document transmission method and device

Country Status (1)

Country Link
CN (1) CN104333583B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111221788A (en) * 2020-01-09 2020-06-02 王俊杰 Data transmission method and system
CN114793232A (en) * 2022-04-01 2022-07-26 中国工商银行股份有限公司 Service 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
CN1154161A (en) * 1994-06-10 1997-07-09 诺思路·格鲁曼公司 Fault detection circuit for sensing leakage currents between power source and chassis
US7035878B1 (en) * 2000-01-25 2006-04-25 Fusionone, Inc. Base rolling engine for data transfer and synchronization system
CN101098310A (en) * 2006-10-30 2008-01-02 腾讯科技(深圳)有限公司 Multi-file transmission system and method
CN101360127A (en) * 2008-09-10 2009-02-04 金蝶软件(中国)有限公司 File updating method and transmission system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1154161A (en) * 1994-06-10 1997-07-09 诺思路·格鲁曼公司 Fault detection circuit for sensing leakage currents between power source and chassis
US7035878B1 (en) * 2000-01-25 2006-04-25 Fusionone, Inc. Base rolling engine for data transfer and synchronization system
CN101098310A (en) * 2006-10-30 2008-01-02 腾讯科技(深圳)有限公司 Multi-file transmission system and method
CN101360127A (en) * 2008-09-10 2009-02-04 金蝶软件(中国)有限公司 File updating method and transmission system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111221788A (en) * 2020-01-09 2020-06-02 王俊杰 Data transmission method and system
CN111221788B (en) * 2020-01-09 2023-04-25 王俊杰 Data transmission method and system
CN114793232A (en) * 2022-04-01 2022-07-26 中国工商银行股份有限公司 Service processing method and device, electronic equipment and storage medium
CN114793232B (en) * 2022-04-01 2024-02-06 中国工商银行股份有限公司 Service processing method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104333583B (en) 2018-07-20

Similar Documents

Publication Publication Date Title
CN107612909B (en) Information interaction method, device and equipment about Internet of things equipment
CN106469044B (en) Method and device for realizing page jump
US20170118608A1 (en) Remote waking method and system
EP2753048B1 (en) Apparatus and method for providing a near field communication function in a portable terminal
CN105516246A (en) Method for preventing application program downloading hijacking and server
US20170126556A1 (en) Information transmission method and apparatus, device and storage medium
CN104394475A (en) Streaming media file playing method and media player
CN105490917A (en) Sharing method and device in application
CN105516744B (en) Smart television access method and smart television access system
CN104618418A (en) Method and device for playing multimedia file
CN104580159A (en) Method and device for event notice as well as terminal device
CN103780325B (en) A kind of satellite transmission purpose monitoring system
US20150079968A1 (en) Information processing method and electronic device
CN104333583A (en) Document transmission method and device
CN112887289B (en) Network data processing method, device, computer equipment and storage medium
CN104202432B (en) Remote web management system and management method
CN103680101A (en) Method and system for editing NFC (near field communication) data for NFC equipment or NFC label
JP2019531610A (en) SIP information analysis method, apparatus, server, and medium
CN104077158A (en) Plugin installation method and device
CN105227351A (en) Log acquisition system, journal obtaining method and electronic equipment
CN101778117B (en) Network storing and processing method, device and wireless terminal
CN111612947A (en) Method, equipment and storage medium for processing communication abnormity of intelligent lock
CN105302617A (en) Method and sever for downloading application program
CN102710673A (en) Method and device for downloading data by terminal
CN112804102B (en) Equipment binding method, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17

Applicant after: Guangzhou KuGou Networks Co., Ltd.

Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F

Applicant before: Guangzhou KuGou Networks Co., Ltd.

GR01 Patent grant
GR01 Patent grant