CN110825696B - Processing method and processing device - Google Patents

Processing method and processing device Download PDF

Info

Publication number
CN110825696B
CN110825696B CN201911076192.3A CN201911076192A CN110825696B CN 110825696 B CN110825696 B CN 110825696B CN 201911076192 A CN201911076192 A CN 201911076192A CN 110825696 B CN110825696 B CN 110825696B
Authority
CN
China
Prior art keywords
file
information
files
transmitted
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911076192.3A
Other languages
Chinese (zh)
Other versions
CN110825696A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201911076192.3A priority Critical patent/CN110825696B/en
Publication of CN110825696A publication Critical patent/CN110825696A/en
Application granted granted Critical
Publication of CN110825696B publication Critical patent/CN110825696B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/119Details of migration of file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs

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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a processing method and a processing device, wherein the processing method comprises the following steps: the method comprises the steps that transmission conditions are met, first information is obtained, and the first information represents local file information of a transmission end; obtaining second information, wherein the second information relates to the determination of the file to be transmitted; and determining a file screening strategy at least based on the first information and the second information, and determining a file to be transmitted based on the determined file screening strategy so as to solve the problem of low migration accuracy of the existing file.

Description

Processing method and processing device
Technical Field
The application relates to the technical field of information processing and manufacturing, in particular to a processing method and a processing device.
Background
Along with the development of electronic technology, electronic devices are increasingly commonly applied, and files stored in the electronic devices are more and more stored, so that file migration work among different electronic devices is more and more complicated, and the file migration accuracy is lower.
Disclosure of Invention
In a first aspect, an embodiment of the present application provides a processing method, including:
the method comprises the steps that transmission conditions are met, first information is obtained, and the first information represents local file information of a transmission end;
Obtaining second information, wherein the second information relates to the determination of the file to be transmitted;
determining a file screening policy based at least on the first information and the second information, determining a file to be transmitted based on the determined file screening policy;
the transmission condition is a condition that triggers the transmission end to start executing the file transmission task.
Optionally, the method further comprises:
outputting the determined files to be transmitted according to a first sequence, and sending the files to be transmitted to a target receiving end according to a second sequence; wherein the first order is the same as or different from the second order.
Optionally, the determining a file screening policy based at least on the first information and the second information includes:
processing the first information based on the second information to determine a user identification of the transmitting end;
determining a corresponding file identification to be transmitted from the second information based on the user identification, so as to screen the file to be transmitted from the local file based on the file identification to be transmitted;
wherein the second information characterizes historical file transfer information.
Optionally, the determining a file screening policy based at least on the first information and the second information includes:
Processing the first information based on the second information so as to mark a file pointed by the second information in the local file as a file to be transmitted;
wherein the second information characterizes input information of a user.
Optionally, the determining a file screening policy based at least on the first information and the second information includes:
processing the first information based on the second information so as to mark files meeting screening conditions in the local files as files to be transmitted;
wherein the second information characterizes an access object, an accessed time, and/or an accessed frequency of the local file.
Optionally, the processing the first information based on the second information to mark a file meeting the filtering condition in the local file as a file to be transmitted includes:
screening files based on the accessed time of the local files so as to mark the files meeting a first access time threshold value in the local files as files to be transmitted; or alternatively, the first and second heat exchangers may be,
screening files based on the accessed frequency of the local files, so as to mark the files meeting a first access frequency threshold value in the local files as files to be transmitted; or alternatively, the first and second heat exchangers may be,
screening files based on the access objects of the local files so as to mark the files accessed by the first number of access objects in the local files as files to be transmitted; or alternatively, the first and second heat exchangers may be,
Screening files based on the access objects and the accessed frequencies of the local files, so as to mark files which are accessed by a second number of access objects and meet a second access frequency threshold value in the local files as files to be transmitted; or alternatively, the first and second heat exchangers may be,
screening files based on the accessed time and the accessed frequency of the local files so as to mark files which accord with a second access time threshold and accord with a third access frequency threshold in the local files as files to be transmitted; or alternatively, the first and second heat exchangers may be,
screening files based on the access objects and the accessed time of the local files so as to mark files which are accessed by a third number of access objects and meet a third access time threshold value in the local files as files to be transmitted; or alternatively, the first and second heat exchangers may be,
and screening files based on the access objects, the accessed time and the accessed frequency of the local files so as to mark the files which are accessed by a fourth number of access objects and meet a fourth access time threshold and a fourth access frequency threshold in the local files as files to be transmitted.
Optionally, the method further comprises:
detecting an operation of adjusting the weight of a first file to be transmitted, and adjusting the determined file to be transmitted based on the association degree of other files to be transmitted and the first file to be transmitted;
Wherein the weight represents the transmission priority of the file to be transmitted.
Optionally, the method further comprises:
and obtaining the hardware information of the transmission end, and adjusting the determined file to be transmitted based on the hardware information of the transmission end.
Optionally, detecting an instruction for triggering the transmission end to start executing the file transmission task, and determining that the transmission condition is met; or alternatively, the first and second heat exchangers may be,
detecting that the distance between the target receiving end and the target receiving end meets a preset distance threshold value, and determining that the transmission condition is met; or alternatively, the first and second heat exchangers may be,
and detecting that the pairing connection with the target receiving end is completed, and determining that the transmission condition is met.
Embodiments of the present application also provide, in a second aspect, a processing apparatus, including:
the first acquisition module is used for acquiring first information when the transmission condition is met, wherein the first information represents local file information of a transmission end;
the second acquisition module is used for acquiring second information, and the second information is related to the determination of the file to be transmitted;
the processing module is used for determining a file screening strategy at least based on the first information and the second information, and determining a file to be transmitted based on the determined file screening strategy;
the transmission condition is a condition that triggers the transmission end to start executing the file transmission task.
Embodiments of the present application also provide in a third aspect an electronic device comprising a memory and a processor, wherein the processor is configured to execute a program stored in the memory; the memory is used for storing a program, and the program is used for at least:
the method comprises the steps that transmission conditions are met, first information is obtained, and the first information represents local file information of a transmission end;
obtaining second information, wherein the second information relates to the determination of the file to be transmitted;
determining a file screening policy based at least on the first information and the second information, determining a file to be transmitted based on the determined file screening policy;
the transmission condition is a condition that triggers the transmission end to start executing the file transmission task.
Embodiments of the present application also provide, in a fourth aspect, a storage medium having stored thereon a program for at least:
the method comprises the steps that transmission conditions are met, first information is obtained, and the first information represents local file information of a transmission end;
obtaining second information, wherein the second information relates to the determination of the file to be transmitted;
determining a file screening policy based at least on the first information and the second information, determining a file to be transmitted based on the determined file screening policy;
The transmission condition is a condition that triggers the transmission end to start executing the file transmission task.
The processing method provided by the embodiment of the invention can automatically screen the file to be transmitted based on the first information representing the local file information of the transmission end and the second information related to the determination of the file to be transmitted, thereby solving the problem that the file migration work is more and more complicated caused by determining whether the file is to be migrated or not by performing one-to-one confirmation on the file stored in the transmission end, solving the problem that the file migration accuracy is low, the consumed time and the occupied storage space are increased caused by directly introducing the migration of a plurality of redundant files when all the files stored in the transmission end are migrated, and improving the file migration accuracy and efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a processing method according to one embodiment of the present application;
FIG. 2 is a schematic diagram illustrating a method for determining a user identifier based on first information according to an embodiment of the present application;
FIG. 3 is a schematic diagram of determining a file identifier to be transmitted based on first information in a processing method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of determining a file to be transmitted based on first information in a processing method according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating the determination of weights of files in the local files according to the processing method according to one embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a weighted file list according to an embodiment of the present application;
fig. 7 is a schematic diagram of a processing apparatus according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application, but the present application may be practiced in other ways other than those described herein, and persons skilled in the art will readily appreciate that the present application is not limited to the specific embodiments disclosed below.
As described in the background section, as more files are stored in electronic devices, file migration between different electronic devices is increasingly cumbersome.
The method is characterized in that the data volume stored in the electronic equipment is large, and when the files stored in the electronic equipment are migrated, the files stored in the electronic equipment are required to be confirmed one by one to determine whether the files are to be migrated, so that file migration work among different electronic equipment is more and more complicated and the efficiency is low.
If the files stored in the electronic equipment are not confirmed one by one, all the files stored in the electronic equipment are directly migrated, and the migration of a plurality of redundant files is introduced, so that the time consumed by the file migration work between different equipment and the occupied storage space are increased, and the accuracy is low.
In view of this, the embodiment of the present application provides a processing method, as shown in fig. 1, including:
s1: and (3) meeting transmission conditions, and obtaining first information, wherein the first information represents local file information of a transmission end. The transmission condition is a condition for triggering the transmission end to start executing file transmission tasks.
Specifically, in one embodiment of the present application, the processing method further includes: and detecting an instruction for triggering the transmission end to start executing the file transmission task, and determining that the transmission condition is met. That is, in the embodiment of the present application, the processing method determines whether the transmitting end meets a transmission condition by detecting an instruction for triggering the transmitting end to start executing a file transmission task, if the instruction for triggering the transmitting end to start executing the file transmission task is detected, it determines that the transmitting end meets the transmission condition, otherwise, it determines that the transmitting end does not meet the transmission condition. For example, an operation of opening the file migration application is detected, and it is determined that the transmission condition is satisfied.
In another embodiment of the present application, the processing method further includes: and detecting that the distance between the target receiving end and the target receiving end meets a preset distance threshold value, and determining that the transmission condition is met. That is, in this embodiment of the present application, the processing method determines whether the transmission end meets a transmission condition by determining whether a distance between the transmission end and a target receiving end meets a preset distance threshold, specifically, if the distance between the transmission end and the target receiving end is smaller than or not larger than the preset distance threshold, it is determined that the transmission end meets the transmission condition, otherwise, it is determined that the transmission end does not meet the transmission condition.
In another embodiment of the present application, the processing method further includes: and detecting that the pairing connection with the target receiving end is completed, and determining that the transmission condition is met. That is, in this embodiment of the present application, the processing method determines whether the transmitting end meets a transmission condition by detecting whether the transmitting end and the target receiving end complete pairing connection, if yes, determines that the transmitting end meets the transmission condition, otherwise, determines that the transmitting end does not meet the transmission condition.
S2: second information is obtained, said second information being related to a determination of the file to be transferred.
Specifically, in one embodiment of the present application, the second information represents transmission information of the history file, and in another embodiment of the present application, the second information represents input information of a user at the transmission end; in still another embodiment of the present application, the second information characterizes at least one of an access object, an accessed time and an accessed frequency of the local file, and in other embodiments of the present application, the second information may also be characterizing information of other information such as an accessed right of the local file, which is not limited in this application, as long as the second information relates to a determination of a file to be transmitted.
In this embodiment of the present application, the first information and the second information may be acquired simultaneously, or may be sequentially acquired, for example, the first information is acquired first, then the second information is acquired, or the second information is acquired first, then the first information is acquired, which is not limited in this application, and is specific according to circumstances.
S3: determining a file screening policy based at least on the first information and the second information, and determining a file to be transmitted based on the determined file screening policy.
Specifically, in one embodiment of the present application, the second information characterizes historical file transfer information, and in an embodiment of the present application, the determining, based at least on the first information and the second information, a file screening policy includes:
processing the first information based on the second information to determine a user identification of the transmitting end;
and determining a corresponding file identification to be transmitted from the second information based on the user identification so as to screen the file to be transmitted from the local file based on the file identification to be transmitted.
On the basis of the foregoing embodiments, in one embodiment of the present application, the processing the first information based on the second information to determine the user identifier of the transmitting end includes:
Constructing a clustering model for the historical file transmission information of the second information characterization;
and inputting the first information into the clustering model to determine the user identification of the transmission end.
Specifically, in one embodiment of the present application, constructing a cluster model for the historical file transfer information of the second information characterization includes: clustering the historical file transmission information stored in the cloud, dividing the historical file transmission information into multiple types of historical file transmission information, and constructing a clustering model based on the clustered historical file transmission information, so that the clustering model can determine the type of the historical file transmission information to which the first information belongs based on the first information input by the clustering model.
It should be noted that, the different types of history file transmission information correspond to different types of users, that is, the identifiers of the users corresponding to the different types of history file transmission information are different. Therefore, in the embodiment of the application, after the first information representing the local file information of the transmitting end is input into the clustering model, the clustering model may determine the user identifier of the transmitting end or the type of the user of the transmitting end.
Specifically, in an embodiment of the present application, the local file information of the transmitting end represented by the first information may be application software information installed in the transmitting end, or may be local file information accessed in the transmitting end within a first period of time, or may include both the application software information installed in the transmitting end and the local file information accessed in the transmitting end within the first period of time, which is not limited in this application, and this application is specific as the case may be.
The description will be made by taking, as an example, the local file information of the transmitting end represented by the first information, including both the application software information installed in the transmitting end and the local file information accessed in the transmitting end in the first period of time. As shown in fig. 2, when the transmission end meets the transmission condition, the processing method obtains the application software information installed in the transmission end and the local file information accessed in the first time period in the transmission end, and then performs big data analysis on the application software information installed in the transmission end and the local file information accessed in the first time period in the transmission end (i.e. inputs the application software information installed in the transmission end and the local file information accessed in the first time period in a clustering model) so as to determine the identification, such as the user type, of the user of the transmission end.
On the basis of any of the foregoing embodiments, in one embodiment of the present application, the identification of the file to be transmitted is a keyword of the file to be transmitted, and in this embodiment of the present application, determining, based on the user identification, a corresponding identification of the file to be transmitted from the second information, so as to screen the file to be transmitted from the local file based on the identification of the file to be transmitted includes: and determining keywords of the corresponding files to be transmitted from the second information based on the user identification, so as to screen the files to be transmitted from the local files based on the keywords of the files to be transmitted.
In one embodiment of the present application, after the cluster model is constructed, the cluster model determines the type of the user at the transmitting end based on the first information input by the cluster model, determines the keywords of the file to be transmitted based on the history file information corresponding to the type of the user, and determines the file to be transmitted in the local file at the transmitting end based on the local file at the transmitting end and the keywords of the file to be transmitted.
In another embodiment of the present application, the identification of the file to be transmitted may further include a type of the file to be transmitted, and in this embodiment of the present application, determining, based on the user identification, a corresponding identification of the file to be transmitted from the second information, so as to screen the file to be transmitted from the local file based on the identification of the file to be transmitted includes: and determining the corresponding keywords of the files to be transmitted and the types of the files to be transmitted from the second information based on the user identification, so as to screen the files to be transmitted from the local files based on the keywords of the files to be transmitted and the types of the files to be transmitted.
In one embodiment of the present application, after the cluster model is constructed, the cluster model determines the type of the user at the transmitting end based on the first information input by the cluster model, determines the keyword of the file to be transmitted and the type of the file to be transmitted based on the history file information corresponding to the type of the user, and finally determines the file to be transmitted in the local file at the transmitting end based on the local file at the transmitting end and the keyword and the type of the file to be transmitted.
As shown in fig. 3, fig. 3 shows a schematic process of big data analysis based on the application software information installed in the transmitting terminal and the local file information accessed in the transmitting terminal in the first period of time. In this embodiment of the present application, when the transmission end satisfies a transmission condition, the processing method first obtains application software information installed in the transmission end and local file information accessed in a first period of time in the transmission end, and then performs big data analysis on the application software information installed in the transmission end and the local file information accessed in the first period of time in the transmission end (that is, inputs the application software information installed in the transmission end and the local file information accessed in the first period of time in a cluster model) to determine an identifier of a user of the transmission end, for example, determine an occupation undertaken by the user, such as a designer, programmer, accountant, legal worker, and the like; and then determining the identification of the file to be transmitted based on the user identification, such as the type of the file to be transmitted and/or keywords of the file to be transmitted, wherein when the user at the transmitting end is determined to be a legal worker, the file type and the file identification commonly used by other legal workers can be obtained through big data, or the file to be transmitted is determined according to legal industry keywords with relatively high relevance to the legal worker, such as ' contract ', ' court ', ' party ' litigation ' and the like.
Optionally, on the basis of any one of the embodiments, in one embodiment of the present application, the file to be transmitted is a file including the identifier of the file to be transmitted; in another embodiment of the present application, the file to be transmitted includes not only a file including the identifier of the file to be transmitted, but also a file having a certain correlation with the file including the identifier of the file to be transmitted.
Specifically, in one embodiment of the present application, the file having a certain correlation with the file including the identifier of the file to be transmitted is: and the weight value in the local file is larger than a first numerical value, and the weight value represents the correlation with the file containing the file identification to be transmitted, wherein the larger the weight value is, the stronger the correlation between the weight value and the file containing the file identification to be transmitted is, namely the more the weight value is related with the file containing the file identification to be transmitted. It should be noted that, the higher the priority of the file having a stronger correlation with the file including the identifier of the file to be transmitted is, that is, in the embodiment of the present application, the weight may also represent the transmission priority of the file to be transmitted.
On the basis of the above embodiment, in one embodiment of the present application, the method further includes: and determining the weight of each file in the local file based on the identification of the file to be transmitted.
Continuing taking the identification of the file to be transmitted as the keyword of the file to be transmitted as an example, specifically, in one embodiment of the present application, determining the weight of each file in the local file based on the identification of the file to be transmitted includes:
determining the weight of a file including the file identification to be transmitted in a local file based on the identification of the file to be transmitted;
and determining the weight of other files in the local file based on the storage directory of the file containing the file identification to be transmitted.
On the basis of the above embodiment, in one embodiment of the present application, the processing method further includes: and outputting a file list with a weight, and marking the file with the weight larger than the first value in the local file as a file to be transmitted based on the file list with the weight.
In the following, for convenience of description, a file including the file identifier to be transmitted in the local file is referred to as a first local file, and other local files are referred to as second local files.
If the file stored under the same storage directory as the first local file comprises a plurality of second local files; in another embodiment of the present application, determining the weight of the second local file based on the storage directory in which the first local file is located includes: determining a weight value range of the second local file based on a storage directory where the first local file is located; and determining the weight of each second local file based on the accessed time of each second local file under the same storage directory. The more recent files have larger weights under the same storage directory, namely, the more recent files have larger weights under the same storage directory; under different storage directories, the larger the difference between the storage directory of the second local file and the storage directory of the first body file is, that is, the larger the number of files and directories at intervals between the storage positions of the second local file and the storage positions of the first local file is, the smaller the weight of the second local file is.
Specifically, based on the foregoing embodiments, in one embodiment of the present application, determining the weight of each second local file based on the accessed time of each second local file under the same storage directory includes: and traversing the local files in the transmission end, determining the weight of each file in the local files based on the storage catalog of the first local file, the storage catalog of the second local file and the last accessed time, so as to output a file list with weight, thereby facilitating the subsequent traversal of the file list with weight, and marking the files with weight larger than the first value as files to be transmitted.
As shown in fig. 4, after the processing method obtains the user type corresponding to the transmitting end, determining the identifier of the file to be transmitted based on the user type, determining the file including the identifier of the file to be transmitted based on the identifier of the file to be transmitted, marking the file as a first local file, determining the weight of each file in the local file based on the storage directory including the identifier of the file to be transmitted and the accessed time of the local file, outputting a file list with weight, and then screening out files with weight greater than the first value from the file list with weight to mark the file to be transmitted.
If the file stored under the same storage directory as the first local file comprises a plurality of second local files; in one embodiment of the present application, determining the weight of the second local file based on the storage directory in which the first local file is located includes: determining a weight value range of the second local file based on a storage directory where the first local file is located; and determining the weight of each second local file based on the correlation between the file name of each second local file and the file name of the first local file under the same storage directory. The more similar the file name of the first local file is to the file name of the first local file, the larger the weight of the file is.
Specifically, based on the foregoing embodiments, in one embodiment of the present application, determining the weight of each second local file based on the correlation between the file name of each second local file and the file name of the first local file under the same storage directory includes: and traversing the local files in the transmission end, determining the weight of each file in the local files based on the storage catalog and the file name of the first local file and the storage catalog and the file name of the second local file, so as to output a file list with weight, thereby facilitating the subsequent traversal of the file list with weight, and marking the file with weight larger than the first value as a file to be transmitted.
In other embodiments of the present application, if the file stored under the same storage directory as the first local file includes a plurality of second local files; in one embodiment of the present application, determining the weight of the second local file based on the storage directory in which the first local file is located includes: determining a weight value range of the second local file based on a storage directory where the first local file is located; and determining the weight of each second local file based on the correlation between the file name of each second local file under the same storage directory and the file name of the first local file and the last accessed time of each second local file under the same storage directory. The present application is not limited thereto, and is specific as the case may be.
The following description is provided in connection with a specific embodiment.
As shown in fig. 5, a file tree is constructed for a local file in the transmitting end, the weight of a file (xxx.doc, xxx.ppt) including a file identifier to be transmitted in the file tree is determined to be 9, the weight of xxx.png including the file to be identified under the same storage directory and having higher similarity to the file name including the file xxx.doc to be identified (or having a later last first accessed time) is determined to be 7, the weight of xxx.mp4 including the file xxx.doc to be identified under the same storage directory and having lower similarity to the file name including the file xxx.doc to be identified (or having a earlier last first accessed time) is determined to be 3, the weight of xxx.png and xxx.jpg including the file to be identified under different storage directories is determined to be 1, and so on; then outputting a file list with weights as shown in fig. 6; and finally, screening files with weights larger than a first value from the file list with weights, and marking the files as files to be transmitted, for example, marking the files with weights larger than 7 as files to be transmitted.
It should be noted that fig. 5 and fig. 6 are only exemplary, and the value of the weight of each file is not limited in this application, and is specifically determined according to the number of files in the local file and the usage habit of the user. In addition, although the weighted files list shown in fig. 6 are marked with numbers, the application is not limited thereto, and in other embodiments of the application, different weights of the files may be marked with different colors, different fonts, and the like, as the case may be.
It should be further noted that, although the foregoing embodiment describes the identification of the file to be transmitted as an example of the keyword of the file to be transmitted, the application is not limited thereto, and in other embodiments of the application, the identification of the file to be transmitted may also be other identifications of the file to be transmitted, where appropriate.
In another embodiment of the present application, the second information characterizes input information of a user, and in an embodiment of the present application, determining the file screening policy based at least on the first information and the second information includes: and processing the first information based on the second information so as to mark the file pointed by the second information in the local file as a file to be transmitted. In this embodiment of the present application, the file to be transmitted is a local file selected by a user of the transmitting end to perform a selection operation or a search operation.
In yet another embodiment of the present application, the second information characterizes an access object, an accessed time, and/or an accessed frequency of the local file, and in an embodiment of the present application, determining the file screening policy based at least on the first information and the second information includes: and processing the first information based on the second information so as to mark the files meeting the screening conditions in the local files as files to be transmitted.
Specifically, in one embodiment of the present application, the second information characterizes an access object of the local file, and the processing the first information based on the second information to mark a file meeting a filtering condition in the local file as a file to be transmitted includes: and screening files based on the access objects of the local files so as to mark the files accessed by the first number of access objects in the local files as files to be transmitted. It should be noted that, the specific value of the first number is not limited in this embodiment, and is specifically determined according to the number of local files at the transmitting end, the file transmission requirement of the user at the transmitting end, and/or the storage capability of the target receiving end.
In another embodiment of the present application, the second information characterizes an accessed time of the local file, and in an embodiment of the present application, the processing the first information based on the second information to mark a file meeting a filtering condition in the local file as a file to be transmitted includes: and screening files based on the accessed time of the local files so as to mark the files meeting the first access time threshold value in the local files as files to be transmitted. In this embodiment of the present application, the processing method may filter the files based on the accessed time of the local files, so as to mark, as files to be transmitted, files having accessed times after a first time and before a current time in the local files, where a time interval between the first time and the current time is smaller than or not greater than a first access time threshold, where the first access time threshold may be 30 days, 15 days, or other values, which is not limited in this application, and the application is specific to situations.
In another embodiment of the present application, the processing the first information based on the second information to mark the file meeting the filtering condition in the local file as the file to be transmitted may further mark the file having the accessed time after the first time in the local file as the file to be transmitted based on the accessed time of the local file, where the first time may be AB-year CD-month EF, or mark the file having the accessed time after the first time and before the second time in the local file as the file to be transmitted based on the accessed time of the local file, where the first time and the second time may be different days of the same month (e.g. 2019-10-29-year) of the same year (e.g. 2019-10-29), or different days of the same month (e.g. 2019-9-10-year), or different days of the same month (e.g. 2019-10-29), and may be defined as the same year (e.g. 2019-10-month, 2018-10-year) of the same year, and the present application is defined as the specific day (e.g. 2019-10-month, 2018-year).
In still another embodiment of the present application, the second information characterizes the accessed frequency of the local file, and in this embodiment of the present application, the processing the first information based on the second information to mark a file meeting the filtering condition in the local file as a file to be transmitted includes: and screening files based on the accessed frequency of the local files so as to mark the files meeting the first access frequency threshold value in the local files as files to be transmitted. In this embodiment of the present application, files may be screened based on the accessed frequency of the local files, so as to mark files in the local files, where the accessed frequency is greater than the first access frequency threshold, as files to be transmitted. It should be noted that, in this embodiment of the present application, files with total frequencies of accesses greater than a first access frequency threshold in the local files may be marked as files to be transmitted based on the accessed frequency filtering files of the local files, files with total frequencies of accesses greater than the first access frequency threshold in a preset period of time in the local files may be marked as files to be transmitted based on the accessed frequency filtering files of the local files, or files with frequencies of accesses greater than the first access frequency threshold in one access period in the local files may be marked as files to be transmitted based on the accessed frequency filtering files of the local files, where the duration of the access period is determined according to circumstances.
In still another embodiment of the present application, the second information characterizes an access object and an access frequency of the local file, and in this embodiment of the present application, processing the first information based on the second information to mark a file meeting a filtering condition in the local file as a file to be transmitted includes: and screening files based on the access objects and the accessed frequency of the local files so as to mark the files which are accessed by the second number of access objects and meet a second access frequency threshold value in the local files as files to be transmitted.
Specifically, based on the foregoing embodiments, in one embodiment of the present application, the processing method marks, as the file to be transmitted, only the file that is accessed by the second number of access objects and meets the second access frequency threshold value in the local file, based on the access object and the accessed frequency filter file of the local file.
In another embodiment of the present application, the processing method marks, as the files to be transmitted, a file accessed by a first number of access objects in the local files and a file accessed by a second number of access objects in the local files and meeting a second access frequency threshold, based on the access objects and the accessed frequency filtering files of the local files, where the first number is greater than the second number.
In yet another embodiment of the present application, the processing method marks, as the file to be transmitted, a file in the local file that meets a first access frequency threshold and a file in the local file that is accessed by a second number of access objects and meets a second access frequency threshold, based on the access objects and the accessed frequency filtering file of the local file, where the first access frequency threshold is greater than the second access frequency threshold.
In still another embodiment of the present application, the processing method marks, as the local files to be transmitted, a file in the local files, which is accessed by a first number of access objects, a file in the local files, which accords with a first access frequency threshold, and a file in the local files, which is accessed by a second number of access objects and accords with a second access frequency threshold, based on the access objects and the accessed frequency filtering files of the local files, where the first number is greater than the second number, and the first access frequency threshold is greater than the second access frequency threshold.
In still another embodiment of the present application, the second information characterizes an accessed time and an accessed frequency of the local file, and in this embodiment of the present application, processing the first information based on the second information to mark a file meeting a filtering condition in the local file as a file to be transmitted includes: and screening files based on the accessed time and the accessed frequency of the local files so as to mark the files which meet the second access time threshold and the third access frequency threshold in the local files as files to be transmitted.
Specifically, in one embodiment of the application, the processing method filters files based on the accessed time and the accessed frequency of the local files, and marks only files meeting the second access time threshold and meeting the third access frequency threshold in the local files as files to be transmitted.
In another embodiment of the present application, the processing method marks, as the file to be transmitted, a file meeting a first access time threshold value in the local file and a file meeting a second access time threshold value and meeting a third access frequency threshold value in the local file based on the accessed time and the accessed frequency of the local file, where the first access time threshold value is smaller than the second access time threshold value.
In yet another embodiment of the present application, the processing method marks, as the file to be transmitted, a file that meets a first access frequency threshold value in the local files and a file that meets a second access time threshold value and meets a third access frequency threshold value in the local files based on the accessed time and the accessed frequency of the local files, where the first access frequency threshold value is greater than the third access frequency threshold value.
In still another embodiment of the present application, the processing method marks, as a file to be transmitted, a file in the local file that meets a first access time threshold, a file in the local file that meets a first access frequency threshold, and a file in the local file that meets a second access time threshold and meets a third access frequency threshold, based on an accessed time and an accessed frequency of the local file, where the first access time threshold is smaller than the second access time threshold, and the first access frequency threshold is greater than the third access frequency threshold.
In still another embodiment of the present application, the second information characterizes an access object and an accessed time of the local file, and in an embodiment of the present application, the processing the first information based on the second information to mark a file meeting a filtering condition in the local file as a file to be transmitted includes: and screening files based on the access objects and the accessed time of the local files so as to mark the files which are accessed by the third number of access objects and meet a third access time threshold value in the local files as files to be transmitted.
Specifically, based on the foregoing embodiments, in one embodiment of the present application, the processing method filters files based on the access objects and the accessed times of the local files, and marks only files that are accessed by a third number of access objects and meet a third access time threshold in the local files as files to be transmitted.
In another embodiment of the present application, the processing method marks, as the files to be transmitted, the files accessed by the first number of access objects in the local files and the files accessed by the third number of access objects in the local files and meeting the third access time threshold, based on the access objects and the accessed time of the local files, where the first number is greater than the third number.
In yet another embodiment of the present application, the processing method marks, as the file to be transmitted, a file in the local file that meets a first access time threshold and a file in the local file that is accessed by a third number of access objects and meets a third access time threshold, based on the access objects and the accessed time filter file of the local file, where the first access time threshold is smaller than the third access time threshold.
In still another embodiment of the present application, the processing method marks, as the files to be transmitted, a file in the local file that is accessed by a first number of access objects, a file in the local file that meets a first access time threshold, and a file in the local file that is accessed by a third number of access objects and meets a third access time threshold, based on the access objects and the accessed time-filtered files of the local file, where the first number is greater than the third number, and the first access time threshold is less than the third access time threshold.
In still another embodiment of the present application, the second information characterizes an access object, an accessed time and an accessed frequency of the local file, and in this embodiment of the present application, the processing the first information based on the second information to mark a file meeting a filtering condition in the local file as a file to be transmitted includes: and screening files based on the access objects, the accessed time and the frequency of the local files so as to mark the files which are accessed by a fourth number of access objects and accord with a fourth access time threshold and a fourth access frequency threshold in the local files as files to be transmitted.
Specifically, based on the foregoing embodiments, in one embodiment of the present application, the processing method filters files based on the access objects, the accessed times and the accessed frequencies of the local files, and marks only files that are accessed by a fourth number of access objects and meet a fourth access time threshold and a fourth access frequency threshold in the local files as files to be transmitted.
In another embodiment of the present application, the processing method marks, as the file to be transmitted, a file in the local file that is accessed by the first number of access objects, a file in the local file that conforms to the first access time threshold, a file in the local file that conforms to the first access frequency threshold, a file in the local file that is accessed by the second number of access objects and conforms to the second access frequency threshold, a file in the local file that is accessed by the third number of access objects and conforms to the third access time threshold, a file in the local file that is accessed by the second access time threshold and the third access frequency threshold, and a file in the local file that is accessed by the fourth number of access objects and conforms to the fourth access time threshold, and the fourth access frequency threshold, based on the access objects, the accessed times, and the accessed frequency filter files in the local file. Optionally, the first number is greater than the second number is greater than the third number is greater than the fourth number, the first access time threshold is less than the second access time threshold, the third access time threshold is less than the fourth access time threshold, the first access frequency threshold is greater than the second access frequency threshold is greater than the third access frequency threshold is greater than the fourth access frequency threshold.
In yet another embodiment of the present application, the second information characterizes an accessed right of the local file, and in an embodiment of the present application, determining the file screening policy based at least on the first information and the second information includes: and screening files based on the accessed rights of the local files so as to mark the files meeting the first access rights in the local files as files to be transmitted.
On the basis of the foregoing embodiments, in one embodiment of the present application, filtering the files based on the accessed rights of the local files, so as to mark the files meeting the first access rights condition in the local files as files to be transmitted includes: and based on the accessed rights of the files in the local file and the association information among the files, the access rights of the local file are only opened to the first user, and the files associated with at least two other files are marked as files to be transmitted.
Specifically, if the local file includes an a file, a B file and a C file, where the a file only opens access rights to the a user, the B file only opens access rights to the B user, the C file only opens access rights to the C user, and the a file is associated with the B file and also associated with the C file, and the B file and the C file are associated with the a file only, the a file is marked as a file to be transmitted.
In another embodiment of the present application, filtering the files based on the accessed rights of the local files to mark the files meeting the first access rights condition as files to be transmitted in the local files includes: and marking the files with the access rights opened to at least two users in the local file as files to be transmitted based on the accessed rights of the local file.
And if the local file comprises an A file, a B file and a C file, wherein the A file only opens access rights to the A user and the B user, the B file only opens access rights to the B user, and the C file only opens access rights to the C user, the A file is marked as a file to be transmitted.
On the basis of any one of the foregoing embodiments, in one embodiment of the present application, the method further includes: and detecting an operation of adjusting the weight of the first file to be transmitted, and adjusting the determined weight of the file to be transmitted based on the association degree of other files to be transmitted and the first file to be transmitted, so as to dynamically adjust the weight of the file to be transmitted based on the active operation of a user at any time on the basis of automatically screening the file to be transmitted, and improve the fit degree of the file to be transmitted screened by the processing method and the user requirement. Wherein the weight represents the transmission priority of the file to be transmitted.
It should be noted that, in the embodiment of the present application, the detecting the operation of adjusting the weight of the first file to be transmitted may be that in the determining process of the file to be transmitted, the determining operation of adjusting the weight of the first file to be transmitted is detected, and the determining weight of the file to be transmitted is adjusted based on the association degree of other files to be transmitted and the first file to be transmitted; the method may also include detecting an operation of adjusting the weight of the first file to be transmitted after the file to be transmitted is determined, and adjusting the weight of the determined file to be transmitted based on the association degree of other files to be transmitted and the first file to be transmitted; the present application is not limited thereto, and is specific as the case may be.
On the basis of any one of the above embodiments, in one embodiment of the present application, the processing method may transmit each file to be transmitted to the target receiving end in parallel, or may serially transmit each file to be transmitted to the target receiving end. The present application is not limited thereto, and is specific as the case may be.
On the basis of any one of the foregoing embodiments, in one embodiment of the present application, the method further includes: and outputting the determined files to be transmitted according to the first sequence, and sending the files to be transmitted to a target receiving end according to the second sequence. Optionally, in an embodiment of the present application, the first order and the second order are the same, that is, the processing method provided in the embodiment of the present application may send the file to be transmitted to the target receiving end according to the output order of the file to be transmitted. In another embodiment of the present application, the first order and the second order may also be different, that is, the files to be transmitted output according to the first order are sent to the target receiving end according to a predetermined order, where the predetermined order may be a user-defined order or another order, which is not limited in this application, and the specific situation is determined according to the circumstances.
On the basis of any one of the foregoing embodiments, in one embodiment of the present application, the method further includes: and obtaining the hardware information of the transmission end, and adjusting the determined file to be transmitted based on the hardware information of the transmission end. Optionally, in an embodiment of the present application, the hardware information of the transmitting end characterizes a file transmission capability of the transmitting end.
Specifically, in one embodiment of the present application, adjusting the determined file to be transmitted based on the hardware information of the transmitting end includes: adjusting the determined total amount of files to be transmitted based on the hardware information; in another embodiment of the present application, adjusting the determined file to be transmitted based on the hardware information of the transmitting end includes: and adjusting the number of files to be transmitted, which are transmitted in the same time period, based on the hardware information of the transmission end, so that the file transmission task of the transmission end is in the transmission capacity range of the transmission end, and avoiding paralysis of the transmission end or influence on the normal operation of the transmission end due to overweight transmission task quantity.
On the basis of any one of the foregoing embodiments, in one embodiment of the present application, the method further includes: and obtaining the hardware information of the target receiving end, and adjusting the determined file to be transmitted based on the hardware information of the target receiving end. Optionally, in an embodiment of the present application, the hardware information of the target receiving end characterizes a file receiving capability of the target receiving end, such as a storage capability of the target receiving end and/or a writing speed of the target receiving end.
Specifically, based on the foregoing embodiments, in one embodiment of the present application, if the hard disk information of the target receiving end characterizes the storage capability of the target receiving end, adjusting the determined file to be transmitted based on the hardware information of the target receiving end includes: adjusting the determined total amount of files to be transmitted based on the target receiving end hardware information; if the hardware information of the target receiving end represents the writing speed of the target receiving end, adjusting the determined file to be transmitted based on the hardware information of the target receiving end comprises: and adjusting the number of files to be transmitted, which are transmitted in the same time period, based on the target receiving end hardware information.
In summary, the processing method provided by the embodiment of the application can automatically screen the file to be transmitted based on the first information representing the local file information of the transmission end and the second information related to the determination of the file to be transmitted, so that the problem that the file migration work is more and more complicated caused by determining whether the file is to be migrated or not by performing one-to-one confirmation on the file stored in the transmission end is solved, the problem that the file migration accuracy is low, the consumed time and the occupied storage space are increased caused by directly introducing the migration of a plurality of redundant files when all the files stored in the transmission end are migrated is solved, and the file migration accuracy and efficiency are improved.
Moreover, the processing method provided by the embodiment of the application can also screen the files to be transmitted according to the weight of each file based on the weight of each file in the local files, so that users can be helped to recommend and select the files to be migrated, the accuracy of file migration is improved, user intervention is not needed, and the feasibility is high.
Correspondingly, the embodiment of the application also provides a processing device, as shown in fig. 7, which comprises:
the first obtaining module 100 is configured to obtain first information when a transmission condition is satisfied, where the first information represents local file information of a transmission end;
a second obtaining module 200, configured to obtain second information, where the second information relates to determination of a file to be transmitted;
a processing module 300, configured to determine a file screening policy based at least on the first information and the second information, and determine a file to be transmitted based on the determined file screening policy;
the transmission condition is a condition that triggers the transmission end to start executing the file transmission task.
Specifically, in one embodiment of the present application, the processing module is further configured to: and detecting an instruction for triggering the transmission end to start executing the file transmission task, and determining that the transmission condition is met. That is, in this embodiment of the present application, the processing module determines whether the transmitting end meets a transmission condition by detecting an instruction for triggering the transmitting end to start executing a file transmission task, if the instruction for triggering the transmitting end to start executing the file transmission task is detected, it determines that the transmitting end meets the transmission condition, otherwise, it determines that the transmitting end does not meet the transmission condition. For example, an operation of opening the file migration application is detected, and it is determined that the transmission condition is satisfied.
In another embodiment of the present application, the processing module is further configured to detect that the distance from the target receiving end meets a preset distance threshold, and determine that the transmission condition is met. That is, in this embodiment of the present application, the processing module determines whether the transmission end meets a transmission condition by determining whether a distance between the transmission end and a target receiving end meets a preset distance threshold, and specifically, if the distance between the transmission end and the target receiving end is smaller than or not larger than the preset distance threshold, determines that the transmission end meets the transmission condition, otherwise, determines that the transmission end does not meet the transmission condition.
In yet another embodiment of the present application, the processing module is further configured to detect that the pairing connection with the target receiving end is completed, and determine that the transmission condition is satisfied. That is, in this embodiment of the present application, the processing module determines whether the transmitting end meets a transmission condition by detecting whether the transmitting end and the target receiving end complete pairing connection, if yes, determines that the transmitting end meets the transmission condition, otherwise, determines that the transmitting end does not meet the transmission condition.
On the basis of any one of the foregoing embodiments, in one embodiment of the present application, the second information represents transmission information of a history file, and in another embodiment of the present application, the second information represents input information of a user at the transmission end; in still another embodiment of the present application, the second information characterizes at least one of an access object, an accessed time and an accessed frequency of the local file, and in other embodiments of the present application, the second information may also be characterizing information of other information such as an accessed right of the local file, which is not limited in this application, as long as the second information relates to a determination of a file to be transmitted. The following description is made in connection with the specific case.
Specifically, in one embodiment of the present application, the second information characterizes historical file transfer information, and in an embodiment of the present application, the processing module is specifically configured to, when determining a file screening policy based at least on the first information and the second information: processing the first information based on the second information to determine a user identification of the transmitting end; and determining a corresponding file identification to be transmitted from the second information based on the user identification so as to screen the file to be transmitted from the local file based on the file identification to be transmitted.
On the basis of the foregoing embodiments, in one embodiment of the present application, the processing module is specifically configured to, when configured to process the first information based on the second information to determine the user identifier of the transmitting end: constructing a clustering model for the historical file transmission information of the second information characterization; and inputting the first information into the clustering model to determine the user identification of the transmission end.
Specifically, in one embodiment of the present application, the processing module is specifically configured to, when configured to construct a clustering model for the historical file transfer information of the second information characterization: clustering the historical file transmission information stored in the cloud, dividing the historical file transmission information into multiple types of historical file transmission information, and constructing a clustering model based on the clustered historical file transmission information, so that the clustering model can determine the type of the historical file transmission information to which the first information belongs based on the first information input by the clustering model.
It should be noted that, the different types of history file transmission information correspond to different types of users, that is, the identifiers of the users corresponding to the different types of history file transmission information are different. Therefore, in the embodiment of the application, after the first information representing the local file information of the transmitting end is input into the clustering model, the clustering model may determine the user identifier of the transmitting end or the type of the user of the transmitting end.
Specifically, in an embodiment of the present application, the local file information of the transmitting end represented by the first information may be application software information installed in the transmitting end, or may be local file information accessed in the transmitting end within a first period of time, or may include both the application software information installed in the transmitting end and the local file information accessed in the transmitting end within the first period of time, which is not limited in this application, and this application is specific as the case may be.
Based on any one of the above embodiments, in one embodiment of the present application, the identifier of the file to be transmitted is a keyword of the file to be transmitted; in another embodiment of the present application, the identifier of the file to be transmitted may further include a type of the file to be transmitted, which is not limited herein, and is specific as the case may be.
Optionally, on the basis of any one of the embodiments, in one embodiment of the present application, the file to be transmitted is a file including the identifier of the file to be transmitted; in another embodiment of the present application, the file to be transmitted includes not only a file including the identifier of the file to be transmitted, but also a file having a certain correlation with the file including the identifier of the file to be transmitted.
Specifically, in one embodiment of the present application, the file having a certain correlation with the file including the identifier of the file to be transmitted is: and the weight value in the local file is larger than a first numerical value, and the weight value represents the correlation with the file containing the file identification to be transmitted, wherein the larger the weight value is, the stronger the correlation between the weight value and the file containing the file identification to be transmitted is, namely the more the weight value is related with the file containing the file identification to be transmitted. It should be noted that, the higher the priority of the file having a stronger correlation with the file including the identifier of the file to be transmitted is, that is, in the embodiment of the present application, the weight may also represent the transmission priority of the file to be transmitted.
On the basis of the above embodiments, in one embodiment of the present application, the processing module is further configured to: and determining the weight of each file in the local file based on the identification of the file to be transmitted.
Specifically, in one embodiment of the present application, the processing module is specifically configured to, when configured to determine, based on the identifier of the file to be transmitted, a weight of each file in the local file: determining the weight of a file including the file identification to be transmitted in a local file based on the identification of the file to be transmitted; and determining the weight of other files in the local file based on the storage directory of the file containing the file identification to be transmitted.
On the basis of the above embodiments, in one embodiment of the present application, the processing module is further configured to: and outputting a file list with a weight, and marking the file with the weight larger than the first value in the local file as a file to be transmitted based on the file list with the weight.
In the following, for convenience of description, a file including the file identifier to be transmitted in the local file is referred to as a first local file, and other local files are referred to as second local files.
If the file stored under the same storage directory as the first local file comprises a plurality of second local files; in another embodiment of the present application, the processing module is specifically configured to, when configured to determine the weight of the second local file based on the storage directory in which the first local file is located: determining a weight value range of the second local file based on a storage directory where the first local file is located; and determining the weight of each second local file based on the accessed time of each second local file under the same storage directory. The more recent files have larger weights under the same storage directory, namely, the more recent files have larger weights under the same storage directory; under different storage directories, the larger the difference between the storage directory of the second local file and the storage directory of the first body file is, that is, the larger the number of files and directories at intervals between the storage positions of the second local file and the storage positions of the first local file is, the smaller the weight of the second local file is.
If the file stored under the same storage directory as the first local file comprises a plurality of second local files; in another embodiment of the present application, the processing module is specifically configured to, when configured to determine the weight of the second local file based on the storage directory in which the first local file is located: determining a weight value range of the second local file based on a storage directory where the first local file is located; and determining the weight of each second local file based on the correlation between the file name of each second local file and the file name of the first local file under the same storage directory. The more similar the file name of the first local file is to the file name of the first local file, the larger the weight of the file is.
In other embodiments of the present application, if the file stored under the same storage directory as the first local file includes a plurality of second local files; the processing module is specifically configured to, when determining the weight of the second local file based on the storage directory where the first local file is located: determining a weight value range of the second local file based on a storage directory where the first local file is located; and determining the weight of each second local file based on the correlation between the file name of each second local file under the same storage directory and the file name of the first local file and the last accessed time of each second local file under the same storage directory. The present application is not limited thereto, and is specific as the case may be.
In another embodiment of the present application, the second information characterizes input information of a user, and in an embodiment of the present application, the processing module is specifically configured to, when determining the file screening policy based at least on the first information and the second information: and processing the first information based on the second information so as to mark the file pointed by the second information in the local file as a file to be transmitted. In this embodiment of the present application, the file to be transmitted is a local file selected by a user of the transmitting end to perform a selection operation or a search operation.
In yet another embodiment of the present application, the second information characterizes an access object, an accessed time, and/or an accessed frequency of the local file, and in an embodiment of the present application, the processing module is specifically configured to, when determining the file screening policy based at least on the first information and the second information: and processing the first information based on the second information so as to mark the files meeting the screening conditions in the local files as files to be transmitted.
Specifically, in one embodiment of the present application, the second information characterizes an access object of the local file, and the touch module is specifically configured to, when configured to process the first information based on the second information, to mark a file meeting a filtering condition in the local file as a file to be transmitted: and screening files based on the access objects of the local files so as to mark the files accessed by the first number of access objects in the local files as files to be transmitted.
In another embodiment of the present application, the second information characterizes an accessed time of the local file, and in this embodiment of the present application, the processing module is specifically configured to, when configured to process the first information based on the second information, to mark a file meeting a filtering condition in the local file as a file to be transmitted: and screening files based on the accessed time of the local files so as to mark the files meeting the first access time threshold value in the local files as files to be transmitted.
In yet another embodiment of the present application, the second information characterizes the accessed frequency of the local file, and in this embodiment of the present application, the processing module is specifically configured to, when configured to process the first information based on the second information, to mark a file meeting a filtering condition in the local file as a file to be transmitted: and screening files based on the accessed frequency of the local files so as to mark the files meeting the first access frequency threshold value in the local files as files to be transmitted. As in the embodiment of the present application, the processing module may filter files based on the accessed frequency of the local files, so as to mark files with the accessed frequency greater than the first access frequency threshold value in the local files as files to be transmitted. Specifically, the processing module may be configured to mark, as the file to be transmitted, a file in the local file having a total frequency of accesses greater than a first access frequency threshold based on the accessed frequency filtering file of the local file, may be configured to mark, as the file to be transmitted, a file in the local file having a total frequency of accesses greater than the first access frequency threshold in a preset period of time, or may be configured to mark, as the file to be transmitted, a file in the local file having a frequency of accesses greater than the first access frequency threshold in an access period based on the accessed frequency filtering file of the local file, where a duration of the access period depends on the case.
In still another embodiment of the present application, the second information characterizes an access object and an accessed frequency of the local file, and in this embodiment of the present application, the processing module is configured to, when processing the first information based on the second information, mark a file meeting a filtering condition in the local file as a file to be transmitted, specifically: and screening files based on the access objects and the accessed frequency of the local files so as to mark the files which are accessed by the second number of access objects and meet a second access frequency threshold value in the local files as files to be transmitted.
In yet another embodiment of the present application, the second information characterizes an accessed time and an accessed frequency of the local file, and in this embodiment of the present application, the processing module is specifically configured to, when configured to process the first information based on the second information, to mark a file meeting a filtering condition in the local file as a file to be transmitted: and screening files based on the accessed time and the accessed frequency of the local files so as to mark the files which meet the second access time threshold and the third access frequency threshold in the local files as files to be transmitted.
In still another embodiment of the present application, the second information characterizes an access object and an accessed time of the local file, and in this embodiment of the present application, the processing module is specifically configured to, when processing the first information based on the second information to mark a file meeting a filtering condition in the local file as a file to be transmitted: and screening files based on the access objects and the accessed time of the local files so as to mark the files which are accessed by the third number of access objects and meet a third access time threshold value in the local files as files to be transmitted.
In yet another embodiment of the present application, the second information characterizes an access object, an accessed time and an accessed frequency of the local file, and in this embodiment of the present application, the processing module is configured to, when configured to process the first information based on the second information, mark a file meeting a filtering condition in the local file as a file to be transmitted, specifically: and screening files based on the access objects, the accessed time and the frequency of the local files so as to mark the files which are accessed by a fourth number of access objects and accord with a fourth access time threshold and a fourth access frequency threshold in the local files as files to be transmitted.
In yet another embodiment of the present application, the second information characterizes an accessed right of the local file, and in an embodiment of the present application, the processing module is specifically configured to, when determining a file screening policy based on the first information and the second information: and screening files based on the accessed rights of the local files so as to mark the files meeting the first access rights in the local files as files to be transmitted.
On the basis of the foregoing embodiments, in one embodiment of the present application, the processing module is specifically configured to, when filtering the files based on the accessed rights of the local files, to mark, as the file to be transferred, the file meeting the first access rights condition in the local files: and based on the accessed rights of the files in the local file and the association information among the files, the access rights of the local file are only opened to the first user, and the files associated with at least two other files are marked as files to be transmitted.
In another embodiment of the present application, the processing module is specifically configured to, when configured to filter files based on the accessed rights of the local files, to mark, as a file to be transferred, a file in the local file that meets the first access rights condition: and marking the files with the access rights opened to at least two users in the local file as files to be transmitted based on the accessed rights of the local file.
On the basis of any one of the foregoing embodiments, in one embodiment of the present application, the processing module is further configured to: and detecting an operation of adjusting the weight of the first file to be transmitted, and adjusting the determined weight of the file to be transmitted based on the association degree of other files to be transmitted and the first file to be transmitted, so that dynamic adjustment is performed at any time based on active operation of a user on the basis of automatically screening the file to be transmitted, and the fit degree between the file to be transmitted screened by the processing module and the user requirement is improved. Wherein the weight represents the transmission priority of the file to be transmitted.
On the basis of any one of the foregoing embodiments, in one embodiment of the present application, the processing module is further configured to: and outputting the determined files to be transmitted according to the first sequence, and sending the files to be transmitted to a target receiving end according to the second sequence. Optionally, in an embodiment of the present application, the first order and the second order are the same, that is, the processing module provided in the embodiment of the present application may send the file to be transmitted to the target receiving end according to the output order of the file to be transmitted; in another embodiment of the present application, the first order and the second order may also be different, that is, the files to be transmitted output according to the first order are sent to the target receiving end according to a predetermined order, where the predetermined order may be a user-defined order or another order, which is not limited in this application, and the specific situation is determined according to the circumstances.
On the basis of any one of the foregoing embodiments, in one embodiment of the present application, the processing module is further configured to: and obtaining the hardware information of the transmission end, and adjusting the determined file to be transmitted based on the hardware information of the transmission end. Optionally, in an embodiment of the present application, the hardware information of the transmitting end characterizes a file transmission capability of the transmitting end.
On the basis of any one of the foregoing embodiments, in one embodiment of the present application, the processing module is further configured to: and obtaining the hardware information of the target receiving end, and adjusting the determined file to be transmitted based on the hardware information of the target receiving end. Optionally, in an embodiment of the present application, the hardware information of the target receiving end characterizes a file receiving capability of the target receiving end, such as a storage capability of the target receiving end and/or a writing speed of the target receiving end.
In summary, the processing device provided by the embodiment of the application can automatically screen the file to be transmitted based on the first information representing the local file information of the transmission end and the second information related to the determination of the file to be transmitted, so that the problem that the file migration work is more and more complicated when the file stored in the transmission end is determined to be migrated is solved, the problem that the file migration accuracy is low, the consumed time and the occupied storage space are increased when all the files stored in the transmission end are directly migrated is solved, and the file migration accuracy and efficiency are improved.
Moreover, the processing device provided by the embodiment of the application can also screen the files to be transmitted according to the weight of each file based on the weight of each file in the local files, so that users can be helped to recommend and select the files to be migrated, the accuracy of file migration is improved, user intervention is not needed, and the feasibility is high.
In addition, the embodiment of the application also provides an electronic device, in particular, the electronic device comprises a memory and a processor, wherein the processor is used for executing a program stored in the memory; the memory is used for storing a program, and the program is used for at least:
the method comprises the steps that transmission conditions are met, first information is obtained, and the first information represents local file information of a transmission end;
obtaining second information, wherein the second information relates to the determination of the file to be transmitted;
determining a file screening policy based at least on the first information and the second information, determining a file to be transmitted based on the determined file screening policy;
the transmission condition is a condition that triggers the transmission end to start executing the file transmission task.
In the embodiment of the present application, the program may be used to implement the processing method provided in any of the above embodiments, which is not described in detail herein.
In addition, the embodiment of the application also provides a storage medium, and the storage medium stores a program at least for:
the method comprises the steps that transmission conditions are met, first information is obtained, and the first information represents local file information of a transmission end;
obtaining second information, wherein the second information relates to the determination of the file to be transmitted;
determining a file screening policy based at least on the first information and the second information, determining a file to be transmitted based on the determined file screening policy;
the transmission condition is a condition that triggers the transmission end to start executing the file transmission task.
In the embodiment of the present application, the program may be used to implement the processing method provided in any of the above embodiments, which is not described in detail herein.
In the present description, each part is described in a progressive manner, and each part is mainly described as different from other parts, and identical and similar parts between the parts are mutually referred.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A method of processing, comprising:
the method comprises the steps that transmission conditions are met, first information is obtained, and the first information represents local file information of a transmission end;
obtaining second information, wherein the second information relates to the determination of the file to be transmitted;
determining a file screening policy based at least on the first information and the second information, determining a file to be transmitted based on the determined file screening policy;
the transmission condition is a condition for triggering the transmission end to start executing file transmission tasks;
the determining a file screening policy based at least on the first information and the second information includes at least one of:
processing the first information based on the second information to determine the type of the historical file transmission information to which the first information belongs, thereby determining the user identification of the transmission end, determining the corresponding file identification to be transmitted from the second information based on the user identification to screen the file to be transmitted from the local file based on the file identification to be transmitted, wherein the second information represents the historical file transmission information, the identifications of the users corresponding to the different types of the historical file transmission information are different, and the user identification can represent the type to which the user belongs;
And processing the first information based on the second information to mark files meeting screening conditions in the local files as files to be transmitted, wherein the second information characterizes access objects, accessed time and/or accessed frequency of the local files.
2. The method of claim 1, further comprising:
outputting the determined files to be transmitted according to a first sequence, and sending the files to be transmitted to a target receiving end according to a second sequence; wherein the first order is the same as or different from the second order.
3. The method of claim 1, the determining a file screening policy based at least on the first information and the second information, comprising:
processing the first information based on the second information so as to mark a file pointed by the second information in the local file as a file to be transmitted;
wherein the second information characterizes input information of a user.
4. The method of claim 1, the processing the first information based on the second information to mark files meeting filtering conditions in a local file as files to be transmitted, comprising:
screening files based on the accessed time of the local files so as to mark the files meeting a first access time threshold value in the local files as files to be transmitted; or alternatively, the first and second heat exchangers may be,
Screening files based on the accessed frequency of the local files, so as to mark the files meeting a first access frequency threshold value in the local files as files to be transmitted; or alternatively, the first and second heat exchangers may be,
screening files based on the access objects of the local files so as to mark the files accessed by the first number of access objects in the local files as files to be transmitted; or alternatively, the first and second heat exchangers may be,
screening files based on the access objects and the accessed frequencies of the local files, so as to mark files which are accessed by a second number of access objects and meet a second access frequency threshold value in the local files as files to be transmitted; or alternatively, the first and second heat exchangers may be,
screening files based on the accessed time and the accessed frequency of the local files so as to mark files which accord with a second access time threshold and accord with a third access frequency threshold in the local files as files to be transmitted; or alternatively, the first and second heat exchangers may be,
screening files based on the access objects and the accessed time of the local files so as to mark files which are accessed by a third number of access objects and meet a third access time threshold value in the local files as files to be transmitted; or alternatively, the first and second heat exchangers may be,
and screening files based on the access objects, the accessed time and the accessed frequency of the local files so as to mark the files which are accessed by a fourth number of access objects and meet a fourth access time threshold and a fourth access frequency threshold in the local files as files to be transmitted.
5. The method of any one of claims 1 to 4, further comprising:
detecting an operation of adjusting the weight of a first file to be transmitted, and adjusting the determined file to be transmitted based on the association degree of other files to be transmitted and the first file to be transmitted;
wherein the weight represents the transmission priority of the file to be transmitted.
6. The method of any one of claims 1 to 4, further comprising:
and obtaining the hardware information of the transmission end, and adjusting the determined file to be transmitted based on the hardware information of the transmission end.
7. The method according to claim 1, wherein an instruction for triggering a transmission end to start executing a file transmission task is detected, and the transmission condition is determined to be met; or alternatively, the first and second heat exchangers may be,
detecting that the distance between the target receiving end and the target receiving end meets a preset distance threshold value, and determining that the transmission condition is met; or alternatively, the first and second heat exchangers may be,
and detecting that the pairing connection with the target receiving end is completed, and determining that the transmission condition is met.
8. A processing apparatus, comprising:
the first acquisition module is used for acquiring first information when the transmission condition is met, wherein the first information represents local file information of a transmission end;
the second acquisition module is used for acquiring second information, and the second information is related to the determination of the file to be transmitted;
The processing module is used for determining a file screening strategy at least based on the first information and the second information, and determining a file to be transmitted based on the determined file screening strategy;
the transmission condition is a condition for triggering the transmission end to start executing file transmission tasks;
the determining a file screening policy based at least on the first information and the second information includes at least one of:
processing the first information based on the second information to determine the type of the historical file transmission information to which the first information belongs, thereby determining the user identification of the transmission end, determining the corresponding file identification to be transmitted from the second information based on the user identification to screen the file to be transmitted from the local file based on the file identification to be transmitted, wherein the second information represents the historical file transmission information, the identifications of the users corresponding to the different types of the historical file transmission information are different, and the user identification can represent the type to which the user belongs;
and processing the first information based on the second information to mark files meeting screening conditions in the local files as files to be transmitted, wherein the second information characterizes access objects, accessed time and/or accessed frequency of the local files.
CN201911076192.3A 2019-11-06 2019-11-06 Processing method and processing device Active CN110825696B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911076192.3A CN110825696B (en) 2019-11-06 2019-11-06 Processing method and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911076192.3A CN110825696B (en) 2019-11-06 2019-11-06 Processing method and processing device

Publications (2)

Publication Number Publication Date
CN110825696A CN110825696A (en) 2020-02-21
CN110825696B true CN110825696B (en) 2023-05-02

Family

ID=69553002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911076192.3A Active CN110825696B (en) 2019-11-06 2019-11-06 Processing method and processing device

Country Status (1)

Country Link
CN (1) CN110825696B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9286305B2 (en) * 2013-03-14 2016-03-15 Fujitsu Limited Virtual storage gate system
CN103327123B (en) * 2013-07-12 2016-12-28 北京金山云网络技术有限公司 A kind of method of file synchronization, client, server end and equipment
CN105306562A (en) * 2015-10-16 2016-02-03 联想(北京)有限公司 Information processing method and electronic device
US9888032B2 (en) * 2016-05-03 2018-02-06 Check Point Software Technologies Ltd. Method and system for mitigating the effects of ransomware
CN107547582B (en) * 2016-06-24 2020-02-21 华为技术有限公司 File caching method and equipment
CN110198327B (en) * 2018-03-05 2021-09-28 腾讯科技(深圳)有限公司 Data transmission method and related equipment
CN109040201A (en) * 2018-07-13 2018-12-18 北京明朝万达科技股份有限公司 A kind of document transmission method, system and file server

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘畅 ; 何泾沙 ; .一个基于用户网络行为的访问控制模型.信息网络安全.2016,(第10期),40-45. *
王坤.面向Hadoop的小文件存储机制研究.《中国优秀硕士学位论文全文数据库 信息科技辑》.2018,(第11期),I137-21. *

Also Published As

Publication number Publication date
CN110825696A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
CN102483731B (en) Have according to search load by the medium of the fingerprint database of equilibrium
CN110928739B (en) Process monitoring method and device and computing equipment
US20110202741A1 (en) Storage system, data relocation method thereof, and recording medium that records data relocation program
CN103838683B (en) The method and apparatus of data transfer
CN104699423B (en) The method and apparatus that drive is bound in linux system
CN108932236A (en) A kind of file management method, scratch file delet method and device
CN110362727A (en) Third party for search system searches for application
JP2014500534A (en) Method and apparatus for ranking search results
CN105607986A (en) Acquisition method and device of user behavior log data
CN108932257A (en) The querying method and device of multi-dimensional data
CN110222074A (en) It indexes lookup method, search device, electronic equipment and storage medium
CN109726280A (en) A kind of row's discrimination method and device for scholar of the same name
CN108154024A (en) A kind of data retrieval method, device and electronic equipment
CN108021713B (en) Document clustering method and device
CN110825696B (en) Processing method and processing device
CN105653674A (en) File management method and system of intelligent terminal
CN103530392B (en) Determine the method and apparatus of crawl flow
CN107330031A (en) A kind of method of data storage, device and electronic equipment
CN103544278B (en) Method and equipment for identifying website capturing flow quota
CN109002446B (en) Intelligent sorting method, terminal and computer readable storage medium
CN112639786A (en) Intelligent landmark
CN109597941A (en) Sort method and device, electronic equipment and storage medium
CN109284328B (en) Relational data processing method, device, server and medium
CN106709353B (en) Security detection method and device for search engine
CN109992695A (en) A kind of video information querying method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant