CN109683942A - Script management method, device, medium and electronic equipment - Google Patents
Script management method, device, medium and electronic equipment Download PDFInfo
- Publication number
- CN109683942A CN109683942A CN201811347811.3A CN201811347811A CN109683942A CN 109683942 A CN109683942 A CN 109683942A CN 201811347811 A CN201811347811 A CN 201811347811A CN 109683942 A CN109683942 A CN 109683942A
- Authority
- CN
- China
- Prior art keywords
- script
- operating right
- user
- service label
- permission set
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000013515 script Methods 0.000 title claims abstract description 282
- 238000007726 management method Methods 0.000 title claims abstract description 30
- 238000012545 processing Methods 0.000 claims abstract description 6
- 238000000034 method Methods 0.000 claims description 9
- 230000009471 action Effects 0.000 claims description 6
- 238000012986 modification Methods 0.000 claims description 6
- 230000004048 modification Effects 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 5
- 230000004044 response Effects 0.000 claims description 5
- 230000006870 function Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 8
- 230000006399 behavior Effects 0.000 description 6
- 230000006854 communication Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 230000005291 magnetic effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000003014 reinforcing effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Storage Device Security (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention provides a kind of script management method, device, medium and electronic equipments, belong to technical field of data processing.The script management method includes: to obtain multiple scripts and the corresponding first permission set of script, wherein includes at least one operating right in the first permission set;The corresponding second permission set of the service label is obtained according to the service label of user;The first permission set is matched with the operating right in the second permission set, determines the service label to the operating right of the script according to the operating right matched;When receiving operation requests of the user to script, the operation requests are responded according to operating right of the service label to the script.The technical solution of the embodiment of the present invention can be improved the safety of script.
Description
Technical field
The present invention relates to technical field of data processing, in particular to a kind of script management method, script management method
Device, storage medium and electronic equipment.
Background technique
Script is the executable file for realizing certain function, since it can be loaded dynamically and call, and is patrolled
Simple advantage is collected, and is widely used in various scenes, for example, file is sent or upload, data duplication etc..But
It is, during using script, usually since the operation of being not good at of user causes script to be modified, deleted.
It should be noted that information is only used for reinforcing the reason to background of the invention disclosed in above-mentioned background technology part
Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of script management method, script managing device, storage medium and electricity
Sub- equipment, and then overcome the problems, such as that script safety is low at least to a certain extent.
Other characteristics and advantages of the invention will be apparent from by the following detailed description, or partially by the present invention
Practice and acquistion.
According to a first aspect of the embodiments of the present invention, a kind of script management method is provided, comprising:
Obtain multiple scripts and the corresponding first permission set of script, wherein comprising at least in the first permission set
One operating right;
The corresponding second permission set of the service label is obtained according to the service label of user;
The first permission set is matched with the operating right in the second permission set, according to what is matched
Operating right determines the service label to the operating right of the script;
When receiving operation requests of the user to script, responded according to operating right of the service label to the script
The operation requests.
In a kind of exemplary embodiment of the invention, when the operation requests for receiving user to script, according to institute
It states service label and the operation requests is responded to the operating right of the script, comprising:
The service label and the user that the user is determined from the operation requests request the foot to be operated operated
This;
Determine operating right of the service label to the script to be operated of the user.
In a kind of exemplary embodiment of the invention, it is described according to the service label to the operating right of the script
Respond the operation requests, further includes:
Judge user to the operation requests of the script to be operated whether meet the service label of the user to it is described to
Operate the operating right of script;
When the operation requests meet the operating right, the operation requests are responded, execute user to described wait grasp
Make the operation of script.
It is described to the first permission set and the second permission set in a kind of exemplary embodiment of the invention
In operating right matched, determine the service label to the operating rights of the script according to the operating right matched
Limit, comprising:
Judge operating right that the first permission set includes whether in the second permission set;
If the operating right is in the second permission set, it is determined that the corresponding business mark of the second permission set
Sign the operating right to the corresponding script of the first permission set.
In a kind of exemplary embodiment of the invention, when receiving operation requests of the user to script, according to the pass
Connection relationship responds before the operation requests, further includes:
Multiple scripts are obtained, script catalogue are generated according to the title of the script and function, so that user checks.
In a kind of exemplary embodiment of the invention, the operating right includes one of following permission or a variety of:
Perform script, addition script, deletes script, duplication script, obtains script modification script.
In a kind of exemplary embodiment of the invention, in the first permission set and the second permission set
Operating right is matched, according to the operating right matched determine the service label to the operating right of the script it
Before, further includes:
Determine that obtaining script is default action permission;
Each service label is established to the default action permission of each script, so that user obtains each script.
According to a second aspect of the embodiments of the present invention, a kind of script managing device is provided, comprising:
Script authority acquiring unit, for obtaining multiple scripts and the corresponding first permission set of script, wherein described
It include at least one operating right in one permission set;
Service authority acquiring unit, for obtaining corresponding second permission of the service label according to the service label of user
Set;
Operating right determination unit, for the operating right in the first permission set and the second permission set
It is matched, determines the service label to the operating right of the script according to the operating right matched;
Perform script operating unit, when for receiving operation requests of the user to script, according to the service label pair
The operating right of the script responds the operation requests.
According to a third aspect of the embodiments of the present invention, a kind of computer-readable medium is provided, computer is stored thereon with
Program realizes the script management method as described in first aspect in above-described embodiment when described program is executed by processor.
According to a fourth aspect of the embodiments of the present invention, a kind of electronic equipment is provided, comprising: one or more processors;
Storage device, for storing one or more programs, when one or more of programs are held by one or more of processors
When row, so that one or more of processors realize the script management method as described in first aspect in above-described embodiment.
Technical solution provided in an embodiment of the present invention can include the following benefits:
In the technical solution provided by some embodiments of the present invention, by the corresponding first permission set of script, use
The corresponding second permission set of the service label at family, can determine operating right of the service label to script of user, thus
Operation when receiving operation requests of the user to script, according to the service label of user to the operating right response user of script
Request.On the one hand, each script can correspond to a first permission set, and user can only be according to the operation in the first permission set
Permission operates corresponding script, improves the safety of script;On the other hand, corresponding second permission of the user of different business label
Set is different, operation of the user to script can be neatly controlled according to operating right of the service label to script, so that script
Permission more refine, improve the efficiency of management of script.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
It can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.It should be evident that the accompanying drawings in the following description is only the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.In the accompanying drawings:
Fig. 1 diagrammatically illustrates the flow chart of the script management method of embodiment according to the present invention;
Fig. 2 diagrammatically illustrates the flow chart of script management method according to another embodiment of the present invention;
Fig. 3 diagrammatically illustrates the flow chart of script management method according to another embodiment of the present invention;
Fig. 4 diagrammatically illustrates the block diagram of script managing device according to an embodiment of the present invention;
Fig. 5 shows the structural schematic diagram for being suitable for the computer system for the electronic equipment for being used to realize the embodiment of the present invention.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the present invention will more
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner
In example.In the following description, many details are provided to provide and fully understand to the embodiment of the present invention.However,
It will be appreciated by persons skilled in the art that technical solution of the present invention can be practiced without one or more in specific detail,
Or it can be using other methods, constituent element, device, step etc..In other cases, it is not shown in detail or describes known side
Method, device, realization or operation are to avoid fuzzy each aspect of the present invention.
Block diagram shown in the drawings is only functional entity, not necessarily must be corresponding with physically separate entity.
I.e., it is possible to realize these functional entitys using software form, or realized in one or more hardware modules or integrated circuit
These functional entitys, or these functional entitys are realized in heterogeneous networks and/or processor device and/or microcontroller device.
Flow chart shown in the drawings is merely illustrative, it is not necessary to including all content and operation/step,
It is not required to execute by described sequence.For example, some operation/steps can also decompose, and some operation/steps can close
And or part merge, therefore the sequence actually executed is possible to change according to the actual situation.
A kind of script management method is provided first in embodiment of the present invention.As shown in Figure 1, the script management method can be with
Including step S110, S120, S130, S140.Wherein:
Step S110. obtains multiple scripts and the corresponding first permission set of script, wherein in the first permission set
Include at least one operating right;
Step S120. obtains the corresponding second permission set of the service label according to the service label of user;
Step S130. matches the first permission set with the operating right in the second permission set, root
Determine the service label to the operating right of the script according to the operating right matched;
When step S140. receives operation requests of the user to script, according to the service label to the behaviour of the script
Make permission and responds the operation requests.
According to the script management method in this illustrative embodiment, pass through the corresponding first permission set of script, user
The corresponding second permission set of service label, operating right of the service label to script of user can be determined, thus connecing
When receiving operation requests of the user to script, the operation of the operating right response user of script is asked according to the service label of user
It asks.On the one hand, each script can correspond to a first permission set, and user can only be according to the operating rights in the first permission set
Limit operates corresponding script, improves the safety of script;On the other hand, corresponding second authority set of the user of different business label
Difference is closed, operation of the user to script can neatly be controlled according to operating right of the service label to script, so that script
Permission more refines, and improves the efficiency of management of script.
In the following, it is more detailed that Fig. 1 will be combined to carry out each step of the script management method in this illustrative embodiment
Thin explanation.
Step S110. obtains multiple scripts and the corresponding first permission set of script, wherein in the first permission set
Include at least one operating right.
In this illustrative embodiments, script may include the executable file that can be realized certain function, for example, fixed
When open or close certain service, obtain data etc., this example embodiment does not do particular determination to this.
First permission set may include the set of multiple operating rights;Operating right can refer to that script is allowed to progress
Certain operation, for example, perform script operation, transmission script operation, deletion script operation etc., therefore, operating right be can wrap
Include edit script permission, addition script permission, delete script permission, duplication script permission etc..Also, each script can be right
Answer a first permission set, that is, each script can carry out multiple operations, the corresponding operating right of each operation.Certainly,
Multiple scripts can also correspond to the same first permission set, that is, the corresponding operating right of multiple scripts can be identical, a foot
This can also correspond to multiple first permission set.
Therefore, script and the corresponding relationship of the first permission set can be saved in the database, it can be according to getting
Script, and then obtain its corresponding first permission set.Certainly, script and the corresponding relationship of the first permission set can also be with
Other modes save, for example, the corresponding relationship of script and the first permission set is saved in a tabular form etc., this example is implemented
Mode does not do particular determination to this.
Step S120. obtains the corresponding second permission set of the service label according to the service label of user.
In this example embodiment, the service label of user may include post belonging to user or the position of user,
For example, developer, tester, Primary land development etc.;User can also be grouped according to certain standard, each group of correspondence
One service label, for example, user is divided into tri- groups of A, B, C, then these three corresponding service labels of group can be
A、B、C。
Second permission set may include the range for the operation that user can exercise, or the set of operation;That is, second
Permission set may include the set of operating right or operating right, these operating rights are that the service label can execute
Operation.It may include multiple operating rights in one the second permission set, for example, 3,5 etc., this example embodiment is to this
Do not do particular determination.The operating right for including in second permission set can be the operating right of script, for example, perform script,
Modify script, addition script, delete script, send script, upload script etc..Preferably, the second permission set may include
One of following permission is a variety of: perform script, addition script, deletes script, duplication script at modification script.
According to the service label of user, the corresponding second permission set of available service label.Administrator can be preparatory
Its corresponding second permission set is established according to each service label, is saved in the database.Certainly, service label and the second power
The corresponding relationship of limit set can also be stored otherwise, such as table, document etc., this example do not do special limit to this
It is fixed.In turn, the corresponding second permission set of service label can be obtained according to service label.
Step S130. matches the first permission set with the operating right in the second permission set, root
Determine the service label to the operating right of the script according to the operating right matched.
In this example embodiment, after getting the corresponding second permission set of service label, the available business
The corresponding operating right of label.According to the operation in the corresponding operating right of service label the first permission set corresponding with script
Permission can determine service label to the operating right of each script.It specifically, can be by the second permission set and the first power
Limit set is matched, can be with if the second permission set can be matched with the operating right in the first permission set
Corresponding service label is established to the operating right of script.
It further, can also be corresponding with the script according to the corresponding first permission set of service label of the user
The second permission set, obtain the user to the operating right of the script.Wherein, by the service label of user corresponding
One permission set the second permission set corresponding with script compares matching, it is available to the first permission set and this
The operating right for including in two permission set, the operating right can be used as user to the operating right of script.In addition, user
One operating right can be to the operating right of script, also may include multiple operating rights, that is, user can be with to the script
There are multiple operating rights.
In this example embodiment, the operating right that can include by the first permission set one by one with the second permission set
In operating right matched, if there is the operating right of successful match, then the operating right can be determined described
In second permission set.Furthermore, it is possible to according to the operating right in the first permission set, search the operating right which
Exist in two permission set, that is, it searches i.e. in the first permission set, and the operating right in the second permission set, according to
Whether the result found can determine the operating right for including in the first permission set in the second permission set.
The operating right for including in the first permission set is determined in the second permission set, then according to the first permission set pair
The script answered, the corresponding service label of the second permission set, can establish the operating right and script, service label is associated with
System.For example, if the operating right of " the duplication script " that includes in the first permission set A is in the second permission set B, that
According to the corresponding script a of the first permission set, the corresponding service label b of the second permission set, duplication script, foot can establish
The incidence relation of this and service label b;That is, the user for belonging to service label b can have duplication script to script a
Operating right.
Preferably, determine that the service label, can be with to the operating right of the script according to the operating right matched
By judging operating right that the first permission set includes whether in the second permission set;If the operating right
In the second permission set, it is determined that the corresponding service label of the second permission set is to the first permission set pair
The operating right for the script answered.
When step S140. receives operation requests of the user to script, according to the service label to the behaviour of the script
Make permission and responds the operation requests.
In this example real mode, user can make various operations for a certain script, for example, opening script, deleting foot
This etc..When user needs to operate certain script, an operation requests can be issued, which may include the letter of user
Breath and the operating right of user's request.Certainly, according to the actual situation, which can also include other information, example
Such as, the information of the corresponding first permission set of the title of script, script, identification information of user etc., this example does not do this
It limits.In addition, the operation requests can be issued by clicking event, by the monitoring event of the click event, can be somebody's turn to do
Operation requests.It is of course also possible to user is received by other means to the operation requests of script, for example, by KeyEvent etc.,
This example embodiment does not do particular determination to this.
In the operation requests for receiving user, the corresponding operating right of the operation requests can be parsed out, for example, user
An operation requests are issued by mouse event, which is " transmission ", then can be according to the content solution of the operation requests
Analyse the corresponding operating right of the operation requests are as follows: send script.It in turn, can operation according to the service label of user to script
Permission responds the request.For example, it needs to grasp according to the corresponding second permission set of the service label of user and user
The corresponding first permission set of the script of work, whether to the script have operating right, if so, can ring if inquiring the service label
Should user to the operation requests of the script;Alternatively, according to the script that the service label of user, user need to operate, Yi Jiyong
Operating right corresponding to the operation requests at family, inquires whether the first permission set and the second permission set include the operation
Permission can respond the behaviour of user if the first permission set and the second permission set all include the operating right
It requests.
Further, responding the operation requests according to operating right of the service label to the script can also wrap
Include step S201 and step S202.As shown in Figure 2, in which:
Step S201. determines that the service label of the user and the user request operation from the operation requests
Script to be operated;
Step S202. determines operating right of the service label to the script to be operated of the user.
In step s 201, the service label and user that user can be determined from the operation requests of user request behaviour
The script to be operated made.It may include the identification information of user and the identification information of script in the operation requests of user.According to
The available service label to the user of the identification information of user, and then determine the second permission set of the user.Alternatively, with
In the operation requests at family can the direct service label comprising user identification information, thus it is also available to the of the user
Two permission set.Likewise, can also determine that user requests the script to be operated of operation according to the identification information of script.
Then, in step S202, determine that the service label of user with after operating script, can be determined according to the business
Label treats the operating right of operation script.Specifically, it can be somebody's turn to do according to the service label of user and script to be operated inquiry
The operating right of service label and script to be operated.Alternatively, it is corresponding to obtain the service label according to the service label
Second permission set, and it is somebody's turn to do the corresponding first permission set of script to be operated, and then weigh to the second permission set and first
Operating right in limit set is matched, and determines that the operating right of successful match treats operation script for the service label of user
Operating right.
Therefore, responding the operation requests according to the incidence relation can also include step S301 and step S302.Such as
Shown in Fig. 3, in which:
Step S301. judges whether user meets the operation requests of the script to be operated the service label of the user
To the operating right of the script to be operated;
Step S302. responds the operation requests when the operation requests meet the operating right, executes user couple
The operation of the script to be operated.
After getting user to the operating right of the script, the operation that operation script can be treated according to user is asked
It asks, judges whether the request meets the operating right.If user includes the operation requests of user to the operating right of the script
Corresponding permission, then the operating right that user meets user to script to the operation requests of script can be determined.For example, obtaining
User is got to the operating right of script A are as follows: perform script, duplication script, modification script receive user to the behaviour of script A
Make request for " request duplication script A ", then can determine that user meets user to the behaviour of script A to the operation requests of script A
Make permission.In addition, if user in the operating right of script do not include user the corresponding operating right of operation requests, then
It can determine the operating right that user does not meet user to script to the operation requests of script.
When determining that the operation requests of user meet operating right of the user to script, the operation that can respond user is asked
It asks.The operation requests of response user may include completing corresponding operation according to the operation requests.For example, if user asks
Perform script is sought, then the order in perform script, realizes the function of the script.In addition, if step S301 judges user couple
The operation requests of script do not meet user to the operating right of script, then may remind the user that request failure, inform the user
Lack of competence executes the operation.
Before receiving user to the operation requests of script, script catalogue can also be generated according to the title of the script,
So that user checks.Wherein, script catalogue may include the functional circuit information of script, for example, obtaining data, clearing data
Deng;Certainly, script catalogue can also include the other information of script, for example, the acquisition address, the explanation of script, script of script
Maintenance personnel's information etc., this example embodiment does not do particular determination to this.In addition, user can look into according to script catalogue
See or obtain script.For example, user can find the script function of needs by script catalogue, or according to script mesh
The address information of script in record obtains the script that can be realized the function.
Under normal conditions, the function of obtaining script is basic permission required for user, hence, it can be determined that obtaining script
For default action permission;And then each service label is established to the default action permission of each script, for user's acquisition
Each script.Wherein, a kind of operating right can be referred to by obtaining script, which may be embodied in corresponding first authority set of script
In conjunction or in the corresponding second permission set of service label.That is, each first permission set and second can be allowed to weigh
Operating right in limit set all comprising " obtaining script ".Alternatively, can sentence when receiving operation requests of the user to script
The operation of breaking please be weighed and ask whether corresponding operation limit is to obtain script, if user is to obtain script to the operation requests of script
When, then the operation requests can be responded.
The device of the invention embodiment introduced below can be used for executing the above-mentioned script management method of the present invention.Such as Fig. 4
Shown, which may include:
Script authority acquiring unit 410, for obtaining multiple scripts and the corresponding first permission set of script, wherein institute
It states in the first permission set comprising at least one operating right;
Service authority acquiring unit 420, for obtaining the service label corresponding second according to the service label of user
Permission set;
Operating right determination unit 430, for the operation in the first permission set and the second permission set
Permission is matched, and determines the service label to the operating right of the script according to the operating right matched;
Perform script operating unit 440, when for receiving operation requests of the user to script, according to the service label
The operation requests are responded to the operating right of the script.
Each functional module and above-mentioned script manager due to the script managing device of example embodiment of the invention
The step of example embodiment of method, is corresponding, therefore for undisclosed details in apparatus of the present invention embodiment, please refers to this
Invent the embodiment of above-mentioned script management method.
Below with reference to Fig. 5, it illustrates the computer systems 500 for the electronic equipment for being suitable for being used to realize the embodiment of the present invention
Structural schematic diagram.The computer system 500 of electronic equipment shown in Fig. 5 is only an example, should not be to the embodiment of the present invention
Function and use scope bring any restrictions.
As shown in figure 5, computer system 500 includes central processing unit (CPU) 501, it can be read-only according to being stored in
Program in memory (ROM) 502 or be loaded into the program in random access storage device (RAM) 503 from storage section 508 and
Execute various movements appropriate and processing.In RAM 503, it is also stored with various programs and data needed for system operatio.CPU
501, ROM 502 and RAM 503 is connected with each other by bus 504.Input/output (I/O) interface 505 is also connected to bus
504。
I/O interface 505 is connected to lower component: the importation 506 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 507 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 508 including hard disk etc.;
And the communications portion 509 of the network interface card including LAN card, modem etc..Communications portion 509 via such as because
The network of spy's net executes communication process.Driver 510 is also connected to I/O interface 505 as needed.Detachable media 511, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 510, in order to read from thereon
Computer program be mounted into storage section 508 as needed.
Particularly, according to an embodiment of the invention, may be implemented as computer above with reference to the process of flow chart description
Software program.For example, the embodiment of the present invention includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communications portion 509, and/or from detachable media
511 are mounted.When the computer program is executed by central processing unit (CPU) 501, executes and limited in the system of the application
Above-mentioned function.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the present invention, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In invention, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned
Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule
The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
Being described in unit involved in the embodiment of the present invention can be realized by way of software, can also be by hard
The mode of part realizes that described unit also can be set in the processor.Wherein, the title of these units is in certain situation
Under do not constitute restriction to the unit itself.
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in electronic equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when the electronics is set by one for said one or multiple programs
When standby execution, so that the electronic equipment realizes such as above-mentioned script management method as described in the examples.
For example, the electronic equipment may be implemented as shown in Figure 1: step S110. obtains multiple scripts and script
Corresponding first permission set, wherein include at least one operating right in the first permission set;Step S120. according to
The service label of user obtains the corresponding second permission set of the service label;Step S130. is to the first permission set
It is matched with the operating right in the second permission set, the service label pair is determined according to the operating right matched
The operating right of the script;When step S140. receives operation requests of the user to script, according to the service label to institute
The operating right for stating script responds the operation requests.
For another example, each step as shown in Figure 2 may be implemented in the electronic equipment.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description
Member, but this division is not enforceable.In fact, embodiment according to the present invention, it is above-described two or more
Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould
The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the present invention
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server, touch control terminal or network equipment etc.) executes embodiment according to the present invention
Method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.
Claims (10)
1. a kind of script management method characterized by comprising
Obtain multiple scripts and the corresponding first permission set of script, wherein include at least one in the first permission set
Operating right;
The corresponding second permission set of the service label is obtained according to the service label of user;
The first permission set is matched with the operating right in the second permission set, according to the operation matched
Permission determines the service label to the operating right of the script;
When receiving operation requests of the user to script, according to operating right response of the service label to the script
Operation requests.
2. script management method according to claim 1, which is characterized in that described to receive user and asked to the operation of script
When asking, the operation requests are responded according to operating right of the service label to the script, comprising:
The service label and the user that the user is determined from the operation requests request the script to be operated operated;
Determine operating right of the service label to the script to be operated of the user.
3. script management method according to claim 2, which is characterized in that it is described according to the service label to the foot
This operating right responds the operation requests, further includes:
Judge whether user meets the service label of the user to described wait operate to the operation requests of the script to be operated
The operating right of script;
When the operation requests meet the operating right, the operation requests are responded, execute user to the foot to be operated
This operation.
4. script management method according to claim 1, which is characterized in that it is described to the first permission set with it is described
Operating right in second permission set is matched, and determines the service label to the foot according to the operating right matched
This operating right, comprising:
Judge operating right that the first permission set includes whether in the second permission set;
If the operating right is in the second permission set, it is determined that the corresponding service label pair of the second permission set
The operating right of the corresponding script of the first permission set.
5. script management method according to claim 1, which is characterized in that receive user to the operation requests of script
When, before the incidence relation response operation requests, further includes:
Multiple scripts are obtained, script catalogue are generated according to the title of the script and function, so that user checks.
6. script management method according to claim 1, which is characterized in that the operating right includes in following permission
It is one or more:
Perform script, addition script, deletes script, duplication script, obtains script modification script.
7. script management method according to claim 6, which is characterized in that the first permission set and described second
Operating right in permission set is matched, and determines the service label to the script according to the operating right matched
Before operating right, further includes:
Determine that obtaining script is default action permission;
Each service label is established to the default action permission of each script, so that user obtains each script.
8. a kind of script managing device characterized by comprising
Script authority acquiring unit, for obtaining multiple scripts and the corresponding first permission set of script, wherein first power
It include at least one operating right in limit set;
Service authority acquiring unit, for obtaining corresponding second authority set of the service label according to the service label of user
It closes;
Operating right determination unit, for being carried out to the operating right in the first permission set and the second permission set
Matching, determines the service label to the operating right of the script according to the operating right matched;
Perform script operating unit, when for receiving operation requests of the user to script, according to the service label to described
The operating right of script responds the operation requests.
9. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is executed by processor
Script management method of the Shi Shixian as described in any one of claims 1 to 7.
10. a kind of electronic equipment characterized by comprising
One or more processors;
Storage device, for storing one or more programs, when one or more of programs are by one or more of processing
When device executes, so that one or more of processors realize the script manager as described in any one of claims 1 to 7
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811347811.3A CN109683942B (en) | 2018-11-13 | 2018-11-13 | Script management method, script management device, script management medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811347811.3A CN109683942B (en) | 2018-11-13 | 2018-11-13 | Script management method, script management device, script management medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109683942A true CN109683942A (en) | 2019-04-26 |
CN109683942B CN109683942B (en) | 2024-05-24 |
Family
ID=66184665
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811347811.3A Active CN109683942B (en) | 2018-11-13 | 2018-11-13 | Script management method, script management device, script management medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109683942B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112214205A (en) * | 2020-10-10 | 2021-01-12 | 中国平安人寿保险股份有限公司 | Method, device and equipment for setting menu path and storage medium |
CN114398104A (en) * | 2022-01-19 | 2022-04-26 | 中国平安人寿保险股份有限公司 | Script processing method, device, equipment and storage medium |
CN114398104B (en) * | 2022-01-19 | 2024-06-04 | 中国平安人寿保险股份有限公司 | Script processing method, device, equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107277038A (en) * | 2017-07-18 | 2017-10-20 | 北京微影时代科技有限公司 | Access control method, device and system |
JP2017220114A (en) * | 2016-06-09 | 2017-12-14 | 富士電機株式会社 | Control system and control method |
CN107679064A (en) * | 2017-07-31 | 2018-02-09 | 平安科技(深圳)有限公司 | Data query method, apparatus and computer-readable recording medium |
CN107818102A (en) * | 2016-09-12 | 2018-03-20 | 平安科技(深圳)有限公司 | data extraction method and device |
CN107944296A (en) * | 2017-11-30 | 2018-04-20 | 郑州云海信息技术有限公司 | A kind of cloud storage system and its user authority control method, equipment, storage medium |
CN108280367A (en) * | 2018-01-22 | 2018-07-13 | 腾讯科技(深圳)有限公司 | Management method, device, computing device and the storage medium of data manipulation permission |
CN108776756A (en) * | 2018-06-04 | 2018-11-09 | 北京奇虎科技有限公司 | Access authorization for resource management method and device |
-
2018
- 2018-11-13 CN CN201811347811.3A patent/CN109683942B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017220114A (en) * | 2016-06-09 | 2017-12-14 | 富士電機株式会社 | Control system and control method |
CN107818102A (en) * | 2016-09-12 | 2018-03-20 | 平安科技(深圳)有限公司 | data extraction method and device |
CN107277038A (en) * | 2017-07-18 | 2017-10-20 | 北京微影时代科技有限公司 | Access control method, device and system |
CN107679064A (en) * | 2017-07-31 | 2018-02-09 | 平安科技(深圳)有限公司 | Data query method, apparatus and computer-readable recording medium |
CN107944296A (en) * | 2017-11-30 | 2018-04-20 | 郑州云海信息技术有限公司 | A kind of cloud storage system and its user authority control method, equipment, storage medium |
CN108280367A (en) * | 2018-01-22 | 2018-07-13 | 腾讯科技(深圳)有限公司 | Management method, device, computing device and the storage medium of data manipulation permission |
CN108776756A (en) * | 2018-06-04 | 2018-11-09 | 北京奇虎科技有限公司 | Access authorization for resource management method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112214205A (en) * | 2020-10-10 | 2021-01-12 | 中国平安人寿保险股份有限公司 | Method, device and equipment for setting menu path and storage medium |
CN112214205B (en) * | 2020-10-10 | 2023-09-26 | 中国平安人寿保险股份有限公司 | Method, device, equipment and storage medium for setting menu path |
CN114398104A (en) * | 2022-01-19 | 2022-04-26 | 中国平安人寿保险股份有限公司 | Script processing method, device, equipment and storage medium |
CN114398104B (en) * | 2022-01-19 | 2024-06-04 | 中国平安人寿保险股份有限公司 | Script processing method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109683942B (en) | 2024-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109981619A (en) | Data capture method, device, medium and electronic equipment | |
CN109446099A (en) | Automatic test cases generation method, device, medium and electronic equipment | |
CN109739478A (en) | Front end project automated construction method, device, storage medium and electronic equipment | |
CN108153547A (en) | Method for edition management, device, medium and the electronic equipment of micro services | |
CN109697075A (en) | File updating method, system and device | |
CN109325213A (en) | Method and apparatus for labeled data | |
CN109660426A (en) | Monitoring method and system, computer-readable medium and electronic equipment | |
CN110427415A (en) | Knowledge share method, device, system media and electronic equipment | |
CN110019080A (en) | Data access method and device | |
CN109359194A (en) | Method and apparatus for predictive information classification | |
CN109981322A (en) | The method and apparatus of cloud resource management based on label | |
CN108733787A (en) | Database operation method, device, electronic equipment and storage medium | |
CN109547261A (en) | Service line switching method, device, electronic equipment and storage medium | |
CN108920238A (en) | Operate method, electronic equipment and the computer-readable medium of application | |
CN107835181A (en) | Right management method, device, medium and the electronic equipment of server cluster | |
CN109597810A (en) | A kind of task cutting method, device, medium and electronic equipment | |
CN110070394A (en) | Data processing method, system, medium and calculating equipment | |
CN110321252A (en) | A kind of method and apparatus of craft services scheduling of resource | |
CN109218041A (en) | Request processing method and device for server system | |
CN107347093A (en) | Collocation method and device for distributed server system | |
CN109299124A (en) | Method and apparatus for more new model | |
CN110119386A (en) | Data processing method, data processing equipment, medium and calculating equipment | |
CN109828830A (en) | Method and apparatus for managing container | |
CN109460363A (en) | Automated testing method, device, electronic equipment and computer-readable medium | |
CN109409419A (en) | Method and apparatus for handling data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |