CN109902493A - The delivery method and server of script - Google Patents

The delivery method and server of script Download PDF

Info

Publication number
CN109902493A
CN109902493A CN201910008355.8A CN201910008355A CN109902493A CN 109902493 A CN109902493 A CN 109902493A CN 201910008355 A CN201910008355 A CN 201910008355A CN 109902493 A CN109902493 A CN 109902493A
Authority
CN
China
Prior art keywords
script
user
server
target
target user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910008355.8A
Other languages
Chinese (zh)
Other versions
CN109902493B (en
Inventor
古国亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910008355.8A priority Critical patent/CN109902493B/en
Publication of CN109902493A publication Critical patent/CN109902493A/en
Application granted granted Critical
Publication of CN109902493B publication Critical patent/CN109902493B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention is suitable for technical field of data processing, provide the delivery method and server of a kind of script, sent instructions under script by receiving, it transfers down the script for sending instructions and including and identifies corresponding script note as target script note, obtain target script attribute and provider's server identification, if script attribute is not belonging to preset attribute set, the script will be then received in preset time period identifies the user of corresponding script as with reference to user, it calculates target user and identifies corresponding target user's information and each similarity with reference to user information, and determined according to similarity send instructions under the script it is whether legal, if it is legal to send instructions under script, then after identifying corresponding encryption rule by script and being encrypted to the corresponding script of script mark, it is issued to target user and identifies corresponding server, so that script is in reasonable model Enclose it is interior issued use, guarantee that script is not leaked safely, and the admin-authentication process of central server complete intelligent executes.

Description

The delivery method and server of script
Technical field
The invention belongs to technical field of data processing more particularly to the delivery methods and server of a kind of script.
Background technique
In such as large-scale financial institution's distributed system, each distribution child servers generally require repeated application phase Same script, therefore in order to improve the efficiency of script exploitation and application, each child servers are often by the script of oneself exploitation It is uploaded to central server, for other child servers calling, meanwhile, each child servers can be downloaded from central server The script that oneself is needed, to avoid overlapping development.
However, the significance level of different scripts is different, therefore the upload of script and the process issued, it is understood that there may be important Script be leaked or by low rights user obtain the phenomenon that, this phenomenon can be brought very to the Construction Company of distributed system Big harm.Currently, the prior art has that intelligence degree is low to the management that issues of script, and issues process in script It is middle to there is a problem of that safety is lower.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of delivery method of script and server, to solve the prior art There is a problem of during script issues safety it is lower the problem of.
The first aspect of the embodiment of the present invention provides a kind of delivery method of script, comprising:
It receives and sends instructions under script, sent instructions under the script comprising script mark and target user's mark;Transfer institute State script and identify corresponding script and explain and explained as target script, the target script explain comprising target script attribute and Provider's server identification;If the target script attribute belongs to preset attribute set, to provider's server mark Know corresponding server transmission and issue request, and is believed according to the answer that the corresponding server of provider's server identification returns Breath, determine send instructions under the script it is whether legal;If the script attribute is not belonging to preset attribute set, when will be default Between received the script in section and identify the user of corresponding script and be used as with reference to user, transfer the target user and identify and correspond to Target user's information and the reference user information with reference to user, calculate target user's information and each ginseng Examine the similarity of user information, and determined according to the similarity send instructions under the script it is whether legal;If under the script It is legal to send instructions, then by the script identify script described in corresponding encryption rule and key pair identify corresponding script into After row encryption, it is issued to the target user and identifies corresponding server.
The second aspect of the embodiment of the present invention provides a kind of server, including memory and processor, the storage The computer program that can be run on the processor is stored in device, it is real when the processor executes the computer program Existing following steps:
It receives and sends instructions under script, sent instructions under the script comprising script mark and target user's mark;Transfer institute State script and identify corresponding script and explain and explained as target script, the target script explain comprising target script attribute and Provider's server identification;If the target script attribute belongs to preset attribute set, to provider's server mark Know corresponding server transmission and issue request, and is believed according to the answer that the corresponding server of provider's server identification returns Breath, determine send instructions under the script it is whether legal;If the script attribute is not belonging to preset attribute set, when will be default Between received the script in section and identify the user of corresponding script and be used as with reference to user, transfer the target user and identify and correspond to Target user's information and the reference user information with reference to user, calculate target user's information and each ginseng Examine the similarity of user information, and determined according to the similarity send instructions under the script it is whether legal;If under the script It is legal to send instructions, then by the script identify script described in corresponding encryption rule and key pair identify corresponding script into After row encryption, it is issued to the target user and identifies corresponding server.
The third aspect of the embodiment of the present invention provides a kind of lower transmitting apparatus of script, comprising:
Receiving module sends instructions under script for receiving, and sends instructions under the script and uses comprising script mark and target Family mark;Module is transferred, identifies corresponding script note as target script note, the target foot for transferring the script This note includes target script attribute and provider's server identification;Request module, if being used for the target script attribute category In preset attribute set, then request is issued to the corresponding server transmission of provider's server identification, and according to described The reply message that the corresponding server of provider's server identification returns, determine send instructions under the script it is whether legal;It calculates Module will receive the script mark if being not belonging to preset attribute set for the script attribute in preset time period The user for knowing corresponding script is used as with reference to user, transfers the target user and identifies corresponding target user's information and described With reference to the reference user information of user, target user's information and each similarity with reference to user information are calculated, and Determined according to the similarity send instructions under the script it is whether legal;Sending module, if for the conjunction that sends instructions under the script Method is then encrypted by the corresponding script of script mark described in the corresponding encryption rule of script mark and key pair Afterwards, it is issued to the target user and identifies corresponding server.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and the computer program realizes following steps when being executed by processor:
It receives and sends instructions under script, sent instructions under the script comprising script mark and target user's mark;Transfer institute State script and identify corresponding script and explain and explained as target script, the target script explain comprising target script attribute and Provider's server identification;If the target script attribute belongs to preset attribute set, to provider's server mark Know corresponding server transmission and issue request, and is believed according to the answer that the corresponding server of provider's server identification returns Breath, determine send instructions under the script it is whether legal;If the script attribute is not belonging to preset attribute set, when will be default Between received the script in section and identify the user of corresponding script and be used as with reference to user, transfer the target user and identify and correspond to Target user's information and the reference user information with reference to user, calculate target user's information and each ginseng Examine the similarity of user information, and determined according to the similarity send instructions under the script it is whether legal;If under the script It is legal to send instructions, then by the script identify script described in corresponding encryption rule and key pair identify corresponding script into After row encryption, it is issued to the target user and identifies corresponding server.
In embodiments of the present invention, sent instructions under script by receiving, transfer down the script mark for sending instructions and including and correspond to Script explain as target script explain, target script attribute and provider's server identification are obtained, if target script category Property belong to preset attribute set, then request is issued to provider's server identification corresponding server transmission, with determination Whether send instructions under script legal;If script attribute is not belonging to preset attribute set, institute will be received in preset time period It states script and identifies the user of corresponding script and be used as with reference to user, calculate target user and identify corresponding target user's information and each A similarity with reference to user information, and determined according to similarity send instructions under the script it is whether legal, if bristling with anger under script It is legal to enable, then is encrypted identifying script described in corresponding encryption rule and key pair by script and identify corresponding script Afterwards, it is issued to target user and identifies corresponding server, so that script is issued use in the reasonable scope, guarantee script safety It is not leaked, and the complete intelligent execution of admin-authentication process of central server.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of the delivery method of script provided in an embodiment of the present invention;
Fig. 2 is the structural block diagram of the lower transmitting apparatus of script provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Fig. 1 shows the implementation process of the delivery method of script provided in an embodiment of the present invention, and this method process includes step Rapid S101 to S107.The specific implementation principle of each step is as follows.
S101 is received and is sent instructions under script, is sent instructions under the script comprising script mark and target user's mark.
Notably, one kind is central server the present embodiments relate to two class servers, it is another kind of for distribution Child servers, wherein central server is preferably 1, and the script for uploading to distributed child servers is stored and managed Reason after being also used to send instructions in the case where receiving, sends instructions under and carries out analysis and corresponding script is issued to distribution formula clothes Business device;Distributed child servers are used to receive the request of user, send instructions under being generated according to the request, and the transmission that sends instructions by under To central server, to receive the script that user issues.
In embodiments of the present invention, in order to which the script for editing the engineer of a distributed child servers is divided by others The engineer of cloth child servers applies, so that the script of identical function be avoided to be repeated editor, distributed child servers are in The script of script and script note and script mark can be uploaded to before sending instructions under the server reception script of centre described Central server, and determined whether to store the script by central server.Wherein, in embodiments of the present invention, script note is It is write by the engineer of distributed child servers, for describing the data of the script various aspects parameter, for example, script is explained It include: the data such as provider's server identification of script attribute, script type, script compiling parameter and script.It is understood that A correlation circumstance it will be seen that script is explained by script in ground, and for central server, being explained by script can be with Determine similar script.
Notably, central server provided in an embodiment of the present invention is as follows to the process flow of received script:
Optionally, firstly, in the corresponding script note of script and the script for receiving server upload and script After mark, using recently received script as selected script.
Secondly, judging that the script of the selected script identifies whether to be present in central server.If the selected script Script mark be present in central server, then by the selected script replace the selected script script mark it is corresponding It is present in the script of the central server.If the script mark of the selected script is not present in the central server, But the script of the selected script, which is explained, explains similarity greater than default with the one of script for being present in central server Note similarity threshold, then the code in the selected script is added to the stored script of the central server and infused It solves in corresponding script.
It is to be appreciated that through the above steps, it is ensured that will not repeat to store the foot of redundancy in embodiments of the present invention This, saves the memory space of central server.
Notably, the executing subject of the embodiment of the present invention is central server, therefore center is highlighted below The analysis and the related embodiment that the script stored is managed that server sends instructions under.
Optionally, send instructions can be under central server institute is received and be sent to central service by distributed child servers Device.
In embodiments of the present invention, script mark is for making central server determine a unique script, target user It identifies the script for sending instructions included under the script for determining central server and identifies which corresponding script should be sent to User.
S102 transfers the script and identifies corresponding script note as target script note, and the target script is explained Include target script attribute and provider's server identification.
In embodiments of the present invention, in order to which the clearer attribute for identifying corresponding script to script is analyzed, so as to More accurately judge whether to send instructions under and associated script is issued, so needing to transfer more data as ginseng It examines, so, according to foregoing description, needs to transfer the script received and identify corresponding script note as target script note Solution.
The target script attribute for including in target script note identifies which kind of corresponding script belongs to for determining the script The script of attribute, such as: script attribute includes: production environment script, test class script, interface class script, system O&M class foot Sheet, terminal script etc., provider's server identification identify which distribution formula clothes corresponding script is by for indicating the script It is engaged in what device provided.
S103, judges whether the target script attribute belongs to preset attribute set.
Since security requirement of the central server for the script of different attribute is different, so in subsequent execution mode On, different script attributes may correspond to different processing steps, so needing to first determine whether that target script attribute is herein It is no to belong to preset attribute set.For example, in the actual implementation process, if the attribute of a script is production environment script, Then central server is just higher to the sensitivity of the script, can in the follow-up process using more it is safe it is safe by the way of judge be It is no will send instructions under the script and script be issued to the corresponding distributed child servers of target user's mark.If a foot This attribute is test class script, then central server may be relatively low to the security requirement of the script, may be in subsequent mistake It determines whether to send instructions under the script and script using more intelligent more quick mode in journey and is issued to target The corresponding distributed child servers of user identifier.
To sum up, in embodiments of the present invention, the high script attribute of security requirement is stored in preset attribute set in advance, To select corresponding hold during subsequent by judging whether the target script attribute belongs to preset attribute set Line mode.
S104, if the target script attribute belongs to preset attribute set, to provider's server identification pair The server transmission answered issues request, and the reply message returned according to the corresponding server of provider's server identification, Determine send instructions under the script it is whether legal.
It is to be appreciated that since include in preset attribute set is all the high script attribute of security requirement, so Once target script attribute belongs to preset attribute set, in order to meet the requirement of safety, the embodiment of the present invention is needed one It is a to issue request and be sent to the corresponding server of provider's server identification, and wrapped according in the reply message of the server The legal or illegal mark contained, determine send instructions under the script it is whether legal.
S105 will receive the foot if the script attribute is not belonging to preset attribute set in preset time period This user for identifying corresponding script is used as with reference to user, transfer the target user identify corresponding target user's information and The reference user information with reference to user, calculate target user's information to it is each described with reference to the similar of user information Degree, and determined according to the similarity send instructions under the script it is whether legal.
In embodiments of the present invention, since include in preset attribute set is all the high script category of security requirement Property, once so target script attribute is not belonging to preset attribute set, then it is assumed that the corresponding script of target script attribute Security requirement is low, can be determined by way of verifying automatically send instructions under script it is whether legal, to improve verifying legitimacy The degree of automation.
In embodiments of the present invention, due to containing target user's mark in sending instructions under, so central server can With the corresponding user information of invocation target user identifier, that is, target user's information, it is possible to understand that ground, target user's information can be used In characterization target user.In addition, the user for the script will be received in preset time period (in such as 1 week) identifying corresponding script As reference user, the user information transferred with reference to user refers to user information, if ginseng similar with target user's information The ratio for examining user information is very high, then it is assumed that the target user identifies the corresponding available script of user and identifies corresponding foot This, i.e., it is legal to send instructions under script.
Optionally, target user's information and each similarity with reference to user information are calculated, comprising: will be described Target user's information is converted to target user's matrix, and by it is each it is described be respectively converted into reference to user information it is each with reference to user Matrix;Pass through formula:Calculate target user's information and each described with reference to user information Similarity, wherein target user's information and each similarity with reference to user information, the VjTo refer to user j Reference user's matrix, the X be target user's matrix, the n be the VjAnd the X element number.
Optionally, determined according to the similarity send instructions under the script it is whether legal, comprising: calculate the target and use The average value of family information and each similarity with reference to user information, as similar average value;If the similar average value Greater than preset similarity threshold, then it is legal to determine to send instructions under the script;If the similar average value is no more than preset Similarity threshold then issues request to the corresponding server transmission of provider's server identification, and according to the provider The reply message that the corresponding server of server identification returns, determine send instructions under the script it is whether legal.
S106 is identifying corresponding encryption rule and key by the script if it is legal to send instructions under the script After being encrypted to the corresponding script of script mark, it is issued to the target user and identifies corresponding server.
In embodiments of the present invention, in order to guarantee safety of the script in transmission process, by passing through the script mark Know the corresponding script of the mark of script described in corresponding encryption rule and key pair to be encrypted.
It is to be appreciated that it is that distributed child servers are receiving encrypted foot that target user, which identifies corresponding server, After this, the script after corresponding decryption rule and key pair encryption can be identified according to script is decrypted.
Optionally, distributed child servers can be fixed and be stored in advance in for the decryption rule and key of decryption In distributed child servers.
Optionally, in order to improve the safety of script encryption and decryption, central server can be issued receiving script After instruction, dynamic selection with send instructions under the script in include the corresponding encryption rule of script mark and generation key, And corresponding script is identified by script described in the encryption rule of the dynamic generation and key pair and is encrypted.But this there is Script is not stored in advance and identifies corresponding decryption rule and key, can not solve for one problem in distribution child servers It is close.
Based on the above reasons, thus central server need under certain conditions by script identify corresponding decryption rule and Key is sent to the target user and identifies corresponding server.Optionally, one of implementation are as follows: issued receiving script The target user is received after instructing and identifies corresponding log-on message, includes that account name and combination are close in the log-on message Code;According to preset rule of combination, splits the combination pin and obtain login password and check code;It is marked according to the target user Know corresponding preset check code record, verifies the check code;According to the account name and preset login password data The login password is verified in library;If the check code and the login password pass through verifying, by script mark pair The decryption rule and key answered are sent to the target user and identify corresponding server.
S107 will instruct illegal notice to be sent to target user's mark pair if it is illegal to send instructions under the script The server answered.
In embodiments of the present invention, sent instructions under script by receiving, transfer down the script mark for sending instructions and including and correspond to Script explain as target script explain, target script attribute and provider's server identification are obtained, if script attribute is not Belong to preset attribute set, then will receive the script in preset time period and identify the user of corresponding script as reference User calculates target user and identifies corresponding target user's information and each similarity with reference to user information, and according to similar Whether legal, if it is legal to send instructions under script, identifying corresponding encryption by script if sending instructions under the determining script of degree After rule encrypts the corresponding script of script mark, it is issued to target user and identifies corresponding server, so that script exists Use is issued in zone of reasonableness, guarantees that script is not leaked safely, and the admin-authentication process of central server is entirely intelligent It executes.
Corresponding to the delivery method of script described in foregoing embodiments, Fig. 2 shows scripts provided in an embodiment of the present invention Lower transmitting apparatus structural block diagram, for ease of description, only parts related to embodiments of the present invention are shown.
Referring to Fig. 2, which includes:
Receiving module 201 sends instructions under script for receiving, and is sent instructions under the script comprising script mark and target User identifier;
Module 202 is transferred, identifies corresponding script note as target script note, the mesh for transferring the script Marking script and explaining includes target script attribute and provider's server identification;
Request module 203 takes if belonging to preset attribute set for the target script attribute to the provider Business device identifies corresponding server transmission and issues request, and returned according to the corresponding server of provider's server identification Reply message, determine send instructions under the script it is whether legal;
Preset time period is inscribed if being not belonging to preset attribute set for the script attribute for computing module 204 It received the script and identifies the user of corresponding script and be used as with reference to user, and transferred the target user and identify corresponding target and use Family information and the reference user information with reference to user, calculate target user's information and each reference user believes The similarity of breath, and determined according to the similarity send instructions under the script it is whether legal;
Sending module 205 is identifying corresponding encryption by the script if legal for sending instructions under the script After the corresponding script of the mark of script described in rule and key pair is encrypted, it is issued to the target user and identifies corresponding service Device.
Optionally, the device further include:
Script receiving module, for being explained in the script and the corresponding script of the script that receive server upload and After script mark, using recently received script as selected script;
Replacement module will be described selected if the script mark for the selected script is present in central server The script that script replaces the selected script identifies the corresponding script for being present in the central server;
Memory module, if the script mark for the selected script is not present in the central server, but the quilt It selects the script of script to explain and explains similarity greater than preset note phase with the one of script for being present in central server Like degree threshold value, then it is corresponding the code in the selected script to be added to the stored script note of the central server In script.
Optionally, the computing module further include:
Transform subblock, for target user's information to be converted to target user's matrix, and by each reference User information is respectively converted into each with reference to user's matrix;
Similarity calculation submodule, for passing through formula:Calculate target user's information With each similarity with reference to user information, wherein target user's information and each described with reference to user information Similarity, the VjFor reference user's matrix with reference to user j, the X is target user's matrix, and the n is the VjAnd institute State X element number.
Optionally, computing module further include:
Computational submodule, for calculating the flat of target user's information and each similarity with reference to user information Mean value, as similar average value;
First implementation sub-module determines the foot if being greater than preset similarity threshold for the similar average value It is legal to send instructions under this;
Second implementation sub-module mentions if being not more than preset similarity threshold for the similar average value to described The corresponding server transmission of supplier's server identification issues request, and according to the corresponding server of provider's server identification The reply message of return, determine send instructions under the script it is whether legal.
Optionally, the device further include:
Information receiving module identifies corresponding log-on message for receiving the target user, wraps in the log-on message Containing account name and combination pin;
Module is split, for the combination pin being split and obtaining login password and check code according to preset rule of combination;
First authentication module, for being recorded according to the corresponding preset check code of target user mark, described in verifying Check code;
Second authentication module, for verifying the login according to the account name and preset login password database Password;
Password sending module, if passing through verifying for the check code and the login password, by the script It identifies corresponding decryption rule and key is sent to the target user and identifies corresponding server.
In embodiments of the present invention, sent instructions under script by receiving, transfer down the script mark for sending instructions and including and correspond to Script explain as target script explain, target script attribute and provider's server identification are obtained, if script attribute is not Belong to preset attribute set, then will receive the script in preset time period and identify the user of corresponding script as reference User calculates target user and identifies corresponding target user's information and each similarity with reference to user information, and according to similar Whether legal, if it is legal to send instructions under script, identifying corresponding encryption by script if sending instructions under the determining script of degree After rule encrypts the corresponding script of script mark, it is issued to target user and identifies corresponding server, so that script exists Use is issued in zone of reasonableness, guarantees that script is not leaked safely, and the admin-authentication process of central server is entirely intelligent It executes.
Fig. 3 is the schematic diagram for the server that one embodiment of the invention provides.As shown in figure 3, the server 3 of the embodiment wraps It includes: processor 30, memory 31 and being stored in the computer that can be run in the memory 31 and on the processor 30 Program 32, such as script issue program.The processor 30 realizes above-mentioned each script when executing the computer program 32 Delivery method embodiment in step, such as step 101 shown in FIG. 1 is to 107.Alternatively, the processor 30 execute it is described The function of each module/unit in above-mentioned each Installation practice, such as unit 201 to 205 shown in Fig. 2 are realized when computer program 32 Function.
Illustratively, the computer program 32 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 31, and are executed by the processor 30, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 32 in the server 3 is described.
The server 3 can be desktop PC, notebook, palm PC and cloud server etc. and calculate equipment. The server may include, but be not limited only to, processor 30, memory 31.It will be understood by those skilled in the art that Fig. 3 is only It is the example of server 3, does not constitute the restriction to server 3, may include than illustrating more or fewer components or group Close certain components or different components, for example, the server can also include input-output equipment, network access equipment, Bus etc..
Alleged processor 30 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 31 can be the internal storage unit of the server 3, such as the hard disk or memory of server 3. The memory 31 is also possible to the External memory equipment of the server 3, such as the plug-in type being equipped on the server 3 is hard Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the memory 31 can also both include the internal storage unit of the server 3 or wrap Include External memory equipment.The memory 31 is for other programs needed for storing the computer program and the server And data.The memory 31 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of delivery method of script characterized by comprising
It receives and sends instructions under script, sent instructions under the script comprising script mark and target user's mark;
It transfers the script and identifies corresponding script note as target script note, it includes target foot that the target script, which is explained, This attribute and provider's server identification;
If the target script attribute belongs to preset attribute set, to the corresponding server of provider's server identification Transmission issues request, and the reply message returned according to the corresponding server of provider's server identification, determines the foot Whether send instructions under this legal;
If the script attribute is not belonging to preset attribute set, the script mark will be received in preset time period and was corresponded to The user of script be used as and refer to user, transfer the target user and identify corresponding target user's information and described with reference to using The reference user information at family calculates target user's information and each similarity with reference to user information, and according to institute State similarity determine send instructions under the script it is whether legal;
If it is legal to send instructions under the script, script described in corresponding encryption rule and key pair is being identified by the script It identifies after corresponding script encrypted, is issued to the target user and identifies corresponding server.
2. the delivery method of script as described in claim 1, which is characterized in that before sending instructions under the reception script, Further include:
After the script and the corresponding script of the script for receiving server upload are explained and script identifies, by newest reception The script arrived is as selected script;
If the script mark of the selected script is present in central server, the selected script is replaced into the selected foot This script identifies the corresponding script for being present in the central server;
If the script mark of the selected script is not present in the central server, but the script of the selected script explain with The one of script for being present in central server explains similarity and is greater than preset note similarity threshold, then by the quilt It selects the code in script to be added to the stored script of the central server to explain in corresponding script.
3. the delivery method of script as described in claim 1, which is characterized in that the target user's information and each of calculating A similarity with reference to user information, comprising:
Target user's information is converted into target user's matrix, and each user information that refers to is respectively converted into respectively It is a to refer to user's matrix;
Pass through formula:Calculate target user's information and each phase with reference to user information Like degree, wherein target user's information and each similarity with reference to user information, the VjFor with reference to user j's With reference to user's matrix, the X is target user's matrix, and the n is the VjAnd the X element number.
4. the delivery method of script as described in claim 1, which is characterized in that described to determine the foot according to the similarity Whether send instructions under this legal, comprising:
The average value for calculating target user's information Yu each similarity with reference to user information, as similar average Value;
If the similar average value is greater than preset similarity threshold, it is legal to determine to send instructions under the script;
If the similar average value is not more than preset similarity threshold, to the corresponding service of provider's server identification Device transmission issues request, and the reply message returned according to the corresponding server of provider's server identification, described in determination Whether send instructions under script legal.
5. the delivery method of script as described in claim 1, which is characterized in that after sending instructions under the reception script, Further include:
It receives the target user and identifies corresponding log-on message, include account name and combination pin in the log-on message;
According to preset rule of combination, splits the combination pin and obtain login password and check code;
According to the corresponding preset check code record of target user mark, the check code is verified;
According to the account name and preset login password database, the login password is verified;
If the check code and the login password pass through verifying, it is regular and close that the script is identified into corresponding decryption Key is sent to the target user and identifies corresponding server.
6. a kind of server, including memory and processor, it is stored with and can runs on the processor in the memory Computer program, which is characterized in that when the processor executes the computer program, realize following steps:
It receives and sends instructions under script, sent instructions under the script comprising script mark and target user's mark;
It transfers the script and identifies corresponding script note as target script note, it includes target foot that the target script, which is explained, This attribute and provider's server identification;
If the target script attribute belongs to preset attribute set, to the corresponding server of provider's server identification Transmission issues request, and the reply message returned according to the corresponding server of provider's server identification, determines the foot Whether send instructions under this legal;
If the script attribute is not belonging to preset attribute set, the script mark will be received in preset time period and was corresponded to The user of script be used as and refer to user, transfer the target user and identify corresponding target user's information and described with reference to using The reference user information at family calculates target user's information and each similarity with reference to user information, and according to institute State similarity determine send instructions under the script it is whether legal;
If it is legal to send instructions under the script, script described in corresponding encryption rule and key pair is being identified by the script It identifies after corresponding script encrypted, is issued to the target user and identifies corresponding server.
7. server as claimed in claim 6, which is characterized in that described determined according to the similarity is bristled with anger under the script Whether enable legal, comprising:
The average value for calculating target user's information Yu each similarity with reference to user information, as similar average Value;
If the similar average value is greater than preset similarity threshold, it is legal to determine to send instructions under the script;
If the similar average value is not more than preset similarity threshold, to the corresponding service of provider's server identification Device transmission issues request, and the reply message returned according to the corresponding server of provider's server identification, described in determination Whether send instructions under script legal.
8. server as claimed in claim 6, which is characterized in that after sending instructions under the reception script, further includes:
It receives the target user and identifies corresponding log-on message, include account name and combination pin in the log-on message;
According to preset rule of combination, splits the combination pin and obtain login password and check code;
According to the corresponding preset check code record of target user mark, the check code is verified;
According to the account name and preset login password database, the login password is verified;
If the check code and the login password pass through verifying, it is regular and close that the script is identified into corresponding decryption Key is sent to the target user and identifies corresponding server.
9. a kind of lower transmitting apparatus of script, which is characterized in that described device includes:
Receiving module sends instructions under script for receiving, and is sent instructions under the script comprising script mark and target user's mark Know;
Module is transferred, identifies corresponding script note as target script note, the target script for transferring the script Explain includes target script attribute and provider's server identification;
Request module, if belonging to preset attribute set for the target script attribute, to provider's server mark Know corresponding server transmission and issue request, and is believed according to the answer that the corresponding server of provider's server identification returns Breath, determine send instructions under the script it is whether legal;
Computing module will receive institute if being not belonging to preset attribute set for the script attribute in preset time period It states script and identifies the user of corresponding script and be used as with reference to user, transfer the target user and identify corresponding target user's information And the reference user information with reference to user, calculate target user's information and each phase with reference to user information Like degree, and determined according to the similarity send instructions under the script it is whether legal;
Sending module, if legal for sending instructions under the script, by the script identify corresponding encryption rule and After the corresponding script of the mark of script described in key pair is encrypted, it is issued to the target user and identifies corresponding server.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
CN201910008355.8A 2019-01-04 2019-01-04 Script issuing method and server Active CN109902493B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910008355.8A CN109902493B (en) 2019-01-04 2019-01-04 Script issuing method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910008355.8A CN109902493B (en) 2019-01-04 2019-01-04 Script issuing method and server

Publications (2)

Publication Number Publication Date
CN109902493A true CN109902493A (en) 2019-06-18
CN109902493B CN109902493B (en) 2023-12-22

Family

ID=66943549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910008355.8A Active CN109902493B (en) 2019-01-04 2019-01-04 Script issuing method and server

Country Status (1)

Country Link
CN (1) CN109902493B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
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
CN112948773A (en) * 2021-02-07 2021-06-11 深圳市大梦龙途文化传播有限公司 Script encryption and decryption method, terminal device and readable storage medium
CN113709513A (en) * 2021-08-30 2021-11-26 广州方硅信息技术有限公司 Equipment fingerprint processing method, user side, server, system and storage medium
CN115150191A (en) * 2022-07-29 2022-10-04 济南浪潮数据技术有限公司 Cross-region cloud management platform information interaction method and related components

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11212850A (en) * 1998-01-29 1999-08-06 Hitachi Ltd Encipherment common file transmission and reception system
CN105471812A (en) * 2014-06-20 2016-04-06 北京奇虎科技有限公司 Method and system for acquiring network video resource
US20170269918A1 (en) * 2014-11-24 2017-09-21 Oberthur Technolgies Implicit file creation in apdu scripts
CN107517179A (en) * 2016-06-15 2017-12-26 阿里巴巴集团控股有限公司 A kind of method for authenticating, device and system
CN107871266A (en) * 2016-09-28 2018-04-03 菜鸟智能物流控股有限公司 Method for acquiring interactive certificate and related device
CN108009439A (en) * 2016-11-28 2018-05-08 北京车和家信息技术有限责任公司 The method, apparatus and system of resource request

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11212850A (en) * 1998-01-29 1999-08-06 Hitachi Ltd Encipherment common file transmission and reception system
CN105471812A (en) * 2014-06-20 2016-04-06 北京奇虎科技有限公司 Method and system for acquiring network video resource
US20170269918A1 (en) * 2014-11-24 2017-09-21 Oberthur Technolgies Implicit file creation in apdu scripts
CN107517179A (en) * 2016-06-15 2017-12-26 阿里巴巴集团控股有限公司 A kind of method for authenticating, device and system
CN107871266A (en) * 2016-09-28 2018-04-03 菜鸟智能物流控股有限公司 Method for acquiring interactive certificate and related device
CN108009439A (en) * 2016-11-28 2018-05-08 北京车和家信息技术有限责任公司 The method, apparatus and system of resource request

Cited By (6)

* Cited by examiner, † Cited by third party
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
CN112948773A (en) * 2021-02-07 2021-06-11 深圳市大梦龙途文化传播有限公司 Script encryption and decryption method, terminal device and readable storage medium
CN113709513A (en) * 2021-08-30 2021-11-26 广州方硅信息技术有限公司 Equipment fingerprint processing method, user side, server, system and storage medium
CN113709513B (en) * 2021-08-30 2023-03-10 广州方硅信息技术有限公司 Equipment fingerprint processing method, user side, server, system and storage medium
CN115150191A (en) * 2022-07-29 2022-10-04 济南浪潮数据技术有限公司 Cross-region cloud management platform information interaction method and related components

Also Published As

Publication number Publication date
CN109902493B (en) 2023-12-22

Similar Documents

Publication Publication Date Title
CN109981679B (en) Method and apparatus for performing transactions in a blockchain network
CN107317730B (en) Method, equipment and system for monitoring state of block chain node
CN109902493A (en) The delivery method and server of script
US10079832B1 (en) Controlling user creation of data resources on a data processing platform
US20210256309A1 (en) Apparatuses, computer program products, and computer-implemented methods for privacy-preserving federated learning
US20190289009A1 (en) Controlling user creation of data resources on a data processing platform
CN105164633B (en) The configuration and verifying carried out by trusted provider
US20210142221A1 (en) Autonomous logic modules
CN109656538A (en) Generation method, device, system, equipment and the medium of application program
CN114253793A (en) Dynamic tracking control
CN104506487B (en) The credible execution method of privacy policy under cloud environment
CN111800450B (en) Multidimensional tag namespaces for cloud resource management
CN109669986A (en) Blacklist sharing method, device, equipment and storage medium based on block chain
CN106453519A (en) Interface call method and device
US10891357B2 (en) Managing the display of hidden proprietary software code to authorized licensed users
EP2667301B1 (en) Decision service manager
CN109376021A (en) The response method and server that interface calls
CN108777675A (en) Electronic device, auth method and computer storage media based on block chain
Rajan et al. Tisa: Toward trustworthy services in a service-oriented architecture
Chen et al. Policychain: a decentralized authorization service with script-driven policy on blockchain for internet of things
CN114186266A (en) Big data security and privacy computing control method in super computing and cloud computing environment
US10310962B2 (en) Infrastructure rule generation
CN109522060A (en) The restoring method and terminal device of business scenario
CN116934357A (en) Industrial product tracing method based on block chain and distributed technology
US20240046147A1 (en) Systems and methods for administrating a federated learning network

Legal Events

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