CN109408092A - Method and device, storage medium and the electronic equipment of front end version publication - Google Patents

Method and device, storage medium and the electronic equipment of front end version publication Download PDF

Info

Publication number
CN109408092A
CN109408092A CN201811222825.2A CN201811222825A CN109408092A CN 109408092 A CN109408092 A CN 109408092A CN 201811222825 A CN201811222825 A CN 201811222825A CN 109408092 A CN109408092 A CN 109408092A
Authority
CN
China
Prior art keywords
code
document
information
version
test
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.)
Granted
Application number
CN201811222825.2A
Other languages
Chinese (zh)
Other versions
CN109408092B (en
Inventor
吕鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201811222825.2A priority Critical patent/CN109408092B/en
Publication of CN109408092A publication Critical patent/CN109408092A/en
Application granted granted Critical
Publication of CN109408092B publication Critical patent/CN109408092B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The present invention provides a kind of dissemination methods of front end version, it include: when receiving the submission request to code document, the element information for submitting each element in front end for including in request is obtained, includes the front end currently corresponding code of version to be released in the code document;According to the element information, presetting document template is called, generates code information document corresponding with the code document;Code document is obtained, and the code document and code information document are encapsulated as test code packet, and then after test code packet is by test, currently version to be released is issued to the corresponding front end of test code packet.In method provided by the invention, when receiving the submission request to code document, according to the element information for including in submission request, call presetting document template, directly generate code information document corresponding with code document, it does not need to be filled in manually, improves code information document structure tree efficiency, and then improve the publication rate of front end version.

Description

Method and device, storage medium and the electronic equipment of front end version publication
Technical field
The present invention relates to the method and devices of software systems field more particularly to a kind of publication of front end version, storage medium And electronic equipment.
Background technique
With the development of science and technology, various networking products are used widely.Such as number of site provides for people's lives The resource of multiplicity also changes people's lives mode while enriching people's life.These websites may operate in The end PC, also may operate in the mobile terminals such as mobile phone, PAD, the foreground partition of website, that is, the webpage for showing user to browse can be at For the front end of web station system, front end is made of multiple and different elements, such as the front end of an electric business platform may include electronics The different element such as product module, clothes module.
With the continuous improvement of people's life requirement, the function of Website front-end is also being constantly updated, and developer is to front end The code of different elements is updated, and is write code document, is then issued to code document, and then is realized to front end difference The publication of version.Inventor carries out the issuing process of existing code document the study found that submitting code document in developer Issued when, need to submit code information document corresponding with code simultaneously, these code information documents are often by artificial It fills in, fills in that speed is slow, and then keep the submission process speed of code document slow, low efficiency affects the publication of front end version.
Summary of the invention
Technical problem to be solved by the invention is to provide a kind of dissemination methods of front end version, being capable of automatic code generating Document code information document required when submitting, improves the submission efficiency of code document.
The present invention also provides a kind of distributing device of front end version, for guarantee above method realization in practice and Using.
A kind of dissemination method of front end version, comprising:
When receiving the submission request to code document, each element in front end for including in the submission request is obtained Element information includes the current corresponding code of version to be released in front end in the code document;
According to the element information, presetting document template is called, generates code letter corresponding with the code document Cease document;
The code document is obtained, and the code document and the code information document are encapsulated as test code packet, And then after the test code packet is by test, to the corresponding front end of the test code packet, currently version to be released is sent out Cloth.
Above-mentioned method, it is preferred that it is described to obtain the element information for submitting each element in front end for including in request, Include:
Obtain the element identification for submitting the current each element to be updated in the front end for including in request;
According to each element identification, the element information of the current each element to be updated in front end is obtained.
Above-mentioned method, it is preferred that it is described according to the element information, call presetting document template, generation and institute State the corresponding code information document of code document, comprising:
According to the element information, each element in front end corresponding code in the code document is determined;
The corresponding code of each element is verified by preset verification rule;
When the corresponding code of each element is all satisfied the preset verification rule, presetting document template is called, Generate code information document corresponding with the code document.
Above-mentioned method, it is preferred that it is described to call presetting document template, generate generation corresponding with the code document Code information document, comprising:
Determine the component attributes of each element;
According to the component attributes, each presetting document template corresponding with each element is selected;
The code letter that according to the template style of each document template, obtains its code information for corresponding to element, and will acquire Breath is written in the document template, generates code information document.
Above-mentioned method, it is preferred that described that the code document and the code information document are encapsulated as test code Packet, comprising:
Rule is verified by preset document quality, the code information document is verified;
When verification passes through, the code document and the code information document are encapsulated as test code packet.
Above-mentioned method, it is preferred that described that the code document and the code information document are encapsulated as test code Packet, comprising:
By in the code document, the corresponding code of each element code information document corresponding with the code is closed Connection;
The code information document of each corresponding code of element and the associated codes is encapsulated as test code packet.
Above-mentioned method, it is preferred that further include:
The publication data generated in the front end version issuing process are recorded, with according to the publication data to institute The mistake occurred in the version issuing process of front end is stated to be corrected.
A kind of distributing device of front end version, comprising:
Acquiring unit, for including in the acquisition submission request when receiving the submission request to code document The element information of each element in front end includes the current corresponding code of version to be released in front end in the code document;
Generation unit generates and the code document for calling presetting document template according to the element information Corresponding code information document;
Release unit is encapsulated for obtaining the code document, and by the code document and the code information document For test code packet, and then the test code packet by test after, to the corresponding front end of the test code packet currently to Released version is issued.
A kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein transported in described program Equipment where controlling the storage medium when row executes the dissemination method of above-mentioned front end version.
A kind of electronic equipment, including memory and one perhaps one of them or one of more than one program with Upper program is stored in memory, and is configured to execute the hair of above-mentioned front end version by one or more than one processor Cloth method.
Compared with prior art, the present invention includes the following advantages:
The present invention provides a kind of dissemination methods of front end version, comprising: requests when receiving the submission to code document When, the element information for submitting each element in front end for including in request is obtained, includes that front end is current in the code document The corresponding code of version to be released;According to the element information, presetting document template is called, is generated and the code document Corresponding code information document;The code document is obtained, and the code document and the code information document are encapsulated as Code packet is tested, and then after the test code packet is by test, it is currently pending to the corresponding front end of the test code packet Cloth version is issued.In method provided by the invention, when receiving the submission request to code document, according to the submission The element information for including in request calls presetting document template, directly generates code information text corresponding with code document Shelves, do not need to be filled in manually, improve code information document structure tree efficiency, and then improve the publication rate of front end version.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of method flow diagram of the dissemination method of front end version provided by the invention;
Fig. 2 is a kind of another method flow diagram of the dissemination method of front end version provided by the invention;
Fig. 3 is a kind of exemplary diagram of the dissemination method of front end version provided by the invention;
Fig. 4 is a kind of structural schematic diagram of the distributing device of front end version provided by the invention;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment provided by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention provides a kind of dissemination method of front end version, this method can be applied flat in multiple systems Platform, executing subject can be the browser operated on computer, flow chart such as Fig. 1 of the dissemination method of the front end version It is shown, it specifically includes:
S101: when receiving the submission request to code document, it is each to obtain the front end for including in the submission request The element information of element includes the current corresponding code of version to be released in front end in the code document;
In method provided in an embodiment of the present invention, when version publication auxiliary tool in front end receives user to code document When submitting request, the element information for submitting each element in front end for including in request is obtained, includes in the code document The current corresponding code of version to be released in front end.
S102: according to the element information, presetting document template is called, generates generation corresponding with the code document Code information document;
In method provided in an embodiment of the present invention, according to the element information, called from server end pre-set Document template is based on the document template, generates code information document corresponding with the code document.
S103: the code document is obtained, and the code document and the code information document are encapsulated as test generation Code packet, and then after the test code packet is by testing, to the current version to be released in the corresponding front end of the test code packet It is issued.
In method provided in an embodiment of the present invention, after generating code information document corresponding with the code, obtains and use Family code document to be committed, the code document that will acquire and generated code information document are encapsulated as test code packet.
The dissemination method of front end version provided in an embodiment of the present invention, when version publication auxiliary tool in front end receives user When requesting the submission of code document, the element information for submitting each element in front end for including in request is obtained, according to institute Element information is stated, pre-set document template is called from server end, is based on the document template, is generated and the code The corresponding code information document of document, obtains the code document, and the code document and the code information document are encapsulated At test code packet, and then the test code packet by test after, to the corresponding front end of the test code packet currently to Released version is issued.Using the dissemination method of front end version provided by the invention, element is automatically extracted, generates and passes through document The code information document of quality examination improves document structure tree efficiency and document quality, to improve front end version efficiency for issuing.
It include that front end difference element is corresponding in the code document that needs to submit in method provided in an embodiment of the present invention Code, the corresponding code of different elements can be write by different developers, during the submission of code document, System can allow developer to carry out the code of the element with operating right according to the operating right of different developers Manipulation.In general, the initial writer of code, can only operate the code oneself write, the developer of beta version is submitted The corresponding code of all elements can be manipulated.
In the dissemination method of front end version provided in an embodiment of the present invention, before including in the acquisition submission request Hold the element information of each element, comprising:
Obtain the element identification for submitting the current each element to be updated in the front end for including in request;
According to each element identification, the element information of the current each element to be updated in front end is obtained.
In method provided in an embodiment of the present invention, front end version, which is issued auxiliary tool and obtained from submission request, includes It is current to be updated to obtain front end according to each element identification for the element identification of the current each element to be updated in front end The element information of each element;The element is to form the basic unit of front end system, can be laid out for corresponding page in webpage, The program file of color setting etc.;Be also possible to the corresponding program file of each functional module in APP, for example, in electric business APP it is electric The different function module such as sub- product, food, clothes and cosmetics corresponds to different elements.
It is described according to the element information in the dissemination method of front end version provided in an embodiment of the present invention, it calls default Fixed document template generates code information document corresponding with the code document, as shown in Fig. 2, can specifically include:
S201: according to the element information, each element in front end corresponding code in the code document is determined;
In method provided in an embodiment of the present invention, according to the element information, each element in the code document is searched Corresponding code.
S202: the corresponding code of each element is verified by preset verification rule;
In method provided in an embodiment of the present invention, the corresponding code of each element is verified according to preset code and is advised It is then verified, it may include the verification to logic, the code format of code etc. that the preset code, which verifies rule,.
S203: when the corresponding code of each element is all satisfied the preset verification rule, presetting document is called Template generates code information document corresponding with the code document.
In method provided in an embodiment of the present invention, when the corresponding code of each element is all satisfied the preset verification When regular, preset document template is called from server end, generates code information document corresponding with the code document; When there are the corresponding code of element be unsatisfactory for the preset verification it is regular when, quote corresponding problem, and remind user into Row modification.The code information document may include that program completes inventory, Code Review planning chart and issues inventory etc.;It is described pre- The document template first set be in advance according to ISO (International Organization for Standardization, International Organization for standardization) fixation document format write-in program in quality management system development process, and template offer is provided In server, when needing to update document template, it is only necessary to safeguard a secondary program, avoid repetitive work, improve Working efficiency.
The dissemination method of front end version provided in an embodiment of the present invention searches the code text according to the element information Each element corresponds to code in shelves, verifies rule according to preset code to the corresponding code of each element and verifies, It may include the verification to logic, the code format of code etc., when each element pair that the preset code, which verifies rule, When the code answered is all satisfied the preset verification rule, preset document template is called from server end, is generated Code information document corresponding with the code document;When there are the corresponding codes of element to be unsatisfactory for the preset verification When regular, corresponding problem is quoted, and user is reminded to modify.The code information document may include program complete inventory, Code Review planning chart and issue inventory etc.;The preset document template is to open in advance according to ISO quality management system The fixation document format write-in program in process is sent out, and is stored in template and provides in server, when needing to update document template When, it is only necessary to it safeguards a secondary program, avoids repetitive work, improve document structure tree efficiency.
It is described to call presetting document template in the dissemination method of front end version provided in an embodiment of the present invention, it generates Code information document corresponding with the code document, comprising:
Determine the component attributes of each element;
According to the component attributes, each presetting document template corresponding with each element is selected;
The code letter that according to the template style of each document template, obtains its code information for corresponding to element, and will acquire Breath is written in the document template, generates code information document.
In method provided in an embodiment of the present invention, according to the template style of each document template, obtains it and correspond to element Code information, and the code information that will acquire is written in the document template, generates code information document, the code information can To include the lines of code of each element, the modular program etc. of calling, the acquisition of the code information is supported cross-platform, customizable Etc. characteristics.
It should be noted that the corresponding more fresh code of difference element, the code information document for needing to generate can be different Sample, for example, updating element is element a, b, c in the current version of a front end, can exist according to for element a, b and c Respective code in code document generates corresponding each code information document respectively;One can also be directly generated always Code information document, concrete example is as follows:
It is current to update element a, b, c, need to generate Code Review planning chart corresponding with update element, implementation can be with It is that, according to the template style of Code Review planning chart template, acquisition and the corresponding code information of element a, b, c will be described All be aggregated into a Code Review planning chart with the corresponding code information of element a, b, c, be also possible to by it is described with want The plain corresponding code information of a, b, c is aggregated into different Code Review planning charts.
It should be noted that front-end code version issues backman when user carries out submitting request to the code of 1.0 versions Tool generates code information document corresponding with the code document, when code document of the user to later release carries out submission request When, tool detects the element changed in the code document submitted again automatically, and generates correlative code information document, avoids user It repeats to submit element.
It is described to believe the code document and the code in the dissemination method of front end version provided in an embodiment of the present invention Breath document is encapsulated as test code packet, comprising:
Rule is verified by preset document quality, the code information document is verified;
When verification passes through, the code document and the code information document are encapsulated as test code packet.
In method provided in an embodiment of the present invention, the code information is verified, the verification may include to text The inspection of the items such as the format of shelves and code information filling position, when verification passes through, by the code document and the code Information document is encapsulated as test code packet, and the test code packet that is encapsulated as can be by the corresponding code of each element and generation The corresponding code information document of code is encapsulated as test code packet;Be also possible to the code document and, with the code document Corresponding code information document is directly encapsulated as test code packet.Using method provided by the invention, to code information document into Row is verified, and finds document problem in advance, development risk is made to move forward.
Preferably, in method provided in an embodiment of the present invention, front end version auxiliary tool application method is provided and illustrates, is common Problem summarizes, to help user to familiarize the use of tool.
In method provided in an embodiment of the present invention, the realization of the dissemination method of front end version is illustrated, such as Shown in Fig. 3:
In electric business APP, developer programs the clothing function module realized in the APP, after programming, exploit person Member logs in front end version and issues auxiliary tool, and the permission configuration module of front end version publication auxiliary tool carries out permission to user and matches It sets, Limit exploitation personnel can only operate the code oneself write, and developer submits code text corresponding with clothing function module Shelves, front end version publication auxiliary tool are obtained the element information of each element in the front end for including in the submission, are wanted based on described Prime information, and determine each element corresponding code in the code document, to the code according to preset verification rule It is verified, including the verification to code logic, when the corresponding code of each element is all satisfied verification rule, from server end The document template with setting is called, according to the template style of each document template, obtains element corresponding with template style The code information is written in Code Template for code information, generates code information document, including program completes inventory, code It checks planning chart, Code Review record and issues inventory, document quality verification is carried out to the code information document, works as verification By when, code document and code information document are encapsulated as test code packet, and then pass through test in the test code packet Afterwards, the corresponding front end version of packet is acted on behalf to the test to issue.
Corresponding with method described in Fig. 1, the embodiment of the invention also provides a kind of distributing devices of front end version, are used for Specific implementation to method in Fig. 1, structural schematic diagram is as shown in figure 4, specifically include:
Acquiring unit 401: include for obtaining in the submission request when receiving the submission request to code document The each element in front end element information, the current corresponding code of version to be released in front end is included in the code document;
Generation unit 402: it for calling presetting document template according to the element information, generates and the code The corresponding code information document of document;
Release unit 403: it is sealed for obtaining the code document, and by the code document and the code information document Dress is test code packet, and then after the test code packet is by test, current to the corresponding front end of the test code packet Version to be released is issued.
The distributing device of front end version provided in an embodiment of the present invention, the publication of front end version provided in an embodiment of the present invention Method obtains the submission request when version publication auxiliary tool in front end, which receives user, requests the submission of code document In include each element in front end element information, front end current version to be released corresponding generation is included in the code document Code, according to the element information, pre-set document template is called from server end, is based on the document template, is generated Code information document corresponding with the code document, obtains the code document, and the code document and the code are believed Breath document is packaged into test code packet, and then after the test code packet is by test, corresponding to the test code packet Currently version to be released is issued for front end.Using the dissemination method of front end version provided by the invention, element is automatically extracted, it is raw At the code information document Jing Guo document quality inspection, document structure tree efficiency and document quality are improved, to improve front end version This efficiency for issuing.
The embodiment of the invention also provides a kind of storage medium, the storage medium includes the instruction of storage, wherein in institute It states the equipment where controlling the storage medium when instruction operation and executes following operation:
A kind of dissemination method of front end version, comprising:
When receiving the submission request to code document, each element in front end for including in the submission request is obtained Element information includes the current corresponding code of version to be released in front end in the code document;
According to the element information, presetting document template is called, generates code letter corresponding with the code document Cease document;
The code document is obtained, and the code document and the code information document are encapsulated as test code packet, And then after the test code packet is by test, to the corresponding front end of the test code packet, currently version to be released is sent out Cloth.
Above-mentioned method, it is preferred that it is described to obtain the element information for submitting each element in front end for including in request, Include:
Obtain the element identification for submitting the current each element to be updated in the front end for including in request;
According to each element identification, the element information of the current each element to be updated in front end is obtained.
Above-mentioned method, it is preferred that it is described according to the element information, call presetting document template, generation and institute State the corresponding code information document of code document, comprising:
According to the element information, each element in front end corresponding code in the code document is determined;
The corresponding code of each element is verified by preset verification rule;
When the corresponding code of each element is all satisfied the preset verification rule, presetting document template is called, Generate code information document corresponding with the code document.
Above-mentioned method, it is preferred that it is described to call presetting document template, generate generation corresponding with the code document Code information document, comprising:
Determine the component attributes of each element;
According to the component attributes, each presetting document template corresponding with each element is selected;
The code letter that according to the template style of each document template, obtains its code information for corresponding to element, and will acquire Breath is written in the document template, generates code information document.
Above-mentioned method, it is preferred that described that the code document and the code information document are encapsulated as test code Packet, comprising:
Rule is verified by preset document quality, the code information document is verified;
When verification passes through, the code document and the code information document are encapsulated as test code packet.
Above-mentioned method, it is preferred that described that the code document and the code information document are encapsulated as test code Packet, comprising:
By in the code document, the corresponding code of each element code information document corresponding with the code is closed Connection;
The code information document of each corresponding code of element and the associated codes is encapsulated as test code packet.
Above-mentioned method, it is preferred that further include:
The publication data generated in the front end version issuing process are recorded, with according to the publication data to institute The mistake occurred in the version issuing process of front end is stated to be corrected.
The embodiment of the invention also provides a kind of electronic equipment, structural schematic diagram is as shown in figure 5, specifically include memory 501 and one perhaps more than one 502 one of them or more than one instruction of instruction 502 be stored in memory 501 In, and be configured to by one or more than one processor 503 execute the one or more instruction 502 carry out with Lower operation:
When receiving the submission request to code document, each element in front end for including in the submission request is obtained Element information includes the current corresponding code of version to be released in front end in the code document;
According to the element information, presetting document template is called, generates code letter corresponding with the code document Cease document;
The code document is obtained, and the code document and the code information document are encapsulated as test code packet, And then after the test code packet is by test, to the corresponding front end of the test code packet, currently version to be released is sent out Cloth.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit can be realized in the same or multiple software and or hardware when invention.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can It realizes by means of software and necessary general hardware platform.Based on this understanding, technical solution of the present invention essence On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes the certain of each embodiment or embodiment of the invention Method described in part.
The dissemination method and device of a kind of front end version provided by the present invention are described in detail above, herein Apply that a specific example illustrates the principle and implementation of the invention, the explanation of above example is only intended to help Understand method and its core concept of the invention;At the same time, for those skilled in the art, according to the thought of the present invention, There will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as to this The limitation of invention.

Claims (10)

1. a kind of dissemination method of front end version characterized by comprising
When receiving the submission request to code document, the element for submitting each element in front end for including in request is obtained Information includes the current corresponding code of version to be released in front end in the code document;
According to the element information, presetting document template is called, generates code information text corresponding with the code document Shelves;
The code document is obtained, and the code document and the code information document are encapsulated as test code packet, in turn After the test code packet is by test, to the corresponding front end of the test code packet, currently version to be released is issued.
2. submitting the front end for including in request each the method according to claim 1, wherein the acquisition is described The element information of element, comprising:
Obtain the element identification for submitting the current each element to be updated in the front end for including in request;
According to each element identification, the element information of the current each element to be updated in front end is obtained.
3. method according to claim 1 or 2, which is characterized in that it is described according to the element information, it calls presetting Document template generates code information document corresponding with the code document, comprising:
According to the element information, each element in front end corresponding code in the code document is determined;
The corresponding code of each element is verified by preset verification rule;
When the corresponding code of each element is all satisfied the preset verification rule, presetting document template is called, is generated Code information document corresponding with the code document.
4. according to the method described in claim 3, it is characterized in that, described call presetting document template, generate with it is described The corresponding code information document of code document, comprising:
Determine the component attributes of each element;
According to the component attributes, each presetting document template corresponding with each element is selected;
According to the template style of each document template, its code information for corresponding to element is obtained, and the code information that will acquire is write Enter in the document template, generates code information document.
5. according to the method described in claim 4, it is characterized in that, described by the code document and the code information document It is encapsulated as test code packet, comprising:
Rule is verified by preset document quality, the code information document is verified;
When verification passes through, the code document and the code information document are encapsulated as test code packet.
6. according to the method described in claim 5, it is characterized in that, described by the code document and the code information document It is encapsulated as test code packet, comprising:
By in the code document, the corresponding code of each element code information document corresponding with the code is associated;
The code information document of each corresponding code of element and the associated codes is encapsulated as test code packet.
7. the method according to claim 1, wherein further include:
The publication data generated in the front end version issuing process are recorded, with according to the publication data to before described The mistake occurred in the version issuing process of end is corrected.
8. a kind of distributing device of front end version characterized by comprising
Acquiring unit, for obtaining the front end for including in the submission request when receiving the submission request to code document The element information of each element includes the current corresponding code of version to be released in front end in the code document;
Generation unit generates corresponding with the code document for calling presetting document template according to the element information Code information document;
Release unit is encapsulated as surveying for obtaining the code document, and by the code document and the code information document Code packet is tried, and then after the test code packet is by test, it is currently to be released to the corresponding front end of the test code packet Version is issued.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When control the publisher that the equipment where the storage medium executes the front end version as described in claim 1~7 any one Method.
10. a kind of electronic equipment, which is characterized in that including memory and one or more than one program, one of them Perhaps more than one program is stored in memory and is configured to be executed by one or more than one processor as right is wanted Seek the dissemination method of front end version described in 1~7 any one.
CN201811222825.2A 2018-10-19 2018-10-19 Method and device for releasing front-end version, storage medium and electronic equipment Active CN109408092B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811222825.2A CN109408092B (en) 2018-10-19 2018-10-19 Method and device for releasing front-end version, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811222825.2A CN109408092B (en) 2018-10-19 2018-10-19 Method and device for releasing front-end version, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN109408092A true CN109408092A (en) 2019-03-01
CN109408092B CN109408092B (en) 2022-08-19

Family

ID=65467901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811222825.2A Active CN109408092B (en) 2018-10-19 2018-10-19 Method and device for releasing front-end version, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN109408092B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362338A (en) * 2019-07-14 2019-10-22 广州泳泳信息科技有限公司 A kind of game resource packing and resource quick access method under mobile platform
CN111625222A (en) * 2020-05-26 2020-09-04 北京互金新融科技有限公司 On-line verification system and verification method for front-end codes
CN112463182A (en) * 2019-09-06 2021-03-09 英业达科技有限公司 Published file generation method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120102458A1 (en) * 2010-10-22 2012-04-26 Microsoft Corporation Generating documentation from tests
CN107256160A (en) * 2017-06-12 2017-10-17 郑州云海信息技术有限公司 A kind of code document generation method in continuous integrating, apparatus and system
CN107622375A (en) * 2017-08-01 2018-01-23 平安科技(深圳)有限公司 Document automatic creation method, document automatic generator and readable storage medium storing program for executing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120102458A1 (en) * 2010-10-22 2012-04-26 Microsoft Corporation Generating documentation from tests
CN107256160A (en) * 2017-06-12 2017-10-17 郑州云海信息技术有限公司 A kind of code document generation method in continuous integrating, apparatus and system
CN107622375A (en) * 2017-08-01 2018-01-23 平安科技(深圳)有限公司 Document automatic creation method, document automatic generator and readable storage medium storing program for executing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张海峰: "软件开发中的技术文档管理", 《沈阳工业大学学报》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362338A (en) * 2019-07-14 2019-10-22 广州泳泳信息科技有限公司 A kind of game resource packing and resource quick access method under mobile platform
CN110362338B (en) * 2019-07-14 2020-04-10 广州泳泳信息科技有限公司 Game resource packaging and resource quick access method under mobile platform
CN112463182A (en) * 2019-09-06 2021-03-09 英业达科技有限公司 Published file generation method
CN111625222A (en) * 2020-05-26 2020-09-04 北京互金新融科技有限公司 On-line verification system and verification method for front-end codes
CN111625222B (en) * 2020-05-26 2023-08-04 北京互金新融科技有限公司 Online verification system and method for front-end codes

Also Published As

Publication number Publication date
CN109408092B (en) 2022-08-19

Similar Documents

Publication Publication Date Title
US20210389943A1 (en) Resource processing using an intermediary for context-based customization of interaction deliverables
US9762552B2 (en) Efficient sensor data delivery
CN109656538A (en) Generation method, device, system, equipment and the medium of application program
CN103744680B (en) Method and device for business process processing
CN107967316A (en) A kind of method of data synchronization, equipment and computer-readable recording medium
CN109446072A (en) The generation method and device of test script
CN106796526A (en) JSON Stylesheet Language Transformations
CN103294485B (en) Web service method for packing and system for ABINIT concurrent computational system
CN107203424A (en) A kind of method and apparatus that deep learning operation is dispatched in distributed type assemblies
CN108647141A (en) Automatic test approach, device, computer-readable medium and electronic equipment
CN105849691A (en) Method and apparatus for code virtualization and remote process call generation
CN109408092A (en) Method and device, storage medium and the electronic equipment of front end version publication
US8752000B2 (en) Portal for automated software installation and configuration
CN108388515A (en) Test data generating method, device, equipment and computer readable storage medium
CN109799985A (en) Front-end code generation method and device, storage medium and electronic equipment
CN106529229B (en) The treating method and apparatus of permissions data
CN107861736A (en) Patch generates and update method and device, electronic equipment, storage medium
CN109558191A (en) A kind of method, apparatus, storage medium and computer equipment configuring the page
CN107506190A (en) XML file amending method and device based on Spring frameworks
CN110490450A (en) Biological information management system based on mixed cloud
CN109146650A (en) Call for bid creation method, device and the storage medium planned
CN107609109A (en) A kind of report form generation method, device and system
CN103294482B (en) Web service method for packing and system for PWscf concurrent computational system
CN108112268A (en) Management and the relevant load balancer of automatic expanded set
CN113535574B (en) Automatic generation method, device, equipment and medium for test user data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant