CN113656360B - File storage method, device, system, electronic equipment, storage medium and product - Google Patents

File storage method, device, system, electronic equipment, storage medium and product Download PDF

Info

Publication number
CN113656360B
CN113656360B CN202110819568.6A CN202110819568A CN113656360B CN 113656360 B CN113656360 B CN 113656360B CN 202110819568 A CN202110819568 A CN 202110819568A CN 113656360 B CN113656360 B CN 113656360B
Authority
CN
China
Prior art keywords
folder
target
path
server
file
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
CN202110819568.6A
Other languages
Chinese (zh)
Other versions
CN113656360A (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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110819568.6A priority Critical patent/CN113656360B/en
Publication of CN113656360A publication Critical patent/CN113656360A/en
Application granted granted Critical
Publication of CN113656360B publication Critical patent/CN113656360B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • 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/14Details of searching files based on file metadata
    • 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

Abstract

The disclosure relates to a file storage method, a device, a system, an electronic device, a storage medium and a product. And determining path indication information corresponding to the file to be stored based on the path identifiers corresponding to the target folders. And sending the file to be stored, the path indication information and the storage instruction to a server so as to store the file to be stored into a folder pointed by the target storage path. Therefore, the terminal determines the path indication information according to the target folders selected step by step for the files to be stored, and sends the storage instruction to the server, so that the server can be controlled to automatically store the files to be stored to the folders under the target storage path indicated by the path indication information, the implementation cost can be reduced to a certain extent, and the storage efficiency is improved.

Description

File storage method, device, system, electronic equipment, storage medium and product
Technical Field
The disclosure relates to the technical field of internet, and in particular relates to a file storage method, device, system, electronic equipment, storage medium and product.
Background
With the continuous development of internet technology, a scenario in which files need to be stored in a server often occurs. For example, when one or more new Applications (APP) are added, a configuration file of the newly added APP needs to be stored in a server. In a test scenario, a test file needs to be stored in a server.
In the related art, a file to be stored is often manually uploaded to a server by a user, and then manually moved to a folder to be stored in the server. Thus, implementation costs are increased and storage efficiency is reduced.
Disclosure of Invention
The disclosure provides a file storage method, a device, a system, an electronic device, a storage medium and a product, so as to at least solve the technical problems of increasing implementation cost and reducing storage efficiency in the related art.
The technical scheme of the present disclosure is as follows:
according to a first aspect of an embodiment of the present disclosure, there is provided a file storage method, applied to a terminal, including:
determining target folders of files to be stored step by step from each target folder level of a server;
determining path indication information corresponding to the file to be stored based on the path identifiers corresponding to the target folders; the path indication information is used for indicating a target storage path;
Sending the file to be stored, the path indication information and a storage instruction to the server; the storage instruction is used for indicating the server to store the file to be stored into the folder pointed by the target storage path according to the path indication information.
Optionally, the step-by-step determining, from each target folder level of the server, a target folder of the file to be stored includes:
determining a root folder in the highest folder level in the server as the target folder;
acquiring an alternative folder in a next folder level of the target folder determined last time, and displaying the alternative folder; the candidate folder belongs to the last determined target folder;
determining an alternative folder selected by the selection instruction as the target folder in response to the selection instruction of the alternative folder, and repeatedly executing the steps of acquiring the alternative folder in the next folder level of the target folder determined last time and displaying the alternative folder until receiving a stop instruction; and the folder level to which each target folder belongs is the target folder level.
Optionally, the obtaining the candidate folder in the next folder level of the target folder determined last time includes:
sending a first query instruction to the server; the first query instruction carries a target identifier; the target identifier is an identifier of the target folder determined last time, and the first query instruction is used for indicating the server to query the alternative folder according to the target identifier;
receiving a first query result returned by the server in response to the first query instruction; the first query result is used to characterize alternative folders in the next folder level.
Optionally, the method further comprises:
sending a second query instruction to the server;
receiving a second query result returned by the server in response to the second query instruction; the second query result is used for representing folders of each folder level in the server;
the obtaining the candidate folder in the next folder level of the last determined target folder comprises the following steps:
searching folders of the next folder level from folders of all folder levels in the server to serve as candidate folders;
And determining the candidate folder belonging to the target folder determined last time as the candidate folder in the next folder level.
Optionally, the determining, based on the path identifier corresponding to each target folder, path indication information corresponding to the file to be stored includes:
obtaining path identifiers corresponding to the target folders;
combining path identifiers corresponding to the target folders in sequence according to the determined sequence of the target folders to obtain path identifier combinations; determining the path identification combination as the path indication information; or determining the path identification and the sequence indication information as the path indication information; the sequence indication information is used for representing the determined sequence of the target folder corresponding to each path identifier.
Optionally, the displaying the alternative folder includes:
displaying the alternative folders based on a first selection control;
the first selection control is used for displaying a plurality of alternative folders under the condition of being triggered, and selecting a designated alternative folder from the displayed plurality of alternative folders; the first selection control is a next-level selection control of a second selection control, and the alternative folders in a folder level above the next folder level are displayed based on the second selection control.
According to a second aspect of the embodiments of the present disclosure, there is provided a file storage method, applied to a server, including:
receiving a file to be stored, path indication information and a storage instruction sent by a terminal; the path indication information is used for indicating a target storage path and is determined according to path identifiers corresponding to target folders of files to be stored, which are determined step by step from each target folder level of the server;
responding to the storage instruction, and determining the target storage path according to the path indication information;
and storing the file to be stored into a folder pointed by the target storage path.
Optionally, the determining the target storage path according to the path indication information includes:
when the path indication information is the path identification and the sequence indication information corresponding to each target folder, combining the path identification corresponding to each target folder according to the determined sequence of each target folder according to the sequence indication information to obtain the target storage path; the sequence indication information is used for representing the determined sequence;
or, in the case that the path indication information is a path identification combination, determining the path indication information as the target storage path.
Optionally, before the receiving terminal sends the file to be stored, the path indication information and the storage instruction, the method further includes:
receiving a first query instruction sent by the terminal; the first query instruction carries a target identifier;
responding to the first query instruction, and querying an alternative folder according to the target identifier; the candidate folders belong to folders corresponding to the target identifiers;
returning a first query result to the terminal; the first query result is used to characterize the alternative folder.
Optionally, before the receiving terminal sends the file to be stored, the path indication information and the storage instruction, the method further includes:
receiving a second query instruction sent by the terminal;
responding to the second query instruction, and returning a second query result to the terminal; the second query result is used for representing folders of each folder level in the server.
Optionally, the storing the file to be stored in the folder pointed by the target storage path includes:
storing the file to be stored into a preset temporary storage area, and determining a folder pointed by the target storage path;
And moving the file to be stored from the preset temporary storage area to the pointed file folder based on a preset moving command.
According to a third aspect of the embodiments of the present disclosure, there is provided a file storage device, applied to a terminal, including:
the first determining module is configured to determine target folders of files to be stored step by step from each target folder level of the server;
the second determining module is configured to determine path indication information corresponding to the file to be stored based on the path identifiers corresponding to the target folders; the path indication information is used for indicating a target storage path;
the first sending module is configured to send the file to be stored, the path indication information and a storage instruction to the server; the storage instruction is used for indicating the server to store the file to be stored into the folder pointed by the target storage path according to the path indication information.
Optionally, the first determining module is specifically configured to:
determining a root folder in the highest folder level in the server as the target folder;
acquiring an alternative folder in a next folder level of the target folder determined last time, and displaying the alternative folder; the candidate folder belongs to the last determined target folder;
Determining an alternative folder selected by the selection instruction as the target folder in response to the selection instruction of the alternative folder, and repeatedly executing the steps of acquiring the alternative folder in the next folder level of the target folder determined last time and displaying the alternative folder until receiving a stop instruction; and the folder level to which each target folder belongs is the target folder level.
Optionally, the first determining module is further specifically configured to:
sending a first query instruction to the server; the first query instruction carries a target identifier; the target identifier is an identifier of the target folder determined last time, and the first query instruction is used for indicating the server to query the alternative folder according to the target identifier;
receiving a first query result returned by the server in response to the first query instruction; the first query result is used to characterize alternative folders in the next folder level.
Optionally, the apparatus further includes:
the second sending module is configured to send a second query instruction to the server;
the receiving module is configured to receive a second query result returned by the server in response to the second query instruction; the second query result is used for representing folders of each folder level in the server;
The first determining module is further specifically configured to:
searching folders of the next folder level from folders of all folder levels in the server to serve as candidate folders;
and determining the candidate folder belonging to the target folder determined last time as the candidate folder in the next folder level.
Optionally, the second determining module is specifically configured to:
obtaining path identifiers corresponding to the target folders;
combining path identifiers corresponding to the target folders in sequence according to the determined sequence of the target folders to obtain path identifier combinations; determining the path identification combination as the path indication information; or determining the path identification and the sequence indication information as the path indication information; the sequence indication information is used for representing the determined sequence of the target folder corresponding to each path identifier.
Optionally, the first determining module is further specifically configured to:
displaying the alternative folders based on a first selection control;
the first selection control is used for displaying a plurality of alternative folders under the condition of being triggered, and selecting a designated alternative folder from the displayed plurality of alternative folders; the first selection control is a next-level selection control of a second selection control, and the alternative folders in a folder level above the next folder level are displayed based on the second selection control.
According to a fourth aspect of embodiments of the present disclosure, there is provided a file storage device, applied to a server, including:
the first receiving module is configured to receive a file to be stored, path indication information and a storage instruction sent by the terminal; the path indication information is used for indicating a target storage path and is determined according to path identifiers corresponding to target folders of files to be stored, which are determined step by step from each target folder level of the server;
a determining module configured to determine the target storage path according to the path indication information in response to the storage instruction;
and the storage module is configured to store the file to be stored into a folder pointed by the target storage path.
Optionally, the determining module is specifically configured to:
when the path indication information is the path identification and the sequence indication information corresponding to each target folder, combining the path identification corresponding to each target folder according to the determined sequence of each target folder according to the sequence indication information to obtain the target storage path; the sequence indication information is used for representing the determined sequence;
Or, in the case that the path indication information is a path identification combination, determining the path indication information as the target storage path.
Optionally, the apparatus further includes:
the second receiving module is configured to receive a first query instruction sent by the terminal; the first query instruction carries a target identifier;
the query module is configured to respond to the first query instruction and query the alternative folders according to the target identification; the candidate folders belong to folders corresponding to the target identifiers;
the first return module is configured to return a first query result to the terminal; the first query result is used to characterize the alternative folder.
Optionally, the apparatus further includes:
the third receiving module is configured to receive a second query instruction sent by the terminal;
the second return module is configured to respond to the second query instruction and return a second query result to the terminal; the second query result is used for representing folders of each folder level in the server.
Optionally, the storage module is specifically configured to:
storing the file to be stored into a preset temporary storage area, and determining a folder pointed by the target storage path;
And moving the file to be stored from the preset temporary storage area to the pointed file folder based on a preset moving command.
According to a fifth aspect of embodiments of the present disclosure, there is provided a file storage system comprising: a terminal and a server;
the terminal is used for determining target folders of files to be stored step by step from each target folder level of the server;
the terminal is further configured to determine path indication information corresponding to the file to be stored based on path identifiers corresponding to the target folders; the path indication information is used for indicating a target storage path;
the terminal is further configured to send the file to be stored, the path indication information and a storage instruction to the server;
the server is used for receiving the file to be stored, the path indication information and the storage instruction;
the server is further used for responding to the storage instruction and determining the target storage path according to the path indication information;
and the server is also used for storing the file to be stored into the file pointed by the target storage path.
According to a sixth aspect of the present disclosure, there is provided an electronic device comprising:
A processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement a file storage method as claimed in any one of the preceding claims.
According to a seventh aspect of the present disclosure, there is provided a storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the file storage method of any one of the preceding claims.
According to an eighth aspect of the present disclosure, there is provided a computer program product comprising readable program instructions which, when executed by a processor of an electronic device, cause the electronic device to perform a file storage method as claimed in any preceding claim.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the file storage method provided by the embodiment of the disclosure, the target folders of the file to be stored are determined step by step from each target folder level of the server. Determining path indication information corresponding to a file to be stored based on path identifiers corresponding to all target folders; the path indication information is used for indicating a target storage path. Sending a file to be stored, path indication information and a storage instruction to a server; the storage instruction is used for instructing the server to store the file to be stored into the folder pointed by the target storage path according to the path instruction information. Compared with the mode of firstly storing the file to be stored in the server and then manually moving the file to be stored to the folder to be stored, in the embodiment of the invention, the terminal determines the path indication information according to the target folder selected step by step for the file to be stored and sends the storage instruction to the server, so that the server can be controlled to automatically store the file to be stored to the folder under the target storage path indicated by the path indication information, thereby reducing the implementation cost to a certain extent and improving the storage efficiency.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
FIG. 1 is a flowchart illustrating steps of a method for storing a file according to an embodiment of the present disclosure;
FIG. 2 is a schematic illustration of an interface provided by an embodiment of the present disclosure;
FIG. 3 is a flowchart illustrating steps of another method for storing files according to an embodiment of the present disclosure;
FIG. 4 is a block diagram of a file storage device provided by an embodiment of the present disclosure;
FIG. 5 is a block diagram of another file storage device provided by an embodiment of the present disclosure;
FIG. 6 is a block diagram illustrating an apparatus for file storage according to an exemplary embodiment;
FIG. 7 is a block diagram illustrating an apparatus for file storage according to an exemplary embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Fig. 1 is a flowchart of steps of a file storage method according to an embodiment of the present disclosure, where the method may be applied to a terminal, as shown in fig. 1, and the method may include:
step 101, determining target folders of files to be stored step by step from each target folder level of the server.
In the embodiment of the disclosure, the file to be stored may be composed of data to be stored in an actual application scenario. The file to be stored may be specifically set according to actual requirements, and by way of example, the file to be stored may be a configuration file, a test file, etc. of the APP, and the file to be stored may include content of types such as pictures, texts, encoded characters, audio, etc., which is not limited in the embodiments of the present disclosure. The object folders of the file to be stored, which are determined step by step from the object folder levels of the server, can form an object folder set, and the object folder levels in the object folder set can accord with the upper-lower relationship. One or more target folders can be included in the target folder set, and the target folders can be selected by a user from folders of each target folder level of the server according to actual requirements. The target folder level may be part or all of the folder levels in the server, one target folder may belong to one target folder level, and the target folder corresponding to the lowest target folder level is the folder that is finally required to be stored for the file to be stored. The target folder level may include a highest folder level in the server to a folder level corresponding to a folder in which the file to be stored is ultimately required to be stored.
By way of example, assume that the server includes 4 folder levels, the 4 folder levels being in order from upper level to lower level: folder level a- > folder level B- > folder level C- > folder level D. The folder of folder level A includes a1, the folder of folder level B includes B1, B2 and B3, the folder of folder level C includes C1 and C2, and the folder of folder level D includes D1 and D2. Wherein, the folders b1, b2 and b3 belong to the folder a1, the folder c1 belongs to the folder b2, the folder c2 belongs to the folder b1, the folder d1 belongs to the folder c2, and the folder d2 belongs to the folder c1. In the case where it is necessary to store the file to be stored in the folder c2 in a directed manner, the target folders included in the target folder set are: folder a1, folder b1, and folder c2. Accordingly, the target folder levels are folder levels that have previously met the upper and lower relationships to each other: folder level a, folder level B, folder level C. The folder level B is the lower level of the folder level A, and the folder level C is the lower level of the folder level B.
102, determining path indication information corresponding to the file to be stored based on path identifiers corresponding to the target folders; the path indication information is used for indicating a target storage path.
In the embodiment of the disclosure, the path identifier corresponding to each folder in each folder hierarchy may be preset, and the path identifier corresponding to the folder may be used to characterize locating the folder in the server. Further, the path indication information may include a path identifier corresponding to each target folder, and the target storage path indicated by the path indication information may point to a target folder of a lowest level in the target folder set, that is, to a folder required to store the file to be stored, for example, the folder c2 in the above example.
Since a server often includes multiple folder levels, there may be nesting between folders in each folder level, for example, a folder may include a portion of the folders in the next folder level, and the portion of the folders included in the next folder level may further include a folder of a further next level. And the phenomenon that names are repeated may be stored between folders. Therefore, in the manner of directly controlling the server to store by using the folder name of the file to be stored, the folder in which the file to be stored is actually stored may deviate from the folder in which the file to be stored is required to be stored, and the storage efficiency of the server may be low. For example, it is assumed that the folder B3 in the folder level B is renamed to the folder C2 in the folder level C, and thus, in a manner of directly controlling the server to direct storage using the name of the folder C2, it may result in the folder B3 to which the file to be stored is actually stored. Further, in the case of designating the folder c2 only to the server, the server needs to locate the search folder c2 in each folder hierarchy to realize the directional storage, and the storage efficiency is low. According to the method and the device for generating the path indication information, the target folders in each target folder level selected step by step are obtained according to the sequence from the upper level to the lower level, the path indication information can be ensured to be accurately pointed to the folders required to be stored by the files to be stored to a certain extent according to the mode that the path indication information is generated according to the path identifiers corresponding to the target folders, and the server is convenient to position the folders required to be stored by the files to be stored, so that the storage efficiency is improved.
It should be noted that in the embodiment of the present disclosure, the method may be performed multiple times for a file to be stored: and determining the target folder of the file to be stored step by step from each target folder level of the server, and correspondingly generating path indication information based on the target folder obtained by step. That is, the resulting set of target folders may be one or more, and accordingly, one or more path indication information may be generated. The specific number of target folder collections can be set according to actual requirements. When the file to be stored needs to be stored in a plurality of folders at the same time, the target folder set can be multiple, so that the control terminal generates multiple path indication information for indicating the multiple folders. By way of example, assuming that the files to be stored need to be stored to both folder c2 and folder b1, the target folder set may include target folder set 1 and target folder set 2. Wherein the target folder set 1 includes target folders: folder a1, folder b1, and folder c2, the target folder set 2 includes target folders: a collection of folders a1, and folders b 1.
Step 103, sending the file to be stored, the path indication information and a storage instruction to the server; the storage instruction is used for indicating the server to store the file to be stored into the folder pointed by the target storage path according to the path indication information.
In the embodiment of the disclosure, the file to be stored and the path indication information may be used as parameters of the storage instruction and added to the storage instruction. Thus, by sending a store instruction to the server, the sending can be completed. Or the file to be stored, the path indication information and the storage instruction can be packaged together and sent to the server, so that the problem of overlong storage instruction is avoided while the transmission can be realized. Or may be separately transmitted to the server, which is not limited by the present disclosure.
According to the file storage method provided by the embodiment of the disclosure, the target folders of the file to be stored are determined step by step from each target folder level of the server. Determining path indication information corresponding to a file to be stored based on path identifiers corresponding to all target folders; the path indication information is used for indicating a target storage path. Sending a file to be stored, path indication information and a storage instruction to a server; the storage instruction is used for instructing the server to store the file to be stored into the folder pointed by the target storage path according to the path instruction information. Compared with the mode of firstly storing the file to be stored in the server and then manually moving the file to be stored to the folder to be stored, in the embodiment of the disclosure, the terminal determines the path indication information according to the target folder selected step by step for the file to be stored and sends the storage instruction to the server, so that the server can be controlled to automatically store the file to be stored to the folder under the target storage path indicated by the path indication information, thereby reducing the implementation cost to a certain extent and improving the storage efficiency.
Optionally, the step-by-step determining, from each target folder level of the server, the target folder corresponding to the file to be stored may specifically include:
and S21, determining a root folder in the highest folder level in the server as the target folder.
In the first selection, since only one root folder is often included in the highest folder level, in the embodiment of the present disclosure, the root folder, for example, the "server" folder in the highest folder level may be directly selected as the target folder, thereby improving the selection efficiency to a certain extent and saving the processing resources.
Step S22, obtaining an alternative folder in a next folder level of the target folder determined last time, and displaying the alternative folder; the candidate folder belongs to the last determined target folder.
Specifically, the target folder determined in the first selection is the root folder, and assuming that the second selection needs to be performed currently, that is, the target folder determined in the last selection is the target folder determined in the first selection, in this step, the folder of the root folder in the next folder level included may be acquired as the candidate folder. For example, the last determined target folder may be the folder a1 in the highest folder level a, and the next folder level of the folder a1 may be acquired this time: folders in folder level B: the folders b1, b2 and b3 are used as candidate folders, and further, after the candidate folders are acquired, the candidate folders may be displayed on a display interface of the terminal for the user to select. Compared with the mode of directly acquiring all folders, only acquiring the folders belonging to the target folder determined in the previous round can avoid the problem of processing resource waste because unnecessary folders are acquired and displayed.
Step S23, responding to a selection instruction for the alternative folder, determining the alternative folder selected by the selection instruction as the target folder, repeatedly executing the step of acquiring the alternative folder in the next folder level of the last determined target folder, and displaying the alternative folder until receiving a stop instruction; and the folder level to which each target folder belongs is the target folder level.
In this step, the selection instruction may be triggered by a user selecting a displayed alternative folder, and for example, when a user needs to select a certain alternative folder as a target folder, the user may click on the alternative folder to send the selection instruction to the terminal. Accordingly, the terminal can determine the candidate folder selected by the selection instruction as the target folder. Further, the next selection may be continued. That is, the candidate folders in the next folder level of the target folder determined last time are acquired and displayed, thereby realizing stepwise selection. And under the condition that a stop instruction is received, repeated execution can be stopped, and the target folders determined in each round can form a target folder set. The stop instruction may be sent by the user by triggering a stop function, for example, the terminal may display an upload button to the user, and the user may trigger a function of stopping selecting a folder by clicking the upload button, thereby sending the stop instruction to the terminal.
For example, assuming that the candidate folder selected by the selection instruction is folder b1, the next folder level of folder b1 may be continuously acquired: folders in folder level C: folder c2, an alternative folder, is displayed to the user for selection. And so on until a stop instruction is received.
In the embodiment of the disclosure, the root folder in the highest folder level is determined to be the target folder corresponding to the highest folder level, the alternative folders in other target folder levels are acquired and displayed step by step, so that the selection of a user is facilitated, and finally, the alternative folder selected by the user is used as the target folder corresponding to the target folder level. Therefore, the target folders can be determined step by step on the basis of the selection instruction for the candidate folders only by displaying the candidate folders in each level, and the determination efficiency of the target folder set can be ensured to a certain extent.
Optionally, in an implementation manner, the operation of obtaining the candidate folder in the next folder level of the target folder determined last time may specifically include:
step S31, a first query instruction is sent to the server; the first query instruction carries a target identifier; the target identifier is an identifier of the target folder determined last time, and the first query instruction is used for indicating the server to query the candidate folder according to the target identifier.
In this step, the identifier of the target folder determined last time may be obtained first as the target identifier. For example, assuming that the selection of the 3 rd round is required at this time, the identifier of the target folder selected in the 2 nd round may be used as the target identifier. And then, the target identifier is used as a parameter in the first query instruction, communication connection is established with the server, and the first query instruction is sent to the server through the communication connection.
Step S32, a first query result returned by the server in response to the first query instruction is received; the first query result is used to characterize alternative folders in the next folder level.
In this embodiment of the present disclosure, the server may search for an alternative folder based on the target identifier carried in the first query instruction, and send relevant information on the alternative folder, for example, a folder name, to the terminal as the first query result, so that the terminal knows which alternative folders are specifically included in the next folder level of the target folder that is determined last time.
In the embodiment of the disclosure, by sending the first query instruction to the server, only the candidate folders in the required one folder level are acquired each time based on the first query instruction, so that the problem that the data size of the query result of single transmission is large and the transmission pressure is large can be avoided. Meanwhile, the problem of communication resource waste caused by the fact that unnecessary folders are acquired can be avoided.
Alternatively, in another implementation manner, the terminal in the embodiment of the present disclosure may first perform the following steps:
step S41, a second query instruction is sent to the server.
In this step, a communication connection may be directly established with the server, and the second query instruction may be sent to the server through the communication connection. The second query instruction may be used to instruct the server to directly return all folders of the folder level to the terminal. It should be noted that, in order to ensure that the subsequent operation of acquiring the candidate folder can be successfully performed, the operation of sending the second query instruction to the server may be performed before the candidate folder is acquired for the first time.
Step S42, receiving a second query result returned by the server in response to the second query instruction; the second query result is used for representing folders of each folder level in the server.
In this implementation manner, after receiving the second query instruction, the server directly uses related information of folders of all folder levels, for example, folder names and the corresponding upper-level folders, as a second query result, and sends the second query result to the terminal, so that the terminal knows the folders contained in each folder level.
Accordingly, in this implementation, the operation of obtaining the candidate folder in the next folder level of the target folder determined last time may specifically include:
and step S51, searching the folders of the next folder level from the folders of all the folder levels in the server to serve as candidate folders.
In this step, the terminal may compare the current folder level to be determined with each folder level, for example, compare the level identifier of the next folder level with the level identifier of each folder level, and then use the folder of the folder level with the level identifier matched with the folder level as the candidate folder.
Step S52, determining a candidate folder belonging to the target folder determined last time as an alternative folder in the next folder level.
In this step, it may be detected whether the upper folder to which each candidate folder belongs is the last determined target folder. If so, the candidate folder may be determined to be an alternate folder.
In the embodiment of the disclosure, a second query instruction is sent to the server, and folders of all folder levels in the server are acquired at one time based on the second query instruction, and the acquired alternative folders can be obtained by searching in the folders locally. Therefore, the alternative folders can be obtained only by once communication with the server, and the obtaining efficiency can be improved to a certain extent. Meanwhile, the inquiry times of the server can be correspondingly reduced, so that the processing resources of the processor are saved.
Optionally, in an implementation manner, the operation of displaying the candidate folder may specifically include: and displaying the alternative folders based on the first selection control. The first selection control is used for displaying a plurality of alternative folders under the condition of being triggered, and selecting a designated alternative folder from the displayed plurality of alternative folders; the first selection control is a next-level selection control of a second selection control, and the alternative folders in a folder level above the next folder level are displayed based on the second selection control. For example, the selection control may be a drop down box, and the selection control may be triggered if clicked. The selection control of the embodiment of the disclosure can also comprise a multi-level selection control, so that a user can conveniently select the target folder level by level.
For example, fig. 2 is a schematic diagram of an interface provided by an embodiment of the present disclosure, as shown in fig. 2, where the selection control 1 is a selection control at a previous stage of the selection control 2, and the selection control 2 is a selection control at a previous stage of the selection control 3, so that step-by-step selection is facilitated. Wherein the selection control 2 is in a triggered state. Specifically, the user may select the options displayed by the selection control, i.e., the individual alternative folders displayed. After the selection is successful, the front end is triggered to send a first query request to node service in the server so as to query all folders under the selected folder this time, namely, query the candidate folders of the next folder level. And correspondingly returning a first query result to the front end, wherein the front end displays the first query result in the next drop-down frame, namely the next selection control, based on the first query result, so that the user can conveniently select folders of the server step by step. Further, the display interface may further include a file selection control 4 and an upload control 5. The user can select a file to be stored by triggering the file selection control 4. And triggering the uploading control 5 to enable the control terminal to generate path indication information based on the currently selected target folder. Further, after the user uploads the file to be stored, the path indication information and the file to be stored can be uploaded to the server together, and after the server receives the file to be stored, the uploaded file to be stored can be moved to the path indicated by the path indication information, namely, the indicated folder is located down, so that the function of uploading the file to the designated folder of the server in a fixed direction is achieved. It should be noted that, each operation performed by the terminal in the embodiment of the present disclosure may be implemented by a front-end component, for example, "vue.js", and each operation performed by the server in the embodiment of the present disclosure may be implemented by a server having a "nodejs" back-end environment, which is illustrated by an "upload" tag provided by an html page, where a user may upload a file to be stored to a browser running in the terminal. After the user selects the target folder, the user can click to submit, so that the front end is controlled to send a request to an interface used for uploading the file by the server through the browser, and the file to be stored is uploaded to the server.
Further, the front end can use the "select" tag to realize the style of the drop-down frame, monitor the change of the drop-down frame value through the "onchange" method on the tag, thereby determining whether the user selects an alternative folder, and send a first query request for querying the alternative folder corresponding to the next folder level under the condition of selection. Further, after the user completes all selections, the front end can splice the values of all drop-down boxes through a function to generate path identification information. The value of the drop-down box can be a path identifier in the form of characters. Further, a query interface of the node. Js server may be invoked to send the file to be stored, path indication information, and a storage instruction to the server. Accordingly, the node backend may use an "express" framework to create a backend instance through "new express" and monitor a fixed port, for example, monitor a query interface, through a "server. Specifically, the file uploaded by the front end can be accepted by a 'req.files' method in the query interface.
Because the display interface of the terminal is often limited, in the embodiment of the disclosure, based on the mode of displaying the alternative folders by the first selection control, the problem that the difficulty of user selection is high due to excessive content displayed by the display interface can be avoided to a certain extent, so that the user can conveniently select the target folder from the alternative folders of each folder level step by step, and the selection efficiency can be ensured to a certain extent. Of course, all the candidate folders may be displayed in the display interface directly for selection, which is not limited by the embodiments of the present disclosure.
Optionally, in an implementation manner, the determining, based on the path identifier corresponding to each target folder, the path indication information corresponding to the file to be stored may specifically include:
step S61, obtaining path identifiers corresponding to the target folders.
In the embodiment of the disclosure, the path identifier corresponding to each target folder may be searched from the corresponding relationship between the obtained folder and the path identifier. The path identifier corresponding to each folder may be the same as the name of the folder, so as to facilitate obtaining. Alternatively, the names may be different, and the embodiments of the present disclosure are not limited thereto.
Step S62, according to the determined sequence of each target folder, combining path identifiers corresponding to each target folder in turn to obtain path identifier combinations.
In the embodiment of the disclosure, each target folder is determined from the upper level to the lower level, that is, from the higher level to the lower level according to the folder level, so that the path identifier combination obtained by combining the determined sequence of each target folder can characterize the complete path from the highest folder level to the folder to which the file to be stored is required to be stored, thereby facilitating positioning of the folder to which the file to be stored is finally required to be stored.
Specifically, the combination may be performed in a preset manner. For example, the path identifiers corresponding to the target folders may be arranged according to the determined order of the target folders, and then a preset mark is inserted between the starting position and each path identifier, so as to obtain a path identifier combination. Therefore, by inserting the preset mark, the server can conveniently identify the path identifier corresponding to each target folder, and the problem that the subsequent server confuses different path identifiers and causes directional storage failure is avoided. Further, assuming that the preset mark is "/", the path identifiers corresponding to the target folders determined in sequence are respectively: server, upload, target. Then by combining, a path identification combination can be obtained: '/server/upload/target'.
Step S63, the path identification combination is determined to be the path indication information.
For example, the '/server/upload/target' may be determined as the path indication information.
In the embodiment of the disclosure, path identifiers corresponding to the target folders are obtained, and the path identifiers corresponding to the target folders are sequentially combined according to the determined sequence of the target folders to obtain a path identifier combination. Finally, the path identification combination is determined as path indication information. Therefore, the subsequent server can be directly positioned to the folder in which the file to be stored is required to be stored based on the path indication information, and the storage efficiency of the server can be improved to a certain extent.
Optionally, in another implementation manner, the determining, based on the path identifier corresponding to each target folder, the path indication information corresponding to the file to be stored may specifically include:
step S71, obtaining path identifiers corresponding to the target folders.
Specifically, the implementation manner of this step may refer to the implementation manner of the foregoing corresponding step, which is not described herein again.
Step S72, determining the path identification and sequence indication information as the path indication information; the sequence indication information is used for representing the determined sequence of the target folder corresponding to each path identifier.
In the embodiment of the disclosure, the sequence indication information may be generated based on the determined sequence of the target folders corresponding to the path identifiers. For example, priority information may be associated with each path identifier, where the higher the determined order of the corresponding target folders, the higher the priority of the priority information characterization. Accordingly, priority information set for each path identification may be used as the order indication information. Or, the sequence identifiers may be sequentially set for the path identifiers according to the sequence from early to late of the determining sequence of the target folder corresponding to the path identifier, where the sequence identifier is larger as the determining sequence of the corresponding target folder is higher than the path identifier of the previous. Accordingly, the order flag set for each path flag may be regarded as order instruction information. Further, the path identification and the order indication information may be directly determined as the path indication information. Assuming that the order is arranged from the early to the late according to the determination order of the corresponding target folders, the path identifiers are respectively: server, upload, target. Then the highest priority/maximum order indicator may be set for "server", the next highest priority/next largest order indicator for "upload", and the lowest priority/lowest order indicator for "target" as order indication information. Finally, the 3 path identifications and the sequence indication message may be determined as path indication information.
In the embodiment of the disclosure, the path identifier corresponding to each target folder is obtained, and then the path identifier and the sequence indication information are directly determined as the path indication information. In this way, the terminal does not need to perform a combining operation, and therefore, the determination efficiency of the path instruction information can be improved to some extent.
FIG. 3 is a flowchart illustrating steps of another method for storing files according to an embodiment of the present disclosure, where the method may be applied to a server, as shown in FIG. 3, and the method includes:
step 201, receiving a file to be stored, path indication information and a storage instruction sent by a terminal; the path indication information is used for indicating a target storage path, and is determined according to path identifiers corresponding to target folders of files to be stored, which are determined step by step from each target folder level of the server.
In the embodiment of the disclosure, the file to be stored and the path indication information may be parameters of a storage instruction, and are added to the storage instruction, so as to be sent to the server. That is, the server receives only the storage instruction carrying the file to be stored and the path indication information. Alternatively, the server may receive the file to be stored, the path indication information, and the storage instruction, which are packaged together.
And 202, responding to the storage instruction, and determining the target storage path according to the path indication information.
And 203, storing the file to be stored in a folder pointed by the target storage path.
In the embodiment of the disclosure, the server may parse the storage instruction to extract the file to be stored and the path indication information carried in the storage instruction. Or, the received compressed packet may be decompressed to obtain the file to be stored, the path indication information and the storage instruction. And then, responding to the storage instruction, determining a target storage path and storing the file to be stored into a folder pointed by the target storage path, thereby realizing the directional storage of the file.
According to the file storage method provided by the embodiment of the disclosure, the server can receive the file to be stored, the path indication information and the storage instruction sent by the terminal; the path indication information is used for indicating a target storage path and is determined according to path identifiers corresponding to target folders of files to be stored, which are determined step by step from each target folder level of the server. And responding to the storage instruction, determining a target storage path according to the path indication information, and storing the file to be stored into a folder pointed by the target storage path. Compared with the mode of firstly storing the file to be stored in the server and then manually moving the file to be stored to the folder to be stored, in the embodiment of the disclosure, the terminal determines path indication information according to the target folder selected step by step for the file to be stored and sends a storage instruction to the server. The server automatically stores the file to be stored in the folder under the target storage path indicated by the path indication information, so that the implementation cost can be reduced to a certain extent, and the storage efficiency is improved.
Optionally, in an implementation manner, the path indication information may be a path identifier and order indication information corresponding to each target folder. Accordingly, the above operation of determining the target storage path according to the path indication information may specifically include: and step 2021, combining path identifiers corresponding to the target folders according to the sequence indication information and the determined sequence of the target folders to obtain the target storage path. The sequence indication information may be used to characterize a determined sequence of the target folders corresponding to the path identifiers.
Specifically, the order indication information may be priority information/order identifiers set for the respective path identifiers, and accordingly, a determination order of the target folders corresponding to the path identifiers may be determined according to the priority information/order identifiers. For example, the higher the priority of the priority information characterization/the larger the order identifier, the higher the order of determination of the target folder to which the path identifier corresponds. Further, after determining the determined sequence of the target folders corresponding to the path identifiers, the target storage paths may be obtained by combining the determined sequence. The specific implementation manner of the combination may refer to the foregoing related description, which is not repeated herein. In the embodiment of the disclosure, the server combines the path identifiers corresponding to the target folders according to the sequence indication information and the determining sequence of the target folders to obtain the target storage path, so that the terminal can directly determine the path identifiers and the sequence indication information as the path indication information, and further the determining efficiency of the terminal in determining the path indication information can be improved to a certain extent.
Alternatively, in another implementation, the path indication information may be a path identification combination. Accordingly, the above operation of determining the target storage path according to the path indication information may specifically include: and determining the path indication information as the target storage path under the condition that the path indication information is a path identification combination. In the embodiment of the disclosure, the server directly takes the path indication information as the target storage path, so that the operation efficiency of the server can be improved to a certain extent.
Optionally, before the operation of receiving the file to be stored, the path indication information, and the storage instruction sent by the terminal, the server may further execute the following steps:
step S81, receiving a first query instruction sent by the terminal; the first query instruction carries a target identifier.
The target identifier may be an identifier of a target folder determined last time, and the first query instruction may be used to instruct the server to query the candidate folder according to the target identifier.
Step S82, in response to the first query instruction, querying an alternative folder according to the target identifier; the candidate folders belong to folders corresponding to the target identifiers.
Specifically, the server may determine the target folder determined last time based on the target identifier carried in the first query instruction, and then correspondingly find the subordinate folders belonging to the target folder, so as to obtain the alternative folders.
Step S83, returning a first query result to the terminal; the first query result is used to characterize the alternative folder.
In this step, the server may send the relevant information on the candidate folder, for example, the folder name, to the terminal as the first query result, so that the terminal knows which candidate folders are specifically included in the next folder level of the target folder that is determined last time. In a specific implementation scenario, a server may monitor a query request sent by a front end through a "server.use ('/search')" method, and obtain a target identifier sent by the front end through a "req.query" method. When confirming an alternate folder in the next folder hierarchy of the target folder characterized by the target identity to be queried by the front end, the fs module can be referenced, using "fs.readdirsync (process.cwd (), dir)); the method obtains all file information (file) of the target folder characterized by the target identifier sent by the front end. The file information may include a file and a folder. Further, the file may be traversed circularly using "s.statsync (path.join (), dir+ '/' +item)). IsDirectory (); the method identifies folders from the file and sorts the array based on the folders as a first query result. Finally, the first query result is returned to the front end by calling the "res. Send" method.
Accordingly, after the front end receives the first query result, the template method provided by vue can be combined, and each alternative folder represented by the first query result is circularly inserted into the next-stage drop-down frame by using the v-for cycle, so that the folder query function is realized, and the user can conveniently and continuously select step by step.
In the embodiment of the disclosure, the server only needs to search for the alternative folder in one folder level required by the return terminal based on the first query instruction each time, so that the problem that the data size of the query result of single transmission is large and the transmission pressure is large can be avoided. Meanwhile, the problem that the terminal acquires unnecessary folders and therefore wastes communication resources can be avoided.
Optionally, in another implementation manner, before the operation of receiving the file to be stored, the path indication information and the storage instruction sent by the terminal, the server may further perform the following steps:
step S91, receiving a second query instruction sent by the terminal.
In this step, the server may receive a second query instruction sent through a communication connection established with the terminal. The second query instruction may be used to instruct the server to directly return all folders of the folder level to the terminal.
Step S92, responding to the second query instruction, and returning a second query result to the terminal; the second query result is used for representing folders of each folder level in the server.
In this step, after receiving the second query instruction, the server may directly use the related information of the folders of all the folder levels, for example, the folder names and the corresponding upper folders, as the second query result, and send the second query result to the terminal, so that the terminal knows the folders included in each folder level. In the embodiment of the disclosure, the server may obtain folders of each folder level in the server at one time based on the second query instruction and return the second query result. Thus, operations of searching for and establishing communication for many times can be avoided, and processing efficiency can be improved to a certain extent.
Optionally, the operation of storing the file to be stored in the folder pointed by the target storage path may specifically include:
step 2031, storing the file to be stored in a preset temporary storage area, and determining a folder pointed by the target storage path.
In this step, the preset temporary storage area may be preset according to actual requirements, and in an example, the preset temporary storage area may be a cache area of the server. Further, the server may locate a folder pointed to by the target storage path according to the target storage path. For example, the folders may be located step by step according to the content of each preset mark partition in the target storage path, so as to be located to the pointed folder. It should be noted that, the storing operation of storing the file to be stored in the preset temporary storage area and the determining operation of determining the folder pointed by the target storage path may be performed simultaneously or sequentially. For example, the storing operation may be performed first, and then the determining operation may be performed. Alternatively, the determining operation may be performed before the storing operation, which is not limited in this disclosure.
Step 2032, moving the file to be stored from the preset temporary storage area to the pointed folder based on a preset movement command.
By way of example, the preset move command may be a sub-process handle "child. Specifically, the preset movement command may be transmitted based on a transfer function, where a file to be stored and a pointed folder to be moved may be defined in the preset movement command, so as to ensure that the file to be stored may be moved from the preset temporary storage area to the pointed folder when the preset movement command is executed. It should be noted that, after the mobile is successful, the server may also return a success identifier to the terminal, so as to indicate that the directional storage is successful to the terminal, for example, return a request success identifier of "result=1". Furthermore, the files to be stored in the preset temporary storage area can be deleted after the movement is successful, so that space waste is avoided.
Compared with the mode that a user manually writes codes, the method can manually move the files to be stored to the folders required to be stored in the server. In the embodiment of the disclosure, the file to be stored is stored in the preset temporary storage area, the folder pointed by the target storage path is determined, and then the file to be stored can be moved from the preset temporary storage area to the folder pointed based on the preset moving command, so that the file to be stored is automatically and directionally stored in the folder to be stored, and the user operation can be reduced, the operation difficulty can be reduced, and the storage efficiency can be improved to a certain extent.
It should be noted that, the server may also initialize the file upload specification in advance. After receiving the file to be stored, detecting whether the file to be stored accords with the file uploading specification. If so, continuing to execute the subsequent operation. If the file is not in conformity with the file, a prompt message of file non-compliance can be returned to the terminal. The file uploading specification can be preset according to actual requirements, and can be used for representing requirements which are required to be met by the file. The server can be initialized by referring to a diskStorage method in a multer package in a starting link. Further, the terminal can also call a rename command supported by an operating system of the server to specify the name of the file to be stored in the server, so that the problem of file renaming is avoided.
The following is a schematic illustration as applied to a development scenario. In the development process, for example, a new APP needs to be put on the application store (e.g., the application market of the IOS system), and in this case, because the APP is to be linked through a web page (e.g., the h 5 page), it is often necessary to upload a specific configuration file in a specific location, i.e., a specific folder, of the server where the root domain name is located. The specific folders corresponding to different APP or configuration files of different versions of the same APP are often different, and the personalized requirements are strong. In this way, each time, the submitted worksheet needs to be submitted, and then the operation and maintenance user at the server side executes each time according to the submitted worksheet: the file is manually uploaded to the server, and the operation of manually moving to different designated folders is performed in the server by manually writing the control code, so that the time consumption is long, and the convenience is low. In the embodiment of the disclosure, a developer does not need to submit a work order any more so as to instruct an operation and maintenance user at the server side to store manually. The developer can control the server to automatically execute the directional storage operation based on the terminal, so that the operation convenience can be improved, and the time consumption is reduced.
Fig. 4 is a block diagram of a file storage device according to an embodiment of the present disclosure, which is applied to a terminal, as shown in fig. 4, the device 40 may include:
a first determining module 401 configured to determine target folders of the file to be stored step by step from each target folder level of the server;
a second determining module 402, configured to determine path indication information corresponding to the file to be stored based on path identifiers corresponding to the target folders; the path indication information is used for indicating a target storage path;
a first sending module 403 configured to send the file to be stored, the path indication information, and a storage instruction to the server; the storage instruction is used for indicating the server to store the file to be stored into the folder pointed by the target storage path according to the path indication information.
The file storage device provided by the embodiment of the disclosure determines the target folder of the file to be stored step by step from each target folder level of the server. Determining path indication information corresponding to a file to be stored based on path identifiers corresponding to all target folders; the path indication information is used for indicating a target storage path. Sending a file to be stored, path indication information and a storage instruction to a server; the storage instruction is used for instructing the server to store the file to be stored into the folder pointed by the target storage path according to the path instruction information. Compared with the mode of firstly storing the file to be stored in the server and then manually moving the file to be stored to the folder to be stored, in the embodiment of the disclosure, the terminal determines the path indication information according to the target folder selected step by step for the file to be stored and sends the storage instruction to the server, so that the server can be controlled to automatically store the file to be stored to the folder under the target storage path indicated by the path indication information, thereby reducing the implementation cost to a certain extent and improving the storage efficiency.
Optionally, the first determining module 401 is specifically configured to:
determining a root folder in the highest folder level in the server as the target folder;
acquiring an alternative folder in a next folder level of the target folder determined last time, and displaying the alternative folder; the candidate folder belongs to the last determined target folder;
determining an alternative folder selected by the selection instruction as the target folder in response to the selection instruction of the alternative folder, and repeatedly executing the steps of acquiring the alternative folder in the next folder level of the target folder determined last time and displaying the alternative folder until receiving a stop instruction; and the folder level to which each target folder belongs is the target folder level.
Optionally, the first determining module 401 is further specifically configured to:
sending a first query instruction to the server; the first query instruction carries a target identifier; the target identifier is an identifier of the target folder determined last time, and the first query instruction is used for indicating the server to query the alternative folder according to the target identifier;
Receiving a first query result returned by the server in response to the first query instruction; the first query result is used to characterize alternative folders in the next folder level.
Optionally, the apparatus 40 further includes:
the second sending module is configured to send a second query instruction to the server;
the receiving module is configured to receive a second query result returned by the server in response to the second query instruction; the second query result is used for representing folders of each folder level in the server;
the first determining module 401 is further specifically configured to:
searching folders of the next folder level from folders of all folder levels in the server to serve as candidate folders;
and determining the candidate folder belonging to the target folder determined last time as the candidate folder in the next folder level.
Optionally, the second determining module 402 is specifically configured to:
obtaining path identifiers corresponding to the target folders;
combining path identifiers corresponding to the target folders in sequence according to the determined sequence of the target folders to obtain path identifier combinations; determining the path identification combination as the path indication information; or determining the path identification and the sequence indication information as the path indication information; the sequence indication information is used for representing the determined sequence of the target folder corresponding to each path identifier.
Optionally, the first determining module 401 is further specifically configured to:
displaying the alternative folders based on a first selection control;
the first selection control is used for displaying a plurality of alternative folders under the condition of being triggered, and selecting a designated alternative folder from the displayed plurality of alternative folders; the first selection control is a next-level selection control of a second selection control, and the alternative folders in a folder level above the next folder level are displayed based on the second selection control.
Fig. 5 is a block diagram of a file storage device according to an embodiment of the present disclosure, applied to a server, as shown in fig. 5, the device 50 may include:
a first receiving module 501 configured to receive a file to be stored, path indication information, and a storage instruction sent by a terminal; the path indication information is used for indicating a target storage path and is determined according to path identifiers corresponding to target folders of files to be stored, which are determined step by step from each target folder level of the server;
a determining module 502 configured to determine the target storage path according to the path indication information in response to the storage instruction;
And a storage module 503 configured to store the file to be stored in a folder pointed by the target storage path.
According to the file storage device provided by the embodiment of the disclosure, the server can receive the file to be stored, the path indication information and the storage instruction sent by the terminal; the path indication information is used for indicating a target storage path and is determined according to path identifiers corresponding to target folders of files to be stored, which are determined step by step from each target folder level of the server. And responding to the storage instruction, determining a target storage path according to the path indication information, and storing the file to be stored into a folder pointed by the target storage path. Compared with the mode of firstly storing the file to be stored in the server and then manually moving the file to be stored to the folder to be stored, in the embodiment of the disclosure, the terminal determines path indication information according to the target folder selected step by step for the file to be stored and sends a storage instruction to the server. The server automatically stores the file to be stored in the folder under the target storage path indicated by the path indication information, so that the implementation cost can be reduced to a certain extent, and the storage efficiency is improved.
Optionally, the determining module 502 is specifically configured to:
when the path indication information is the path identification and the sequence indication information corresponding to each target folder, combining the path identification corresponding to each target folder according to the determined sequence of each target folder according to the sequence indication information to obtain the target storage path; the sequence indication information is used for representing the determined sequence;
or, in the case that the path indication information is a path identification combination, determining the path indication information as the target storage path.
Optionally, the apparatus 50 further includes:
the second receiving module is configured to receive a first query instruction sent by the terminal; the first query instruction carries a target identifier;
the query module is configured to respond to the first query instruction and query the alternative folders according to the target identification; the candidate folders belong to folders corresponding to the target identifiers;
the first return module is configured to return a first query result to the terminal; the first query result is used to characterize the alternative folder.
Optionally, the apparatus 50 further includes:
The third receiving module is configured to receive a second query instruction sent by the terminal;
the second return module is configured to respond to the second query instruction and return a second query result to the terminal; the second query result is used for representing folders of each folder level in the server.
Optionally, the storage module 503 is specifically configured to:
storing the file to be stored into a preset temporary storage area, and determining a folder pointed by the target storage path;
and moving the file to be stored from the preset temporary storage area to the pointed file folder based on a preset moving command.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
According to one embodiment of the present disclosure, there is provided a file storage system including a terminal and a server; the terminal is used for determining target folders of the files to be stored step by step from each target folder level of the server; the terminal is further configured to determine path indication information corresponding to the file to be stored based on path identifiers corresponding to the target folders; the path indication information is used for indicating a target storage path; the terminal is further configured to send the file to be stored, the path indication information and a storage instruction to the server; the server is used for receiving the file to be stored, the path indication information and the storage instruction; the server is further used for responding to the storage instruction and determining the target storage path according to the path indication information; and the server is also used for storing the file to be stored into the file pointed by the target storage path.
According to one embodiment of the present disclosure, there is provided an electronic device including: a processor, a memory for storing processor-executable instructions, wherein the processor is configured to perform steps in a file storage method as in any of the embodiments described above.
According to an embodiment of the present disclosure, there is also provided a storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform the steps of the file storage method as in any of the embodiments described above.
According to an embodiment of the present disclosure, there is also provided a computer program product comprising readable program instructions which, when executed by a processor of an electronic device, enable the electronic device to perform the steps of the file storage method as in any of the embodiments described above.
FIG. 6 is a block diagram illustrating an apparatus for file storage according to an exemplary embodiment. For example, apparatus 300 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 6, the apparatus 300 may include one or more of the following components: a processing component 302, a memory 304, a power component 306, a multimedia component 308, an audio component 310, an input/output (I/O) interface 312, a sensor component 314, and a communication component 316.
The processing component 302 generally controls overall operation of the apparatus 300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 302 may include one or more processors 320 to execute instructions to perform all or part of the steps of the file storage method described above. Further, the processing component 302 can include one or more modules that facilitate interactions between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate interaction between the multimedia component 308 and the processing component 302.
Memory 304 is configured to store various types of data to support operations at apparatus 300. Examples of such data include instructions for any application or method operating on the device 300, contact data, phonebook data, messages, pictures, videos, and the like. The memory 304 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 306 provides power to the various components of the device 300. The power supply components 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 300.
The multimedia component 308 includes a screen between the device 300 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 includes a front-facing camera and/or a rear-facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the apparatus 300 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 310 is configured to output and/or input audio signals. For example, the audio component 310 includes a Microphone (MIC) configured to receive external audio signals when the device 300 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 304 or transmitted via the communication component 316. In some embodiments, audio component 310 further comprises a speaker for outputting audio signals.
The I/O interface 312 provides an interface between the processing component 302 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 314 includes one or more sensors for providing status assessment of various aspects of the apparatus 300. For example, the sensor assembly 314 may detect the on/off state of the device 300, the relative positioning of the components, such as the display and keypad of the device 300, the sensor assembly 314 may also detect a change in position of the device 300 or a component of the device 300, the presence or absence of user contact with the device 300, the orientation or acceleration/deceleration of the device 300, and a change in temperature of the device 300. The sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 316 is configured to facilitate communication between the apparatus 300 and other devices, either wired or wireless. The device 300 may access a wireless network based on a communication standard, such as WiFi, an operator network (e.g., 2G, 3G, 4G, or 5G), or a combination thereof. In one exemplary embodiment, the communication component 316 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the above-described file storage methods.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 304, comprising instructions executable by processor 320 of apparatus 300 to perform the above-described file storage method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
FIG. 7 is a block diagram illustrating an apparatus for file storage according to an exemplary embodiment. For example, the apparatus 400 may be provided as a server. Referring to fig. 7, the apparatus 400 includes a processing component 422 that further includes one or more processors, and memory resources represented by memory 432, for storing instructions, such as applications, executable by the processing component 422. The application program stored in memory 432 may include one or more modules each corresponding to a set of instructions. Further, the processing component 422 is configured to execute instructions to perform the file storage methods described above.
The apparatus 400 may also include a power component 426 configured to perform power management of the apparatus 400, a wired or wireless network interface 450 configured to connect the apparatus 400 to a network, and an input output (I/O) interface 458. The apparatus 400 may operate based on an operating system stored in the memory 432, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM or the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (23)

1. The file storage method is characterized by being applied to a terminal and comprising the following steps of:
determining target folders of files to be stored step by step from each target folder level of a server;
determining path indication information corresponding to the file to be stored based on the path identifiers corresponding to the target folders; the path indication information is used for indicating a target storage path;
sending the file to be stored, the path indication information and a storage instruction to the server; the storage instruction is used for indicating the server to store the file to be stored into a folder pointed by the target storage path according to the path indication information;
the step-by-step determination of the target folder of the file to be stored in each target folder level of the slave server comprises the following steps:
determining a root folder in the highest folder level in the server as the target folder;
acquiring an alternative folder in a next folder level of the target folder determined last time, and displaying the alternative folder; the candidate folder belongs to the last determined target folder;
Determining an alternative folder selected by the selection instruction as the target folder in response to the selection instruction of the alternative folder, and repeatedly executing the steps of acquiring the alternative folder in the next folder level of the target folder determined last time and displaying the alternative folder until receiving a stop instruction; and the folder level to which each target folder belongs is the target folder level.
2. The method of claim 1, wherein the obtaining the candidate folder in the next folder level of the last determined target folder comprises:
sending a first query instruction to the server; the first query instruction carries a target identifier; the target identifier is an identifier of the target folder determined last time, and the first query instruction is used for indicating the server to query the alternative folder according to the target identifier;
receiving a first query result returned by the server in response to the first query instruction; the first query result is used to characterize alternative folders in the next folder level.
3. The method according to claim 1, wherein the method further comprises:
Sending a second query instruction to the server;
receiving a second query result returned by the server in response to the second query instruction; the second query result is used for representing folders of each folder level in the server;
the obtaining the candidate folder in the next folder level of the last determined target folder comprises the following steps:
searching folders of the next folder level from folders of all folder levels in the server to serve as candidate folders;
and determining the candidate folder belonging to the target folder determined last time as the candidate folder in the next folder level.
4. A method according to any one of claims 1 to 3, wherein the determining, based on the path identifier corresponding to each target folder, path indication information corresponding to the file to be stored includes:
obtaining path identifiers corresponding to the target folders;
combining path identifiers corresponding to the target folders in sequence according to the determined sequence of the target folders to obtain path identifier combinations; determining the path identification combination as the path indication information; or determining the path identification and the sequence indication information as the path indication information; the sequence indication information is used for representing the determined sequence of the target folder corresponding to each path identifier.
5. The method of claim 1, wherein the displaying the alternative folders comprises:
displaying the alternative folders based on a first selection control;
the first selection control is used for displaying a plurality of alternative folders under the condition of being triggered, and selecting a designated alternative folder from the displayed plurality of alternative folders; the first selection control is a next-level selection control of a second selection control, and the alternative folders in a folder level above the next folder level are displayed based on the second selection control.
6. A file storage method, applied to a server, comprising:
receiving a file to be stored, path indication information and a storage instruction sent by a terminal; the path indication information is used for indicating a target storage path and is determined according to path identifiers corresponding to target folders of files to be stored, which are determined step by step from each target folder level of the server; the step-by-step determination of the target folder of the file to be stored by the terminal from each target folder level of the server comprises the following steps: determining a root folder in the highest folder level in the server as the target folder; acquiring an alternative folder in a next folder level of the target folder determined last time, and displaying the alternative folder; the candidate folder belongs to the last determined target folder; determining an alternative folder selected by the selection instruction as the target folder in response to the selection instruction of the alternative folder, and repeatedly executing the steps of acquiring the alternative folder in the next folder level of the target folder determined last time and displaying the alternative folder until receiving a stop instruction; the folder level to which each target folder belongs is the target folder level;
Responding to the storage instruction, and determining the target storage path according to the path indication information;
and storing the file to be stored into a folder pointed by the target storage path.
7. The method of claim 6, wherein the determining the target storage path from the path indication information comprises:
when the path indication information is the path identification and the sequence indication information corresponding to each target folder, combining the path identification corresponding to each target folder according to the determined sequence of each target folder according to the sequence indication information to obtain the target storage path; the sequence indication information is used for representing the determined sequence;
or, in the case that the path indication information is a path identification combination, determining the path indication information as the target storage path.
8. The method according to claim 6, wherein before the receiving terminal sends the file to be stored, the path indication information, and the storage instruction, the method further comprises:
receiving a first query instruction sent by the terminal; the first query instruction carries a target identifier;
Responding to the first query instruction, and querying an alternative folder according to the target identifier; the candidate folders belong to folders corresponding to the target identifiers;
returning a first query result to the terminal; the first query result is used to characterize the alternative folder.
9. The method according to claim 6, wherein before the receiving terminal sends the file to be stored, the path indication information, and the storage instruction, the method further comprises:
receiving a second query instruction sent by the terminal;
responding to the second query instruction, and returning a second query result to the terminal; the second query result is used for representing folders of each folder level in the server.
10. The method according to any one of claims 6 to 9, wherein storing the file to be stored in the folder pointed to by the target storage path includes:
storing the file to be stored into a preset temporary storage area, and determining a folder pointed by the target storage path;
and moving the file to be stored from the preset temporary storage area to the pointed file folder based on a preset moving command.
11. A file storage device, characterized by being applied to a terminal, comprising:
the first determining module is configured to determine target folders of files to be stored step by step from each target folder level of the server;
the second determining module is configured to determine path indication information corresponding to the file to be stored based on the path identifiers corresponding to the target folders; the path indication information is used for indicating a target storage path;
the first sending module is configured to send the file to be stored, the path indication information and a storage instruction to the server; the storage instruction is used for indicating the server to store the file to be stored into a folder pointed by the target storage path according to the path indication information;
wherein the first determining module is specifically configured to:
determining a root folder in the highest folder level in the server as the target folder;
acquiring an alternative folder in a next folder level of the target folder determined last time, and displaying the alternative folder; the candidate folder belongs to the last determined target folder;
Determining an alternative folder selected by the selection instruction as the target folder in response to the selection instruction of the alternative folder, and repeatedly executing the steps of acquiring the alternative folder in the next folder level of the target folder determined last time and displaying the alternative folder until receiving a stop instruction; and the folder level to which each target folder belongs is the target folder level.
12. The apparatus of claim 11, wherein the first determination module is further specifically configured to:
sending a first query instruction to the server; the first query instruction carries a target identifier; the target identifier is an identifier of the target folder determined last time, and the first query instruction is used for indicating the server to query the alternative folder according to the target identifier;
receiving a first query result returned by the server in response to the first query instruction; the first query result is used to characterize alternative folders in the next folder level.
13. The apparatus of claim 11, wherein the apparatus further comprises:
The second sending module is configured to send a second query instruction to the server;
the receiving module is configured to receive a second query result returned by the server in response to the second query instruction; the second query result is used for representing folders of each folder level in the server;
the first determining module is further specifically configured to:
searching folders of the next folder level from folders of all folder levels in the server to serve as candidate folders;
and determining the candidate folder belonging to the target folder determined last time as the candidate folder in the next folder level.
14. The apparatus according to any one of claims 11 to 13, wherein the second determining module is specifically configured to:
obtaining path identifiers corresponding to the target folders;
combining path identifiers corresponding to the target folders in sequence according to the determined sequence of the target folders to obtain path identifier combinations; determining the path identification combination as the path indication information; or determining the path identification and the sequence indication information as the path indication information; the sequence indication information is used for representing the determined sequence of the target folder corresponding to each path identifier.
15. The apparatus of claim 11, wherein the first determination module is further specifically configured to:
displaying the alternative folders based on a first selection control;
the first selection control is used for displaying a plurality of alternative folders under the condition of being triggered, and selecting a designated alternative folder from the displayed plurality of alternative folders; the first selection control is a next-level selection control of a second selection control, and the alternative folders in a folder level above the next folder level are displayed based on the second selection control.
16. A file storage device for use with a server, comprising:
the first receiving module is configured to receive a file to be stored, path indication information and a storage instruction sent by the terminal; the path indication information is used for indicating a target storage path and is determined according to path identifiers corresponding to target folders of files to be stored, which are determined step by step from each target folder level of the server;
a determining module configured to determine the target storage path according to the path indication information in response to the storage instruction;
The storage module is configured to store the file to be stored into a folder pointed by the target storage path;
the step-by-step determination of the target folder of the file to be stored by the terminal from each target folder level of the server comprises the following steps: determining a root folder in the highest folder level in the server as the target folder; acquiring an alternative folder in a next folder level of the target folder determined last time, and displaying the alternative folder; the candidate folder belongs to the last determined target folder; determining an alternative folder selected by the selection instruction as the target folder in response to the selection instruction of the alternative folder, and repeatedly executing the steps of acquiring the alternative folder in the next folder level of the target folder determined last time and displaying the alternative folder until receiving a stop instruction; and the folder level to which each target folder belongs is the target folder level.
17. The apparatus according to claim 16, wherein the determining module is specifically configured to:
when the path indication information is the path identification and the sequence indication information corresponding to each target folder, combining the path identification corresponding to each target folder according to the determined sequence of each target folder according to the sequence indication information to obtain the target storage path; the sequence indication information is used for representing the determined sequence;
Or, in the case that the path indication information is a path identification combination, determining the path indication information as the target storage path.
18. The apparatus of claim 16, wherein the apparatus further comprises:
the second receiving module is configured to receive a first query instruction sent by the terminal; the first query instruction carries a target identifier;
the query module is configured to respond to the first query instruction and query the alternative folders according to the target identification; the candidate folders belong to folders corresponding to the target identifiers;
the first return module is configured to return a first query result to the terminal; the first query result is used to characterize the alternative folder.
19. The apparatus of claim 16, wherein the apparatus further comprises:
the third receiving module is configured to receive a second query instruction sent by the terminal;
the second return module is configured to respond to the second query instruction and return a second query result to the terminal; the second query result is used for representing folders of each folder level in the server.
20. The apparatus according to any one of claims 16 to 19, wherein the storage module is specifically configured to:
storing the file to be stored into a preset temporary storage area, and determining a folder pointed by the target storage path;
and moving the file to be stored from the preset temporary storage area to the pointed file folder based on a preset moving command.
21. A file storage system, comprising: a terminal and a server;
the terminal is used for determining target folders of files to be stored step by step from each target folder level of the server;
the terminal is further configured to determine path indication information corresponding to the file to be stored based on path identifiers corresponding to the target folders; the path indication information is used for indicating a target storage path;
the terminal is further configured to send the file to be stored, the path indication information and a storage instruction to the server;
the server is used for receiving the file to be stored, the path indication information and the storage instruction;
the server is further used for responding to the storage instruction and determining the target storage path according to the path indication information;
The server is further configured to store the file to be stored to a file pointed by the target storage path;
the step-by-step determination of the target folder of the file to be stored by the terminal from each target folder level of the server comprises the following steps: determining a root folder in the highest folder level in the server as the target folder; acquiring an alternative folder in a next folder level of the target folder determined last time, and displaying the alternative folder; the candidate folder belongs to the last determined target folder; determining an alternative folder selected by the selection instruction as the target folder in response to the selection instruction of the alternative folder, and repeatedly executing the steps of acquiring the alternative folder in the next folder level of the target folder determined last time and displaying the alternative folder until receiving a stop instruction; and the folder level to which each target folder belongs is the target folder level.
22. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
Wherein the processor is configured to execute the instructions to implement the file storage method of any of claims 1 to 10.
23. A storage medium, characterized in that instructions in the storage medium, when executed by a processor of an electronic device, cause the electronic device to perform the file storage method of any of claims 1 to 10.
CN202110819568.6A 2021-07-20 2021-07-20 File storage method, device, system, electronic equipment, storage medium and product Active CN113656360B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110819568.6A CN113656360B (en) 2021-07-20 2021-07-20 File storage method, device, system, electronic equipment, storage medium and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110819568.6A CN113656360B (en) 2021-07-20 2021-07-20 File storage method, device, system, electronic equipment, storage medium and product

Publications (2)

Publication Number Publication Date
CN113656360A CN113656360A (en) 2021-11-16
CN113656360B true CN113656360B (en) 2024-02-06

Family

ID=78477505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110819568.6A Active CN113656360B (en) 2021-07-20 2021-07-20 File storage method, device, system, electronic equipment, storage medium and product

Country Status (1)

Country Link
CN (1) CN113656360B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900510A (en) * 2018-06-29 2018-11-27 平安科技(深圳)有限公司 Off-line data storage method, device, computer equipment and storage medium
CN109344141A (en) * 2018-11-16 2019-02-15 京东方科技集团股份有限公司 A kind of processing system and method for file destination
CN110377579A (en) * 2019-07-24 2019-10-25 南京中孚信息技术有限公司 File memory method, device and server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008511881A (en) * 2004-08-31 2008-04-17 ▲騰▼▲訊▼科技(深▲セン▼)有限公司 Communication system and method for implementing online file storage based on instant messaging platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900510A (en) * 2018-06-29 2018-11-27 平安科技(深圳)有限公司 Off-line data storage method, device, computer equipment and storage medium
CN109344141A (en) * 2018-11-16 2019-02-15 京东方科技集团股份有限公司 A kind of processing system and method for file destination
CN110377579A (en) * 2019-07-24 2019-10-25 南京中孚信息技术有限公司 File memory method, device and server

