CN105843651B - A kind of methods, devices and systems of management continuous integrating processing script - Google Patents

A kind of methods, devices and systems of management continuous integrating processing script Download PDF

Info

Publication number
CN105843651B
CN105843651B CN201610203138.0A CN201610203138A CN105843651B CN 105843651 B CN105843651 B CN 105843651B CN 201610203138 A CN201610203138 A CN 201610203138A CN 105843651 B CN105843651 B CN 105843651B
Authority
CN
China
Prior art keywords
script
processing
update
business
storage address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610203138.0A
Other languages
Chinese (zh)
Other versions
CN105843651A (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.)
Guangzhou Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201610203138.0A priority Critical patent/CN105843651B/en
Publication of CN105843651A publication Critical patent/CN105843651A/en
Application granted granted Critical
Publication of CN105843651B publication Critical patent/CN105843651B/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

Abstract

The invention discloses a kind of methods, devices and systems of management continuous integrating processing script, belong to continuous integrating field.It, can be from the processing script of the specified proprietary processing of script storage location downloading service when proceeding to the proprietary processing of business the described method includes: continuous integrating server is in the continuous integrating treatment process of target service.Wherein, business development personnel can will write or the processing script of the proprietary processing of modified business is sent to specified script storage location, to be updated to the processing script of the proprietary processing of business.Using the present invention, business development personnel can only be updated the processing script of the proprietary processing of business, can not modify the processing script of common process, in this way, can guarantee being normally carried out for the continuous integrating processing of target service and other business simultaneously.

Description

