CN111221788B - Data transmission method and system - Google Patents
Data transmission method and system Download PDFInfo
- Publication number
- CN111221788B CN111221788B CN202010021525.9A CN202010021525A CN111221788B CN 111221788 B CN111221788 B CN 111221788B CN 202010021525 A CN202010021525 A CN 202010021525A CN 111221788 B CN111221788 B CN 111221788B
- Authority
- CN
- China
- Prior art keywords
- sequence
- cache
- folder
- target
- list
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
- G06F16/148—File search processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/172—Caching, prefetching or hoarding of files
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Library & Information Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a data transmission method and a system, wherein the method comprises the following steps: receiving a data transmission instruction to inquire target equipment; acquiring transmission target query target data stored in a data transmission instruction; acquiring the storage sequence of a local folder in target data to draw a folder sequence list, and acquiring the storage sequence of a sub-file in the local folder to draw a sub-file sequence list; acquiring a cache sequence of cache information in target data to draw a cache sequence list, and establishing a target folder according to a corresponding sequence of the folder sequence list in equipment to be transmitted; and copying the subfiles to the target folder according to the subfile sequence list in sequence, and establishing a cache task in the equipment to be transmitted according to the cache sequence list. The sequence and the quantity of the target folders and the sub-files obtained by copying in the equipment to be transmitted are the same as those in the target equipment, so that the user does not need to arrange the folders or the sub-files again, and the use experience of the user is improved.
Description
Technical Field
The present invention belongs to the technical field of data transmission, and in particular, relates to a data transmission method and system.
Background
With the rapid development of internet technology, data transfer by using mobile terminals such as smart phones (e.g., android mobile phones, iOS mobile phones, etc.), tablet computers, palm computers, mobile internet devices (Mobile Internet Devices, MID) and the like has become a convenient and popular internet data service mode, for example, in the use process of mobile phones, when a user needs to transfer data in an old mobile phone to a new mobile phone after changing the mobile phone, so that the user can use the new mobile phone conveniently, and therefore, the problem of efficiency of data transfer by the user is more and more emphasized.
In the existing data transmission process, copied data can be disturbed, for example, songs in an old mobile phone are divided into different songs according to personal preference, or a plurality of photos in the mobile phone are divided into different albums, and the ordering of the data after being copied to a new mobile phone is inconsistent with the ordering of the data in the old mobile phone of a user, so that the user needs to order and arrange the data again according to the personal preference, and the use experience of the user is reduced.
Disclosure of Invention
The embodiment of the invention aims to provide a data transmission method and a system, which aim to solve the problem of low user experience caused by disordered sequence after data copying in the existing data transmission process.
The embodiment of the invention is realized in such a way that a data transmission method comprises the following steps:
receiving a data transmission instruction, and inquiring target equipment according to the data transmission instruction;
acquiring a transmission mark stored in the data transmission instruction, and inquiring target data in the target equipment according to the transmission mark;
acquiring the storage sequence of a local folder in the target data to draw a folder sequence list, and acquiring the storage sequence of subfiles in each local folder to draw a subfile sequence list;
obtaining the caching order of the caching information in the target data to draw a caching order list, and establishing a target folder according to the corresponding order of the folder order list in the equipment to be transmitted;
and copying the subfiles in the local folder to the target folder correspondingly in sequence according to the subfile sequence list, and establishing a cache task in the equipment to be transmitted according to the cache sequence list.
Further, the step of obtaining the storage order of the local folders in the target data to draw a folder order list includes:
and sequentially obtaining the folder names of the local folders, and storing the folder names according to the storage sequence of the local folders to obtain the folder sequence list.
Further, the step of obtaining the storage order of the subfiles in each local folder to draw a subfile order list includes:
and sequentially obtaining the sub-file names of each sub-file, and storing the sub-file names according to the storage sequence of the sub-files to obtain the sub-file sequence list.
Further, the step of obtaining the buffer sequence of the buffer information in the target data to draw a buffer sequence list includes:
and sequentially acquiring a cache name and a cache address of each piece of cache information, and storing the cache name and the cache address according to the cache sequence of the cache information to obtain the cache sequence list.
Further, the step of establishing a buffer task in the device to be transmitted according to the buffer sequence list includes:
sequentially executing the caching operation according to the sequence of the caching addresses in the caching sequence list so as to establish the caching task;
and marking the names of the corresponding cache tasks in sequence according to the sequence of the cache names in the cache sequence list.
Still further, the method further comprises:
inquiring target folders, target subfolders or target cache information according to the deletion identifiers when the deletion identifiers are stored in the data transmission instructions;
and deleting the queried target folder, target subfolder or target cache information in the folder sequence list, the subfolder sequence list or the cache sequence list.
It is another object of an embodiment of the present invention to provide a data transmission system, the system including:
the device query module is used for receiving the data transmission instruction and querying the target device according to the data transmission instruction;
the data query module is used for acquiring the transmission mark stored in the data transmission instruction and querying target data in the target equipment according to the transmission mark;
the list drawing module is used for obtaining the storage sequence of the local folder in the target data to draw a folder sequence list, obtaining the storage sequence of the sub-files in each local folder to draw a sub-file sequence list, and obtaining the cache sequence of the cache information in the target data to draw a cache sequence list;
the file folder establishing module is used for establishing a target file folder in the equipment to be transmitted according to the corresponding sequence of the file folder sequence list, and copying the subfiles in the local file folder to the target file folder in sequence according to the subfile sequence list;
and the buffer execution module is used for establishing buffer tasks in the equipment to be transmitted according to the buffer sequence list.
Still further, the list drawing module is further configured to:
and sequentially obtaining the folder names of the local folders, and storing the folder names according to the storage sequence of the local folders to obtain the folder sequence list.
Still further, the list drawing module is further configured to:
and sequentially obtaining the sub-file names of each sub-file, and storing the sub-file names according to the storage sequence of the sub-files to obtain the sub-file sequence list.
Still further, the list drawing module is further configured to:
and sequentially acquiring a cache name and a cache address of each piece of cache information, and storing the cache name and the cache address according to the cache sequence of the cache information to obtain the cache sequence list.
According to the embodiment of the invention, the sequence and the quantity of the target folders and the sub-files obtained by copying built in the equipment to be transmitted are the same as those in the target equipment by drawing the folder sequence list and the sub-file sequence list, so that the user does not need to arrange the folders or the sub-files again, the use experience of the user is improved, and the cache information in the target equipment can be effectively copied into the equipment to be transmitted by drawing the cache sequence list, the user does not need to search for manual cache or cache data again, and the use experience of the user is further improved.
Drawings
Fig. 1 is a flowchart of a data transmission method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a data transmission method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a data transmission system according to a third embodiment of the present invention;
the invention will be further described in the following detailed description in conjunction with the above-described figures.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, based on the embodiments of the invention, which are apparent to those of ordinary skill in the art without inventive faculty, are intended to be within the scope of the invention. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, based on the embodiments of the invention, which are apparent to those of ordinary skill in the art without inventive faculty, are intended to be within the scope of the invention.
In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the apparatus or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present invention, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
In the present invention, unless expressly stated or limited otherwise, a first feature "above" or "below" a second feature may include both the first and second features being in direct contact, as well as the first and second features not being in direct contact but being in contact with each other through additional features therebetween. Moreover, a first feature being "above," "over" and "on" a second feature includes the first feature being directly above and obliquely above the second feature, or simply indicating that the first feature is higher in level than the second feature. The first feature being "under", "below" and "beneath" the second feature includes the first feature being directly under and obliquely below the second feature, or simply means that the first feature is less level than the second feature.
Example 1
Referring to fig. 1, a flowchart of a data transmission method according to a first embodiment of the present invention includes the steps of:
step S10, receiving a data transmission instruction, and inquiring target equipment according to the data transmission instruction;
the data transmission instruction can be transmitted in a voice instruction, a key instruction or a touch instruction mode, the data transmission instruction stores a device identifier of the target device, and the device identifier can be stored in a communication address, a name address or a port address mode, such as a Bluetooth address, a port address based on a data line or a device name;
step S20, a transmission mark stored in the data transmission instruction is obtained, and target data in the target equipment is queried according to the transmission mark;
the transmission mark can be text, number or image, the text is used for pointing to a corresponding APP, a disk or any storage device and the like, for example, when the transmission mark is stored in a mode of adopting an APP name, the APP name stored in the data transmission instruction is queried, and all local data of the corresponding APP in the target device are queried based on the APP name, so that the target data are obtained;
specifically, in the step, the transmission mark is used for marking the corresponding application in the target device so as to transmit the data in the marked APP to the designated transmitted device; preferably, the transmitted device is in communication connection with the target device;
step S30, obtaining the storage sequence of local folders in the target data to draw a folder sequence list, and obtaining the storage sequence of subfiles in each local folder to draw a subfile sequence list;
the file folder sequence list is drawn, so that names and sequences of the files under the appointed APP in the target equipment are recorded, and the files in the equipment to be transmitted are effectively and conveniently established;
preferably, in the step, the names and sequences of the subfiles in all folders of the designated APP application in the target device are recorded by drawing the subfile sequence list, so that copying and sorting of corresponding files in the device to be transmitted are effectively facilitated;
for example, when the target device and the device to be transmitted are both mobile phone devices, the designated APP is an arbitrary music playing application, the names and sequences of all folders in the music playing application in the target device are recorded to draw the folder sequence list, for example, when the "i like" folder, "default collection" folder and "rock" folder are set in the music playing application, the sequences and names of the three folders are sequentially stored and recorded to obtain the folder sequence list, and preferably, in other embodiments, the number and sequence of the folders can be set in the target device according to the preference of the user;
specifically, in this embodiment, names and sequences of songs recorded in a favorite folder, a default collection folder and a rock folder are sequentially stored to obtain a plurality of sub-file sequence lists, where the sub-file sequence lists are in one-to-one correspondence with the local folders, that is, each local folder generates a sub-file sequence list;
step S40, obtaining the cache sequence of the cache information in the target data to draw a cache sequence list, and establishing a target folder according to the corresponding sequence of the folder sequence list in the equipment to be transmitted;
the names and the sequences of the cached songs in the music playing application are acquired to correspondingly draw the cached sequence list;
step S50, copying the subfiles in the local folder to the target folder according to the subfile sequence list in sequence, and establishing a cache task in the equipment to be transmitted according to the cache sequence list;
the method comprises the steps of copying subfiles in a local folder to a target folder according to a subfile sequence list, so that the sequence and the number of the subfiles obtained by copying are identical to those in the target device, and preferably, the method comprises the steps of establishing a buffer task design in the device to be transmitted according to the buffer sequence list, so that information to be buffered in an old mobile phone is stored in a new mobile phone, and the number and the sequence of the buffer information are identical to those in the old mobile phone;
according to the method, the device and the system, the sequence and the quantity of the target folders established in the equipment to be transmitted and the sub-files obtained by copying are the same as those in the target equipment by drawing based on the folder sequence list and the sub-file sequence list, the folders or the sub-files are not required to be sorted again by a user, the use experience of the user is improved, and the cache information in the target equipment can be effectively copied to the equipment to be transmitted by drawing of the cache sequence list, the user is not required to search for manual cache or cache data again, and the use experience of the user is further improved.
Example two
Referring to fig. 2, a flowchart of a data transmission method according to a second embodiment of the present invention includes the steps of:
step S11, receiving a data transmission instruction, and inquiring target equipment according to the data transmission instruction;
the data transmission instruction can be transmitted in a voice instruction, a key instruction or a touch instruction mode, the data transmission instruction stores a device identifier of the target device, and the device identifier can be stored in a communication address, a name address or a port address mode, such as a Bluetooth address, a port address based on a data line or a device name;
step S21, a transmission mark stored in the data transmission instruction is obtained, and target data in the target equipment is queried according to the transmission mark;
the transmission mark can be text, number or image, the text is used for pointing to a corresponding APP, a disk or any storage device and the like, for example, when the transmission mark is stored in a mode of adopting an APP name, the APP name stored in the data transmission instruction is queried, and all local data of the corresponding APP in the target device are queried based on the APP name, so that the target data are obtained;
step S31, sequentially obtaining the folder names of the local folders, and storing the folder names according to the storage sequence of the local folders to obtain the folder sequence list;
the file folder sequence list is drawn, so that names and sequences of the files under the appointed APP in the target equipment are recorded, and the files in the equipment to be transmitted are effectively and conveniently established;
step S41, sequentially obtaining the sub-file names of each sub-file, and storing the sub-file names according to the storage sequence of the sub-files to obtain the sub-file sequence list;
the name and sequence of the subfiles in all folders of the appointed APP in the target equipment are recorded by drawing the subfile sequence list, so that copying and sequencing of corresponding files in equipment to be transmitted are effectively facilitated;
step S51, sequentially obtaining a cache name and a cache address of each piece of cache information, and storing the cache name and the cache address according to the cache sequence of the cache information to obtain the cache sequence list;
the buffer names and the buffer addresses are stored according to the buffer sequence of the buffer information, so that the subsequent restoration of the buffer data in the equipment to be transmitted is effectively facilitated, and a user does not need to manually buffer or search the buffer data again;
step S61, establishing a target folder in the equipment to be transmitted according to the corresponding sequence of the folder sequence list, and copying the subfiles in the local folder to the target folder according to the subfiles sequence list;
step S71, sequentially executing the caching operation according to the sequence of the caching addresses in the caching sequence list so as to establish the caching task;
the design of the cache operation is sequentially executed according to the sequence of the cache addresses in the cache sequence list, so that the number and the sequence of the cache tasks in the equipment to be transmitted are completely consistent with those in the target equipment;
step S81, name marking is carried out on the corresponding cache tasks according to the sequence of the cache names in the cache sequence list;
the design of name marking is carried out on the corresponding cache tasks according to the sequence of the cache names in the cache sequence list, so that the subsequent users can check and know the cache tasks conveniently, and the use experience of the users is improved;
preferably, in this embodiment, the method further includes:
inquiring target folders, target subfolders or target cache information according to the deletion identifiers when the deletion identifiers are stored in the data transmission instructions;
deleting the inquired target folder, target subfolder or target cache information in the folder sequence list, the subfolder sequence list or the cache sequence list;
in this embodiment, by drawing based on the folder sequence list and the sub-file sequence list, the sequence and the number of the target folders and the sub-files obtained by copying established in the to-be-transferred device are the same as those in the target device, so that the user does not need to sort the folders or the sub-files again, the use experience of the user is improved, and by drawing of the cache sequence list, the cache information in the target device can be effectively copied to the to-be-transferred device, the user does not need to search for manual cache or cache data again, and the use experience of the user is further improved.
Example III
Referring to fig. 3, a schematic structural diagram of a data transmission system 100 according to a third embodiment of the present invention includes: a device query module 10, a data query module 11, a list drawing module 12, a folder creation module 13, and a cache execution module 14, wherein:
and the device query module 10 is used for receiving the data transmission instruction and querying the target device according to the data transmission instruction.
And the data query module 11 is used for acquiring the transmission mark stored in the data transmission instruction and querying the target data in the target equipment according to the transmission mark.
The list drawing module 12 is configured to obtain a storage order of local folders in the target data to draw a folder order list, obtain a storage order of subfiles in each of the local folders to draw a subfile order list, and obtain a cache order of cache information in the target data to draw a cache order list.
Wherein the list drawing module 12 is further configured to: and sequentially obtaining the folder names of the local folders, and storing the folder names according to the storage sequence of the local folders to obtain the folder sequence list.
Further, the list drawing module 12 is further configured to: and sequentially obtaining the sub-file names of each sub-file, and storing the sub-file names according to the storage sequence of the sub-files to obtain the sub-file sequence list.
Still further, the list drawing module 12 is further configured to: and sequentially acquiring a cache name and a cache address of each piece of cache information, and storing the cache name and the cache address according to the cache sequence of the cache information to obtain the cache sequence list.
And the folder establishing module 13 is used for establishing a target folder according to the corresponding sequence of the folder sequence list in the equipment to be transmitted, and copying the subfiles in the local folder to the target folder according to the subfiles sequence list.
And the cache executing module 14 is configured to establish a cache task in the device to be transmitted according to the cache sequence list.
Wherein, the cache execution module 14 is further configured to: sequentially executing the caching operation according to the sequence of the caching addresses in the caching sequence list so as to establish the caching task; and marking the names of the corresponding cache tasks in sequence according to the sequence of the cache names in the cache sequence list.
In addition, in this embodiment, the data transmission system 100 further includes:
the data deleting module 15 is configured to query, when it is determined that a deletion identifier is stored in the data transmission instruction, target folders, target subfolders, or target cache information according to the deletion identifier; and deleting the queried target folder, target subfolder or target cache information in the folder sequence list, the subfolder sequence list or the cache sequence list.
According to the method, the device and the system, the sequence and the quantity of the target folders established in the equipment to be transmitted and the sub-files obtained by copying are the same as those in the target equipment by drawing based on the folder sequence list and the sub-file sequence list, the folders or the sub-files are not required to be sorted again by a user, the use experience of the user is improved, and the cache information in the target equipment can be effectively copied to the equipment to be transmitted by drawing of the cache sequence list, the user is not required to search for manual cache or cache data again, and the use experience of the user is further improved.
The embodiment also provides a mobile terminal, which comprises a storage device and a processor, wherein the storage device is used for storing a computer program, and the processor runs the computer program to enable the mobile terminal to execute the data transmission method.
Receiving a data transmission instruction, and inquiring target equipment according to the data transmission instruction;
acquiring a transmission mark stored in the data transmission instruction, and inquiring target data in the target equipment according to the transmission mark;
acquiring the storage sequence of a local folder in the target data to draw a folder sequence list, and acquiring the storage sequence of subfiles in each local folder to draw a subfile sequence list;
obtaining the caching order of the caching information in the target data to draw a caching order list, and establishing a target folder according to the corresponding order of the folder order list in the equipment to be transmitted;
and copying the subfiles in the local folder to the target folder correspondingly in sequence according to the subfile sequence list, and establishing a cache task in the equipment to be transmitted according to the cache sequence list. The storage medium includes: ROM/RAM, magnetic disks, optical disks, etc.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional units or modules according to needs, i.e. the internal structure of the storage device is divided into different functional units or modules, so as to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application.
It will be appreciated by those skilled in the art that the constituent structures depicted in fig. 3 are not limiting of the data transmission system of the present invention and may include more or fewer components than shown, or may be combined with certain components, or may be arranged differently, while the data transmission method of fig. 1-2 may also be implemented using more or fewer components shown in fig. 3, or may be combined with certain components, or may be arranged differently. The units, modules, etc. referred to in the present invention refer to a series of computer programs that can be executed by a processor (not shown) in the target data transmission system and perform specific functions, and may be stored in a storage device (not shown) of the target data transmission system.
The above embodiments describe the technical principle of the present invention, and these descriptions are only for explaining the principle of the present invention and should not be construed in any way as limiting the scope of the present invention. Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein, without departing from the spirit and scope of the invention.
Claims (10)
1. A method of data transmission, the method comprising:
receiving a data transmission instruction, and inquiring target equipment according to the data transmission instruction;
acquiring a transmission mark stored in the data transmission instruction, and inquiring target data in the target equipment according to the transmission mark;
acquiring the storage sequence of a local folder in the target data to draw a folder sequence list, and acquiring the storage sequence of subfiles in each local folder to draw a subfile sequence list;
obtaining the caching order of the caching information in the target data to draw a caching order list, and establishing a target folder according to the corresponding order of the folder order list in the equipment to be transmitted;
and copying the subfiles in the local folder to the target folder correspondingly in sequence according to the subfile sequence list, and establishing a cache task in the equipment to be transmitted according to the cache sequence list.
2. The data transmission method as claimed in claim 1, wherein the step of obtaining a storage order of local folders in the target data to draw a folder order list comprises:
and sequentially obtaining the folder names of the local folders, and storing the folder names according to the storage sequence of the local folders to obtain the folder sequence list.
3. The data transmission method as claimed in claim 1, wherein the step of obtaining the storage order of the subfiles in each of the local folders to draw the subfile order list comprises:
and sequentially obtaining the sub-file names of each sub-file, and storing the sub-file names according to the storage sequence of the sub-files to obtain the sub-file sequence list.
4. The data transmission method as claimed in claim 1, wherein the step of obtaining the buffer order of the buffer information in the target data to draw the buffer order list comprises:
and sequentially acquiring a cache name and a cache address of each piece of cache information, and storing the cache name and the cache address according to the cache sequence of the cache information to obtain the cache sequence list.
5. The data transmission method as claimed in claim 4, wherein the step of establishing a buffering task in the device to be transmitted according to the buffering order list comprises:
sequentially executing the caching operation according to the sequence of the caching addresses in the caching sequence list so as to establish the caching task;
and marking the names of the corresponding cache tasks in sequence according to the sequence of the cache names in the cache sequence list.
6. The data transmission method of claim 1, wherein the method further comprises:
inquiring target folders, target subfolders or target cache information according to the deletion identifiers when the deletion identifiers are stored in the data transmission instructions;
and deleting the queried target folder, target subfolder or target cache information in the folder sequence list, the subfolder sequence list or the cache sequence list.
7. A data transmission system, the system comprising:
the device query module is used for receiving the data transmission instruction and querying the target device according to the data transmission instruction;
the data query module is used for acquiring the transmission mark stored in the data transmission instruction and querying target data in the target equipment according to the transmission mark;
the list drawing module is used for obtaining the storage sequence of the local folder in the target data to draw a folder sequence list, obtaining the storage sequence of the sub-files in each local folder to draw a sub-file sequence list, and obtaining the cache sequence of the cache information in the target data to draw a cache sequence list;
the file folder establishing module is used for establishing a target file folder in the equipment to be transmitted according to the corresponding sequence of the file folder sequence list, and copying the subfiles in the local file folder to the target file folder in sequence according to the subfile sequence list;
and the buffer execution module is used for establishing buffer tasks in the equipment to be transmitted according to the buffer sequence list.
8. The data transmission system of claim 7, wherein the list rendering module is further configured to:
and sequentially obtaining the folder names of the local folders, and storing the folder names according to the storage sequence of the local folders to obtain the folder sequence list.
9. The data transmission system of claim 7, wherein the list rendering module is further configured to:
and sequentially obtaining the sub-file names of each sub-file, and storing the sub-file names according to the storage sequence of the sub-files to obtain the sub-file sequence list.
10. The data transmission system of claim 7, wherein the list rendering module is further configured to:
and sequentially acquiring a cache name and a cache address of each piece of cache information, and storing the cache name and the cache address according to the cache sequence of the cache information to obtain the cache sequence list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010021525.9A CN111221788B (en) | 2020-01-09 | 2020-01-09 | Data transmission method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010021525.9A CN111221788B (en) | 2020-01-09 | 2020-01-09 | Data transmission method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111221788A CN111221788A (en) | 2020-06-02 |
CN111221788B true CN111221788B (en) | 2023-04-25 |
Family
ID=70826669
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010021525.9A Active CN111221788B (en) | 2020-01-09 | 2020-01-09 | Data transmission method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111221788B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113382013B (en) * | 2021-06-21 | 2022-12-09 | 国网宁夏电力有限公司电力科学研究院 | Data mining system based on energy big data |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1779665A (en) * | 2005-09-30 | 2006-05-31 | 迈世亚(北京)科技有限公司 | Method for duplicating musical composition in CD into MP3 realplayer |
CN102137031A (en) * | 2010-01-21 | 2011-07-27 | 腾讯科技(深圳)有限公司 | Method and equipment for transmitting folders |
CN102469038A (en) * | 2010-11-15 | 2012-05-23 | 阿里巴巴集团控股有限公司 | Folder transmission method and device |
CN102595335A (en) * | 2012-02-22 | 2012-07-18 | 深圳市普联技术有限公司 | Processing method and system of sending file or folder to multiple persons |
CN103327123A (en) * | 2013-07-12 | 2013-09-25 | 北京金山云网络技术有限公司 | File synchronization method, client, server side and equipment |
CN104333583A (en) * | 2014-10-27 | 2015-02-04 | 广州酷狗计算机科技有限公司 | Document transmission method and device |
CN104796476A (en) * | 2015-04-26 | 2015-07-22 | 天津立言科技有限公司 | File uploading method, file uploading device and file uploading system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100011054A1 (en) * | 2008-07-14 | 2010-01-14 | Yang Pan | Portable Media Delivery System with a Media Server and Highly Portable Media Client Devices |
-
2020
- 2020-01-09 CN CN202010021525.9A patent/CN111221788B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1779665A (en) * | 2005-09-30 | 2006-05-31 | 迈世亚(北京)科技有限公司 | Method for duplicating musical composition in CD into MP3 realplayer |
CN102137031A (en) * | 2010-01-21 | 2011-07-27 | 腾讯科技(深圳)有限公司 | Method and equipment for transmitting folders |
CN102469038A (en) * | 2010-11-15 | 2012-05-23 | 阿里巴巴集团控股有限公司 | Folder transmission method and device |
CN102595335A (en) * | 2012-02-22 | 2012-07-18 | 深圳市普联技术有限公司 | Processing method and system of sending file or folder to multiple persons |
CN103327123A (en) * | 2013-07-12 | 2013-09-25 | 北京金山云网络技术有限公司 | File synchronization method, client, server side and equipment |
CN104333583A (en) * | 2014-10-27 | 2015-02-04 | 广州酷狗计算机科技有限公司 | Document transmission method and device |
CN104796476A (en) * | 2015-04-26 | 2015-07-22 | 天津立言科技有限公司 | File uploading method, file uploading device and file uploading system |
Non-Patent Citations (1)
Title |
---|
黄晓梅等. 网络教学中文件传输协议及控制策略的设计.合肥学院学报(自然科学版).2006,全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN111221788A (en) | 2020-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7181958B2 (en) | File processing method and mobile terminal | |
KR102084977B1 (en) | Multimedia poster generation method and terminal | |
CN106202367B (en) | A kind of processing method and processing device of object information | |
CN107562835B (en) | File searching method and device, mobile terminal and computer readable storage medium | |
CA2722643C (en) | Systems and methods for thumbnail management | |
US9218381B2 (en) | Method and apparatus for portable index on a removable storage medium | |
CN103279288B (en) | Data transmission method, device and terminal unit | |
CN109033360B (en) | Data query method, device, server and storage medium | |
US8386538B2 (en) | File exchange system and mobile device | |
CN108038114A (en) | A kind of path query method, terminal, computer-readable recording medium | |
WO2014206046A1 (en) | A method, equipment and system of incremental update | |
CN107122429A (en) | The method and apparatus and mobile terminal of a kind of file management | |
CN103327189A (en) | Method and device for uploading, browsing and deleting pictures | |
US20140025662A1 (en) | Content search method based on cloud service, and system and terminal device supporting the same | |
TW201310947A (en) | File download system | |
EP2990961A1 (en) | Method, apparatus, and electronic device for establishing virtual directory | |
WO2015176202A1 (en) | Multimedia display method, device and equipment | |
CN111221788B (en) | Data transmission method and system | |
CN106506771B (en) | Contact object classification display method and device and mobile terminal | |
CN112740162B (en) | Desktop management method and device, mobile terminal and storage medium | |
CN104239316B (en) | Search the method and device of object | |
WO2014146450A1 (en) | Method, device and system for data searching | |
KR20070090914A (en) | Mobile terminal having function of managing file and folder | |
CN118120212A (en) | File deduplication method, device and equipment | |
CN106503120A (en) | Picture classification methods of exhibiting, device and server |
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 |