CN112153127A - File deployment method, device, equipment and storage medium - Google Patents

File deployment method, device, equipment and storage medium Download PDF

Info

Publication number
CN112153127A
CN112153127A CN202010954690.XA CN202010954690A CN112153127A CN 112153127 A CN112153127 A CN 112153127A CN 202010954690 A CN202010954690 A CN 202010954690A CN 112153127 A CN112153127 A CN 112153127A
Authority
CN
China
Prior art keywords
file
file deployment
deployment
path information
target server
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.)
Withdrawn
Application number
CN202010954690.XA
Other languages
Chinese (zh)
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010954690.XA priority Critical patent/CN112153127A/en
Publication of CN112153127A publication Critical patent/CN112153127A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • 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
    • 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/18File system types
    • G06F16/182Distributed file systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The invention discloses a file deployment method, a device, equipment and a storage medium; in the scheme, when the files are deployed to the target server, the files to be deployed do not need to be deployed to the target server one by one, and the corresponding files or folders can be deployed to the specified directory of the target server through the file deployment parameters only after the file deployment parameters are obtained, so that the time for deploying the files to the target server is shortened, the deployment speed of the local files is improved, and the burden of developers for deploying the local files to the target server is reduced; moreover, the copying result of the file or the folder to be deployed in the application only comprises a complete directory hierarchy structure corresponding to the file or the folder, and through the method, developers only replace the files of the developers, codes covering others are avoided as much as possible, and the influence range is reduced.

Description