A kind of methods, devices and systems of management continuous integrating processing script
Technical field
The present invention relates to continuous integrating field, in particular to the method, apparatus of a kind of management continuous integrating processing script and System.
Background technique
Continuous integrating processing is very important link in a kind of software development process, in continuous integrating processing, business Developer will write source code and be uploaded to continuous integrating server, and continuous integrating server can compile source code The continuous integratings processing such as translate, test, being packaged, to obtain the operating file of business.
Continuous integrating processing is generally divided into multiple processing steps, and the corresponding processing script of each processing step works as business When developer wants to adjust or add business corresponding processing step, need to obtain adjustment processing foot from continuous integrating server This modification authority.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
The process flow of continuous integrating processing may include multistep subprocessing, and subprocessing can be divided into two kinds, and one is not Common process that can be general with business, another kind can be answered with the proprietary processing of the business of specific business association, common process In the continuous integrating processing of a variety of different business, the proprietary processing of business be can be only applied at the continuous integrating of a certain business In reason.Based on above-mentioned modification processing script mode, business development personnel after obtaining modification authority can to common process with The proprietary processing of business is all modified, in this way, if business development personnel processing script corresponding to common process is modified, It is likely to affect being normally carried out for the continuous integrating processing of other business.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of sides of management continuous integrating processing script Method, device and system.The technical solution is as follows:
In a first aspect, providing a kind of method of management continuous integrating processing script, which comprises
Obtain the information of the processing script of the update of the proprietary processing of the first business in the continuous integrating processing of target service;
The corresponding relationship of the business of the target service according to the pre-stored data proprietary processing and script storage address, determines First business is proprietary to handle corresponding first script storage address;
The script for sending the target service to server updates request, the script update carried in request it is described more The information and the first script storage address of new processing script.
Optionally, the script updates the authentication information that user's input is also carried in request.
Optionally, the method also includes:
Storage address update message is received, the second industry of the target service is carried in the storage address update message It is engaged in the identification information and the second script storage address of proprietary processing;
By the corresponding script storage address of the proprietary processing of the second business described in the corresponding relationship, it is updated to described second Script storage address.
Optionally, the information of the processing script of the update is that the interior perhaps content of the processing script of the update obtains chain It connects.
Second aspect provides a kind of method of management continuous integrating processing script, which comprises
The script for receiving the target service that terminal is sent updates request, obtains the script and updates the update carried in request Processing script information and the first script storage address, the processing script of the update belongs to the lasting collection of the target service At the proprietary processing of the first business in processing;
According to the information of the processing script of the update, the processing script of the first script storage address storage is updated;
During the processing of the continuous integrating of the target service, when carrying out the proprietary processing of first business, adjust With and execute the processing script of the first script storage address storage.
Optionally, the script updates the authentication information that user's input is also carried in request;
The information of the processing script according to the update, updates the processing foot of the first script storage address storage This, comprising:
If authentication information authentication corresponding with the pre-stored proprietary processing of first business is believed Manner of breathing matching updates the processing foot of the first script storage address storage then according to the information of the processing script of the update This.
Optionally, the information of the processing script of the update is that the content of the processing script of the update obtains link;
The information of the processing script according to the update, updates the processing foot of the first script storage address storage This, comprising:
Link is obtained according to the content of the processing script of the update, obtains the processing script of the update, by described in more New processing script is stored to the corresponding memory space of the first script storage address.
The third aspect, provides a kind of terminal, and the terminal includes:
Module is obtained, the place of the update of the proprietary processing of the first business in continuous integrating processing for obtaining target service Manage the information of script;
Determining module, the proprietary processing of business and script storage address for the target service according to the pre-stored data Corresponding relationship determines the corresponding first script storage address of the proprietary processing of first business;
Sending module, the script for sending the target service to server update request, and the script updates request In carry the update processing script information and the first script storage address.
Optionally, the script updates the authentication information that user's input is also carried in request.
Optionally, the terminal further include:
Receiving module carries the mesh in the storage address update message for receiving storage address update message The identification information and the second script storage address of the proprietary processing of the second business of mark business;
Update module is used for the corresponding script storage address of the proprietary processing of the second business described in the corresponding relationship, It is updated to the second script storage address.
Optionally, the information of the processing script of the update is that the interior perhaps content of the processing script of the update obtains chain It connects.
Fourth aspect, provides a kind of server, and the server includes:
Receiving module updates request for receiving the script of target service of terminal transmission, obtains the script update and asks The information and the first script storage address of the processing script of the update of middle carrying are asked, the processing script of the update belongs to the mesh The proprietary processing of the first business in the continuous integrating processing of mark business;
Update module updates the first script storage address and deposits for the information for handling script according to the update The processing script of storage;
Calling module, for carrying out first business during processing of the continuous integrating of the target service When proprietary processing, the processing script of the first script storage address storage is called and executed.
Optionally, the script updates the authentication information that user's input is also carried in request;
The update module, is used for:
If authentication information authentication corresponding with the pre-stored proprietary processing of first business is believed Manner of breathing matching updates the processing foot of the first script storage address storage then according to the information of the processing script of the update This.
Optionally, the information of the processing script of the update is that the content of the processing script of the update obtains link;
The update module, is used for:
Link is obtained according to the content of the processing script of the update, obtains the processing script of the update, by described in more New processing script is stored to the corresponding memory space of the first script storage address.
5th aspect provides a kind of system of management continuous integrating processing script, and the method includes terminals and service Device, in which:
The terminal, the place of the update of the proprietary processing of the first business in continuous integrating processing for obtaining target service The information of script is managed, the proprietary processing of the business of the target service according to the pre-stored data is corresponding with script storage address to close System, determines the corresponding first script storage address of the proprietary processing of first business, and Xiang Suoshu server sends the target industry The script of business updates request, and the script updates the information that the processing script of the update is carried in request and first foot This storage address;
The server, the script for receiving the target service that the terminal is sent update request, obtain the script The information and the first script storage address for updating the processing script of the update carried in request, according to the processing script of the update Information, the processing script of the first script storage address storage is updated, when the continuous integrating processing in the target service During, when carrying out the proprietary processing of first business, call and execute the processing of the first script storage address storage Script.
Technical solution provided in an embodiment of the present invention has the benefit that
In the embodiment of the present invention, the update of the proprietary processing of the first business in the continuous integrating processing of target service is obtained Handle the information of script;The corresponding relationship of the business of target service according to the pre-stored data proprietary processing and script storage address, Determine the corresponding first script storage address of the proprietary processing of the first business;The script of target service is sent more to script storage platform New request, script update the information and the first script storage address that the processing script of update is carried in request.In this way, business is opened Hair personnel can be updated by processing script of the terminal to the proprietary processing of the business stored in server, can not be modified public The processing script of processing, thus, server can realize the same of the update to target service progress business continuous integrating processing When, guarantee being normally carried out for the continuous integrating processing of other business.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of method flow diagram of management continuous integrating processing script provided in an embodiment of the present invention;
Fig. 2 is a kind of system architecture schematic diagram of management continuous integrating processing script provided in an embodiment of the present invention;
Fig. 3 is a kind of system architecture schematic diagram of management continuous integrating processing script provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
The embodiment of the invention provides a kind of methods of management continuous integrating processing script, and this method can be by terminal kimonos Business device is realized jointly.Wherein, terminal can be business development personnel for carrying out the terminal of business development, can be computer, Tablet computer etc., server can be the continuous integrating server for carrying out continuous integrating processing, be also possible to handle for management The script management server of script.Processor, memory, transceiver can be set in terminal, processor can be used for managing Continuous integrating handles the relevant treatment of script, and memory can be used for storing the data for needing and generating in following treatment processes, Transceiver can be used for sending and receiving data.It is also provided with biological recognition member, biological recognition member can be used for examining Survey biological information currently entered.Processor, memory, transceiver can be set in server, processor can be used In the relevant treatment for updating or raising processing script, memory can be used for storing the number for needing and generating in following treatment processes According to transceiver can be used for sending and receiving data.The framework of system can be as shown in Fig. 2 or Fig. 3.
Below in conjunction with specific embodiment, process flow shown in FIG. 1 is described in detail, content can be as Under:
Step 101, the processing foot of the update of the proprietary processing of the first business in the continuous integrating processing of target service is obtained This information.
In an implementation, with the continuous development of software development technique, the scale of exploitation is increasing, and general business is corresponding with Huge development teams, the business development personnel in development teams are each responsible for partial service link, and when business development, personnel can The source code of personal research and development part is frequently uploaded to continuous integrating server, continuous integrating server can be researched and developed individual It is partially integrated into business entirety progress continuous integrating processing, i.e., code is compiled, tested, is packaged etc. and handle, with as early as possible The source code newly uploaded is detected with the presence or absence of problem.Since the step of continuous integrating is handled between business has differences, generally require Independent step building is carried out to different business, but in view of different business can be related to some general continuous integrating processing (such as different business requires to carry out the compiling of code, is packaged processing), can be first more for concentration differentiation Business defines several general continuous integrating configurations.For example, general lasting collection can be respectively set for every kind of programming language At configuration.Later, on the basis of general continuous integrating configuration, step building personnel can be further according to different business to holding Sequel is adjusted at the step of processing.After the continuous integrating processing that target service has been determined, continuous integrating server can be with It obtains each continuous integrating and handles corresponding processing script, and then these processing scripts can be executed and carry out corresponding continuous integrating Processing.Continuous integrating processing can be divided into the common process that different business can be general and proprietary with the business of specific business association Processing business developer can voluntarily write the processing script of the proprietary processing of business, after the completion of writing, terminal at the terminal Then the available information to the processing script determines target industry corresponding to the processing script according to the information of processing script Business and the proprietary processing of the first business.Herein, which can be the processing script that business development personnel write for the first time, It is also possible to the processing script updated.
Step 102, the corresponding relationship of the business of target service according to the pre-stored data proprietary processing and script storage address, Determine the corresponding first script storage address of the proprietary processing of the first business.
In an implementation, the corresponding processing script of common process in continuous integrating processing can uniformly be stored in continuous integrating In server, only after getting modification authority at continuous integrating server, user just can be to the processing of common process Script is modified.And the proprietary processing of business can store in continuous integrating server, also can store and takes in continuous integrating Other memory spaces except business device, meanwhile, in the step of step building personnel have constructed the continuous integrating processing of target service Afterwards, the corresponding relationship of the business proprietary processing and script storage address of target service can be set, which can be step What rapid building personnel specified, it can also be provided by business development personnel, wherein the proprietary processing of the business of target service and script The corresponding relationship of storage address can be as shown in table 1.After determining above-mentioned corresponding relationship, it can be deposited in terminal and server Store up the corresponding relationship.In turn, the update of the proprietary processing of the first business of the continuous integrating processing of target service is got in terminal Processing script information after, can determine that corresponding first script of the proprietary processing of the first business is deposited according to above-mentioned corresponding relationship Store up address.
Table 1
It optionally, can the proprietary processing of business to the target service stored in terminal pass corresponding with script storage address System is updated, and corresponding processing, which can be such that, receives storage address update message, carries mesh in storage address update message The identification information and the second script storage address of the proprietary processing of the second business of mark business;Second business in corresponding relationship is proprietary Corresponding script storage address is handled, the second script storage address is updated to.
In an implementation, when the corresponding relationship of the proprietary processing of the business of server side and script storage address changes, Server can send storage address update message to terminal, and the business of the business can be carried in storage address update message The identification information and new script storage address (i.e. the second script storage address) of proprietary processing (i.e. the proprietary processing of the second business), eventually End can correspond to the proprietary processing of the second business in the corresponding relationship originally stored after receiving the storage address update message Script storage address be updated to the second script storage address.
Step 103, request is updated to the script that server sends target service, script, which updates in request, carries update Handle the information and the first script storage address of script.
In an implementation, terminal, then can be to first after the first script storage address of processing script of update has been determined The script that the corresponding server of script storage address (i.e. script storage platform) sends target service updates request, wherein script Update the information and the first script storage address that the processing script of update can be carried in request.
Optionally, in order to guarantee handle script safety, business development personnel can be required in upload process script Authentication information is inputted, correspondingly, script updates the authentication information for also carrying user's input in request.
In an implementation, before terminal updates request to the script that script storage platform sends target service, body can be opened Part verifying page, business development personnel can input authentication information in the authentication page, after the completion of input, industry Business developer can click upload key, and authentication information can be then added to script and updated in request by terminal, and will Script updates request and is sent to server.
Step 104, the script for the target service that reception terminal is sent updates request, carries in acquisition script update request The information and the first script storage address of the processing script of update, the processing script of update belong at the continuous integrating of target service The proprietary processing of the first business in reason.
In an implementation, after terminal has sent script update request, server can receive the script of terminal transmission Request is updated, the information and the first script storage address of the processing script of update therein are then obtained, while can determine this Handle the proprietary processing of the first business in the processing of target service continuous integrating corresponding to script.
Step 105, according to the information of the processing script of update, the processing script of the first script storage address storage is updated.
In an implementation, server, can be according to the processing foot of update after getting the information of processing script of update This information, is updated the processing script in the corresponding memory space of the first script storage address.Herein, it can choose and delete Except processing script original in the memory space, original processing script in the memory space can also be retained, and at these Reason script is ranked up according to storage time.
Optionally, the case where request kind carries authentication information updated for above-mentioned script, server is can be first Identity information is verified, correspondingly, the processing of step 105 can be such that if authentication information and pre-stored first industry The corresponding authentication information of proprietary processing of being engaged in matches, then according to the information of the processing script of update, updates the first script and deposit Store up the processing script of address storage.
In an implementation, the corresponding authentication information of the proprietary processing of each business, clothes can be previously stored in server Business device is in the information of processing script for getting update, while available script updates the authentication letter carried in request Breath, can if authentication information authentication information corresponding with the proprietary processing of pre-stored first business matches Carried out more to the processing script in the corresponding memory space of the first script storage address according to the information of the processing script of update Newly.If authentication information authentication information corresponding with the proprietary processing of pre-stored first business mismatches, refuse Processing script in the corresponding memory space of absolute script storage address carries out any processing.
Step 106, it during the processing of the continuous integrating of target service, when carrying out the proprietary processing of the first business, adjusts With and execute the first script storage address storage processing script.
In an implementation, continuous integrating server, can be according to setting in the continuous integrating processing for carrying out target service in advance The step of fixed continuous integrating is handled, obtains from the corresponding script storage address of each processing step respectively and executes processing foot This.Correspondingly, can call and execute the processing of the first script storage address storage when proceeding to the proprietary processing of the first business Script.
In addition, the processing of above-mentioned steps 101 to step 106 can be equally used for realizing the processing of addition processing script.Tool The difference of body is, may include having the proprietary processing of the corresponding business of processing script in mesh in the information of the processing script of update Position in the continuous integrating processing of mark business can be in target industry after server gets the information of processing script of update The continuous integrating of business handles and adds the proprietary processing of the business at corresponding position.In addition, server can be exclusively for each business The memory space for setting the processing script of addition can be by the processing script of the addition after having added the proprietary processing of the business The proprietary processing of business for being stored in target service corresponding with the proprietary processing of business of corresponding script storage address and script storage ground In the mapping table of location.
Optionally, the information of the processing script updated in step 101 to step 106 can be in the processing script of update Perhaps content obtains link, so that the processing of step 106 can be with are as follows: if the information of the processing script updated is the processing of update The content of script, then by the processing script storage of update to the corresponding memory space of the first script storage address;If updated The information of processing script is that the content of the processing script updated obtains link, then obtains chain according to the content of the processing script of update It connects, obtains the processing script of update, by the processing script storage of update to the corresponding memory space of the first script storage address.
In an implementation, on the one hand, if what is carried in the script update request that terminal is sent is the processing script updated Content, server then can be after receiving script and updating request by the processing script storage of update to the first script storage address Corresponding memory space.On the other hand, processing script can be uploaded to it after having write processing script by business development personnel His storage address, the script that then terminal is sent update link information (the i.e. content that above-mentioned storage address can be carried in request Obtain link), server can obtain link according to the content of the processing script of update later, the processing script of update is obtained, By the processing script storage of update to the corresponding memory space of the first script storage address.
In the embodiment of the present invention, the update of the proprietary processing of the first business in the continuous integrating processing of target service is obtained Handle the information of script;The corresponding relationship of the business of target service according to the pre-stored data proprietary processing and script storage address, Determine the corresponding first script storage address of the proprietary processing of the first business;The script of target service is sent more to script storage platform New request, script update the information and the first script storage address that the processing script of update is carried in request.In this way, business is opened Hair personnel can be updated by processing script of the terminal to the proprietary processing of the business stored in server, can not be modified public The processing script of processing, thus, server can realize the same of the update to target service progress business continuous integrating processing When, it ensure that being normally carried out for the continuous integrating processing of other business.
Based on the same technical idea, the embodiment of the invention also provides a kind of terminals, as shown in figure 4, the terminal packet It includes:
Module 401 is obtained, the update of the proprietary processing of the first business in continuous integrating processing for obtaining target service Processing script information;
Determining module 402, the proprietary processing of business and script storage ground for the target service according to the pre-stored data The corresponding relationship of location determines the corresponding first script storage address of the proprietary processing of first business;
Sending module 403, the script for sending the target service to server update request, and the script update is asked The information and the first script storage address of the processing script of the update are carried in asking.
Optionally, the script updates the authentication information that user's input is also carried in request.
Optionally, as shown in figure 5, the terminal further include:
Receiving module 404 carries described for receiving storage address update message in the storage address update message The identification information and the second script storage address of the proprietary processing of the second business of target service;
Update module 405, for by the corresponding script storage of the proprietary processing of the second business described in the corresponding relationship Location is updated to the second script storage address.
Optionally, the information of the processing script of the update is that the interior perhaps content of the processing script of the update obtains chain It connects.
Based on the same technical idea, the embodiment of the invention also provides a kind of servers, as shown in fig. 6, the server Include:
Receiving module 601 updates request for receiving the script of target service of terminal transmission, obtains the script and update The information and the first script storage address of the processing script of the update carried in request, the processing script of the update belongs to described The proprietary processing of the first business in the continuous integrating processing of target service;
Update module 602 updates the first script storage address for the information for handling script according to the update The processing script of storage;
Calling module 603, for carrying out first industry during processing of the continuous integrating of the target service Be engaged in proprietary processing when, call and execute the processing script of the first script storage address storage.
Optionally, the script updates the authentication information that user's input is also carried in request;
The update module 602, is used for:
If authentication information authentication corresponding with the pre-stored proprietary processing of first business is believed Manner of breathing matching updates the processing foot of the first script storage address storage then according to the information of the processing script of the update This.
Optionally, the information of the processing script of the update is that the content of the processing script of the update obtains link;
The update module 602, is used for:
Link is obtained according to the content of the processing script of the update, obtains the processing script of the update, by described in more New processing script is stored to the corresponding memory space of the first script storage address.
In the embodiment of the present invention, the update of the proprietary processing of the first business in the continuous integrating processing of target service is obtained Handle the information of script;The corresponding relationship of the business of target service according to the pre-stored data proprietary processing and script storage address, Determine the corresponding first script storage address of the proprietary processing of the first business;The script of target service is sent more to script storage platform New request, script update the information and the first script storage address that the processing script of update is carried in request.In this way, business is opened Hair personnel can be updated by processing script of the terminal to the proprietary processing of the business stored in server, can not be modified public The processing script of processing, thus, server can realize the same of the update to target service progress business continuous integrating processing When, it ensure that being normally carried out for the continuous integrating processing of other business.
It should be understood that the device of management continuous integrating processing script provided by the above embodiment is in management continuous integrating Handle script when, only the example of the division of the above functional modules, in practical application, can according to need and will be upper It states function distribution to be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete All or part of function described above.In addition, it is provided by the above embodiment management continuous integrating processing script device with The embodiment of the method for management continuous integrating processing script belongs to same design, and specific implementation process is detailed in embodiment of the method, this In repeat no more.
The embodiment of the invention also provides a kind of terminals, referring to FIG. 7, it illustrates have involved in the embodiment of the present invention There is the terminal structure schematic diagram of touch sensitive surface, the carry out business processing which can be used for implementing providing in above-described embodiment Method.Specifically:
Terminal 700 may include RF (Radio Frequency, radio frequency) circuit 110, include one or more meter The memory 120 of calculation machine readable storage medium storing program for executing, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, the processing for including one or more than one processing core The components such as device 180 and power supply 190.It will be understood by those skilled in the art that terminal structure shown in Fig. 7 is not constituted pair The restriction of terminal may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.Wherein:
RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent to Base station.In general, RF circuit 110 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication.The wireless communication can make With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation Software program and module, thereby executing various function application and data processing.Memory 120 can mainly include storage Program area and storage data area, wherein storing program area can application program needed for storage program area, at least one function (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored to be created according to using for terminal 700 Data (such as audio data, phone directory etc.) etc..In addition, memory 120 may include high-speed random access memory, may be used also To include nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and 130 pairs of input unit storages The access of device 120.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and terminal 700 that are supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof. Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal Display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects touching on it or nearby After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing device 180 according to the type of touch event Corresponding visual output is provided on display panel 141.Although touch sensitive surface 131 and display panel 141 are conducts in Fig. 7 Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 700 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 700 is moved in one's ear Panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally Three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensors that terminal 700 can also configure, herein It repeats no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 700.Audio Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to sound by loudspeaker 161 by circuit 160 Sound signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160 Audio data is converted to, then by after the processing of audio data output processor 180, such as another end is sent to through RF circuit 110 End, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earphone jack, To provide the communication of peripheral hardware earphone Yu terminal 700.
WiFi belongs to short range wireless transmission technology, and terminal 700 can help user's transceiver electronics by WiFi module 170 Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 7 is shown WiFi module 170, but it is understood that, and it is not belonging to must be configured into for terminal 700, it can according to need completely It omits within the scope of not changing the essence of the invention.
Processor 180 is the control centre of terminal 700, utilizes each portion of various interfaces and connection whole mobile phone Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120 Interior data execute the various functions and processing data of terminal 700, to carry out integral monitoring to mobile phone.Optionally, processor 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor, Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing Line communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 700 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or AC power source, recharging system, power supply event Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal 700 can also include camera, bluetooth module etc., and details are not described herein.Specifically in this reality It applies in example, the display unit of terminal 700 is touch-screen display, and terminal 700 further includes having memory and one or one Above program, one of them perhaps more than one program be stored in memory and be configured to by one or one with Upper processor execution states one or more than one program includes the instruction for performing the following operation:
Obtain the information of the processing script of the update of the proprietary processing of the first business in the continuous integrating processing of target service;
The corresponding relationship of the business of the target service according to the pre-stored data proprietary processing and script storage address, determines First business is proprietary to handle corresponding first script storage address;
The script for sending the target service to server updates request, the script update carried in request it is described more The information and the first script storage address of new processing script.
Optionally, the script updates the authentication information that user's input is also carried in request.
Optionally, the method also includes:
Storage address update message is received, the second industry of the target service is carried in the storage address update message It is engaged in the identification information and the second script storage address of proprietary processing;
By the corresponding script storage address of the proprietary processing of the second business described in the corresponding relationship, it is updated to described second Script storage address.
Optionally, the information of the processing script of the update is that the interior perhaps content of the processing script of the update obtains chain It connects.
In the embodiment of the present invention, the update of the proprietary processing of the first business in the continuous integrating processing of target service is obtained Handle the information of script;The corresponding relationship of the business of target service according to the pre-stored data proprietary processing and script storage address, Determine the corresponding first script storage address of the proprietary processing of the first business;The script of target service is sent more to script storage platform New request, script update the information and the first script storage address that the processing script of update is carried in request.In this way, business is opened Hair personnel can be updated by processing script of the terminal to the proprietary processing of the business stored in server, can not be modified public The processing script of processing, thus, server can realize the same of the update to target service progress business continuous integrating processing When, it ensure that being normally carried out for the continuous integrating processing of other business.
The embodiment of the invention also provides a kind of server, Fig. 8 is that the structure of server provided in an embodiment of the present invention is shown It is intended to.The server 800 can generate bigger difference because configuration or performance are different, may include in one or more Central processor (central processing units, CPU) 822 (for example, one or more processors) and memory 832, one or more storage application programs 842 or data 844 storage medium 830 (such as one or more sea Amount storage equipment).Wherein, memory 832 and storage medium 830 can be of short duration storage or persistent storage.Storage is stored in be situated between The program of matter 830 may include one or more modules (diagram does not mark), and each module may include in server Series of instructions operation.Further, central processing unit 822 can be set to communicate with storage medium 830, in server The series of instructions operation in storage medium 830 is executed on 800.
Server 800 can also include one or more power supplys 826, one or more wired or wireless networks Interface 850, one or more input/output interfaces 858, one or more keyboards 856, and/or, one or one Above operating system 841, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc. Deng.
Server 800 may include having perhaps one of them or one of more than one program of memory and one Procedure above is stored in memory, and is configured to execute one or one by one or more than one processor Procedure above includes the instruction for performing the following operation:
The script for receiving the target service that terminal is sent updates request, obtains the script and updates the update carried in request Processing script information and the first script storage address, the processing script of the update belongs to the lasting collection of the target service At the proprietary processing of the first business in processing;
According to the information of the processing script of the update, the processing script of the first script storage address storage is updated;
During the processing of the continuous integrating of the target service, when carrying out the proprietary processing of first business, adjust With and execute the processing script of the first script storage address storage.
Optionally, the script updates the authentication information that user's input is also carried in request;
The information of the processing script according to the update, updates the processing foot of the first script storage address storage This, comprising:
If authentication information authentication corresponding with the pre-stored proprietary processing of first business is believed Manner of breathing matching updates the processing foot of the first script storage address storage then according to the information of the processing script of the update This.
Optionally, the information of the processing script of the update is that the content of the processing script of the update obtains link;
The information of the processing script according to the update, updates the processing foot of the first script storage address storage This, comprising:
Link is obtained according to the content of the processing script of the update, obtains the processing script of the update, by described in more New processing script is stored to the corresponding memory space of the first script storage address.
In the embodiment of the present invention, the update of the proprietary processing of the first business in the continuous integrating processing of target service is obtained Handle the information of script;The corresponding relationship of the business of target service according to the pre-stored data proprietary processing and script storage address, Determine the corresponding first script storage address of the proprietary processing of the first business;The script of target service is sent more to script storage platform New request, script update the information and the first script storage address that the processing script of update is carried in request.In this way, business is opened Hair personnel can be updated by processing script of the terminal to the proprietary processing of the business stored in server, can not be modified public The processing script of processing, thus, server can realize the same of the update to target service progress business continuous integrating processing When, it ensure that being normally carried out for the continuous integrating processing of other business.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (15)

1. a kind of method of management continuous integrating processing script, which is characterized in that the described method includes:
Obtain the information of the processing script of the update of the proprietary processing of the first business in the continuous integrating processing of target service;
The proprietary processing of the business of the target service according to the pre-stored data and the corresponding relationship of script storage address, determine described in The corresponding first script storage address of the proprietary processing of first business;
The script for sending the target service to server updates request, and the script, which updates in request, carries first industry Be engaged in proprietary processing update processing script information and the first script storage address, the script updates not to be taken in request The information of the processing script of update with the common process in continuous integrating processing, the corresponding processing foot of the common process It originally is to decide whether to be modifiable by the user according to whether user from the server gets modification authority.
2. the method according to claim 1, wherein the script, which updates, also carries user's input in request Authentication information.
3. the method according to claim 1, wherein the method also includes:
Storage address update message is received, the second business that the target service is carried in the storage address update message is special There are the identification information and the second script storage address of processing;
By the corresponding script storage address of the proprietary processing of the second business described in the corresponding relationship, it is updated to second script Storage address.
4. the method according to claim 1, wherein the information of the processing script of the update is the update The interior perhaps content for handling script obtains link.
5. a kind of method of management continuous integrating processing script, which is characterized in that the described method includes:
The script for receiving the target service that terminal is sent updates request, obtains the place that the script updates the update carried in request The information and the first script storage address of script are managed, the processing script of the update belongs at the continuous integrating of the target service The proprietary processing of the first business in reason, wherein do not carried in the script update request public in the continuous integrating processing The information of the processing script of the update of processing, the corresponding processing script of the common process be according to user whether from server Modification authority is got to decide whether can be modifiable by the user;
According to the information of the processing script of the update, the processing script of the first script storage address storage is updated;
During the processing of the continuous integrating of the target service, when carrying out the proprietary processing of first business, call simultaneously Execute the processing script of the first script storage address storage.
6. according to the method described in claim 5, it is characterized in that, the script, which updates, also carries user's input in request Authentication information;
The information of the processing script according to the update, updates the processing script of the first script storage address storage, Include:
If authentication information authentication information phase corresponding with the pre-stored proprietary processing of first business Matching updates the processing script of the first script storage address storage then according to the information of the processing script of the update.
7. according to the method described in claim 5, it is characterized in that, the information of the processing script of the update is the update The content for handling script obtains link;
The information of the processing script according to the update, updates the processing script of the first script storage address storage, Include:
Link is obtained according to the content of the processing script of the update, the processing script of the update is obtained, by the update Script storage is handled to the corresponding memory space of the first script storage address.
8. a kind of terminal, which is characterized in that the terminal includes:
Module is obtained, the processing foot of the update of the proprietary processing of the first business in continuous integrating processing for obtaining target service This information;
Determining module, the proprietary processing of business for the target service according to the pre-stored data are corresponding with script storage address Relationship determines the corresponding first script storage address of the proprietary processing of first business;
Sending module, the script for sending the target service to server update request, and the script updates to be taken in request The information and the first script storage address of the processing script of update with the proprietary processing of the first business, the script Update the information for not carrying the processing script of update of the common process in the continuous integrating processing in request, the public place Manage corresponding processing script be according to user whether from the server get modification authority decide whether can by with Family modification.
9. terminal according to claim 8, which is characterized in that the script, which updates, also carries user's input in request Authentication information.
10. terminal according to claim 8, which is characterized in that the terminal further include:
Receiving module carries the target industry for receiving storage address update message in the storage address update message The identification information and the second script storage address of the proprietary processing of the second business of business;
Update module, for updating the corresponding script storage address of the proprietary processing of the second business described in the corresponding relationship For the second script storage address.
11. terminal according to claim 8, which is characterized in that the information of the processing script of the update is the update Processing script interior perhaps content obtain link.
12. a kind of server, which is characterized in that the server includes:
Receiving module updates request for receiving the script of target service of terminal transmission, obtains the script and update in request The information and the first script storage address of the processing script of the update of carrying, the processing script of the update belong to the target industry The proprietary processing of the first business in the continuous integrating processing of business, wherein the script, which updates in request, does not carry the lasting collection At the information of the processing script of the update of the common process in processing, the corresponding processing script of the common process is according to user Modification authority whether is got from the server to decide whether can be modifiable by the user;
Update module updates the first script storage address storage for the information for handling script according to the update Handle script;
Calling module, for it is proprietary to carry out first business during processing of the continuous integrating of the target service When processing, the processing script of the first script storage address storage is called and executed.
13. server according to claim 12, which is characterized in that it is defeated also to carry user in the script update request The authentication information entered;
The update module, is used for:
If authentication information authentication information phase corresponding with the pre-stored proprietary processing of first business Matching updates the processing script of the first script storage address storage then according to the information of the processing script of the update.
14. server according to claim 12, which is characterized in that the information of the processing script of the update be it is described more The content of new processing script obtains link;
The update module, is used for:
Link is obtained according to the content of the processing script of the update, the processing script of the update is obtained, by the update Script storage is handled to the corresponding memory space of the first script storage address.
15. a kind of system of management continuous integrating processing script, which is characterized in that the system comprises terminal and server, In:
The terminal, the processing foot of the update of the proprietary processing of the first business in continuous integrating processing for obtaining target service This information, the corresponding relationship of the business of the target service according to the pre-stored data proprietary processing and script storage address, really Fixed first business is proprietary to handle corresponding first script storage address, and Xiang Suoshu server sends the foot of the target service This update request, the script update the information and first script storage that the processing script of the update is carried in request Address, the script update the letter for not carrying the processing script of update of the common process in the continuous integrating processing in request Breath, the corresponding processing script of the common process are determined according to whether user from the server gets modification authority Whether can be modifiable by the user;
The server, the script for receiving the target service that the terminal is sent update request, obtain the script and update The information and the first script storage address of the processing script of the update carried in request, according to the letter of the processing script of the update Breath updates the processing script of the first script storage address storage, when the mistake of the continuous integrating processing in the target service Cheng Zhong calls and executes the processing script of the first script storage address storage when carrying out the proprietary processing of first business.
CN201610203138.0A 2016-03-31 2016-03-31 A kind of methods, devices and systems of management continuous integrating processing script Active CN105843651B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610203138.0A CN105843651B (en) 2016-03-31 2016-03-31 A kind of methods, devices and systems of management continuous integrating processing script

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610203138.0A CN105843651B (en) 2016-03-31 2016-03-31 A kind of methods, devices and systems of management continuous integrating processing script

Publications (2)

Publication Number Publication Date
CN105843651A CN105843651A (en) 2016-08-10
CN105843651B true CN105843651B (en) 2019-10-11

Family

ID=56596585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610203138.0A Active CN105843651B (en) 2016-03-31 2016-03-31 A kind of methods, devices and systems of management continuous integrating processing script

Country Status (1)

Country Link
CN (1) CN105843651B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413262A (en) * 2019-07-23 2019-11-05 北京启迪区块链科技发展有限公司 A kind of management method of business function, apparatus and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880546A (en) * 2012-09-03 2013-01-16 上海方正数字出版技术有限公司 Software integration testing method and system based on extensible markup language (XML) database
CN104125504A (en) * 2014-07-24 2014-10-29 海信集团有限公司 Deployment method, device and system based on continuous integration
CN104423960A (en) * 2013-09-10 2015-03-18 阿里巴巴集团控股有限公司 Continuous project integration method and continuous project integration system
CN104778032A (en) * 2014-01-09 2015-07-15 阿尔卡特朗讯 Method and equipment used for carrying out continuous integration

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070240209A1 (en) * 2006-04-05 2007-10-11 Lewis Adam C Session persistence on a wireless network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880546A (en) * 2012-09-03 2013-01-16 上海方正数字出版技术有限公司 Software integration testing method and system based on extensible markup language (XML) database
CN104423960A (en) * 2013-09-10 2015-03-18 阿里巴巴集团控股有限公司 Continuous project integration method and continuous project integration system
CN104778032A (en) * 2014-01-09 2015-07-15 阿尔卡特朗讯 Method and equipment used for carrying out continuous integration
CN104125504A (en) * 2014-07-24 2014-10-29 海信集团有限公司 Deployment method, device and system based on continuous integration

Also Published As

Publication number Publication date
CN105843651A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN106778585B (en) A kind of face key point-tracking method and device
CN105824958B (en) A kind of methods, devices and systems of inquiry log
CN104965721B (en) The method and device that a kind of pair of application program is updated
CN105320598B (en) Method for testing software and device
CN104850434B (en) Multimedia resource method for down loading and device
CN104639672B (en) The method and apparatus for carrying out domain name mapping
CN106502906B (en) A kind of method and apparatus of test application program
CN104636047B (en) The method, apparatus and touch screen terminal operated to the object in list
CN104852885B (en) Method, device and system for verifying verification code
CN107357725B (en) Application testing method and device
CN106126411B (en) The method and apparatus that a kind of pair of tested program code is tested
CN104965722B (en) A kind of method and device of display information
CN106294168B (en) A kind of method and system carrying out Application testing
CN105530239B (en) Multi-medium data acquisition methods and device
CN108228230A (en) Upgrade method, terminal and the computer readable storage medium of UFS firmwares
CN106131930A (en) A kind of WiFi network connection control method, device and terminal
CN108536594A (en) Page test method, device and storage device
CN103631625B (en) A kind of method of data acquisition, user terminal, server and system
CN107273139A (en) A kind of method for updating system, equipment and computer-readable recording medium
CN104253870B (en) The method and apparatus of control data access cycle
CN104699501B (en) A kind of method and device for running application program
CN106713608A (en) Application function state modifying method and apparatus, and terminal
CN107219951A (en) Touch screen control method, device, storage medium and terminal device
US20160308879A1 (en) Application-Based Service Providing Method, Apparatus, and System
CN105808043B (en) A kind of setting method and mobile terminal of terminal applies

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20160810

Assignee: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Assignor: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

Contract record no.: X2021980000151

Denomination of invention: A method, device and system for managing continuous integration processing scripts

Granted publication date: 20191011

License type: Common License

Record date: 20210107

EE01 Entry into force of recordation of patent licensing contract