Also Published As

Publication number Publication date
CN113656360A (en) 2021-11-16

Similar Documents

Publication Publication Date Title
CN111752442B (en) Method, device, terminal and storage medium for displaying operation guide information
RU2612362C1 (en) Method of recording, method of playback, device, terminal and system
CN110333836B (en) Information screen projection method and device, storage medium and electronic device
CN112419693B (en) Device control method, device, display device and computer readable storage medium
CN111538874B (en) Quick search method, terminal and readable storage medium
CN111901896A (en) Information sharing method, information sharing device, electronic equipment and storage medium
CN105095427A (en) Search recommendation method and device
CN112399006B (en) File sending method and device and electronic equipment
CN105763552B (en) Transmission method, device and system in remote control
CN105809162B (en) Method and device for acquiring WIFI hotspot and picture associated information
CN112486444A (en) Screen projection method, device, equipment and readable storage medium
CN115729534A (en) Method for creating and displaying low-code page, device, equipment and medium
CN111708824A (en) Data processing method, device, equipment and storage medium
CN104063424B (en) Web page picture shows method and demonstration device
CN109558553B (en) Method and device for determining style
KR101787918B1 (en) Search method, apparatus, program and recording medium
CN112579264A (en) Application program jumping method, terminal and computer storage medium
CN109684112A (en) Program file operation method, device, terminal and storage medium
CN113434134A (en) Component processing method and device, electronic equipment and storage medium
CN111338625B (en) Data processing method, system, terminal equipment and storage medium
CN113656360B (en) File storage method, device, system, electronic equipment, storage medium and product
CN113010157A (en) Code generation method and device
CN114925092B (en) Data processing method and device, electronic equipment and storage medium
CN102402570B (en) Data management device and recording medium
CN112416707B (en) Link detection 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