Mobile storage method
Technical Field
The invention relates to the field of mobile storage, which is applied to a real-time large-flow storage environment, in particular to a mobile storage method.
Background
With the multi-platform interaction of user data, the existing user mostly reads the data in a mode used in a platform when operating and reading the multi-platform data. However, in the method, in the process of reading data, the problem of difficult searching and no use of storage is caused, and for the above problem, in the prior art, a method of performing historical session management on multi-platform data in a platform is frequently adopted for storage, but the method has a problem that data is easily lost.
Disclosure of Invention
The invention aims to provide a mobile storage method. The problem of current multidata cross-platform storage, read difficulty is solved.
In order to achieve the above object, the present invention provides a mobile storage method, comprising:
step S101, obtaining a mobile data storage platform of a current user according to mobile identification information of the current user;
step S102, acquiring interaction record information corresponding to the current client larger than the set interaction data according to the mobile data storage platform and the login information of the current user;
step S103, judging whether the interactive record information has a file with a set format, if so, transmitting the mirror image information of the file to a set server address for storage.
In a preferred embodiment, the mobile identification information of the current user includes: the mobile phone number, the micro signal and the QQ number of the current user.
In a preferred embodiment, the step S101 includes:
and acquiring the WeChat platform information and the QQ platform information of the current user according to the mobile phone number or the micro signal and the QQ number of the current user and the corresponding identification information and platform type corresponding table.
In a preferred embodiment, the step S102 includes: and obtaining the conversation records, the conversation time and the object information of the current customer WeChat platform and the QQ platform according to the WeChat platform information, the QQ platform information and the login information of the current user, and screening the conversation record information corresponding to the set interactive data volume and the conversation time and the object information of the conversation record from the conversation records.
In a preferred embodiment, the object information includes: object identification information and object nickname information.
In a preferred embodiment, the format setting file in step S103 includes: *. doc,. elx and. jpg files.
In a preferred embodiment, the step S103 further includes:
acquiring the position information of the current client according to the GPS information of the current user;
obtaining the nearest memory position according to the position information of the current client;
acquiring the IP address information of the current memory corresponding to the nearest memory position;
and setting the IP address information of the current memory as a server address.
In a preferred embodiment, step S103 is followed by step S104,
in step S104, the setting server reads and stores the remote file according to the received mirror image information.
In a preferred embodiment, after step S104, the method includes:
displaying locally received file information, wherein the file information comprises: session record, session time, and object information.
In a preferred embodiment, the step S103 includes: and screening a file with a set format which is consistent with the keyword from the interactive record information as a current search file according to the set keyword information of the current user.
The method has the advantages that the multi-platform data are screened, the file recording file is automatically generated and stored in the storage position closest to the user, so that the user can conveniently look up the file, the limitation of the mobile equipment on reading the file is avoided, the file can be stored and managed in a centralized manner, and the user data or the file can be effectively managed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating steps of a mobile storage method according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it is to be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, in order to achieve the above object, the mobile storage method provided by the present invention includes:
and step S101, acquiring a mobile data storage platform of the current user.
In this step, the mobile data storage platform of the current user is obtained according to the mobile identification information of the current user.
And step S102, acquiring the interactive record information corresponding to the current customer larger than the set interactive data.
In this step, according to the mobile data storage platform and the login information of the current user, the interaction record information corresponding to the current client larger than the set interaction data is obtained.
Step S103, storage is performed.
In this step, whether a file with a set format exists in the interactive recording information is judged, and if yes, the mirror image information of the file is transmitted to a set server address for storage.
In a preferred embodiment, the mobile identification information of the current user includes: the mobile phone number, the micro signal and the QQ number of the current user.
In a preferred embodiment, the step S101 includes:
and acquiring the WeChat platform information and the QQ platform information of the current user according to the mobile phone number or the micro signal and the QQ number of the current user and the corresponding identification information and platform type corresponding table.
In a preferred embodiment, the step S102 includes: and obtaining the conversation records, the conversation time and the object information of the current customer WeChat platform and the QQ platform according to the WeChat platform information, the QQ platform information and the login information of the current user, and screening the conversation record information corresponding to the set interactive data volume and the conversation time and the object information of the conversation record from the conversation records.
In a preferred embodiment, the object information includes: object identification information and object nickname information.
In a preferred embodiment, the format setting file in step S103 includes: *. doc,. elx and. jpg files.
In a preferred embodiment, the step S103 further includes:
acquiring the position information of the current client according to the GPS information of the current user;
obtaining the nearest memory position according to the position information of the current client;
acquiring the IP address information of the current memory corresponding to the nearest memory position;
and setting the IP address information of the current memory as a server address.
In a preferred embodiment, step S103 is followed by step S104,
in step S104, the setting server reads and stores the remote file according to the received mirror image information.
In a preferred embodiment, after step S104, the method includes:
displaying locally received file information, wherein the file information comprises: session record, session time, and object information.
In a preferred embodiment, the step S103 includes: and screening a file with a set format which is consistent with the keyword from the interactive record information as a current search file according to the set keyword information of the current user.
The method has the advantages that the multi-platform data are screened, the file recording file is automatically generated and stored in the storage position closest to the user, so that the user can conveniently look up the file, the limitation of the mobile equipment on reading the file is avoided, the file can be stored and managed in a centralized manner, and the user data or the file can be effectively managed.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.