CN110427216A - The management method of construction application, calculates equipment and medium at device - Google Patents

The management method of construction application, calculates equipment and medium at device Download PDF

Info

Publication number
CN110427216A
CN110427216A CN201910719206.2A CN201910719206A CN110427216A CN 110427216 A CN110427216 A CN 110427216A CN 201910719206 A CN201910719206 A CN 201910719206A CN 110427216 A CN110427216 A CN 110427216A
Authority
CN
China
Prior art keywords
target
construction application
construction
application
configuration 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.)
Pending
Application number
CN201910719206.2A
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.)
NetsUnion Clearing Corp
Original Assignee
NetsUnion Clearing Corp
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 NetsUnion Clearing Corp filed Critical NetsUnion Clearing Corp
Priority to CN201910719206.2A priority Critical patent/CN110427216A/en
Publication of CN110427216A publication Critical patent/CN110427216A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Present disclose provides a kind of management methods of construction application, comprising: obtains the source file and configuration file of construction application;According to the application environment that construction is applied, target configuration template is determined from multiple preset configuration templates;Configuration file is changed according to target configuration template, obtains target configuration file;According to source file and target configuration file, target construction application is determined;And target construction application distribution formula is stored into multiple servers.The disclosure additionally provides a kind of managing device of construction application, calculates equipment and medium.

Description