File deployment method, device, equipment and storage medium
Technical Field
The present invention relates to the field of file deployment technologies, and in particular, to a file deployment method, apparatus, device, and storage medium.
Background
In the traditional debugging process, before a front-end user interface and a back-end processing logic are not separated, a personal development computer can complete all debugging works, and after no problem is confirmed, the personal development computer is directly deployed to a production environment. However, under the front-end and back-end separation and micro-service architecture, the project becomes more complex and huge, more people are needed for maintenance, and local debugging is very easy. Developers then need to frequently replace local files to the target server for program debugging.
In the replacement process, if the whole project is deployed from the local to the target server, the codes of other people may be covered, so when a project is developed by cooperation of multiple people, only the file modified by the user is usually replaced to the target server for debugging, but the replacement mode has more repetitive work, such as: when a plurality of local files are to be deployed to a target server, the files need to be found locally, then the positions where the local files should be deployed are found in the target server, and finally the local files are deployed to the corresponding positions of the target server.
Disclosure of Invention
The invention aims to provide a file deployment method, a file deployment device, equipment and a storage medium, which are used for improving the deployment speed of a local file and shortening the time for deploying the file to a target server, so that the burden of a developer on deploying the local file to the target server is reduced.
In order to achieve the above object, the present invention provides a file deployment method, including:
acquiring file deployment parameters; the file deployment parameters comprise identification information of a target server, uploading path information of the target server and local full path information of a target object; the target object is a file or a folder to be deployed to a target server;
copying the target object by using the full path information to obtain a copying result; the copy result comprises a complete directory hierarchy corresponding to the target object;
and deploying the copying result to a specified directory of the target server according to the identification information and the uploading path information.
Wherein the acquiring of the file deployment parameter comprises:
displaying a file deployment page on an interface according to a trigger instruction of a user, and acquiring file deployment parameters input by the user on the file deployment page.
Acquiring the file deployment parameters input by the user on the file deployment page, wherein the acquiring of the file deployment parameters comprises the following steps:
judging whether historical identification information and historical uploading path information exist or not;
if the file deployment page does not exist, acquiring identification information, uploading path information and full path information input by the user in an input box of the file deployment page;
if the historical identification information and the historical uploading path information exist, filling the historical identification information and the historical uploading path information into a corresponding input box of the file deployment page for displaying; if a modification instruction triggered by the user is received, taking the modified historical identification information and/or historical uploading path information and the full path information input by the user in an input box of the file deployment page as file deployment parameters; and if the modification instruction triggered by the user is not received, taking the historical identification information, the historical uploading path information and the full path information input by the user in an input box of the file deployment page as file deployment parameters.
And the full path information is the local full path information of the target object acquired through gitBash.
Wherein the deploying the copy result to the specified directory of the target server comprises:
and through a key pair configured with the target server in advance, the target server is logged in a secret-free manner, and the copy result is deployed to a specified directory of the target server.
Wherein, after the deploying the copy result to the specified directory of the target server, further comprises: collecting deployment result information fed back by the target server; and displaying the deployment result information on an interface.
Wherein, if the deployment result information is deployment success information, the file deployment method further includes: and triggering the target server to restart the service corresponding to the target object.
To achieve the above object, the present invention further provides a file deployment apparatus, including:
the parameter acquisition module is used for acquiring file deployment parameters; the file deployment parameters comprise identification information of a target server, uploading path information of the target server and local full path information of a target object; the target object is a file or a folder to be deployed to a target server;
the object copying module is used for copying the target object by using the full path information to obtain a copying result; the copy result comprises a complete directory hierarchy corresponding to the target object;
and the deployment module is used for deploying the copying result to the specified directory of the target server according to the identification information and the uploading path information.
To achieve the above object, the present invention further provides an electronic device comprising:
a memory for storing a computer program;
and the processor is used for realizing the steps of the file deployment method when executing the computer program.
To achieve the above object, the present invention further provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, realizes the steps of the above file deployment method.
According to the scheme, the file deployment method provided by the embodiment of the invention comprises the following steps: acquiring file deployment parameters, wherein the file deployment parameters comprise identification information of a target server, uploading path information of the target server and local full path information of a target object, and the target object is a file or a folder to be deployed to the target server; copying the target object by using the full path information to obtain a copying result; the copy result comprises a complete directory hierarchy corresponding to the target object; and deploying the copying result to a specified directory of the target server according to the identification information and the uploading path information.
Therefore, when the files are deployed to the target server, the scheme does not need to deploy each file to be deployed to the target server one by one, and the corresponding files or folders can be deployed to the designated directory of the target server through the file deployment parameters only after the file deployment parameters are obtained, so that the deployment speed of the local files is improved, the time for deploying the files to the target server is shortened, and the burden of developers for deploying the local files to the target server is reduced; moreover, the copying result of the file or the folder to be deployed in the application only comprises a complete directory hierarchy corresponding to the file or the folder, so that codes covering others are avoided as much as possible, and the influence range is reduced. The invention also discloses a file deployment device, equipment and a storage medium, which can also realize the technical effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a file deployment method disclosed in an embodiment of the present invention;
FIG. 2 is a schematic diagram of a file deployment page disclosed in an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a file deployment apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a file deployment method, a file deployment device, equipment and a storage medium, which are used for improving the deployment speed of a local file and shortening the time for deploying the file to a target server, so that the burden of a developer on deploying the local file to the target server is reduced.
Referring to fig. 1, a file deployment method provided in an embodiment of the present invention includes:
s101, acquiring file deployment parameters; the file deployment parameters comprise identification information of a target server, uploading path information of the target server and local full path information of a target object; the target object is a file or a folder to be deployed to a target server;
specifically, in the present application, the file deployment parameter is a parameter required for implementing file deployment, where the target server is a server for preparing a deployment file for a developer, and the identification information may be information such as an IP address of the target server and is used to represent the target server; the upload path information indicates a directory where a project of the file to be deployed by the server is located, for example: if the iblue-sky project is in the/home directory of the target server, the uploaded path information is as follows: a/home. It should be noted that, if identity authentication is required when a file is deployed to a target server, the acquired file deployment parameters may further include a user name and a password required for logging in the target server.
It should be noted that, when acquiring the file deployment parameter, the file deployment parameter input by the user on the file deployment page may be specifically acquired after the file deployment page is displayed on the interface according to the trigger instruction of the user. Namely: when a user needs to deploy a file to a target server, a file deployment page can be displayed on a terminal display interface through a trigger instruction, referring to fig. 2, which is a schematic diagram of the file deployment page disclosed in the embodiment of the present invention, after the user inputs different file deployment parameters in different input boxes of the file deployment page, the user can click "deployment" in the page, at this time, it is determined that the user has successfully input the file deployment parameters, at this time, a background can obtain the file deployment parameters input by the user on the file deployment page, and continue to execute subsequent S102-S103, so as to implement automatic deployment of the file.
Further, the full path information in the present application is the local full path information of the target object obtained through Git Bash. Specifically, the version control system Git may be used to perform version control on the project, so that when acquiring the full path information of a file or a folder to be deployed to the target server, the present application may acquire the full path information by executing a command line tool Git bash of Git command, such as: opening git bash, checking local code change, copying full path information of a file/folder needing to be deployed to a target server, and copying the copied full path information into a specified input box of a file deployment page; it can be understood that, if a plurality of files or folders exist and need to be deployed to the same directory of the same target server, the full path information of the plurality of files or folders can be all input into the specified input box of the file deployment page, so that the simultaneous deployment of the plurality of files/folders is realized.
S102, copying the target object by using the full path information to obtain a copying result; the copy result comprises a complete directory hierarchy corresponding to the target object;
in the application, when the background acquires the file deployment parameter to implement file deployment, the file deployment parameter is specifically executed through a mixed script of bat and bash, and the acquired file deployment parameter is used as an execution parameter of the script. Specifically, after the user clicks "deployment" of the page, the bash script first calls the bat script to obtain a copy result, such as: if the full path information is:
ibluesky-sky-client/src/main/java/com/inspur/incloud/blueSky/client/publiccloud/common/model/securityGroup/blueskyrru4Create. java, when copying the target object, the bat script is responsible for copying blueskyrru4Create. java according to the directory hierarchy to obtain a copy result, and the copy result comprises the target object and the whole directory hierarchy where the target object is located, such as:
the folder ibluesky only comprises a folder iblue-sky-client, the folder iblue-sky-client only comprises a folder src, and so on, and finally the folder securitygrourcure comprises a file blueskyrulele4create. The copy result obtained by copying in the way only comprises the directory hierarchy and the target object, and other files in the directory hierarchy do not need to be copied, so that the folder ibluesky can be directly uploaded when the folder ibluesky is uploaded to the target server, and finally the BlueSkyRule4Create. When the file is deployed in the mode, only the file of a developer can be replaced, and codes of other people cannot be covered. In this way, the result of copying is particularly concise when multiple files of the same project are copied.
S103, deploying the copying result to a specified directory of the target server according to the identification information and the uploading path information.
Specifically, after the bat script is triggered by the bash script to obtain the copy result, the bash script further needs to upload the copy result to the target server, when the copy result is uploaded, the file is copied to the target server by directly using the scp command, and a password needs to be input each time.
Further, after the copy result is deployed to the specified directory of the target server, deployment result information fed back by the target server needs to be collected, and the deployment result information is displayed on an interface. Specifically, the deployment result information in the application can include deployment success information or deployment failure information, the deployment result information can be collected through the bash script and displayed through the display interface, and the user can know the deployment condition in time, so that the user experience is improved. In addition, in the application, if the deployment result information is deployment success information, the scheme can also trigger the target server to restart the service corresponding to the target object, and the deployed file can be timely validated in this way.
In conclusion, the invention discloses a method for deploying local files to a target server by one key, which can copy specified files/folders and complete directory hierarchical structures thereof by executing a bash script after a user inputs deployment parameters on a UI interface, then transmits a copy result to the target server by scp password-free login, can also collect error reporting information in the whole process, and feeds the error reporting information back to the UI interface if an error is generated; and if all the processing is successful, the correct processing result is fed back to the UI interface. By the method, when a project needing to frequently deploy the local file to the target server is developed by cooperation of a plurality of persons, only the file modified by the user is deployed, codes covering other persons are avoided as far as possible, and the influence range is reduced; in addition, the method hands over the repetitive deployment work to the computer to do, thereby saving precious time for developers and doing more creative work capable of creating value.
Based on the foregoing embodiment, in this embodiment, when obtaining the file deployment parameter input by the user on the file deployment page, the method specifically includes:
judging whether historical identification information and historical uploading path information exist or not;
if the file deployment page does not exist, acquiring identification information, uploading path information and full path information input by the user in an input box of the file deployment page;
if so, filling the historical identification information and the historical uploading path information into a corresponding input box of the file deployment page for display; if a modification instruction triggered by a user is received, the modified historical identification information and/or historical uploading path information and full path information input by the user in an input box of a file deployment page are used as file deployment parameters; and if the modification instruction triggered by the user is not received, taking the historical identification information, the historical uploading path information and the full path information input by the user in an input box of the file deployment page as file deployment parameters.
Specifically, after a file deployment page is displayed on a display interface, whether historical file deployment parameters successfully deployed last time are stored locally or not can be detected, if not, no information needs to be filled in an input box, and all deployment parameters need to be input again; if the configuration parameters are stored, the configuration parameters of the last successful deployment are used by default, and the user can click an input box to modify at any time. Such as: if the historical identification information and the historical uploading path information exist, the historical file deployment parameters are automatically filled into corresponding input boxes of a file deployment page, after a user views the historical file deployment parameters through the file deployment page, if the deployment parameters are confirmed to be correct, the user does not need to modify, the user only needs to input full path information into the corresponding input boxes, and after the user clicks 'deployment' in the page at the moment, a background can obtain the historical identification information, the historical uploading path information and the full path information input by the user, and the subsequent deployment steps are executed; if the modification is needed, after the user modifies the corresponding deployment parameters in the corresponding input box, the background can obtain the modified historical identification information and/or historical uploading path information and the full path information input by the user, and execute the subsequent deployment steps.
According to the method and the device for acquiring the parameters, when the user deploys the files to the same target server or the same directory of the same target server, repeated input of the identification information of the target server and uploading of the path information can be avoided, the parameter acquisition time is saved, and the deployment efficiency is improved.
In the following, the file deployment apparatus provided by the embodiment of the present invention is introduced, and the file deployment apparatus described below and the file deployment method described above may be referred to each other.
Referring to fig. 3, a schematic structural diagram of a file deployment apparatus provided in an embodiment of the present invention includes:
a parameter obtaining module 100, configured to obtain a file deployment parameter; the file deployment parameters comprise identification information of a target server, uploading path information of the target server and local full path information of a target object; the target object is a file or a folder to be deployed to a target server;
an object copying module 200, configured to copy the target object by using the full path information to obtain a copy result; the copy result comprises a complete directory hierarchy corresponding to the target object;
and a deployment module 300, configured to deploy the copy result to the specified directory of the target server according to the identification information and the upload path information.
Wherein, the parameter obtaining module 100 includes:
the page display unit is used for displaying a file deployment page on an interface according to a trigger instruction of a user;
and the parameter acquisition unit is used for acquiring the file deployment parameters input by the user on the file deployment page.
Wherein the parameter acquiring unit includes:
the judging subunit is used for judging whether the history identification information and the history uploading path information exist or not;
the first obtaining subunit is configured to obtain, when the first obtaining subunit does not exist, identification information, upload path information, and full path information that are input by the user in an input box of the file deployment page;
the parameter filling subunit is used for filling the historical identification information and the historical uploading path information into a corresponding input box of the file deployment page for display;
the second obtaining subunit is configured to, when receiving a modification instruction triggered by the user, use the modified historical identification information and/or historical upload path information, and full path information input by the user in an input box of the file deployment page as file deployment parameters; and if the modification instruction triggered by the user is not received, taking the historical identification information, the historical uploading path information and the full path information input by the user in an input box of the file deployment page as file deployment parameters.
And the full path information is the local full path information of the target object acquired through gitBash.
Wherein the deployment module 300 is specifically configured to: and through a key pair configured with the target server in advance, the target server is login without secret, and a copy result is deployed to a specified directory of the target server.
Wherein, this device still includes:
the information collection module is used for collecting the deployment result information fed back by the target server;
and the information display module is used for displaying the deployment result information on an interface.
Wherein, this device still includes:
and the restarting module is used for triggering the target server to restart the service corresponding to the target object.
Referring to fig. 4, an embodiment of the present invention further discloses an electronic device, including:
a memory 11 for storing a computer program;
a processor 12, configured to implement the steps of the file deployment method according to the above method embodiment when executing the computer program.
In this embodiment, the device may be a PC (Personal Computer), or may be a terminal device such as a smart phone, a tablet Computer, a palmtop Computer, or a portable Computer.
The device may include a memory 11, a processor 12, and a bus 13.
The memory 11 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 11 may in some embodiments be an internal storage unit of the device, for example a hard disk of the device. The memory 11 may also be an external storage device of the device in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the device. Further, the memory 11 may also include both an internal storage unit of the device and an external storage device. The memory 11 may be used not only to store application software installed in the device and various types of data such as program codes for executing a file deployment method, etc., but also to temporarily store data that has been output or is to be output.
The processor 12 may be, in some embodiments, a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip, and is used for executing program codes stored in the memory 11 or Processing data, such as program codes for executing a file deployment method.
The bus 13 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
Further, the device may further include a network interface 14, and the network interface 14 may optionally include a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), which are generally used to establish a communication connection between the device and other electronic devices.
Optionally, the device may further comprise a user interface 15, the user interface 15 may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 15 may further comprise a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the device and for displaying a visualized user interface.
Fig. 4 shows only the device with the components 11-15, and it will be understood by those skilled in the art that the structure shown in fig. 4 does not constitute a limitation of the device, and may comprise fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when being executed by a processor, the computer program realizes the steps of the file deployment method in the embodiment of the method.
Wherein the storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A file deployment method, comprising:
acquiring file deployment parameters; the file deployment parameters comprise identification information of a target server, uploading path information of the target server and local full path information of a target object; the target object is a file or a folder to be deployed to a target server;
copying the target object by using the full path information to obtain a copying result; the copy result comprises a complete directory hierarchy corresponding to the target object;
and deploying the copying result to a specified directory of the target server according to the identification information and the uploading path information.
2. The file deployment method according to claim 1, wherein the obtaining of the file deployment parameters comprises:
displaying a file deployment page on an interface according to a trigger instruction of a user, and acquiring file deployment parameters input by the user on the file deployment page.
3. The file deployment method according to claim 2, wherein the obtaining of the file deployment parameter input by the user on the file deployment page comprises:
judging whether historical identification information and historical uploading path information exist or not;
if the file deployment page does not exist, acquiring identification information, uploading path information and full path information input by the user in an input box of the file deployment page;
if the historical identification information and the historical uploading path information exist, filling the historical identification information and the historical uploading path information into a corresponding input box of the file deployment page for displaying; if a modification instruction triggered by the user is received, taking the modified historical identification information and/or historical uploading path information and the full path information input by the user in an input box of the file deployment page as file deployment parameters; and if the modification instruction triggered by the user is not received, taking the historical identification information, the historical uploading path information and the full path information input by the user in an input box of the file deployment page as file deployment parameters.
4. The file deployment method according to claim 2, wherein the full path information is obtained through Git Bash, and the target object is local full path information.
5. The file deployment method according to claim 1, wherein the deploying the copy result to a specified directory of the target server comprises:
and through a key pair configured with the target server in advance, the target server is logged in a secret-free manner, and the copy result is deployed to a specified directory of the target server.
6. The file deployment method according to any one of claims 1 to 5, wherein after the deploying the copy result to the specified directory of the target server, further comprises:
collecting deployment result information fed back by the target server;
and displaying the deployment result information on an interface.
7. The file deployment method according to claim 6, wherein if the deployment result information is deployment success information, the file deployment method further comprises:
and triggering the target server to restart the service corresponding to the target object.
8. A file deployment apparatus, comprising:
the parameter acquisition module is used for acquiring file deployment parameters; the file deployment parameters comprise identification information of a target server, uploading path information of the target server and local full path information of a target object; the target object is a file or a folder to be deployed to a target server;
the object copying module is used for copying the target object by using the full path information to obtain a copying result; the copy result comprises a complete directory hierarchy corresponding to the target object;
and the deployment module is used for deploying the copying result to the specified directory of the target server according to the identification information and the uploading path information.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the file deployment method of any one of claims 1 to 7 when executing said computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the file deployment method according to any one of claims 1 to 7.
CN202010954690.XA 2020-09-11 2020-09-11 File deployment method, device, equipment and storage medium Withdrawn CN112153127A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010954690.XA CN112153127A (en) 2020-09-11 2020-09-11 File deployment method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010954690.XA CN112153127A (en) 2020-09-11 2020-09-11 File deployment method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112153127A true CN112153127A (en) 2020-12-29

