CN108829439A - A kind of code dissemination method and device - Google Patents
A kind of code dissemination method and device Download PDFInfo
- Publication number
- CN108829439A CN108829439A CN201810653445.8A CN201810653445A CN108829439A CN 108829439 A CN108829439 A CN 108829439A CN 201810653445 A CN201810653445 A CN 201810653445A CN 108829439 A CN108829439 A CN 108829439A
- Authority
- CN
- China
- Prior art keywords
- code
- identifying code
- delivery system
- identifying
- effective
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
- G06F11/3628—Software debugging of optimised code
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/76—Adapting program code to run in a different environment; Porting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2133—Verifying human interaction, e.g., Captcha
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Quality & Reliability (AREA)
- Information Transfer Between Computers (AREA)
Abstract
This application discloses a kind of code dissemination method and devices, the identifying code of user's input is received first, then judge whether the identifying code is identical as the identifying code generated before system, the identifying code has attribute information, the attribute information includes effective access times and effective storage life, if they are the same, then in the effective access times and effective storage life of the identifying code, the interface of code delivery system is called, so that the publication of process completion code is issued in code publication operation or preset code that code delivery system is inputted according to user automatically.This method and device distribute the interim operating right of code delivery system by identifying code, it is precisely controlled the interim operating right of code delivery system by effective access times and effective storage life, developer can be evaded accompanies operation maintenance personnel and be lined up arranging online to operate the low efficiency that occurs and the serious problem of waste of human resource.
Description
Technical field
The present invention relates to research and development of software fields, and more specifically, it relates to a kind of code dissemination method and device
Background technique
Code publication, also referred to as code on-line, in entire research and development of software process, code is issued as in software development cycle
Final link, and finally to user present development an important link.
In the prior art, code on-line is typically all to be sought unity of action online operation by related operation maintenance personnel, during this,
Need developer constantly accompany operation maintenance personnel at one's side.If the same time has a large amount of project to need online, exploit person
Member needs to wait in line the online operation that operation maintenance personnel successively executes disparity items.This code managed concentratedly by O&M department
Online scheme not only inefficiency, and will cause serious waste of human resource in waiting process.
Summary of the invention
In view of this, the present invention provides a kind of code dissemination method and device, to overcome code on-line in the prior art
Existing low efficiency and the serious problem of waste of human resource.
To achieve the above object, the present invention provides the following technical solutions:
A kind of code dissemination method, including:
Receive the identifying code of user's input;
Judge whether the identifying code is identical as the identifying code generated before system, and the identifying code has attribute information,
The attribute information includes effective access times and effective storage life;
If they are the same, judge whether effective access times of the identifying code have used;
Effective access times and effectively use if effective access times of identifying code have been not used, in the identifying code
In time, call the interface of code delivery system so that the code publication that code delivery system input according to user operate or
Preset code issues the publication of process completion code automatically.
Optionally, the identifying code is matched with authorization project, and the authorization project is the project that examination & approval pass through, then it is described
In the effective access times and effective storage life of the identifying code, code delivery system interface is called, including:
In the effective access times and effective storage life of the identifying code, the matched grant item of the identifying code is called
The interface of destination code delivery system.
Optionally, the code dissemination method further includes:
User is obtained during input code is issued and operated, the operation log of code delivery system record.
Optionally, described in the effective access times and effective storage life of the identifying code, call code publication system
The interface of system, including:
In the interface procedure for calling code delivery system, identifying code use information, the identifying code use information are recorded
Including access times and use the time;
After the interface for calling code delivery system using the identifying code every time, if calling the interface of code delivery system
Time be more than the effective storage life, then close the interface of code delivery system;
If the access times of the identifying code reach effective access times, set unavailable for the identifying code
State.
Optionally, the code dissemination method further includes:
After the preset time after fixed cycle time point or the generation identifying code, set the identifying code to not
Available mode.
Optionally, before the identifying code of the reception user input, the code dissemination method further includes:
The online application of reception project;
The online application after the approval, generate corresponding with the online application of project identifying code;
The identifying code is sent to applicant terminal.
Optionally, described in the effective access times and effective storage life of the identifying code, call code publication system
The interface of system includes:
In the effective access times and effective storage life of the identifying code, by the interface for calling code delivery system
It triggers preset code and issues process automatically.
A kind of code distributing device, including:
Information receiving module, for receiving the identifying code of user's input;
Signal judgement module, it is described to test for judging whether the identifying code is identical as the identifying code generated before system
Demonstrate,proving code has attribute information, and the attribute information includes effective access times and effective storage life;
Number judgment module is when being, to judge the identifying code for the judging result in the signal judgement module
Whether effective access times have used;
System calling module, for the judging result in the number judgment module be it is no when, in having for the identifying code
It imitates in access times and effective storage life, the interface of code delivery system is called, so that code delivery system is according to user
The code publication operation of input or preset code issue the publication of process completion code automatically.
A kind of computer readable storage medium, is stored thereon with computer program, realization when which is executed by processor
Code dissemination method described in any of the above-described kind.
A kind of electronic equipment, including:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor be configured to execute any of the above-described kind via the executable instruction is executed described in code
Dissemination method.
It can be seen via above technical scheme that compared with prior art, the embodiment of the invention discloses a kind of publications of code
Method and device, the first identifying code of reception user input, then judge whether the identifying code is tested with what is generated before system
It is identical to demonstrate,prove code, the identifying code has attribute information, and the attribute information includes effective access times and effective storage life, if
It is identical, then in the effective access times and effective storage life of the identifying code, the interface of code delivery system is called, so that
Code delivery system input according to user code publication operation or preset code issue automatically process completion code issue.
This method and device distribute the interim operating right of code delivery system by identifying code, by effective access times and effectively
It is precisely controlled the interim operating right of code delivery system using the time, developer can be evaded and accompany operation maintenance personnel queuing
The serious problem of the low efficiency and waste of human resource for arranging online operation to occur.
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 flow chart of code dissemination method disclosed by the embodiments of the present invention;
Fig. 2 is the flow chart of code disclosed by the embodiments of the present invention publication;
Fig. 3 is the flow chart of another code dissemination method disclosed by the embodiments of the present invention;
Fig. 4 is the flow chart of another code dissemination method disclosed by the embodiments of the present invention;
Fig. 5 is a kind of structural schematic diagram of code distributing device disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of code release module disclosed by the embodiments of the present invention;
Fig. 7 is the structural schematic diagram of another code distributing device disclosed by the embodiments of the present invention;
Fig. 8 is the structural schematic diagram of another code distributing device disclosed by the embodiments of the present 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.
Fig. 1 is a kind of flow chart of code dissemination method disclosed by the embodiments of the present invention, shown in Figure 1, code publication
Method may include:
Step 101:Receive the identifying code of user's input.
The code dissemination method may operate in project management system, user can with registry entry management system, and
Code delivery system login page inputs verification code information.If the identifying code received is by being verified as correctly verifying
Code then allows to access code delivery system, allows users to carry out the operation such as code publication in code delivery system.
Step 102:Judge whether the identifying code is identical as the identifying code generated before system, if they are the same, enters step
103。
Wherein, the identifying code has attribute information, when the attribute information includes effective access times and effectively uses
Between.The attribute information can directly be associated together with the identifying code when system generates identifying code and be stored in project pipe
In reason system.
The early period that code dissemination method described in the present embodiment is implemented, corresponding project development personnel can be first in project
The online application of project is proposed in management system, after the online application approval of the project passes through, project management system generates and institute
The corresponding identifying code of online application is stated, applicant, the verifying code input system that applicant can will receive are sent to, if input is tested
The identifying code that card code is generated and recorded with system before is identical, then it is assumed that active user is authorized user, can enter code
Delivery system carries out code publication operation.
When the identifying code generated before the identifying code and system received is not identical, it can directly refuse user and enter generation
Code delivery system carries out code publication operation, and prompts identifying code error message.
Step 103:Judge whether effective access times of the identifying code have used, if it is not, entering step 104.
In the present embodiment, it is based on identifying code licensing scheme, utilizes the effective access times and effective storage life of identifying code
The two dimensions use to finely control the temporary Authorization of code delivery system, and the malice of code delivery system is avoided to be used for a long time
With inefficient use.Before allowing user to enter the corresponding code publication operation of code delivery system progress, the verifying of user's input
Code by also need further to judge after verifying to have verified that by effective access times of identifying code whether used,
There are also when access times, just allow user to enter to carry out code publication operation for the only described identifying code.Such as, the identifying code has
Imitate access times be 3 times, if the identifying code this log on as the 3rd time login, allow user carry out respective code publication behaviour
Make, if the identifying code this log on as the 4th login, login failure, do not allow user carry out code publication operation.
The effective storage life, i.e., after each identifying code logins successfully, allow user carry out code issue operation when
Between.If the effective storage life is 30 minutes, then after entering code delivery system using identifying code every time, in default 30 minutes
Effectively, after 30 minutes, the code of directly closing code delivery system issues operating function.
Step 104:In the effective access times and effective storage life of the identifying code, code delivery system is called
Interface, so that process completion is issued in code publication operation or preset code that code delivery system is inputted according to user automatically
Code publication.
It is verified in received identifying code, and the situation that effective access times of its corresponding identifying code have not used
Under, user logins successfully, and project management system can call code delivery system interface, and return code issues operation interface, allows
User carries out subsequent code publication operation.
In one example, the identifying code is matched with authorization project, and the authorization project is the project that examination & approval pass through, then
It is described in the effective access times and effective storage life of the identifying code, call code delivery system interface, may include:
In the effective access times and effective storage life of the identifying code, the matched grant item destination code of the identifying code is called
The interface of delivery system.Specifically, may include the online project of application in the online application of project, project management system is in project
After online application approval passes through, identifying code corresponding with the project of the online application of project can be generated, the identifying code is only to the item
The project of the online application of mesh has the function of the authorization activation of code publication, and does not have generation to the sundry item in code delivery system
The activation permission of code publication.If the project of online application is project A, then the corresponding identifying code of the online application is logining successfully
Afterwards, user is merely able to carry out project A code publication operation, and to sundry item such as project B and project C, then it can not carry out
Code publication operation.
In this way, user can send out in the code in the effective access times and effective storage life of the identifying code
Distribution system carries out manual operations triggering code publication.
It in other situations, can be automatic with pre-configured code for some fixed types or selected project
Issue process.If the corresponding authorization project of the identifying code of user's checking is the item of pre-configured automatic publication process
Mesh, then input identifying code in user, system verify the identifying code it is accurate after, can be by calling code delivery system connecing
The mouth preset grant item destination code of automatic trigger issues process automatically, in this case, does not need user and carries out code manually
Publication operation, therefore will not return code issue operation interface, but return be proved to be successful the page.Subsequent user can log in generation
Code delivery system checks that code issues whether process succeeds automatically.
In the present embodiment, the code dissemination method distributes the interim operating rights of code delivery system by identifying code
Limit, the interim operating right of code delivery system, Neng Gougui are precisely controlled by effective access times and effective storage life
It keeps away developer and accompanies operation maintenance personnel and be lined up and arrange online to operate the low efficiency that occurs and the serious problem of waste of human resource.
Fig. 2 is the flow chart of the interface of calling code publication disclosed by the embodiments of the present invention, shown in Figure 2, above-mentioned reality
It applies in example, it is described in the effective access times and effective storage life of the identifying code, the interface of code delivery system is called,
May include:
Step 201:In the interface procedure for calling code delivery system and record identifying code use information, the identifying code
Use information includes access times and using the time.
During relevant operation of the user in the enterprising line code publication of code delivery system, identifying code can recorde
Access times and use the time, if this reaches the effective storage life of the identifying code using the time, close code publication
Operating function.
Step 202:After the interface for calling code delivery system using the identifying code every time, if calling code publication system
The time of the interface of system is more than the effective storage life, then closes the interface of code delivery system.
Step 203:If the access times of the identifying code reach effective access times, the identifying code is arranged
For down state.
If effective access times of the identifying code are 5 times, if this is tested using being that the 5th is used by described
Card code is set as down state.After user logs off, if reusing the identifying code next time logs in code delivery system,
Effective access times can be alreadyd exceed because the identifying code is down state, and login failure.
In other examples, code dissemination method can also include obtaining user in the mistake of input code publication operation
The step of Cheng Zhong, the operation log of code delivery system record.In order to faulty operation occur in code delivery system, lead to mistake
Accidentally when result, corresponding operation log can be traced, faulty operation reason and person liable are specified.
On the basis of the above disclosed embodiments of the present invention, Fig. 3 is another code hair disclosed by the embodiments of the present invention
The flow chart of cloth method, as shown in figure 3, code dissemination method may include:
Step 301:Receive the identifying code of user's input.
Step 302:Judge whether the identifying code is identical as the identifying code generated before system, if they are the same, enters step
303。
Wherein, the identifying code has attribute information, when the attribute information includes effective access times and effectively uses
Between.
Step 303:Judge whether effective access times of the identifying code have used, if it is not, entering step 304.
Step 304:In the effective access times and effective storage life of the identifying code, code delivery system is called
Interface, so that process completion is issued in code publication operation or preset code that code delivery system is inputted according to user automatically
Code publication.
Step 305:After the preset time after fixed cycle time point or the generation identifying code, by the identifying code
It is set as down state.
Wherein, point of fixed cycle time can be daily 8 a.m., the preset time after generating identifying code, can be with
It is 24 hours generated after identifying code.In the present embodiment, the service life of the identifying code is limited, to mention indirectly
Rise the efficiency of code publication operation and the safety in utilization of code delivery system.
Can in the present embodiment, code dissemination method be provided with the service life of identifying code, urge user to complete generation in time
Code publication operation, promotes the safety in utilization of code delivery system.
Fig. 4 is the flow chart of another code dissemination method disclosed by the embodiments of the present invention, shown in Figure 4, code hair
Cloth method may include:
Step 401:The online application of reception project.
The online application of project can be by applicant by project management system typing, and the online application of project includes
Project information needs online project.
Step 402:The online application of the project after the approval, generate identifying code corresponding with the online application.
After the online application of project is submitted, the audit by related leader and O&M department, after the approval, item are needed
Identifying code corresponding with the online application of the project can be generated in mesh management system.
It is described the online application of the project after the approval, generate corresponding with the online application of project identifying code,
May include:It is described it is online after the approval, generate corresponding with the online application of project identifying code according to preset rules.
Wherein the preset rules for example can be, the random password for generating ten digits password or number and letter combines, can be with
It is the password etc. including preset quantity character generated according to date of application and project number.
Step 403:The identifying code is sent to applicant terminal.
After identifying code generates, the identifying code can be sent to applicant terminal by project management system, so that subsequent
Applicant or other related developments personnel log in code delivery system by verification code information and carry out code publication operation.Applicant
The information of terminal, such as telephone number, email address etc. can the project management as described in applicant's typing when carrying out online application
Identifying code is sent to applicant terminal by forms such as short message, wechat, mails by system, project management system.
Step 404:Receive the identifying code of user's input.
Step 405:Judge whether the identifying code is identical as the identifying code generated before system, if they are the same, enters step
406。
Wherein, the identifying code has attribute information, when the attribute information includes effective access times and effectively uses
Between.
Step 406:Judge whether effective access times of the identifying code have used, if it is not, entering step 407.
Step 407:In the effective access times and effective storage life of the identifying code, code delivery system is called
Interface, so that process completion is issued in code publication operation or preset code that code delivery system is inputted according to user automatically
Code publication.
In the present embodiment, code dissemination method describes the online application of preparatory reception project and generates corresponding identifying code
Content, the code dissemination method distributes the interim operating right of code delivery system by identifying code, by effectively using
Number and effective storage life are precisely controlled the interim operating right of code delivery system, can evade developer and accompany fortune
The serious problem of the low efficiency and waste of human resource that dimension people line arranges online operation to occur.
For the various method embodiments described above, for simple description, therefore, it is stated as a series of action combinations, but
Be those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because according to the present invention, certain
A little steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know that, it is retouched in specification
The embodiment stated belongs to preferred embodiment, and related actions and modules are not necessarily necessary for the present invention.
Method is described in detail in aforementioned present invention disclosed embodiment, diversified forms can be used for method of the invention
Device realize that therefore the invention also discloses a kind of devices, and specific embodiment is given below and is described in detail.
Fig. 5 is a kind of structural schematic diagram of code distributing device disclosed by the embodiments of the present invention, shown in Figure 5, code
Distributing device 50 may include:
Information receiving module 501, for receiving the identifying code of user's input.
The code dissemination method may operate in project management system, user can with registry entry management system, and
Code delivery system login page inputs verification code information.If the identifying code received is by being verified as correctly verifying
Code then allows to access code delivery system, allows users to carry out the operation such as code publication in code delivery system.
Signal judgement module 502, it is described for judging whether the identifying code is identical as the identifying code generated before system
Identifying code has attribute information, and the attribute information includes effective access times and effective storage life.
Wherein, the identifying code has attribute information, when the attribute information includes effective access times and effectively uses
Between.The attribute information can directly be associated together with the identifying code when system generates identifying code and be stored in project pipe
In reason system.
The early period that code dissemination method described in the present embodiment is implemented, corresponding project development personnel can be first in project
The online application of project is proposed in management system, after the online application approval of the project passes through, project management system generates and institute
The corresponding identifying code of online application is stated, applicant, the verifying code input system that applicant can will receive are sent to, if input is tested
The identifying code that card code is generated and recorded with system before is identical, then it is assumed that active user is authorized user, can enter code
Delivery system carries out code publication operation.
When the identifying code generated before the identifying code and system received is not identical, it can directly refuse user and enter generation
Code delivery system carries out code publication operation, and prompts identifying code error message.
Number judgment module 503 is when being, to test described in judgement for the judging result in the signal judgement module 502
Whether effective access times of card code have used.
In the present embodiment, it is based on identifying code licensing scheme, utilizes the effective access times and effective storage life of identifying code
The two dimensions use to finely control the temporary Authorization of code delivery system, and the malice of code delivery system is avoided to be used for a long time
With inefficient use.Before allowing user to enter the corresponding code publication operation of code delivery system progress, the verifying of user's input
Code by also need further to judge after verifying to have verified that by effective access times of identifying code whether used,
There are also when access times, just allow user to enter to carry out code publication operation for the only described identifying code.Such as, the identifying code has
Imitate access times be 3 times, if the identifying code this log on as the 3rd time login, allow user carry out respective code publication behaviour
Make, if the identifying code this log on as the 4th login, login failure, do not allow user carry out code publication operation.
The effective storage life, i.e., after each identifying code logins successfully, allow user carry out code issue operation when
Between.If the effective storage life is 30 minutes, then after entering code delivery system using identifying code every time, in default 30 minutes
Effectively, after 30 minutes, the code of directly closing code delivery system issues operating function.
System calling module 504, for the judging result in the number judgment module 503 be it is no when, in the verifying
In the effective access times and effective storage life of code, the interface of code delivery system is called, so that code delivery system root
The publication of process completion code is issued automatically according to the code publication operation of user's input or preset code.
It is verified in received identifying code, and the situation that effective access times of its corresponding identifying code have not used
Under, user logins successfully, and project management system can call code delivery system interface, and return code issues operation interface, allows
User carries out subsequent code publication operation.
In one example, the identifying code is matched with authorization project, and the authorization project is the project that examination & approval pass through, then
The system calling module 504 specifically can be used for:In the effective access times and effective storage life of the identifying code, adjust
With the matched grant item destination code delivery system interface of the identifying code.Specifically, may include Shen in the online application of project
Project that please be online, project management system can generate the project with the online application of project after the online application approval of project passes through
Corresponding identifying code, the identifying code only have the function of that the authorization of code publication activates to the project of the online application of the project, and
The activation permission for not having code to issue the sundry item in code delivery system.Such as project of online application is project A, then institute
The corresponding identifying code of online application is stated after logining successfully, user is merely able to carry out project A code publication operation, and to other
Project such as project B and project C can not then carry out code publication operation.
In this way, user can send out in the code in the effective access times and effective storage life of the identifying code
Distribution system carries out manual operations triggering code publication.
It in other situations, can be automatic with pre-configured code for some fixed types or selected project
Issue process.If the corresponding authorization project of the identifying code of user's checking is the item of pre-configured automatic publication process
Mesh, then input identifying code in user, system verify the identifying code it is accurate after, can be by calling code delivery system connecing
The mouth preset grant item destination code of automatic trigger issues process automatically, in this case, does not need user and carries out code manually
Publication operation, therefore will not return code issue operation interface, but return be proved to be successful the page.Subsequent user can log in generation
Code delivery system checks that code issues whether process succeeds automatically.
In the present embodiment, the code distributing device distributes the interim operating rights of code delivery system by identifying code
Limit, the interim operating right of code delivery system, Neng Gougui are precisely controlled by effective access times and effective storage life
It keeps away developer and accompanies operation maintenance personnel and be lined up and arrange online to operate the low efficiency that occurs and the serious problem of waste of human resource.
Fig. 6 is the structural schematic diagram of system calling module disclosed by the embodiments of the present invention, shown in Figure 6, the system
Call block 504 may include:
Information logging modle 601, for recording identifying code use information in the interface procedure for calling code delivery system,
The identifying code use information includes access times and using the time.
During relevant operation of the user in the enterprising line code publication of code delivery system, identifying code can recorde
Access times and use the time, if this reaches the effective storage life of the identifying code using the time, close code publication
Operating function.
Function closedown module 602, for every time using the identifying code call code delivery system interface after, if adjust
Time with the interface of code delivery system is more than the effective storage life, then closes the interface of code delivery system.
State setting module 603, for when the access times of the identifying code reach effective access times, then will
The identifying code is set as down state.
If effective access times of the identifying code are 5 times, if this is tested using being that the 5th is used by described
Card code is set as down state.After user logs off, if reusing the identifying code next time logs in code delivery system,
Effective access times can be alreadyd exceed because the identifying code is down state, and login failure.
In other examples, code distributing device can also include log acquisition module, for obtaining user defeated
Enter code publication operation during, code delivery system record operation log the step of.In order in code delivery system
There is faulty operation, when leading to error result, corresponding operation log can be traced, specify faulty operation reason and person liable.
On the basis of the above disclosed embodiments of the present invention, Fig. 7 is another code hair disclosed by the embodiments of the present invention
The structural schematic diagram of cloth apparatus, as shown in fig. 7, code distributing device 70 may include:
Information receiving module 501, for receiving the identifying code of user's input.
Signal judgement module 502, it is described for judging whether the identifying code is identical as the identifying code generated before system
Identifying code has attribute information, and the attribute information includes effective access times and effective storage life.
Number judgment module 503 is when being, to judge the identifying code for the judging result in the signal judgement module
Effective access times whether used.
System calling module 504, for the judging result in the number judgment module be it is no when, in the identifying code
In effective access times and effective storage life, call the interface of code delivery system so that code delivery system according to
The code publication operation of family input or preset code issue the publication of process completion code automatically.
Expired setup module 701, in fixed cycle time point or after generating the preset time after the identifying code,
Down state is set by the identifying code.
Wherein, point of fixed cycle time can be daily 8 a.m., the preset time after generating identifying code, can be with
It is 24 hours generated after identifying code.In the present embodiment, the service life of the identifying code is limited, to mention indirectly
Rise the efficiency of code publication operation and the safety in utilization of code delivery system.
Can in the present embodiment, code distributing device be provided with the service life of identifying code, urge user to complete generation in time
Code publication operation, promotes the safety in utilization of code delivery system.
Fig. 8 is the structural schematic diagram of another code distributing device disclosed by the embodiments of the present invention, as shown in figure 8, code
Distributing device 80 may include:
Apply for reception device 801, for receiving the online application of project.
The online application of project can be by applicant by project management system typing, and the online application of project includes
Project information needs online project.
Identifying code generation module 802, for the project it is online application after the approval, generate with the online application
Corresponding identifying code.
After the online application of project is submitted, the audit by related leader and O&M department, after the approval, item are needed
Identifying code corresponding with the online application of the project can be generated in mesh management system.
In one example, the identifying code generation module 801 specifically can be used for:Pass through in the online audit of the project
Afterwards, identifying code corresponding with the online application of the project is generated according to preset rules.Wherein the preset rules for example can be,
It is random to generate ten digits password or number and the alphabetical password combined, it can also be according to date of application and project number generation
The password etc. including preset quantity character.
Identifying code sending module 803, for the identifying code to be sent to applicant terminal.
After identifying code generates, the identifying code can be sent to applicant terminal by project management system, so that subsequent
Applicant or other related developments personnel log in code delivery system by verification code information and carry out code publication operation.Applicant
The information of terminal, such as telephone number, email address etc. can the project management as described in applicant's typing when carrying out online application
Identifying code is sent to applicant terminal by forms such as short message, wechat, mails by system, project management system.
Information receiving module 501, for receiving the identifying code of user's input.
Signal judgement module 502, it is described for judging whether the identifying code is identical as the identifying code generated before system
Identifying code has attribute information, and the attribute information includes effective access times and effective storage life.
Number judgment module 503 is when being, to judge the identifying code for the judging result in the signal judgement module
Effective access times whether used.
System calling module 504, for the judging result in the number judgment module be it is no when, in the identifying code
In effective access times and effective storage life, call the interface of code delivery system so that code delivery system according to
The code publication operation of family input or preset code issue the publication of process completion code automatically.
In the present embodiment, code distributing device describes the online application of preparatory reception project and generates corresponding identifying code
Content, the code distributing device distributes the interim operating right of code delivery system by identifying code, by effectively using
Number and effective storage life are precisely controlled the interim operating right of code delivery system, can evade developer and accompany fortune
The serious problem of the low efficiency and waste of human resource that dimension people line arranges online operation to occur.
Any one described code distributing device in above-described embodiment includes processor and memory, above-described embodiment
In information receiving module, signal judgement module, number judgment module, system calling module, code release module, application receive
Module, identifying code generation module etc. store in memory as program module, are stored in the storage by processor execution
Above procedure module in device realizes corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program module by kernel.Kernel can be set one
Or it is multiple, the processing of return visit data is realized by adjusting kernel parameter.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited
Store up chip.
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor
Code dissemination method described in existing above-described embodiment.
The embodiment of the invention provides a kind of processor, the processor is for running program, wherein described program operation
Code dissemination method described in Shi Zhihang above-described embodiment.
Further, a kind of electronic equipment, including processor and memory are present embodiments provided.Wherein memory is used for
The executable instruction of the processor is stored, the processor is configured to execute above-mentioned reality via the executable instruction is executed
Apply code dissemination method described in example.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part
It is bright.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one
Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation
There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain
Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of code dissemination method, which is characterized in that including:
Receive the identifying code of user's input;
Judge whether the identifying code is identical as the identifying code generated before system, and the identifying code has attribute information, described
Attribute information includes effective access times and effective storage life;
If they are the same, judge whether effective access times of the identifying code have used;
If effective access times of identifying code have been not used, in the effective access times and effective storage life of the identifying code
It is interior, the interface of code delivery system is called, so that the code publication that code delivery system is inputted according to user is operated or preset
Code issue automatically process completion code publication.
2. code dissemination method according to claim 1, which is characterized in that the identifying code is matched with authorization project, institute
Stating authorization project is the project that examination & approval pass through, then described in the effective access times and effective storage life of the identifying code,
Code delivery system interface is called, including:
In the effective access times and effective storage life of the identifying code, the matched grant item purpose of the identifying code is called
The interface of code delivery system.
3. code dissemination method according to claim 1 or 2, which is characterized in that the code dissemination method further includes:
User is obtained during input code is issued and operated, the operation log of code delivery system record.
4. code dissemination method according to claim 1 or 2, which is characterized in that described effectively to make in the identifying code
With in number and effective storage life, the interface of code delivery system is called, including:
Identifying code use information is recorded in the interface procedure for calling code delivery system, the identifying code use information includes making
With number and use the time;
Every time using the identifying code call code delivery system interface after, if call code delivery system interface when
Between be more than the effective storage life, then close the interface of code delivery system;
If the access times of the identifying code reach effective access times, unavailable shape is set by the identifying code
State.
5. code dissemination method according to claim 1 or 2, which is characterized in that the code dissemination method further includes:
After the preset time after fixed cycle time point or the generation identifying code, set unavailable for the identifying code
State.
6. code dissemination method according to claim 1 or 2, which is characterized in that in the verifying of the reception user input
Before code, the code dissemination method further includes:
The online application of reception project;
The online application after the approval, generate corresponding with the online application of project identifying code;
The identifying code is sent to applicant terminal.
7. code dissemination method according to claim 6, which is characterized in that described in the effective using secondary of the identifying code
In several and effective storage life, the interface of calling code delivery system includes:
In the effective access times and effective storage life of the identifying code, by calling the interface of code delivery system to trigger
Preset code issues process automatically.
8. a kind of code distributing device, which is characterized in that including:
Information receiving module, for receiving the identifying code of user's input;
Signal judgement module, for judging whether the identifying code is identical as the identifying code generated before system, the identifying code
With attribute information, the attribute information includes effective access times and effective storage life;
Number judgment module is when being, to judge the effective of the identifying code for the judging result in the signal judgement module
Whether access times have used;
System calling module, for the judging result in the number judgment module be it is no when, the identifying code effectively make
With in number and effective storage life, the interface of code delivery system is called, so that code delivery system is inputted according to user
Code publication operation or preset code issue automatically process completion code publication.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
Claim 1~7 described in any item code dissemination methods are realized when row.
10. a kind of electronic equipment, which is characterized in that including:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor be configured to via execute the executable instruction come perform claim require it is 1~7 described in any item
Code dissemination method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810653445.8A CN108829439A (en) | 2018-06-22 | 2018-06-22 | A kind of code dissemination method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810653445.8A CN108829439A (en) | 2018-06-22 | 2018-06-22 | A kind of code dissemination method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108829439A true CN108829439A (en) | 2018-11-16 |
Family
ID=64138057
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810653445.8A Pending CN108829439A (en) | 2018-06-22 | 2018-06-22 | A kind of code dissemination method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108829439A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110083365A (en) * | 2019-03-19 | 2019-08-02 | 深圳壹账通智能科技有限公司 | Dissemination method, device, computer equipment and the storage medium of version updating packet |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104077841A (en) * | 2013-03-27 | 2014-10-01 | 宝利数码有限公司 | Method and system for mobile identity authentication and payment |
CN107643894A (en) * | 2017-09-30 | 2018-01-30 | 深圳市沃特沃德股份有限公司 | code development management method and system |
-
2018
- 2018-06-22 CN CN201810653445.8A patent/CN108829439A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104077841A (en) * | 2013-03-27 | 2014-10-01 | 宝利数码有限公司 | Method and system for mobile identity authentication and payment |
CN107643894A (en) * | 2017-09-30 | 2018-01-30 | 深圳市沃特沃德股份有限公司 | code development management method and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110083365A (en) * | 2019-03-19 | 2019-08-02 | 深圳壹账通智能科技有限公司 | Dissemination method, device, computer equipment and the storage medium of version updating packet |
WO2020186802A1 (en) * | 2019-03-19 | 2020-09-24 | 深圳壹账通智能科技有限公司 | Version update package release method and apparatus, computer device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110428257B (en) | Password cracking task processing method, equipment and storage medium | |
CN109493204B (en) | Service accounting method based on block chain and terminal equipment | |
Mellado et al. | Applying a security requirements engineering process | |
CN104104672B (en) | The method that dynamic authorization code is established in identity-based certification | |
CN110443075A (en) | A kind of method and device of block chain intelligence contract verifying deployment | |
CN108960825A (en) | Electric endorsement method and device, electronic equipment based on block chain | |
CN106713370B (en) | A kind of identity identifying method, server and mobile terminal | |
KR101876674B1 (en) | Method of managing common account using block chain and system performing the same | |
CN109543447A (en) | Information processing method, server and computer storage medium based on block chain | |
CN107918911A (en) | System and method for performing safe web bank transaction | |
CN107147711A (en) | Application service update method and device | |
CN114331315A (en) | Social security service processing method and device combining RPA and AI | |
CN111352835B (en) | Intelligent contract testing method, device, equipment and storage medium | |
CN108170550A (en) | The method, apparatus and equipment of abnormality processing | |
CN108829439A (en) | A kind of code dissemination method and device | |
CN112651716A (en) | Data processing method, device and storage medium | |
CN112633271A (en) | Financial transaction system authentication method based on OCR recognition | |
CN104270650B (en) | The safety control system and method for a kind of internet television | |
CN110472423A (en) | A kind of nuclear power station file permission management method, device and equipment | |
CN108881317A (en) | A kind of multisystem uniform authentication method, system and computer storage medium | |
CN115204844A (en) | Business processing method and device, intelligent equipment and storage medium | |
CN112037053B (en) | Universal transaction interpreter for blockchain and interpretation method thereof | |
CN109271306A (en) | Life test method, device, equipment and medium based on direct fault location | |
CN110910091A (en) | Data processing method, device and medium | |
CN110086761A (en) | It is a kind of that the method and apparatus of resource is provided |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181116 |
|
RJ01 | Rejection of invention patent application after publication |