The management method of construction application, calculates equipment and medium at device
Technical field
This disclosure relates to field of computer technology, more particularly, to a kind of management method of construction application, device, Calculate equipment and medium.
Background technique
In the art, general by manually being configured to construction application, construction application is generated, is then stored in and grinds In the computer of hair personnel.
During realizing disclosure design, at least there are the following problems in the prior art for inventor's discovery: existing The management method of construction application needs first when another research staff wants again to configure it from previous research and development The construction application is obtained in the computer of personnel, therefore efficiency is lower.
Summary of the invention
In view of this, present disclose provides a kind of management method of construction application, device, calculating equipment and medium.
An aspect of this disclosure provides a kind of management method of construction application, comprising: obtains construction application Source file and configuration file;According to the application environment that the construction is applied, determine that target is matched from multiple preset configuration templates Set template;The configuration file is changed according to the target configuration template, obtains target configuration file;According to the source file with The target configuration file determines target construction application;And the target construction application distribution formula is stored to multiple In server.
In accordance with an embodiment of the present disclosure, the source file for obtaining construction application, comprising: obtained from code administration platform The compressed package of the construction application;And the decompression compressed package, obtain the source file and configuration text of the construction application Part.
In accordance with an embodiment of the present disclosure, the above method further include: obtain the submission mark in the compressed package;Described in acquisition Submission mark on code administration platform;And judge on the code administration platform submission mark with construction application in Submission identifies whether unanimously;If the submission mark on the code administration platform and the submission mark in construction application are different It causes, then generates exception information.
In accordance with an embodiment of the present disclosure, it is described the configuration file changed according to the target configuration template obtain target match Set file, comprising: by predetermined configurations tool, the configuration file is changed according to the target configuration template, target is obtained and matches Set file.
In accordance with an embodiment of the present disclosure, wherein the multiple server includes distributed server, and the method is also wrapped It includes: establishing the mapping relations between the multiple server and target construction application;In response to being directed to the target structure The downloading request for building object application determines destination server according to the mapping relations from the multiple server;And instruction The destination server sends the construction application to the terminal by transport protocol.
In accordance with an embodiment of the present disclosure, the above method further include: for target construction application setting timer;With And predetermined value is reached in response to the count value of the timer, the target construction is deleted from the multiple server answers With.
Another aspect of the disclosure provides a kind of management system of construction application, comprising: distribution platform, for obtaining The source file and configuration file for taking construction to apply, according to the application environment that the construction is applied, from multiple preset configuration moulds Target configuration template is determined in plate, and the configuration file is changed according to the target configuration template, obtains target configuration file, root According to the source file and the target configuration file, target construction application is determined, and target construction application is divided Cloth is stored into multiple storage servers;And storage server, the target sent for receiving the distribution platform Construction, and store the target construction application.
In accordance with an embodiment of the present disclosure, above system further include: code administration platform, for being sent to the distribution platform The compressed package of the construction application;The distribution platform is also used to obtain the construction application from code administration platform Compressed package, and the decompression compressed package obtain the source file and configuration file of the construction application.
In accordance with an embodiment of the present disclosure, the code administration platform is also used to send to the distribution platform and submits mark; The distribution platform is also used to obtain the submission mark on the code administration platform, obtains the submission mark in the compressed package Know, and judge that submission mark and the submission in construction application on the code administration platform identify whether unanimously, if institute It states the submission mark on code administration platform and the submission mark in construction application is inconsistent, then generate exception information.
In accordance with an embodiment of the present disclosure, the distribution platform is also used to be matched by predetermined configurations tool according to the target It sets template and changes the configuration file, obtain target configuration file.
In accordance with an embodiment of the present disclosure, the storage server is distributed server;The distribution platform is also used to build The mapping relations between the multiple storage server and target construction application are found, in response to constructing for the target The downloading request of object application determines destination server, and refer to according to the mapping relations from the multiple storage server Show that the destination server sends the construction application to the terminal by transport protocol.
In accordance with an embodiment of the present disclosure, the distribution platform is also used to for target construction application setting timing Device, and predetermined value is reached in response to the count value of the timer, the target is deleted from the multiple storage server Construction application.
Another aspect of the present disclosure provides a kind of calculating equipment, comprising: one or more processors;Storage device is used In the one or more programs of storage, wherein when one or more of programs are executed by one or more of processors, make It obtains one or more of processors and realizes method as described above.
Another aspect of the present disclosure provides a kind of computer readable storage medium, is stored with computer executable instructions, Described instruction is when executed for realizing method as described above.
Another aspect of the present disclosure provides a kind of computer program, and the computer program, which includes that computer is executable, to be referred to It enables, described instruction is when executed for realizing method as described above.
In accordance with an embodiment of the present disclosure, according to application environment selection target configuration template, and more by target configuration template Change configuration file, target construction is then constructed according to the configuration file, so that it is different to be deployed to target construction Application environment.Also, it by storing target construction application distribution formula into multiple servers, realizing construction application and depositing The strange land dual-active of function is stored up, to allow research staff to obtain construction application from above-mentioned multiple servers, to realize association With exploitation, development efficiency is improved.
Detailed description of the invention
By referring to the drawings to the description of the embodiment of the present disclosure, the above-mentioned and other purposes of the disclosure, feature and Advantage will be apparent from, in the accompanying drawings:
Fig. 1 diagrammatically illustrates the exemplary system frame of management method and device according to the construction of the embodiment of the present disclosure Structure;
Fig. 2 diagrammatically illustrates the flow chart of the management method according to the application of the construction of the embodiment of the present disclosure;
Fig. 3 diagrammatically illustrates the stream of the management method of the construction application according to the embodiment of the present disclosure another embodiment Cheng Tu;
Fig. 4 diagrammatically illustrates the stream of the management method of the construction application according to the embodiment of the present disclosure another embodiment Cheng Tu;
Fig. 5 diagrammatically illustrates the stream of the management method of the construction application according to the embodiment of the present disclosure another embodiment Cheng Tu;
Fig. 6 A diagrammatically illustrates the block diagram of the managing device according to the application of the construction of the embodiment of the present disclosure;
Fig. 6 B diagrammatically illustrates the block diagram of the acquisition module according to the embodiment of the present disclosure;
Fig. 6 C diagrammatically illustrates the change module frame chart according to the embodiment of the present disclosure;
Fig. 7 diagrammatically illustrates the frame of the managing device of the construction application according to the embodiment of the present disclosure another embodiment Figure;
Fig. 8 diagrammatically illustrates the frame of the managing device of the construction application according to the embodiment of the present disclosure another embodiment Figure;
Fig. 9 diagrammatically illustrates the frame of the managing device of the construction application according to the embodiment of the present disclosure another embodiment Figure;And
Figure 10 diagrammatically illustrates the computer system for being adapted for carrying out method as described above according to the embodiment of the present disclosure Block diagram.
Specific embodiment
Hereinafter, will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are only exemplary , and it is not intended to limit the scope of the present disclosure.In the following detailed description, to elaborate many specific thin convenient for explaining Section is to provide the comprehensive understanding to the embodiment of the present disclosure.It may be evident, however, that one or more embodiments are not having these specific thin It can also be carried out in the case where section.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to avoid Unnecessarily obscure the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.It uses herein The terms "include", "comprise" etc. show the presence of the feature, step, operation and/or component, but it is not excluded that in the presence of Or add other one or more features, step, operation or component.
There are all terms (including technical and scientific term) as used herein those skilled in the art to be generally understood Meaning, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification Meaning, without that should be explained with idealization or excessively mechanical mode.
It, in general should be according to this using statement as " at least one in A, B and C etc. " is similar to Field technical staff is generally understood the meaning of the statement to make an explanation (for example, " system at least one in A, B and C " Should include but is not limited to individually with A, individually with B, individually with C, with A and B, with A and C, have B and C, and/or System etc. with A, B, C).Using statement as " at least one in A, B or C etc. " is similar to, generally come Saying be generally understood the meaning of the statement according to those skilled in the art to make an explanation (for example, " having in A, B or C at least One system " should include but is not limited to individually with A, individually with B, individually with C, with A and B, have A and C, have B and C, and/or the system with A, B, C etc.).
Embodiment of the disclosure provide a kind of application of construction management method and can using this method device, Calculate equipment and medium.This method comprises: the source file and configuration file of construction application are obtained, according to answering for construction application With environment, target configuration template is determined from multiple preset configuration templates.Then configuration file is changed according to target configuration template, Obtain target configuration file.Then according to source file and target configuration file, target construction application is determined, and by target structure Object application distribution formula is built to store into multiple servers.
In accordance with an embodiment of the present disclosure, so-called building, which refers to the process of, is converted into machine language source code.Source code is logical The product crossed after continuous integrating is construction application.Construction application is also a kind of program.
Fig. 1 diagrammatically illustrate according to the embodiment of the present disclosure can be with the example of the management method of application build object and device Property system architecture 100.It should be noted that be only the example that can apply the system architecture of the embodiment of the present disclosure shown in Fig. 1, with The technology contents of the disclosure are helped skilled in the art to understand, but are not meant to that the embodiment of the present disclosure may not be usable for other Equipment, system, environment or scene.
As shown in Figure 1, system architecture 100 may include external system 101,102 and of distribution platform according to this embodiment Network 103.Network 103 between external system 101 and distribution platform 102 to provide the medium of communication link.Network 103 can To include various connection types, such as wired, wireless communication link or fiber optic cables etc..
External system 101 for example may include code administration platform 104 and storage server 105, wherein dematron pats Platform 104 is used to store the code of construction application, and storage server 105 is used to store the construction application of distribution platform generation.
Distribution platform 102 can from code administration platform 104 obtain construction code, to construction application code into Edlin simultaneously generates construction application, and by the construction application memory of generation in storage server 105.
It should be understood that external system, distribution platform, code administration platform, the number of storage server and network in Fig. 1 It is only schematical.According to realize needs, can have any number of external system, distribution platform, code administration platform, Storage server and network.
Fig. 2 diagrammatically illustrates the flow chart of the management method 200 of construction application according to an embodiment of the present disclosure.
As shown in Fig. 2, this method 200 includes following operation S210~S250.
In operation S210, the source file and configuration file of construction application are obtained.
In accordance with an embodiment of the present disclosure, operation S210 for example may include obtaining the construction from code administration platform Then the compressed package of application decompresses the compressed package, obtain the source file and configuration file of construction application.
In accordance with an embodiment of the present disclosure, compressed package for example can be war format.War packet is one kind that Sun Microsystems propose Weblication format is the compressed package that many files are constituted.Include the code compilation write inside war packet at class text Part, the packet of dependence, configuration file, all Website pages, including html, jsp etc..In the present embodiment, include in war packet There is a deploy file, includes again an apps.json file in deploy file, recorded in apps.json file There are the mapping relations of war packet Yu configuration file.By parsing apps.json file, it will be able to determine the corresponding configuration of war packet File.
In accordance with an embodiment of the present disclosure, construction application can be for example transaction transfer application, clearance application, reconciliation application Deng.
In operation S220, according to the application environment that construction is applied, target configuration is determined from multiple preset configuration templates Template.
In accordance with an embodiment of the present disclosure, since construction application is possible to be deployed in different application environments, because This operation S220 may include: that various configurations template, every kind of configuration template is arranged for the application environment of construction application in advance A kind of corresponding application environment;According to the application environment that the construction disposed is applied, determine that this is answered from preset configuration template It is target configuration template with the corresponding configuration template of environment.In the present embodiment, application environment is for example including exploitation environment, test wrapper Border, joint debugging environment, production environment etc..In addition to this, may be different using its configuration for the construction of different regions, therefore answer It can also include that construction applies targeted geographic area with environment.
In operation S230, configuration file is changed according to target configuration template, obtains target configuration file.
In accordance with an embodiment of the present disclosure, operation S230 for example can be, by predetermined configurations tool, to configure mould according to target Plate changes the configuration file of construction application, obtains target configuration file.Illustratively, in the present embodiment, predetermined configurations tool For AutoConfig (automatically configuring tool).
Target construction application is determined according to source file and target configuration file in operation S240.
In accordance with an embodiment of the present disclosure, operation S240 for example may include that source file and target configuration file are carried out group It closes, and is repackaged into compressed package, obtain target construction application.
In operation S250, the target construction application distribution formula is stored into multiple servers.
In accordance with an embodiment of the present disclosure, operating S250 for example may include, by target construction application memory to local In storage server, and the target construction application is synchronized in the storage server in strange land by File Synchronization tool.Root According to embodiment of the disclosure, above-mentioned storage server for example can be distributed server.
In accordance with an embodiment of the present disclosure, according to application environment selection target configuration template, and more by target configuration template Change configuration file, target construction is then constructed according to the configuration file, so that it is different to be deployed to target construction Application environment.Also, it by storing target construction application distribution formula into multiple servers, realizing construction application and depositing The strange land dual-active of function is stored up, to allow research staff to obtain construction application from above-mentioned multiple servers, to realize association With exploitation, development efficiency is improved.
Fig. 3 diagrammatically illustrates the process of the management method 300 of the application of construction according to another embodiment of the present disclosure Figure.
As shown in figure 3, in addition to aforesaid operations S210~S250, this method 300 can also include following operation S310~ S340。
In operation S310, the submission obtained in compressed package identifies (commit id).
In accordance with an embodiment of the present disclosure, commit id is that compressed package executes the record generated when git operation, each git behaviour Work can generate a unique commit id.In the present embodiment, commit id is a hash (cryptographic Hash).
In accordance with an embodiment of the present disclosure, operation S310 for example may include decompressing compressed package, obtaining recording compressed packet The file of commit id obtains commit id by parsing this document.
In operation S320, the submission mark on code administration platform is obtained.
In accordance with an embodiment of the present disclosure, operation S320 for example may include sending inquiry request to code administration platform, should Inquiry request includes the ID of compressed package, and then code administration platform searches relative recording according to the ID of compressed package in the database, And reply commit id corresponding to the compressed package ID found.
In operation S330, judge that the submission mark and the submission in construction application on code administration platform identify whether one It causes.
In accordance with an embodiment of the present disclosure, operation S330 for example may include, by the commit id for including in compressed package and from Code administration platform obtains commit id and compares, and judges whether they are consistent.
If inconsistent in the submission mark on operation S340 code administration platform and the submission mark in construction application, Generate exception information.
In accordance with an embodiment of the present disclosure, it can be executed after obtaining the compressed package that construction is applied from code administration platform Above-mentioned S310~S340.Meanwhile in another embodiment, in the submission mark and construction application on code administration platform Submission mark it is inconsistent in the case where, generate exception information, and stop execute S220~S250.
In accordance with an embodiment of the present disclosure, by identifying and the submission in construction application the submission on code administration platform Mark is compared, and judges whether construction application is consistent with the construction application of code administration platform record, when inconsistent Exception information is generated, and stops executing subsequent operation, so as to identify the construction application to make mistake, is avoided to mistake Construction application carries out useless operation.
Fig. 4 diagrammatically illustrates the process of the management method 400 of the application of construction according to another embodiment of the present disclosure Figure.
As shown in figure 4, in addition to aforesaid operations S210~S250, this method 400 can also include following operation S410~ S430。
In operation S410, the mapping relations between multiple servers and the application of target construction are established.
Operation S410 for example may include that target construction is applied to multiple servers of storage target construction application Mapping save in the mapping table.
In operation S420, in response to being requested for the downloading of target construction application, according to mapping relations, from multiple services Destination server is determined in device.
Operation S420 for example may include, when receiving the downloading request for the application of target construction, pressing in the mapping table Determine a server as destination server according to preset rules.In accordance with an embodiment of the present disclosure, preset rules for example can be Make from a server is randomly choosed in mapping table as the smallest server is loaded in destination server or Choose for user table It is the nearest server of distance downloading request sender in destination server or Choose for user table as destination server.
In operation S430, instruction destination server sends construction application to terminal by transport protocol.
In accordance with an embodiment of the present disclosure, above-mentioned transport protocol for example can be HTTP (Hyper Text Transfer Protocol, hypertext transfer protocol).
In accordance with an embodiment of the present disclosure, aforesaid operations S410~S430 can be stored by target construction application distribution formula It is executed after to multiple servers.
It is understood that can also include upper in other embodiments of the disclosure, except method shown in Fig. 3 State operation S310~S340.Specifically, aforesaid operations S310~S340 can be executed after operation S250 in method 300.
In accordance with an embodiment of the present disclosure, by establish multiple servers and target construction application between mapping relations, When receiving downloading request, according to mapping relations, destination server is determined from multiple servers, to provide building for user The distributed downloads function of object application.
Fig. 5 diagrammatically illustrates the flow chart of the management method of the application of construction according to another embodiment of the present disclosure.
As shown in figure 5, method 500 can also include following operation S510~S520 in addition to aforesaid operations S210~S250.
In operation S510, for target construction application setting timer.
In operation S520, predetermined value is reached in response to the count value of timer, delete target constructs from multiple servers Object application.
In another embodiment of the present disclosure, it can store whenever target construction application success into a server When, for target construction application one timer of setting in the server.When the count value of timer reaches predetermined value, from Delete target construction application in the server.
It is understood that can also include upper in other embodiments of the disclosure, except method shown in Fig. 3 State operation S510~S520.Specifically, aforesaid operations S510~S520 can be executed after operation S250 in method 300. In accordance with an embodiment of the present disclosure, it by being in the server target construction application setting timer, and periodically deletes expired Target construction application can reach the technical effect for saving server storage.
Come by taking the management process of reconciliation application as an example to aforesaid operations S210~S250, S310~S340 and S510 below ~S520 is described further.
In this example, reconciliation applies, for realizing the application program of reconciliation function between payment mechanism and bank, to be based on JAVA language exploitation.
In this example, code administration platform is certain efficiency cloud platform (hereinafter referred to as efficiency cloud).Firstly, efficiency cloud triggers Jenkins (a kind of continuous integrating tool), by API (the Application Programming for calling distribution platform Interface, application programming interface), the parameter applied to distribution platform push construction.In the present embodiment, reconciliation is answered Parameter includes the address and version number where reconciliation application.
In this example, distribution platform receives the parameter of the reconciliation application of Jenkins push, judges to issue according to these parameters Corresponding reconciliation, which is applied, in platform whether there is, and if it exists, the compressed package for the war format then applied from the downloading reconciliation of efficiency cloud (hereinafter referred to as war packet) then returns to exception information, and terminate process if it does not exist.
Then the war packet of distribution platform decompression reconciliation application, finds from the deploy file that decompression obtains Apps.json file, this document are used to record construction using the mapping relations with configuration file.By parsing apps.json File obtains reconciliation using the mapping relations with configuration file.Further according to the mapping relations, the reconciliation is found using corresponding Configuration file.
While the war packet of distribution platform decompression reconciliation application, the commit id of reconciliation application is also obtained, by this The commit id that commit id is passed over efficiency cloud is compared, if inconsistent, returns to exception information, and terminate into Journey;If consistent, reconciliation application is configured with AutoConfig tool, is specifically included, ring is applied according to reconciliation application Border selects suitable configuration template, according to the configuration item in the configuration template, to configuring in configuration file, generates corresponding Configuration file.In this example, the application environment of reconciliation application is production environment, the configuration item packet in selected configuration template Include: the database of reconciliation application institute caches and application parameter, for example, using address of service, the interface of calling etc..
Following distribution platform combines the configuration file with former reconciliation application, and generates new war packet.Distribution platform will The war packet of newly-generated reconciliation application is distributed to be stored in each storage server, while the correlation that newly-generated reconciliation is applied is believed It ceases in (such as address, version number) write-in database.In addition, whenever reconciliation application one storage server of deposit of a version When, distribution platform is reconciliation application one timer of setting in this storage server.Distribution platform periodic monitor reconciliation is answered With the count value of timer, if the count value of timer reaches predetermined value, that is, show that its corresponding reconciliation using out of date, then will The reconciliation is applied and is deleted from storage server.
So far, each payment mechanism can download the reconciliation application from storage server.Specifically, payment mechanism can be with Downloading request is sent to distribution platform, then distribution platform is requested in response to the downloading, and selection is apart from the payment from mapping table The nearest storage server of mechanism provides download service for it.
Fig. 6 A diagrammatically illustrates the block diagram of the managing device of construction application according to an embodiment of the present disclosure.
As shown in Figure 6A, device 600 includes obtaining module 610, target configuration template determining module 620, change module 630, target construction application determining module 640 and memory module 650.
Module 610 is obtained, for obtaining the source file and configuration file of construction application.
Target configuration template determining module 620, the application environment for being applied according to construction, from multiple preset configuration moulds Target configuration template is determined in plate.
Module 630 is changed, for changing configuration file according to target configuration template, obtains target configuration file.
Target construction application determining module 640, according to source file and the target configuration file, determines target construction Using.
Memory module 650, for storing target construction application distribution formula into multiple servers.
Fig. 6 B diagrammatically illustrates 610 block diagram of acquisition module according to an embodiment of the present disclosure.
As shown in Figure 6B, obtaining module 610 includes compressed package acquisition submodule 611 and decompression submodule 612.
Compressed package acquisition submodule 611, for obtaining the compressed package that construction is applied from code administration platform.
Submodule 612 is decompressed, for decompressing compressed package, obtains the source file and configuration file of construction application.
Fig. 6 C diagrammatically illustrates 630 block diagram of change module according to an embodiment of the present disclosure.
As shown in Figure 6 C, change module 630 includes change submodule 631, for passing through predetermined configurations tool, according to target Configuration template changes configuration file, obtains target configuration file.
In accordance with an embodiment of the present disclosure, according to application environment selection target configuration template, and more by target configuration template Change configuration file, target construction is then constructed according to the configuration file, so that it is different to be deployed to target construction Application environment.Also, it by storing target construction application distribution formula into multiple servers, realizing construction application and depositing The strange land dual-active of function is stored up, to allow research staff to obtain construction application from above-mentioned multiple servers, to realize association With exploitation, development efficiency is improved.
Fig. 7 diagrammatically illustrates the block diagram of the managing device 700 according to the application of the construction of another embodiment of the disclosure.
As shown in fig. 7, device 700 further includes the first submission identifier acquisition module 710, second on the basis of device 600 Submit identifier acquisition module 720, judgment module 730 and generation module 740.
First submits identifier acquisition module 710, for obtaining the mark of the submission in compressed package.
Second submits identifier acquisition module 720, obtains the submission mark on code administration platform.
Judgment module 730, for judging that the submission mark on code administration platform and the submission in construction application identify It is whether consistent.
Generation module 740 identifies not for the submission mark on code administration platform with the submission in construction application Under unanimous circumstances, exception information is generated.
In accordance with an embodiment of the present disclosure, by identifying and the submission in construction application the submission on code administration platform Mark is compared, and judges whether construction application is consistent with the construction application of code administration platform record, when inconsistent Exception information is generated, and stops executing subsequent operation, so as to identify the construction application to make mistake, is avoided to mistake Construction application carries out useless operation.
Fig. 8 diagrammatically illustrates the block diagram of the managing device 800 according to the application of the construction of another embodiment of the disclosure.
As shown in figure 8, above-mentioned multiple servers include distributed server, device 800 also wraps on the basis of device 600 It includes and establishes module 810, destination server determining module 820 and indicating module 830.
Module 810 is established, the mapping relations for establishing between multiple servers and the application of target construction.
Destination server determining module 820, for being requested in response to the downloading applied for target construction, according to mapping Relationship determines destination server from multiple servers.
Indicating module 830 is used to indicate destination server by transport protocol and sends construction application to terminal.
In accordance with an embodiment of the present disclosure, by establish multiple servers and target construction application between mapping relations, When receiving downloading request, according to mapping relations, destination server is determined from multiple servers, to provide building for user The distributed downloads function of object application.
Fig. 9 diagrammatically illustrates the block diagram of the managing device 900 according to the application of the construction of another embodiment of the disclosure.
As shown in figure 9, device 900 further includes setup module 910 and removing module 920 on the basis of device 600.
Setup module 910, for for target construction application setting timer.
Removing module 920 reaches predetermined value, the delete target from multiple servers for the count value in response to timer Construction application.
In accordance with an embodiment of the present disclosure, by being in the server target construction application setting timer, and timing is deleted Except expired target construction application, the technical effect for saving server storage can be reached.
It is module according to an embodiment of the present disclosure, submodule, unit, any number of or in which any more in subelement A at least partly function can be realized in a module.It is single according to the module of the embodiment of the present disclosure, submodule, unit, son Any one or more in member can be split into multiple modules to realize.According to the module of the embodiment of the present disclosure, submodule, Any one or more in unit, subelement can at least be implemented partly as hardware circuit, such as field programmable gate Array (FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, dedicated integrated electricity Road (ASIC), or can be by the hardware or firmware for any other rational method for integrate or encapsulate to circuit come real Show, or with any one in three kinds of software, hardware and firmware implementations or with wherein any several appropriately combined next reality It is existing.Alternatively, can be at least by part according to one or more of the module of the embodiment of the present disclosure, submodule, unit, subelement Ground is embodied as computer program module, when the computer program module is run, can execute corresponding function.
For example, obtaining module 610, target configuration template determining module 620, change module 630, the application of target construction really Cover half block 640, memory module 650, compressed package acquisition submodule 611, decompression submodule 612, change submodule 631, first mention Identifier acquisition module 710, second is handed over to submit identifier acquisition module 720, judgment module 730, generation module 740, establish module 810, any number of in destination server determining module 820, indicating module 830, setup module 910 and removing module 920 can It is realized in a module with merging or any one module therein can be split into multiple modules.Alternatively, these moulds At least partly function of one or more modules in block can be combined at least partly function of other modules, and at one It is realized in module.In accordance with an embodiment of the present disclosure, identification signals sending module 410, identification signals receiving module 420, at least one of identification module 430 and information signal transceiver module 440 can be at least implemented partly as On hardware circuit, such as field programmable gate array (FPGA), programmable logic array (PLA), system on chip, substrate is System, the system in encapsulation, specific integrated circuit (ASIC), or can be by carrying out integrated to circuit or encapsulating any other The hardware such as rational method or firmware realize, or with any one in three kinds of software, hardware and firmware implementations or with it In any several appropriately combined realize.Alternatively, obtaining module 610, target configuration template determining module 620, change module 630, target construction application determining module 640, memory module 650, compressed package acquisition submodule 611, decompression submodule 612, Changing submodule 631, first submits identifier acquisition module 710, second to submit identifier acquisition module 720, judgment module 730, life At module 740, establish module 810, destination server determining module 820, indicating module 830, setup module 910 and removing module At least one of 920 can at least be implemented partly as computer program module, when the computer program module is run When, corresponding function can be executed.
Figure 10 diagrammatically illustrates the computer system for being adapted for carrying out method as described above according to the embodiment of the present disclosure Block diagram.Computer system shown in Figure 10 is only an example, function to the embodiment of the present disclosure and should not use model Shroud carrys out any restrictions.
It as shown in Figure 10, include processor 1001 according to the computer system of the embodiment of the present disclosure 1000, it can basis The program that is stored in read-only memory (ROM) 1002 is loaded into random access storage device (RAM) from storage section 1008 Program in 1003 and execute various movements appropriate and processing.Processor 1001 for example may include general purpose microprocessor (example Such as CPU), instruction set processor and/or related chip group and/or special microprocessor (for example, specific integrated circuit (ASIC)), Etc..Processor 1001 can also include the onboard storage device for caching purposes.Processor 1001 may include for executing According to single treatment unit either multiple processing units of the different movements of the method flow of the embodiment of the present disclosure.
In RAM 1003, it is stored with system 1000 and operates required various programs and data.Processor 1001, ROM 1002 and RAM 1003 is connected with each other by bus 1004.Processor 1001 is by executing ROM 1002 and/or RAM 1003 In program execute the various operations of the method flow according to the embodiment of the present disclosure.It is noted that described program can also deposit Storage is in one or more memories in addition to ROM 1002 and RAM 1003.Processor 1001 can also be by executing storage Program in one or more of memories executes the various operations of the method flow according to the embodiment of the present disclosure.
In accordance with an embodiment of the present disclosure, system 1000 can also include input/output (I/O) interface 1005, input/output (I/O) interface 1005 is also connected to bus 1004.System 1000 can also include being connected in lower component of I/O interface 1005 It is one or more: the importation 1006 including keyboard, mouse etc.;Including such as cathode-ray tube (CRT), liquid crystal display And the output par, c 1007 of loudspeaker etc. (LCD) etc.;Storage section 1008 including hard disk etc.;And including such as LAN card, The communications portion 1009 of the network interface card of modem etc..Communications portion 1009 executes logical via the network of such as internet Letter processing.Driver 1010 is also connected to I/O interface 1005 as needed.Detachable media 1011, such as disk, CD, magnetic CD, semiconductor memory etc. are mounted on as needed on driver 1010, in order to from the computer program read thereon It is mounted into storage section 1008 as needed.
In accordance with an embodiment of the present disclosure, computer software journey may be implemented as according to the method flow of the embodiment of the present disclosure Sequence.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer readable storage medium Computer program, which includes the program code for method shown in execution flow chart.In such implementation In example, which can be downloaded and installed from network by communications portion 1009, and/or from detachable media 1011 are mounted.The computer program by processor 1001 execute when, execute limited in the system of the embodiment of the present disclosure it is upper State function.In accordance with an embodiment of the present disclosure, system as described above, unit, module, unit etc. can pass through computer Program module is realized.
The disclosure additionally provides a kind of computer readable storage medium, which can be above-mentioned reality It applies included in equipment/device/system described in example;Be also possible to individualism, and without be incorporated the equipment/device/ In system.Above-mentioned computer readable storage medium carries one or more program, when said one or multiple program quilts When execution, the method according to the embodiment of the present disclosure is realized.
In accordance with an embodiment of the present disclosure, computer readable storage medium can be non-volatile computer-readable storage medium Matter, such as can include but is not limited to: portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), portable compact disc read-only memory (CD-ROM), light Memory device, magnetic memory device or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or Person is in connection.For example, in accordance with an embodiment of the present disclosure, computer readable storage medium may include above-described One or more memories other than ROM 1002 and/or RAM 1003 and/or ROM 1002 and RAM 1003.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
It will be understood by those skilled in the art that the feature recorded in each embodiment and/or claim of the disclosure can To carry out multiple combinations or/or combination, even if such combination or combination are not expressly recited in the disclosure.Particularly, In In the case where not departing from disclosure spirit or teaching, the feature recorded in each embodiment and/or claim of the disclosure can To carry out multiple combinations and/or combination.All these combinations and/or combination each fall within the scope of the present disclosure.
Embodiment of the disclosure is described above.But the purpose that these embodiments are merely to illustrate that, and It is not intended to limit the scope of the present disclosure.Although respectively describing each embodiment above, but it is not intended that each reality Use cannot be advantageously combined by applying the measure in example.The scope of the present disclosure is defined by the appended claims and the equivalents thereof.It does not take off From the scope of the present disclosure, those skilled in the art can make a variety of alternatives and modifications, these alternatives and modifications should all fall in this Within scope of disclosure.