Family

ID=73890224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010954690.XA Withdrawn CN112153127A (en) 2020-09-11 2020-09-11 File deployment method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112153127A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536744A (en) * 2014-12-19 2015-04-22 微梦创科网络科技(中国)有限公司 Method and server for automatically building and deploying codes
CN109819014A (en) * 2018-12-14 2019-05-28 平安普惠企业管理有限公司 Project dispositions method, device, computer equipment and storage medium
CN110427343A (en) * 2019-06-27 2019-11-08 苏州浪潮智能科技有限公司 A kind of method of deployment file, computer equipment and readable storage medium storing program for executing
CN110569212A (en) * 2019-09-12 2019-12-13 深圳市网心科技有限公司 File deployment method, system, storage medium and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536744A (en) * 2014-12-19 2015-04-22 微梦创科网络科技(中国)有限公司 Method and server for automatically building and deploying codes
CN109819014A (en) * 2018-12-14 2019-05-28 平安普惠企业管理有限公司 Project dispositions method, device, computer equipment and storage medium
CN110427343A (en) * 2019-06-27 2019-11-08 苏州浪潮智能科技有限公司 A kind of method of deployment file, computer equipment and readable storage medium storing program for executing
CN110569212A (en) * 2019-09-12 2019-12-13 深圳市网心科技有限公司 File deployment method, system, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN108304498B (en) Webpage data acquisition method and device, computer equipment and storage medium
CN107317724B (en) Data acquisition system and method based on cloud computing technology
CN104252342B (en) Embedded application implementation method and device capable of configuring parameters
TWI671677B (en) Interactive processing method and device
CN104731589A (en) Automatic generation method and device of user interface (UI)
CN110750415B (en) Interface service configuration method, device, medium and computer equipment
US11553035B2 (en) Cross-platform module for loading across a plurality of device types
JP6355370B2 (en) Automatic installation system and method, information processing apparatus, image forming apparatus, and program
EP2323034A2 (en) Information-processing device, communication system, program, and information-processing method
CN104424007A (en) Information processing apparatus and control method
CN111580926A (en) Model publishing method, model deploying method, model publishing device, model deploying device, model publishing equipment and storage medium
CN111460356A (en) Automatic login method, device, medium and equipment
CN105765533A (en) Method and apparatus for firmware virtualization
CN111897548A (en) Front-end resource publishing method and device, electronic equipment and computer storage medium
CN111142884A (en) Applet version deployment method and device, electronic equipment and storage medium
CN111737137A (en) Interface test data generation method and device, host and storage medium
CN111726818A (en) Wireless chip testing method and device, computer equipment and storage medium
CN116992081A (en) Page form data processing method and device and user terminal
CN106161832B (en) Operation display provides system, apparatus and method and trunking
CN113032224A (en) Information acquisition method and device, electronic equipment and readable storage medium
CN112153127A (en) File deployment method, device, equipment and storage medium
CN110989986A (en) Software template-based software generation method and device and computer equipment
CN115562993A (en) Test script recording method and device, electronic equipment and storage medium
CN113360379B (en) Program test environment creation method and program test environment creation apparatus
CN113515715B (en) Buried point event code generation method, buried point event code processing method and related equipment

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20201229

WW01 Invention patent application withdrawn after publication