The content of the invention
In view of this, this specification one or more embodiment provides a kind of code dispositions method and device, electronic equipment.
To achieve the above object, the technical scheme that this specification one or more embodiment provides is as follows:
In one embodiment, a kind of code dispositions method, including:
Obtain back-end code to be disposed and the back-end code is compiled;
Back-end code after compiling is published to back-end server, wherein the version of the back-end code passes through first versionMark represents;
Obtain front-end code to be disposed and the front-end code is compiled;
Front-end code after compiling is published to the CDN node in content distributing network CDN, wherein the front-end codeVersion is identified by the second edition and represented;
Record the corresponding relation between the first version mark and second edition mark.
In one embodiment, a kind of code dispositions method, including:
Obtain back-end code to be disposed and the back-end code is compiled;
Back-end code after compiling is published on back-end server, wherein the version of the back-end code passes through the first editionThis mark represents;
It is determined that second edition mark corresponding to front-end code in the CDN node being published in content distributing network CDN;
Record the corresponding relation between the first version mark and second edition mark.
In one embodiment, a kind of code dispositions method, including:
Obtain front-end code to be disposed and the front-end code is compiled;
Front-end code after compiling is published in the CDN node in content distributing network CDN, wherein the front-end codeVersion pass through the second edition mark represent;
It is determined that first version corresponding to the back-end code being published on back-end server identifies;
Record the corresponding relation between the first version mark and second edition mark.
In one embodiment, a kind of code dispositions method, including:
Obtain back-end code to be disposed and the back-end code is compiled;
Back-end code after compiling is published to first network equipment, wherein the version of the back-end code passes through the first editionThis mark represents;
Obtain front-end code to be disposed and the front-end code is compiled;
Front-end code after compiling is published to second network equipment, wherein the version of the front-end code passes through the second editionThis mark represents;
Record the corresponding relation between the first version mark and second edition mark.
In one embodiment, a kind of code dispositions method, including:
Obtain back-end code to be disposed and the back-end code is compiled;
Back-end code after compiling is published to first network equipment, wherein the version of the back-end code passes through the first editionThis mark represents;
Identified it is determined that being published to the second edition corresponding to the front-end code of second network equipment;
Record the corresponding relation between the first version mark and second edition mark.
In one embodiment, a kind of code dispositions method, including:
Obtain front-end code to be disposed and the front-end code is compiled;
Front-end code after compiling is published to second network equipment, wherein the version of the front-end code passes through the second editionThis mark represents;
Identified it is determined that being published to first version corresponding to the back-end code of first network equipment;
Record the corresponding relation between the first version mark and second edition mark
In one embodiment, a kind of code dispositions method, including:
Back-end server obtains back-end code to be disposed and the back-end code is compiled;
Back-end code after compiling is published to back-end server by back-end server;
Front-end server obtains front-end code to be disposed and the front-end code is compiled;
Front-end code after compiling is published to the CDN node in content distributing network CDN by front-end server.
In one embodiment, a kind of webpage acquisition methods, including:
User equipment rear end server sends web-page requests, wherein the back-end server is used to dispose back-end code;
The back-end server is obtained in response to the web-page requests using the back-end code disposed on the back-end serverObtain web data;
The back-end server determines the version of front-end code corresponding with the version of the back-end code, wherein after describedHold the version of code to identify by first version to represent, the version of the front-end code is identified by the second edition to be represented;
The back-end server sends the second edition mark and the web data to the user equipment;
The user equipment obtains and the corresponding front-end code of second edition mark from CDN node;
The user equipment is shown using the front-end code got to the web data.
In one embodiment, a kind of webpage acquisition methods, including:
User equipment rear end server sends web-page requests, wherein the back-end server is used to dispose back-end code;
The back-end server is obtained in response to the web-page requests using the back-end code disposed on the back-end serverObtain web data;
The back-end server determines the version of front-end code corresponding with the version of the back-end code, wherein after describedHold the version of code to identify by first version to represent, the version of the front-end code is identified by the second edition to be represented;
The back-end server sends the second edition mark and the web data to the user equipment;
The user equipment is from front-end server acquisition and the corresponding front-end code of second edition mark, wherein describedFront-end server is used to dispose front-end code;
The user equipment is shown using the front-end code got to the web data.
In one embodiment, a kind of code deployment device, including:
First acquisition unit, obtain back-end code to be disposed;
First compilation unit, the back-end code is compiled;
First release unit, the back-end code after compiling is published to back-end server, wherein the version of the back-end codeThis is identified by first version and represented;
Second acquisition unit, obtain front-end code to be disposed;
Second compilation unit, the front-end code is compiled;
Second release unit, the front-end code after compiling is published to the CDN node in content distributing network CDN, whereinThe version of the front-end code is identified by the second edition and represented;
Recording unit, record the corresponding relation between the first version mark and second edition mark.
In one embodiment, a kind of code deployment device, including:
First acquisition unit, obtain back-end code to be disposed;
First compilation unit, the back-end code is compiled;
First release unit, the back-end code after compiling is published on back-end server, wherein the back-end codeVersion is identified by first version and represented;
First determining unit, it is determined that corresponding to front-end code in the CDN node being published in content distributing network CDNTwo version identifiers;
Recording unit, record the corresponding relation between the first version mark and second edition mark.
In one embodiment, a kind of code deployment device, including:
Second acquisition unit, obtain front-end code to be disposed;
Second compilation unit, the front-end code is compiled;
Second release unit, the front-end code after compiling is published in the CDN node in content distributing network CDN, itsDescribed in front-end code version pass through the second edition mark represent;
Second determining unit, it is determined that first version corresponding to the back-end code being published on back-end server identifies;
Recording unit, record the corresponding relation between the first version mark and second edition mark.
In one embodiment, a kind of code deployment device, including:
First acquisition unit, obtain back-end code to be disposed;
First compilation unit, the back-end code is compiled;
First release unit, the back-end code after compiling is published to first network equipment, wherein the back-end codeVersion is identified by first version and represented;
Second acquisition unit, obtain front-end code to be disposed;
Second compilation unit, the front-end code is compiled;
Second release unit, the front-end code after compiling is published to second network equipment, wherein the front-end codeVersion is identified by the second edition and represented;
Recording unit, record the corresponding relation between the first version mark and second edition mark.
In one embodiment, a kind of code deployment device, including:
First acquisition unit, obtain back-end code to be disposed;
First compilation unit, the back-end code is compiled;
First release unit, the back-end code after compiling is published in first network equipment, wherein the back-end codeVersion pass through first version mark represent;
First determining unit, it is determined that the second edition corresponding to the front-end code being published on second network equipment identifies;
Recording unit, record the corresponding relation between the first version mark and second edition mark.
In one embodiment, a kind of code deployment device, including:
Second acquisition unit, obtain front-end code to be disposed;
Second compilation unit, the front-end code is compiled;
Second release unit, the front-end code after compiling is published on second network equipment, wherein the front-end codeVersion pass through the second edition mark represent;
Second determining unit, it is determined that first version corresponding to the back-end code being published in first network equipment identifies;
Recording unit, record the corresponding relation between the first version mark and second edition mark.
In one embodiment, a kind of electronic equipment, including:
Processor;
For storing the memory of processor-executable instruction;
The processor is configured as:
Obtain back-end code to be disposed and the back-end code is compiled;
Back-end code after compiling is published to first network equipment, wherein the version of the back-end code passes through the first editionThis mark represents;
Obtain front-end code to be disposed and the front-end code is compiled;
Front-end code after compiling is published to second network equipment, wherein the version of the front-end code passes through the second editionThis mark represents;
Record the corresponding relation between the first version mark and second edition mark.
In one embodiment, a kind of electronic equipment, including:
Processor;
For storing the memory of processor-executable instruction;
The processor is configured as:
Obtain back-end code to be disposed and the back-end code is compiled;
Back-end code after compiling is published to first network equipment, wherein the version of the back-end code passes through the first editionThis mark represents;
Identified it is determined that being published to the second edition corresponding to the front-end code of second network equipment;
Record the corresponding relation between the first version mark and second edition mark.
In one embodiment, a kind of electronic equipment, including:
Processor;
For storing the memory of processor-executable instruction;
The processor is configured as:
Obtain front-end code to be disposed and the front-end code is compiled;
Front-end code after compiling is published to second network equipment, wherein the version of the front-end code passes through the second editionThis mark represents;
Identified it is determined that being published to first version corresponding to the back-end code of first network equipment;
Record the corresponding relation between the first version mark and second edition mark.
It is can be seen that by above technical scheme by the way that front-end code and back-end code are decoupled, can when code is disposedDiscretely to dispose back-end code or deployment front-end code to corresponding network site, improve code deployment efficiency and code is openedSend out efficiency.
Embodiment
Fig. 1 shows a kind of exemplary network environment that an embodiment provides, in the network environment, including:CodeWarehouse, the first network equipment for disposing back-end code, second network equipment for disposing front-end code, for asking netThe user equipment (User Equipment, UE) of page and corresponding for managing the version between front-end code and back-end codeThe DRM (Dynamic Resource Management, dynamic resource management) of relation.Wherein, DRM can be considered as a piece of storageRegion (as cached).So that web is developed as an example, back-end code typically refers to the code for obtaining web page data, front-end codeTypically refer to show the code of user with which kind of pattern for regulation web page data.Front-end code and back-end code canTo decouple and independently develop, can be stored in after the completion of code development in code storage, the code storage is managing notWith the front-end code and back-end code of version.Hereafter, can be from code storage in code deployment phase, first network equipmentThe back-end code of deployment required for obtaining simultaneously is deployed in first network equipment, and second network equipment can obtain from code storageThe front-end code of deployment required for taking simultaneously is deployed on second network equipment.In the web-page requests stage, user equipment can pass throughNetwork is interacted respectively with first network equipment and second network equipment, and user equipment is sent to first network equipment firstWeb-page requests (access first network equipment) by URL.Then, first network equipment utilizes rear end generation according to web-page requestsCode obtains required web data, and first network equipment can be corresponding according to the front end, the version of back-end code that are recorded in DRMRelation, it is determined that the version of required front-end code, and web data and front-end code version are returned into user equipment together.Finally, the front-end code of version required for user equipment can obtain from second network equipment, and utilize the front-end code obtainedThe displaying of special style is carried out to the web data that first network equipment returns.It should be noted that Fig. 1 is only symbolically expressedEquipment included in network environment, in a practical situation, the network environment may also need to include other equipment.
It should be noted that first network equipment and second network equipment can be two separate equipment, also may be usedTo be the different processing modules in same equipment, this is not restricted herein.Front-end and back-end code to be disposed also may be usedDo not deposit in above-mentioned code storage, for example, it is enterprising to be uploaded directly into the corresponding network equipment after developer has write codeRow deployment.The network equipment (Network Devices) can be various forms of computing devices, such as:Individual server or serviceDevice cluster has terminal device (may include handheld device, mobile unit, wearable device etc.) of radio communication function etc..UE can be fixed or move that UE is also referred to as another term, such as mobile station (MS), user terminal (UT), usesFamily station (SS), mobile terminal (MT) or wireless device.UE can be such as:Computer, mobile phone, personal digital assistant (PDA), wrist-watchDeng.
Fig. 2 is a kind of flow chart of the code dispositions method exemplified according to an implementation, with reference to shown in Fig. 1 and Fig. 2, the partyMethod can include step 101~step 109, wherein:
In a step 101, obtain back-end code to be disposed and the back-end code is compiled.Such as:From code storehouseDownload back-end code to be disposed in storehouse.
In step 103, the back-end code after compiling is published to first network equipment, wherein the version of the back-end codeThis identifies (such as v1) by first version and represented.
First network equipment can be back-end server, and back-end server can be used for interacting with user equipment, to connectThe web-page requests that user equipment is sent are received, and corresponding web data is returned to user equipment.
In step 105, obtain front-end code to be disposed and the front-end code is compiled.Such as:From code storehouseDownload front-end code to be disposed in storehouse.
In step 107, the front-end code after compiling is published to second network equipment, wherein the version of the front-end codeThis identifies (such as v2) by the second edition and represented.
Second network equipment can be front-end server, and front-end server can be used for interacting with user equipment, with toThe front-end code of version needed for user equipment return.
In step 109, the corresponding relation between record first version mark and second edition mark.Such as:By DRM comeRecord the corresponding relation between first version mark and second edition mark.Wherein, DRM effect can be understood as so that rear endCode can form corresponding relation with the front-end code of latest edition.
In the application scenarios of reality, the front-end code of multiple versions is often deployed with CDN, in order that obtaining back-end codeIt is corresponding with the front-end code of a certain version in multiple versions, to realize web page display.Need to safeguard above-mentioned first version markKnow the corresponding relation between second edition mark.A kind of exemplary scenario is:The homepage of certain network platform is in certain active dayNeed to be changed to a kind of novel type by old pattern, where it is assumed that old pattern is realized by the front-end code that version is v1, new sampleFormula is realized by the front-end code that version is v2.Generally, the front-end code of novel type needs to develop in advance and completes to disposeOnto CDN, this results in the front-end code that multiple versions (comprising at least v1 and v2) occurs on CDN.Usually, in active day, it is necessary to show the homepage of the network platform according to the front-end code that version is v1 before arriving, on the day of active day, can switchThe homepage of the network platform is shown to the front-end code that version is v2.From the technical point of view, said process can pass through noteThe corresponding relation recorded between first version mark (version of back-end code) and second edition mark (version of front-end code) comesRealize.For example, before active day arrives, the corresponding relation of record is:First version mark corresponds to v1, on the day of active day,Corresponding relation can be switched to:First version mark corresponds to v2.
In one embodiment, the executive agent of above-mentioned steps 101 and step 103 can be first network equipment, above-mentioned stepRapid 105 and the executive agent of step 107 can be second network equipment, the executive agent of above-mentioned steps 109 can be DRM.WhenSo, the executive agent involved by the method shown in Fig. 2 is not limited thereto, such as:Step 101~step 109 can be held by sameRow main body performs, such as one dedicated for deployment front-end code and the equipment of back-end code, the equipment can be by parallelTask disposes front-end code and back-end code.
By the way that front-end code and back-end code are decoupled, when code is disposed, back-end code or portion can be discretely disposedFront-end code is affixed one's name to corresponding network site, front-end code deployment and back-end code portion do not disturb mutually, can independently holdOK, execution can also be combined, improves code deployment efficiency and code development efficiency.
Fig. 3 is the flow chart of another code dispositions method exemplified according to an implementation, should with reference to shown in Fig. 1 and Fig. 3Method can include step 201~step 207, wherein:
In step 201, obtain back-end code to be disposed and the back-end code is compiled.
In step 203, the back-end code after compiling is published to first network equipment, wherein the version of the back-end codeThis is identified by first version and represented.
In step 205, identified it is determined that being published to the second edition corresponding to the front-end code of second network equipment.
In step 207, the corresponding relation between the first version mark and second edition mark is recorded.
In the method shown in Fig. 3, the deployment process of back-end code has been executed separately, this method goes for pairBack-end code is once updated, but the scene not being updated to front-end code.Wherein, in the rear end that will be updatedCode is deployed in first network equipment afterwards, it is necessary to obtain the second of the front-end code disposed on current second network equipmentVersion identifier, and recorded by DRM the first version mark and the second edition identify between corresponding relation.With trueProtect under follow-up line when applying, front-end code can carry out corresponding with the back-end code of latest edition.
It is same unrestricted on the executive agent of the method shown in Fig. 3.Such as:It can be performed by same main body, orPerson, step 201 and step 203 are performed by first network equipment, and step 205 and step 207 are performed by DRM.
Fig. 4 is the flow chart of another code dispositions method exemplified according to an implementation, should with reference to shown in Fig. 1 and Fig. 4Method can include step 301~step 307, wherein:
In step 301, obtain front-end code to be disposed and the front-end code is compiled.
In step 303, the front-end code after compiling is published to second network equipment, wherein, the front-end codeVersion is identified by the second edition and represented.
In step 305, identified it is determined that being published to first version corresponding to the back-end code of first network equipment.
In step 307, the corresponding relation between the first version mark and second edition mark is recorded.
It is similar with the embodiment principle shown in above-mentioned Fig. 3, in the method shown in Fig. 4, front-end code has been executed separatelyDeployment process, this method goes for once updating front-end code, but back-end code is not carried outThe scene of renewal.Similarly, the executive agent of the method shown in Fig. 4 is also unrestricted.
Fig. 5 shows another exemplary network environment that an embodiment provides, in the network environment on Fig. 1 basisOn, content distributing network (Content Delivery Network, CDN) is added, the CDN includes being distributed in different geographical positionsSome CDN nodes put, each CDN node can be used for dispose front-end code, set CDN purpose be so that it is each in networkIndividual user equipment can get required front-end code with fast speed.
Fig. 6 is a kind of timing diagram of the code dispositions method exemplified according to an implementation, with reference to shown in Fig. 5 and Fig. 6, the partyMethod can include step 401~step 409, wherein:
In step 401, first network equipment obtains back-end code to be disposed.
In step 403, first network equipment is compiled to the back-end code.
In step 405, the back-end code after compiling is published to first network equipment and (is properly termed as by first network equipment" back-end server "), wherein, the version of the back-end code is identified by first version to be represented.
In step 402, second network equipment obtains front-end code to be disposed.
In step 404, second network equipment is compiled to the front-end code.
In a step 406, the front-end code after compiling is published in content distributing network CDN by second network equipmentCDN node, wherein, the version of the front-end code is identified by the second edition to be represented.
In a step 408, second edition mark is sent to DRM by second network equipment.
In step 409, DRM records the corresponding relation between the first version mark and second edition mark.
In one embodiment, because that is disposed on back-end server is the back-end code of latest edition, and update every timeThe volume back-end code of legacy version can be override, so in DRM the version identifier of record back-end code can not had to, and recordedThe version of the upper front-end codes that should be called of CDN (i.e. the second edition identifies).Wherein, because the version of back-end code is to determine, so the version for needing called front-end code is have recorded, just equivalent to the version that front-end code and back-end code is determinedThis corresponding relation simultaneously stores.
On " front-end server " and " back-end server " being mentioned above, can be defined as follows:
Front-end server is the equipment for being deployed to front-end code in CDN node, or, itself it is deployed with front end generationThe equipment of code.
Back-end server is the equipment for being deployed with back-end code, dispose code action can by back-end server in itself LaiPerform, back-end code can also be deployed on the back-end server by other equipment.Back-end server is additionally operable to set with userIt is standby to interact, for providing web data to be presented for user equipment.
It should be noted that front-end code deployment process and back-end code deployment process can be individually performed respectively.
In another embodiment, a kind of code dispositions method comprises the following steps:
Obtain back-end code to be disposed and the back-end code is compiled;
Back-end code after compiling is published on back-end server, wherein, the version of the back-end code passes through firstVersion identifier represents;
It is determined that second edition mark corresponding to front-end code in the CDN node being published in content distributing network CDN;
Record the corresponding relation between the first version mark and second edition mark.
In another embodiment, a kind of code dispositions method comprises the following steps:
Obtain front-end code to be disposed and the front-end code is compiled;
Front-end code after compiling is published in the CDN node in content distributing network CDN, wherein, the front end generationThe version of code is identified by the second edition and represented;
It is determined that first version corresponding to the back-end code being published on back-end server identifies;
Record the corresponding relation between the first version mark and second edition mark.
In another embodiment, if only disposing the front-end code of a latest edition, then a kind of code dispositions method on CDNIt may include following steps:
Back-end server obtains back-end code to be disposed and the back-end code is compiled;
Back-end code after compiling is published to back-end server by back-end server;
Front-end server obtains front-end code to be disposed and the front-end code is compiled;
Front-end code after compiling is published to the CDN node in content distributing network CDN by front-end server.
Front end, back-end code involved by the embodiment of the present application can be developed based on React, wherein, React isThe javascript storehouse that Facebook is released.
Fig. 7 is a kind of timing diagram of the webpage acquisition methods exemplified according to an implementation.As shown in fig. 7, a kind of webpage obtainsMethod is taken to may include following steps:
Step 501:User equipment sends web-page requests to first network equipment (i.e. back-end server), wherein, after describedEnd server is used to dispose back-end code.
Step 502:Back-end server utilizes the rear end generation disposed on the back-end server in response to the web-page requestsCode obtains web data.
Step 503:Back-end server reads the version corresponding relation (version for the front-end code that can be called from DRMCorresponding relation between the version of back-end code), to determine the version of front-end code corresponding with the version of the back-end codeThis, represents, the version of the front-end code passes through the second edition wherein the version of the back-end code is identified by first versionMark represents.
Step 505:Back-end server sends the second edition mark and the web data to the user equipment;
Step 506:The second edition that user equipment is sent according to back-end server identifies, from CDN node obtain with it is describedFront-end code corresponding to second edition mark.
Step 507:User equipment is shown using the front-end code got to the web data.
In another embodiment, if without CDN, front-end code is deployed on front-end server, then a kind of webpage obtainsMethod is taken to may include following steps:
User equipment rear end server sends web-page requests, wherein the back-end server is used to dispose back-end code.
Back-end server obtains net in response to the web-page requests using the back-end code disposed on the back-end serverPage data.
Back-end server determines the version of front-end code corresponding with the version of the back-end code, wherein the rear end generationThe version of code is identified by first version and represented, the version of the front-end code is identified by the second edition to be represented.
Back-end server sends the second edition mark and the web data to the user equipment.
User equipment is from front-end server acquisition and the corresponding front-end code of second edition mark, wherein the front endServer is used to dispose front-end code.
User equipment is shown using the front-end code got to the web data.
Corresponding to the above method, this specification one or more embodiment also provides a kind of generation realized by software programCode deployment device.
As shown in figure 8, in one embodiment, a kind of code disposes device 200, including:
First acquisition unit 210, obtain back-end code to be disposed;
First compilation unit 220, is compiled to the back-end code;
First release unit 230, the back-end code after compiling is published to back-end server, wherein the back-end codeVersion is identified by first version and represented.
Second acquisition unit 240, obtain front-end code to be disposed;
Second compilation unit 250, is compiled to the front-end code;
Second release unit 260, the front-end code after compiling is published to the CDN node in content distributing network CDN, itsDescribed in front-end code version pass through the second edition mark represent;
Recording unit 270, record the corresponding relation between the first version mark and second edition mark.
In an alternative embodiment, the code deployment device 200 shown in Fig. 8 may include:
First acquisition unit 210, obtain back-end code to be disposed;
First compilation unit 220, is compiled to the back-end code;
First release unit 230, the back-end code after compiling is published to first network equipment, wherein the back-end codeVersion pass through first version mark represent;
Second acquisition unit 240, obtain front-end code to be disposed;
Second compilation unit 250, is compiled to the front-end code;
Second release unit 260, the front-end code after compiling is published to second network equipment, wherein the front-end codeVersion pass through the second edition mark represent;
Recording unit 270, record the corresponding relation between the first version mark and second edition mark.
As shown in figure 9, in another embodiment, a kind of code deployment device 300 includes:
First acquisition unit 310, obtain back-end code to be disposed;
First compilation unit 320, is compiled to the back-end code;
First release unit 330, the back-end code after compiling is published on back-end server, wherein the back-end codeVersion pass through first version mark represent;
First determining unit 360, it is determined that the front-end code in the CDN node being published in content distributing network CDN is correspondingThe second edition mark;
Recording unit 370, record the corresponding relation between the first version mark and second edition mark.
In an alternative embodiment, the code deployment device 300 shown in Fig. 9 may include:
First acquisition unit 310, obtain back-end code to be disposed;
First compilation unit 320, is compiled to the back-end code;
First release unit 330, the back-end code after compiling is published in first network equipment, wherein the rear end generationThe version of code is identified by first version and represented;
First determining unit 360, it is determined that the second edition corresponding to the front-end code being published on second network equipment identifies;
Recording unit 370, record the corresponding relation between the first version mark and second edition mark.
As shown in Figure 10, in another embodiment, a kind of code deployment device 400 includes:
Second acquisition unit 410, obtain front-end code to be disposed;
Second compilation unit 420, is compiled to the front-end code;
Second release unit 430, the front-end code after compiling is published in the CDN node in content distributing network CDN,The version of wherein described front-end code is identified by the second edition and represented;
Second determining unit 450, it is determined that first version corresponding to the back-end code being published on back-end server identifies;
Recording unit 470, record the corresponding relation between the first version mark and second edition mark.
In an alternative embodiment, the code deployment device 400 shown in Figure 10 may include:
Second acquisition unit 410, obtain front-end code to be disposed;
Second compilation unit 420, is compiled to the front-end code;
Second release unit 430, the front-end code after compiling is published on second network equipment, wherein the front end generationThe version of code is identified by the second edition and represented;
Second determining unit 450, it is determined that first version corresponding to the back-end code being published in first network equipment identifies;
Recording unit 470, record the corresponding relation between the first version mark and second edition mark.
As shown in figure 11, this specification one or more embodiment provide a kind of electronic equipment (such as individual server orServer cluster or terminal device etc. with radio communication function) processor, internal bus can be included, network interface, depositedReservoir (including internal memory and nonvolatile memory), the hardware being also possible that certainly required for other business.Processor fromComputer program into internal memory and then is run corresponding to being read in nonvolatile memory.
In one embodiment, the processor can be configured as:
Obtain back-end code to be disposed and the back-end code is compiled;
Back-end code after compiling is published to first network equipment, wherein the version of the back-end code passes through the first editionThis mark represents;
Obtain front-end code to be disposed and the front-end code is compiled;
Front-end code after compiling is published to second network equipment, wherein the version of the front-end code passes through the second editionThis mark represents;
Record the corresponding relation between the first version mark and second edition mark.
In another embodiment, the processor can be configured as:
Obtain back-end code to be disposed and the back-end code is compiled;
Back-end code after compiling is published to first network equipment, wherein the version of the back-end code passes through the first editionThis mark represents;
Identified it is determined that being published to the second edition corresponding to the front-end code of second network equipment;
Record the corresponding relation between the first version mark and second edition mark.
In another embodiment, the processor can be configured as:
Obtain front-end code to be disposed and the front-end code is compiled;
Front-end code after compiling is published to second network equipment, wherein the version of the front-end code passes through the second editionThis mark represents;
Identified it is determined that being published to first version corresponding to the back-end code of first network equipment;
Record the corresponding relation between the first version mark and second edition mark.
Certainly, in addition to software realization mode, this specification one or more embodiment is not precluded from other realization sidesFormula, such as mode of logical device or software and hardware combining etc., that is to say, that the executive agent of following handling process is simultaneously unlimitedDue to each logic unit or hardware or logical device.
Each embodiment in this specification is described by the way of progressive, identical between each embodiment/similarPart is mutually referring to what each embodiment stressed is the difference with other embodiment.Especially for equipmentFor embodiment, device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related partIllustrate referring to the part of embodiment of the method.
System, device, module or the unit that above-described embodiment illustrates, it can specifically be realized by computer chip or entity,Or realized by the product with certain function.One kind typically realizes that equipment is computer, and the concrete form of computer canTo be personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media playIn device, navigation equipment, E-mail receiver/send equipment, game console, tablet PC, wearable device or these equipmentThe combination of any several equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implementedThe function of each unit can be realized in same or multiple softwares and/or hardware during specification one or more embodiment.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer programProduct.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardwareApply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or moreThe computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program productFigure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagramJourney and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be providedThe processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produceA raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for realThe device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spyDetermine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring toMake the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram orThe function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that countedSeries of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer orThe instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram oneThe step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, netNetwork interface and internal memory.
Internal memory may include computer-readable medium in volatile memory, random access memory (RAM) and/orThe forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flashRAM).Internal memory is showing for computer-readable mediumExample.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any methodOr technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), movedState random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasableProgrammable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatusOr any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to hereinMachine computer-readable recording medium does not include temporary computer readable media (transitorymedia), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludabilityComprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrappingInclude the other element being not expressly set out, or also include for this process, method, commodity or equipment intrinsic wantElement.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including describedOther identical element also be present in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that the embodiment of this specification one or more embodiment can be provided as method, beSystem or computer program product.Therefore, this specification one or more embodiment can use complete hardware embodiment, complete softwareThe form of embodiment in terms of embodiment or combination software and hardware.Moreover, this specification one or more embodiment can useThe computer-usable storage medium for wherein including computer usable program code in one or more (includes but is not limited to diskMemory, CD-ROM, optical memory etc.) on the form of computer program product implemented.
This specification one or more embodiment can computer executable instructions it is general onDescribed in hereafter, such as program module.Usually, program module includes performing particular task or realizes particular abstract data typeRoutine, program, object, component, data structure etc..Can also put into practice in a distributed computing environment this specification one orMultiple embodiments, in these DCEs, by being performed by communication network and connected remote processing devicesTask.In a distributed computing environment, the local and remote computer that program module can be located at including storage device is depositedIn storage media.
The embodiment of this specification one or more embodiment is the foregoing is only, is not limited to this specificationOne or more embodiments.To those skilled in the art, this specification one or more embodiment can have it is various moreChange and change.It is all this specification one or more embodiment spirit and principle within made any modification, equivalent substitution,Improve etc., it should be included within the right of this specification one or more embodiment.