Claims (14)

1. a kind of management method of construction application, comprising:
Obtain the source file and configuration file of construction application;
According to the application environment that the construction is applied, target configuration template is determined from multiple preset configuration templates;
The configuration file is changed according to the target configuration template, obtains target configuration file;
According to the source file and the target configuration file, target construction application is determined;And
The target construction application distribution formula is stored into multiple servers.
2. according to the method described in claim 1, wherein, the source file for obtaining construction application, comprising:
The compressed package that the construction is applied is obtained from code administration platform;And
The compressed package is decompressed, the source file and configuration file of the construction application are obtained.
3. according to the method described in claim 2, further include:
Obtain the submission mark in the compressed package;
Obtain the submission mark on the code administration platform;And
Judge that submission mark and the submission in construction application on the code administration platform identify whether unanimously;
If the submission mark on the code administration platform and the submission mark in construction application are inconsistent, abnormal letter is generated Breath.
It is described the configuration file is changed according to the target configuration template to obtain 4. according to the method described in claim 1, wherein To target configuration file, comprising:
By predetermined configurations tool, the configuration file is changed according to the target configuration template, obtains target configuration file.
5. according to the method described in claim 1, wherein, the multiple server includes distributed server, and the method is also Include:
Establish the mapping relations between the multiple server and target construction application;
In response to the downloading request for target construction application, according to the mapping relations, from the multiple server Middle determining destination server;And
Indicate that the destination server sends the construction application to the terminal by transport protocol.
6. according to the method described in claim 1, further include:
For target construction application setting timer;And
Predetermined value is reached in response to the count value of the timer, the target construction is deleted from the multiple server and is answered With.
7. a kind of management system of construction application, comprising:
Distribution platform applies ring according to construction application for obtaining the source file and configuration file of construction application Border determines target configuration template from multiple preset configuration templates, changes the configuration file according to the target configuration template, Target configuration file is obtained, according to the source file and the target configuration file, determines target construction application, and by institute Target construction application distribution formula is stated to store into multiple storage servers;And
Storage server, the target construction sent for receiving the distribution platform, and store the target construction Using.
8. system according to claim 7, further includes:
Code administration platform, for sending the compressed package that the construction is applied to the distribution platform;
The distribution platform is also used to obtain the compressed package of the construction application from code administration platform, and described in decompression Compressed package obtains the source file and configuration file of the construction application.
9. system according to claim 8, wherein the code administration platform is also used to send to the distribution platform Submit mark;
The distribution platform is also used to obtain the submission mark on the code administration platform, obtains mentioning in the compressed package Mark is handed over, and judges that submission mark and the submission in construction application on the code administration platform identify whether unanimously, If the submission mark on the code administration platform and the submission mark in construction application are inconsistent, exception information is generated.
10. system according to claim 7, wherein the distribution platform is also used to through predetermined configurations tool, according to The target configuration template changes the configuration file, obtains target configuration file.
11. system according to claim 7, wherein the storage server is distributed server;
The distribution platform is also used to establish the mapping between the multiple storage server and target construction application and closes System, in response to being requested for the downloading of target construction application, according to the mapping relations, from the multiple storage service Determine that destination server, and the instruction destination server send the construction to the terminal by transport protocol in device Using.
12. system according to claim 7, wherein the distribution platform is also used to for the target construction application Timer is set, and reaches predetermined value in response to the count value of the timer, is deleted from the multiple storage server The target construction application.
13. a kind of calculating equipment, comprising:
One or more processors;
Storage device, for storing one or more programs,
Wherein, when one or more of programs are executed by one or more of processors, so that one or more of The method that processor realizes any one of claims 1 to 6.
14. a kind of computer readable storage medium, is stored thereon with executable instruction, which makes to handle when being executed by processor The method that device realizes any one of claims 1 to 6.
CN201910719206.2A 2019-08-05 2019-08-05 The management method of construction application, calculates equipment and medium at device Pending CN110427216A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910719206.2A CN110427216A (en) 2019-08-05 2019-08-05 The management method of construction application, calculates equipment and medium at device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910719206.2A CN110427216A (en) 2019-08-05 2019-08-05 The management method of construction application, calculates equipment and medium at device

Publications (1)

Publication Number Publication Date
CN110427216A true CN110427216A (en) 2019-11-08

Family

ID=68414256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910719206.2A Pending CN110427216A (en) 2019-08-05 2019-08-05 The management method of construction application, calculates equipment and medium at device

Country Status (1)

Country Link
CN (1) CN110427216A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112702203A (en) * 2020-12-22 2021-04-23 上海智迩智能科技有限公司 Nginx cluster white screen configuration management method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105373401A (en) * 2015-10-27 2016-03-02 上海钢富电子商务有限公司 Method and system for automatically releasing software package
CN106796508A (en) * 2014-04-30 2017-05-31 皮沃塔尔软件公司 Rapid deployment in cloud platform
CN107122299A (en) * 2017-04-25 2017-09-01 丹露成都网络技术有限公司 A kind of automated software code detection method
US20170316026A1 (en) * 2016-05-02 2017-11-02 Google Inc. Splitting and moving ranges in a distributed system
CN108287694A (en) * 2017-08-08 2018-07-17 深圳壹账通智能科技有限公司 Application builds method, system, computer equipment and storage medium
CN108551487A (en) * 2018-04-26 2018-09-18 Oppo广东移动通信有限公司 Application dispositions method, device, server and the storage medium of PaaS platform
US20190095197A1 (en) * 2017-09-28 2019-03-28 International Business Machines Corporation Re-use of code
CN109725910A (en) * 2018-09-12 2019-05-07 网联清算有限公司 Standardization dissemination method, distributing device and the delivery system of application program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106796508A (en) * 2014-04-30 2017-05-31 皮沃塔尔软件公司 Rapid deployment in cloud platform
CN105373401A (en) * 2015-10-27 2016-03-02 上海钢富电子商务有限公司 Method and system for automatically releasing software package
US20170316026A1 (en) * 2016-05-02 2017-11-02 Google Inc. Splitting and moving ranges in a distributed system
CN107122299A (en) * 2017-04-25 2017-09-01 丹露成都网络技术有限公司 A kind of automated software code detection method
CN108287694A (en) * 2017-08-08 2018-07-17 深圳壹账通智能科技有限公司 Application builds method, system, computer equipment and storage medium
US20190095197A1 (en) * 2017-09-28 2019-03-28 International Business Machines Corporation Re-use of code
CN108551487A (en) * 2018-04-26 2018-09-18 Oppo广东移动通信有限公司 Application dispositions method, device, server and the storage medium of PaaS platform
CN109725910A (en) * 2018-09-12 2019-05-07 网联清算有限公司 Standardization dissemination method, distributing device and the delivery system of application program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112702203A (en) * 2020-12-22 2021-04-23 上海智迩智能科技有限公司 Nginx cluster white screen configuration management method and system

Similar Documents

Publication Publication Date Title
US20210224241A1 (en) Distributed Storage of Metadata For Large Binary Data
CN108038053B (en) A kind of dynamic configuration buries method and apparatus a little
CN109739604B (en) Page rendering method, device, server and storage medium
JP5515064B2 (en) Distribution management system, distribution management server, distribution management method, and program for distribution management
CN107589952A (en) Intelligent upgrade method, device and system
CN105144077A (en) cloud service platform
CN103645951A (en) Cross-platform mobile data management system and method
US20190079814A1 (en) Adapting legacy endpoints to modern apis
JP6451820B1 (en) Sensor management unit, sensor device, sensor management method, and sensor management program
US20220358240A1 (en) Adaptive data privacy platform
US10430441B1 (en) Tagging resources of a remote computing service based on locality
US20210343315A1 (en) Automated video bumper system
CN108876379A (en) A kind of method and apparatus for generating message
JP2014160474A (en) Commodity distribution cloud system and program
CN109254914A (en) Software development kit test method, system, computer installation and readable storage medium storing program for executing
WO2024099256A1 (en) Application installation source determination method and apparatus, and readable medium and electronic device
US11728928B2 (en) Securely sharing public and private blockchain data
CN109144843A (en) The method and apparatus for testing environment deployment
CN110427216A (en) The management method of construction application, calculates equipment and medium at device
CN110399209A (en) Data processing method, system, electronic equipment and storage medium
JP6421866B1 (en) Sensor management unit, sensor device, sensor management method, and sensor management program
CN112346758B (en) Digital infrastructure service updating platform, updating method and electronic equipment
CN116249985A (en) Information processing system and information processing method
CN111324470B (en) Method and device for generating information
CN110874316B (en) Method, device and system for scanning codes

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191108