CN109683926A - Networking component update method, device, equipment and computer readable storage medium - Google Patents
Networking component update method, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN109683926A CN109683926A CN201811049655.2A CN201811049655A CN109683926A CN 109683926 A CN109683926 A CN 109683926A CN 201811049655 A CN201811049655 A CN 201811049655A CN 109683926 A CN109683926 A CN 109683926A
- Authority
- CN
- China
- Prior art keywords
- networking component
- access
- component
- customization
- networking
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention discloses a kind of networking component update method, device, equipment and computer readable storage medium, the described method includes: when receiving customization networking component, control customizes networking component operation, and counts and customize the operation error rate of networking component within a preset time;Judge to run whether error rate is less than preset value, if operation error rate is less than preset value, networking component will be customized and default base version is compared, determine the variance data customized between networking component and default base version;Variance data is added in default base version, new base version is formed, completes the update of networking component.This programme is when the operation error rate for customizing networking component is less than preset value, the variance data customized between operating component and default base version is added to default base version, networking component is updated, it avoids frequently upgrading description components, reduce the hair version frequency of networking component, it is ensured that the transmission of new business data is realized while former business datum safety and stability is transmitted.
Description
Technical field
The invention mainly relates to network communication technology fields, specifically, being related to a kind of networking component update method, dress
It sets, equipment and computer readable storage medium.
Background technique
Partner involved in financial institution is numerous at present, as in each cooperative bank, each borrower's company and mechanism
Each branch company, portion etc.;In order to realize the communication of different partners, different communication mechanisms is set, such as the special of cooperative bank
Line communicates, for internal interior Network Communication etc.;This different communication mechanism is realized by networking component, i.e., is realized by networking component
The communications of business datum between partner and financial institution.
Partner and financial institution are with the development of business, there are the feelings updated in the business datum transmitted between the two
Condition, and there is different transmission demands;It needs to be updated networking component accordingly, to realize the industry of different transmission demands
Business data are transmitted between financial institution and its partner.But the randomness of the service data updating of partner and financial institution
It is larger, if once there is service data updating, upgrading update just is carried out to networking component, the renewal frequency mistake of networking component can be made
Fastly, the phenomenon that being easy to appear fluctuation of service, and its script is influenced to the transmission process ability of business datum.
Summary of the invention
The main object of the present invention is to provide a kind of networking component update method, device, equipment and computer-readable storage
Medium, it is intended to solve prior art financial institution and partner updates networking component comparatively fast, shadow
The problem of ringing transmission process ability of the networking component script to business datum.
To achieve the above object, the present invention provides a kind of networking component update method, the networking component update method packet
Include following steps:
When receiving customization networking component, the customization networking component operation is controlled, and count the customization
The operation error rate of networking component within a preset time;
Judge whether the operation error rate is less than preset value, it, will be described if the operation error rate is less than preset value
It customizes networking component and default base version is compared, determine the difference between the customization networking component and the default base version
Heteromerism evidence;
The variance data is added in the default base version, new default base version is formed, completes networking component more
Newly.
Preferably, the control customization networking component operation, and the customization networking component is counted default
The step of operation error rate in time includes:
When receiving the first access request of business datum corresponding with the customization networking component, it is based on the customization
Change the center applications component that the business datum is linked into the customization networking component by the Agent components in networking component;
The first access information of first access request is read, and corresponding according to the center applications component is linked into
The accessing identifier carried in business datum determines the access way of the business datum;
According to the consistency of first access information and the access way, the customization networking component is counted pre-
If the operation error rate in the time.
Preferably, the consistency according to first access information and the access way, counts the customization
The step of networking component operation error rate within a preset time includes:
Statistics within a preset time, the number of operations of access operation is carried out to the business datum, and judges each behaviour
Make in number, whether first access information and the access way are consistent;
If first access information and the access way are inconsistent, access error is determined, and count the access
The error number of error;
According to the error number and the number of operations, the operation error rate for customizing networking component is determined.
Preferably, the statistics within a preset time, the step of the number of operations of access operation is carried out to the business datum
Suddenly include:
Statistics within a preset time, receives the request number of times of the access request, and determine in the request number of times
Effective request number of times and invalidation request number;
Effective request number of times is set as the number of operations, and executes and judges in each number of operations, it is described
Access information and the whether consistent step of the access way, to count the error number in each number of operations;
It is described according to the error number and the number of operations, determine the operation error rate for customizing networking component
The step of include:
According to the error number, the invalidation request number and the request number of times, the customization network is determined
The operation error rate of component.
Preferably, described that the variance data is added in the default base version, new default base version is formed, net is completed
The step of update of network component includes:
According to the type identifier in the variance data, determination and Agent components and the network in the networking component
Center applications component is corresponding in component acts on behalf of variance data and using variance data;
Pre-set code is called to divide in the Agent components of the default base version and the center applications component of the default base version
Addition frame and application addition frame Sheng Cheng not be acted on behalf of, and the variance data of acting on behalf of is transferred to agency's addition frame
In, and the application variance data is transferred to the application and is added in frame, to form new default base version, to group of networks
Part is updated.
Preferably, it is described when receive customize networking component when the step of before include:
When receiving the second access request to business datum, the second access letter of second access request is read
Breath, and access networking component corresponding with second access request is determined according to second access information;
Judge whether the function identifier of the access networking component matches with second access information, if the access
The function identifier of networking component is matched with second access information, then based on the Agent components in the access networking component
The business datum is linked into the center applications component of access networking component;
If the function identifier and second access information of the access networking component mismatch, described second is connect
Enter information and be output to networking component O&M side, for networking component O&M root according to second access information in default original version
On the basis of exploitation customize networking component.
Preferably, it is described judge the step of whether the operation error rate is less than preset value after further include:
If the operation error rate is greater than or equal to preset value, each operation of customization networking component error is grabbed
Error log information;
Each error log information is generated into prompt information and is output to networking component O&M side, for networking component O&M
Root optimizes the customization networking component according to the prompt information.
In addition, to achieve the above object, the present invention also proposes that a kind of networking component updating device, the networking component update
Device includes:
Control module for when receiving customization networking component, controlling the customization networking component operation, and is united
Count the operation error rate of the customization networking component within a preset time;
Comparison module, for judging whether the operation error rate is less than preset value, if the operation error rate is less than in advance
If the customization networking component and default base version, then be compared by value, the customization networking component and described pre- is determined
If the variance data between base version;
Adding module forms new default base version, completes for the variance data to be added in the default base version
The update of networking component.
In addition, to achieve the above object, the present invention also proposes that a kind of networking component more new equipment, the networking component update
Equipment includes: memory, processor, communication bus and the networking component being stored on the memory more new procedures;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing the networking component more new procedures, to perform the steps of
When receiving customization networking component, the customization networking component operation is controlled, and count the customization
The operation error rate of networking component within a preset time;
Judge whether the operation error rate is less than preset value, it, will be described if the operation error rate is less than preset value
It customizes networking component and default base version is compared, determine the difference between the customization networking component and the default base version
Heteromerism evidence;
The variance data is added in the default base version, new default base version is formed, completes networking component more
Newly.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
Storage medium be stored with one perhaps more than one program the one or more programs can by one or one with
On processor execute to be used for:
When receiving customization networking component, the customization networking component operation is controlled, and count the customization
The operation error rate of networking component within a preset time;
Judge whether the operation error rate is less than preset value, it, will be described if the operation error rate is less than preset value
It customizes networking component and default base version is compared, determine the difference between the customization networking component and the default base version
Heteromerism evidence;
The variance data is added in the default base version, new default base version is formed, completes networking component more
Newly.
The networking component update method of the present embodiment is run by the customization networking component controlled and received, and counted
Operation error rate within a preset time;When running error rate less than preset value, illustrate that reality can be stablized by customizing networking component
Existing transmission of the business datum between financial institution and its partner, then customize networking component for this and default base version compare,
Determine variance data between the two;Wherein presetting base version is the networking component version for stablizing the former business datum of transmission, and
Networking component is customized as networking component version set by the transmission demand for new business data;To difference between the two
This variance data is added in default base version by heteromerism according to the data to can be used for realizing the transmission demand of new business data,
Form new default base version;It avoids directly being updated the default base version for transmitting former business datum for new business data, drop
The version of low networking component issues frequency, it is ensured that former business datum stablizes the biography realized while transmission to new business data
It is defeated.
Detailed description of the invention
Fig. 1 is the flow diagram of networking component update method first embodiment of the invention;
Fig. 2 is the flow diagram of networking component update method second embodiment of the invention;
Fig. 3 is the functional block diagram of networking component updating device first embodiment of the invention;
Fig. 4 is the device structure schematic diagram for the hardware running environment that present invention method is related to.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of networking component update method.
Fig. 1 is please referred to, Fig. 1 is the flow diagram of inventive network component update method first embodiment.In this implementation
In example, the networking component update method includes:
Step S10 controls the customization networking component operation, and count institute when receiving customization networking component
It states and customizes the operation error rate of networking component within a preset time;
Networking component update method of the invention is applied to the control centre of financial institution server, suitable for passing through control
It realizes to the update for the networking component of business data transmission between financial institution and its partner at center;Wherein financial institution
Partner may include each branch company etc. inside each cooperative bank, each borrower's company and financial institution.Financial machine
Its network area between partner is divided into interior web area and outer web area by structure, and wherein interior web area is in mechanism
The region of portion's communication, outer web area is the region communicated for external collaboration side, passes through outer net between partner and financial institution
Business data transmission is realized between region and interior web area.In view of business datum is directly linked into interior barrier from outer web area
Domain may cause biggish risk, so that edge network area be arranged between outer web area and interior web area, pass through edge network
The business datum of outer web area is linked into interior web area by area.Central site network area is set in interior web area simultaneously, outer web area
Business datum first passes through edge network area and is linked into central site network area, then is transferred to interior barrier by the processing in central site network area
Domain.Specifically, in order to realize the access and processing of business datum, Agent components are disposed in edge network area, to realize business number
According to the transmission between partner and central site network area;Center applications component is disposed in central site network area simultaneously, to business number
According to being handled;By this Agent components and center applications component collectively as the networking component of financial institution.Wherein, because of financial machine
Structure docking partner it is numerous, can the network edge area to each partner be respectively provided with Agent components, can also be to type of service
Same Agent components are arranged in identical partner;So that partners corresponding or multiple with an Agent components, a partner
Corresponding with an Agent components, so that the center applications component in multiple networking components is identical, and Agent components are different.?
Communication connection is established between center applications component and each Agent components, to realize that the communication between financial institution and each partner passes
It is defeated, the business datum of different partners is linked into central site network area.
Because the business datum of partner and financial institution has more news, so that transmission demand changes, to need
Operation is updated to the networking component for realizing transmission.Specifically, original is being preset for the business datum updated by developer
Specific networking component is developed on the basis of beginning version, i.e. customization networking component;Preset original version wherein as developer's exploitation
Networking component in most basic version, other subsequent versions are updated on this basic version, upgrade.This is developed
Customization networking component upload onto the server, when receive this customize networking component when, its operation is controlled by control centre,
It realizes by customizing the Agent components in networking component for new business data access to center applications component;And to customization net
The operation error rate of network component in the process of running is counted, and operation error rate is to occur during to business data transmission
Transmission abnormality, error of transmission probability, with by statistics operation error rate reflection customization networking component operation stability.
Operation stability because customizing networking component reflects within the scope of certain time, to preset preset time, this is default
The time span of time is counted by many experiments and is determined;Networking component is customized in sometime length when determining through many experiments
Stable in range, then it is stable in follow-up operation;And this time length range can be set as to preset time, count this
Operation error rate in preset time, to customize the stability of networking component according to operation error rate judgement.
Step S20, judges whether the operation error rate is less than preset value, if the operation error rate is less than preset value,
Then the customization networking component and default base version are compared, determine the customization networking component and the default base version
Between variance data;
Further, whether stable in order to determine to customize networking component, it is suitably pre- that experimental setup numerical value is first passed through in advance
If value;The operation error rate and preset value of statistics are compared, judge to run the size relation between error rate and preset value.Work as fortune
When row error rate is greater than or equal to preset value, then illustrate that the error rate of customization networking component within a preset time is higher, operation
It is unstable, it needs to optimize.Understandably, in order to characterize the operation conditions for customizing networking component, setting generates log text
Part mechanism;It customizes networking component and no matter transmitting correct or error of transmission, in transmission process is being carried out to business datum
Journal file can be generated, and correctly is added by different marks and is distinguished with the information of error of transmission for transmission.When judging to transport
Row error rate is greater than or equal to preset value, when error rate is higher, then transfers journal file, and therefrom reads and customize networking component
The error log information of each run error within a preset time;To each error log information of this crawl, according to error class
Type is arranged, and the loading error occurring as caused by very same reason is classified as one kind;The error log information of this classified finishing is generated
Prompt information is transferred to networking component O&M side, in order to which networking component O&M root is according to prompt information, to customization group of networks
Part appearance is analyzed compared with the reason of high error rates, and then is optimized to networking component is customized, until customizing group of networks
The operation error rate of part within a preset time is less than preset value.
When running error rate and being less than preset value, then illustrate to customize networking component error rate within a preset time compared with
It is low, it is stable, it can be merged with default base version.Wherein presetting base version is to be used for before there are new business data
Stablize to former business datum the networking component version of transmission, this presets also generates on the basis of default original version substantially.
Because default basic and customize networking component and be respectively used to realize the transmission of business datum and original service data newly occur
Transmission, certainly exists otherness between the two;Wherein being present in default base version may be not present the difference in customization networking component
Heteromerism evidence, the substantially transmission for realizing original service data;And it is present in customization networking component and is not present in default base
Variance data in version, substantially for realizing newly there is the transmission of business datum.It is same in order to be transmitted to original service data
The transmission of Shi Shixian new business data will customize networking component and default base version compares, determines variance data between the two;
Therefore variance data is not present in default base version simultaneously and customizes in networking component, if being added to default base version or customization
While being can be realized in change networking component to the transmission of original service data, new business data are transmitted.
The variance data is added in the default base version by step S30, forms new default base version, completes network
The update of component.
Further, it because variance data is not present in default base version simultaneously and customizes in networking component, is added to
While can be achieved to transmit original service data in default base version or customization networking component, new business data are transmitted;
But in view of the initial data being related in default base version is more, and it is less to customize the initial data that networking component is related to,
It is more to be present in the variance data that default base version may be not present in customization networking component, and is present in customization group of networks
The variance data that part is not present in default base version is less.In order to avoid adding more data volume, and ensure former business datum
The stability of transmission;Variance data is added in default base version, new default base version is formed;Default base version is to be currently used in biography
The base version of defeated business datum, for the base version in variance data institute source, and new default base version is to be added to variance data currently
The base version formed after the default base version used.Because the partial data in variance data is present in default base version, in the mistake of addition
Cheng Zhong, to this already present partial data without addition operate, only to be present in customize networking component may be not present in pre-
If the variance data in base version is added operation.By formation it is new it is default substantially to former business data transmission while, it is real
Now to the transmission of new business data, the update of networking component is completed.
The networking component update method of the present embodiment is run by the customization networking component controlled and received, and counted
Operation error rate within a preset time;When running error rate less than preset value, illustrate that reality can be stablized by customizing networking component
Existing transmission of the business datum between financial institution and its partner, then customize networking component for this and default base version compare,
Determine variance data between the two;Wherein presetting base version is the networking component version for stablizing the former business datum of transmission, and
Networking component is customized as networking component version set by the transmission demand for new business data;To difference between the two
This variance data is added in default base version by heteromerism according to the data to can be used for realizing the transmission demand of new business data,
Form new default base version;It avoids directly being updated the default base version for transmitting former business datum for new business data, drop
The version of low networking component issues frequency, it is ensured that former business datum stablizes the biography realized while transmission to new business data
It is defeated.
Further, in another embodiment of inventive network component update method, the control customization network
Assembly operating, and the step of counting the operation error rate of the customization networking component within a preset time includes:
Step S11 is based on when receiving the first access request of business datum corresponding with the customization networking component
The business datum is linked into the center in the customization networking component by the Agent components in the customization networking component
Application component;
Understandably, it is passed because customizing networking component for the emerging business datum for having different transmission demands
Defeated, i.e., this emerging business datum cannot be transmitted by default base version;In order to be distinguished to this business datum, to this
Business datum addition customizes identifier.When there is the transmission demand of business datum in partner, send business datum first is connect
Enter request;When receiving the first access request of this business datum, judge customization mark whether is carried in the first access request
Know symbol;If carrying customization identifier, it can determine that this business datum needs to be transmitted by customizing networking component, institute
The business datum for needing to access is business datum corresponding with networking component is customized.To based in customization networking component
This business datum corresponding with networking component is customized is linked into the center applications group customized in networking component by Agent components
In part.Specifically, the first access information is carried in the first access request, the first access information includes the identity information of partner
And required access way of the partner etc.;Access way characterizes the circuit types to business data transmission, as special line connects
Enter, public network access, STP agency, MSTP agency etc., when the data that partner is transmitted have higher secret, access can be set
Mode is access via telephone line;The access way and its own identity information being set are added to first as the first access information and connect
Enter in request, access requirement of the characterization partner to business datum.In access procedure, then according to institute's table in the first access information
The business datum of partner is required to be linked into center applications component, be passed through by the access requirement of the partner of sign according to this access
Networking component is customized to realize the business data transmission of partner into financial institution.
Step S12, reads the first access information of first access request, and according to being linked into the center applications group
The accessing identifier carried in the corresponding business datum of part, determines the access way of the business datum;
Further, it after business datum to be linked into the center applications component customized in networking component, needs to judge
Whether the practical access way of business datum is consistent with access way required in the first access information.Specifically, will be with
After the corresponding business datum of customization networking component is linked into center applications component, in order to characterize the route to business data transmission
Type, i.e. access way distribute accessing identifier to be linked into the correspondence business datum of center applications component;Such as to passing through special line
It is linked into the business datum distribution accessing identifier F1 of center applications component, is linked into center applications component to by STP agency
Business datum distribution accessing identifier F2 etc..It include access way required by partner in first access information, to read
The first access information for requiring access way characterized in the first access request is taken, and is linked into the correspondence of center applications component
The accessing identifier carried in business datum;And the accessing identifier carried according to this, determine that characterization business datum is linked into
The actual access way of heart application component, to judge practical access way and be wanted according to the first access information and access way
Whether the access way asked is consistent.
Step S13 counts the customization network according to the consistency of first access information and the access way
The operation error rate of component within a preset time.
Understandably, when in the practical access way and the first access information of business datum corresponding with networking component is customized
When required access way is consistent, then illustrate that the access way of this business datum meets the access demand of partner, customizes
Networking component can operate normally, and realize the transmission of business datum;And when the access way of the two is inconsistent, then illustrate business number
According to access way be unsatisfactory for the access demand of partner, customize networking component and exist abnormal, the access of business datum is deposited
In mistake.To within a preset time, according to characterization require access way the first access information and practical access way
Consistency counts the operation error rate for customizing networking component, determines and customizes networking component within a preset time
Error probability.Specifically, according to the consistency of the first access information and the access way, statistics customizes networking component pre-
If the step of operation error rate in the time, includes:
Step S131, statistics within a preset time, the number of operations of access operation is carried out to the business datum, and is judged
In each number of operations, whether first access information and the access way are consistent;
The operation error rate of the present embodiment by customization networking component in the process of running, to customize networking component pair
The errors number for answering business datum to carry out the operation total degree of access operation and access mistake occur determines.In preset time
Interior, the number of operations for carrying out access operation to business datum corresponding with networking component is customized counts;It is customized when passing through
When Agent components in networking component carry out an access operation to business datum, i.e., add up to number of operations, with determination
In preset time, the operation total degree of access operation is carried out.It is carried simultaneously according in the first access request of each access operation
The first access information and identified each business datum access way, judge in all access operations, each the
Whether one access information is consistent with access way, i.e., whether actual access way and required access way are consistent every time,
Occurs the error number of access mistake in operation total degree to determine.
Step S132 determines access error, and count if first access information and the access way are inconsistent
The error number of the access error;
Further, when judging in all access operations, there are certain first access information and access way are inconsistent,
I.e. this practical access way and required access way are inconsistent, then determine this time access error;Count all accesses
Occurs the error number of such access error in operation.Furthermore access error is not limited to access way, specifically can be according to demand
It is set, such as sets turn-on time, when actual turn-on time being more than the turn-on time of this setting, then determine to access out
Mistake, and such error is also subjected to cumulative statistics as error number.
Step S133 determines the operation for customizing networking component according to the error number and the number of operations
Error rate.
Occurs the mistake time of mistake in determining the number of operations and access procedure for carrying out access operation in preset time
After number, according to this errors number and number of operations, that is, the operation error rate for customizing networking component can determine.Specifically, with mistake
Accidentally number and number of operations do ratio, that is, can determine and customize the operation error rate of networking component in the process of running;Wherein compare
It is bigger to be worth result, operation error rate is higher, and the operation for customizing networking component is more unstable;It is on the contrary then stable.
Further, in another embodiment of inventive network component update method, the statistics is within a preset time, right
The business datum carries out the step of number of operations of access operation and includes:
Step q1, statistics within a preset time, receives the request number of times of the access request, and determines the request time
Effective request number of times and invalidation request number in number;
In view of customizing networking component in corresponding business datum access procedure, in fact it could happen that corresponding industry
Business data are simultaneously not belonging to the case where being accessed by customization networking component.To need to ask receiving the access to business datum
It asks, and before carrying out access operation to business datum, judge whether received business datum is connect by customization networking component
Enter.Specifically, because being assigned customization identifier for the business datum accessed by customization networking component, thus when receiving
When to the access request of business datum, judge customization identifier whether is carried in access request;If carrying customization mark
Symbol, then can determine that this business datum is accessed by customization networking component;And when not carrying customization identifier, then sentence
This fixed business datum is not accessed by customization networking component.The access request accessed by customization networking component is made
Effectively to request, and using the access request not accessed by customization networking component as invalidation request.Within a preset time,
Received access request is counted;When receiving an access request, i.e., add up to request number of times;This request
Number is within a preset time, to request the total request number of times for accessing business datum.Simultaneously according in each access request
Whether carrying customizes identifier, determines effective request and invalidation request in all access requests;Mark is customized when carrying
Know symbol, then effectively to request, adds up to this effective request number of times;And when not carrying customization identifier, then it is nothing
Effect request, adds up to this invalidation request number;To determine in preset time, the received total degree effectively requested and nothing
Imitate the total degree of request.
Effective request number of times is set as the number of operations, and executes and judge each number of operations by step q2
In, the access information and the whether consistent step of the access way, to count the error number in each number of operations;
Understandably, only the business datum of access request corresponding with effective request is accessed because customizing networking component
Operation, the number effectively requested determine to customize the number of operations that networking component carries out access operation.It is secondary to will effectively request
Number is set as customizing networking component to the number of operations of business datum progress access operation, and determines in all number of operations,
Whether the first each access information and access way are consistent, i.e., each actual access way is with required access way
It is no consistent;Access error is determined if inconsistent, this all inconsistent number of operations is determined as operating in total degree
Now access the error number of mistake.
It is described according to the error number and the number of operations, determine the operation error rate for customizing networking component
The step of include:
According to the error number, the invalidation request number and the request number of times, the customization network is determined
The operation error rate of component.
Further, mark is customized because not carrying in the first access request with business datum corresponding to invalidation request
Symbol, is not transmitted by customization networking component;The confusion that networking component causes other business data transmissions is customized, it is same to need
It optimizes to networking component is customized, and is counted using invalidation request as run-time error, determine operation error rate;With root
More accurate optimization is carried out to networking component is customized according to operation error rate, it is preferably real while transmitting former business datum
The transmission of existing new business data.To according to the invalidation request time for not carrying customization identifier counted in preset time
Number, the first access information and the inconsistent error number of access way and received all request number of times determine customization
Change the operation error rate of networking component.Specifically, it is first added with invalidation request number with error number, then is obtained with being added
Result and request number of times do ratio, that is, can determine and customize networking component operation error rate in the process of running;Wherein compare
It is bigger to be worth result, operation error rate is higher, and the operation for customizing networking component is more unstable;It is on the contrary then stable.
Further, described to add the variance data in another embodiment of inventive network component update method
Into the default base version, the step of forming new default base version, completing the update of networking component, includes:
Step S31, according to the type identifier in the variance data, it is determining with Agent components in the networking component and
Center applications component is corresponding in the networking component acts on behalf of variance data and using variance data;
Understandably, it because networking component includes Agent components and center applications component, is set for newly there is business datum
Fixed customization networking component includes customizing Agent components and customization center applications component accordingly.Network will customized
Component and the comparison of default base version, when determining variance data between the two;It will substantially customize in networking component and act on behalf of group
Agent components comparison in part and default base version, and customize in the center applications component and default base version in networking component
The comparison of center applications component;It determines respectively and acts on behalf of variance data and apply variance data, and type identification is added respectively to the two
Symbol, to distinguish.Variance data is added to base version it is default in, when forming new base version;Variance data will substantially be acted on behalf of
It is respectively added in the Agent components and center applications component of default base version with using variance data.Read the class in variance data
Type identifier, and according to type identifier determine it is corresponding with the Agent components of networking component act on behalf of variance data, and with net
The center applications component of network component is corresponding to apply variance data, to act on behalf of variance data and application variance data life according to this
Cheng Xinji editions.
Step S32 calls pre-set code in the Agent components of the default base version and the center applications of the default base version
In component respectively generate agency addition frame and application addition frame, and by it is described act on behalf of variance data be transferred to it is described agency add
Add in frame, and the application variance data is transferred in the application addition frame, it is right to form new default base version
Networking component is updated.
Further, because default base version and customize networking component be by developer on the basis of default original version
The code of exploitation, the variance data of the two are also code accordingly.So that when being added to variance data in default base version, such as
Fruit does not carry out the logical connection of code to variance data and default base version, and is only simply superimposed, it may not be possible to real
Function after both existing addition, while the realization of former default base version function may be influenced.To which variance data be added in order to realize
It is added in default base version, the present embodiment is provided with pre-set code, this pre-set code is pre-set in default base version
The code of default base version and variance data logical connection is realized in addition.When needing to be added operation, this pre-set code is called
Generate agency's addition frame and application addition respectively in the Agent components and center applications component of currently used default base version
Frame;This agency's addition frame and application addition frame are respectively the logical connection code being applied in Agent components, and
Applied to the logical connection code in center applications component.Variance data is acted on behalf of and using poor for what is determined by type identifier
Heteromerism adds in frame and application addition frame according to agency is respectively transmitted to, and realizes the logic company of default base version and variance data
It connects.As variance data for realizing new business data with A transmission mode, thus by code logic detect in default base version whether
There are A transmission modes, then jump to the part of variance data if it does not exist;A transmission mode is not present in base version because presetting, and it is poor
Heteromerism is according to there are A transmission modes, to will necessarily jump to variance data part by logical connection and realize new business data
A transmission mode demand.It is subsequent new to be preset with this using the current preset base version added with variance data as new default base version
Business data transmission is carried out based on base version;It avoids realizing for frequent upgrading of the new business data to default base version to former industry
While data of being engaged in transmission, further new business data are transmitted, have updated the networking component for business data transmission.
Further, referring to figure 2., on the basis of inventive network component update method first or second embodiments,
It is proposed inventive network component update method 3rd embodiment, it is in the third embodiment, described to receive customization group of networks
Include: before the step of when part
Step S40 reads the second of second access request when receiving the second access request to business datum
Access information, and access networking component corresponding with second access request is determined according to second access information;
Understandably, before developer is directed to and newly goes out new business datum exploitation customization networking component, business number
According to being transmitted by existing networking component.Specifically, it when receiving the second access request to business datum, reads
The second access information carried in this second access request, have in the second access information the networking component that is accessed required for characterization with
And the mark of access way, with mark by which Agent components, with which kind of access way, which center applications group be linked into
Part.To according to this mark in the second access information, that is, can determine access way corresponding with business datum and group of networks
Part, using this corresponding networking component as access networking component, to be distinguished with other networking components.
Step S50, judges whether the function identifier of the access networking component matches with second access information, if
The function identifier of the access networking component is matched with second access information, then based in the access networking component
The business datum is linked into the center applications component of access networking component by Agent components;
Further, although the center applications component in heterogeneous networks component is identical, each Agent components are not identical, without
Access way with Agent components has differences, thus need to judge be in corresponding with the second access request access networking component
It is no that there are its required access ways.Specifically, developer carries out in development process to networking component, can be to different nets
Network component distributes different function identifiers, to characterize the otherness of the access way of Agent components in each networking component.To
The function identifier of the corresponding access networking component of the second access request is read, and judges the access that this function identifier is characterized
Whether mode matches with required access way in the second access information;Wherein matching is that function identifier and the second access are believed
The mark that access way is characterized in breath is completely the same.When judging that function identifier and the second access information match, then illustrate
The required access networking component of second access information includes its required access way, thus based on this access networking component
In Agent components access way as desired, business datum is linked into the center applications component in networking component.
Step S60, if the function identifier and second access information of the access networking component mismatch, by institute
State the second access information and be output to networking component O&M side, for networking component O&M root according to second access information pre-
If exploitation customizes networking component on the basis of original version.
And it accesses in the function identifier and the second access information of networking component and characterizes the mark incomplete one of access way
It causes, then decision-making function mark is mismatched with the second access information, and required access networking component cannot in the second access information
The business datum of access required for this is linked into center applications component.In order to meet access demand, need to access network to this
Component optimizes;And for the ease of optimization, then the second access information for characterizing required access way is output to group of networks
Part O&M side;Convenient for networking component O&M root, according to the second access information, exploitation on the basis of default original version customizes network
Component, to realize the transmission demand of business datum by customizing networking component.It is most basic version because presetting original version,
The customization networking component developed on the basis of it will not influence the operation of default base version;It is run when customizing networking component
It after stabilization, then adds this in default base version, forms new default base version, ensuring the same of the normal transmission of former business datum
Shi Shixian new business data stablize transmission.
In addition, referring to figure 3., the present invention provides a kind of networking component updating device, in inventive network component more new clothes
It sets in first embodiment, the networking component updating device includes:
Control module 10, for when receiving customization networking component, controlling the customization networking component operation, and
Count the operation error rate of the customization networking component within a preset time;
Comparison module 20, for judging whether the operation error rate is less than preset value, if the operation error rate is less than
The customization networking component and default base version are then compared by preset value, determine the customization networking component and described
Variance data between default base version;
Adding module 30 forms new default base version for the variance data to be added in the default base version, complete
At the update of networking component.
The networking component updating device of the present embodiment is transported by the customization networking component that control module 10 controls and receives
Row, and count operation error rate within a preset time;When running error rate less than preset value, illustrate to customize networking component
The transmission for realizing business datum between financial institution and its partner can be stablized, then this is customized group of networks by comparison module 20
Part and default base version compare, and determine variance data between the two;Wherein presetting base version is to transmit former business datum for stablizing
Networking component version, and customizing networking component is networking component version set by transmission demand for new business data
This;To which variance data between the two is that can be used for realizing the data of the transmission demand of new business data, and adding module 30
This variance data is added in default base version, new default base version is formed;It avoids directly former to transmission for new business data
The default base version of business datum is updated, and reduces the version publication frequency of networking component, it is ensured that former business datum, which is stablized, to be passed
The transmission to new business data is realized while defeated.
Further, in another embodiment of inventive network component updating device, the control module includes:
Receiving unit, for when the first access request for receiving business datum corresponding with the customization networking component
When, the business datum is linked into the customization networking component based on the Agent components in the customization networking component
Center applications component;
Reading unit, for reading the first access information of first access request, and according to being linked into the center
The accessing identifier carried in the corresponding business datum of application component, determines the access way of the business datum;
Statistic unit counts the customization for the consistency according to first access information and the access way
Change the operation error rate of networking component within a preset time.
Further, in another embodiment of inventive network component updating device, the statistic unit is also used to:
Statistics within a preset time, the number of operations of access operation is carried out to the business datum, and judges each behaviour
Make in number, whether first access information and the access way are consistent;
If first access information and the access way are inconsistent, access error is determined, and count the access
The error number of error;
According to the error number and the number of operations, the operation error rate for customizing networking component is determined.
Further, in another embodiment of inventive network component updating device, the statistic unit is also used to:
Statistics within a preset time, receives the request number of times of the access request, and determine in the request number of times
Effective request number of times and invalidation request number;
Effective request number of times is set as the number of operations, and executes and judges in each number of operations, it is described
Access information and the whether consistent step of the access way, to count the error number in each number of operations;
It is described according to the error number and the number of operations, determine the operation error rate for customizing networking component
The step of include:
According to the error number, the invalidation request number and the request number of times, the customization network is determined
The operation error rate of component.
Further, in another embodiment of inventive network component updating device, the adding module includes:
Determination unit, for determining and being acted on behalf of in the networking component according to the type identifier in the variance data
Center applications component is corresponding in component and the networking component acts on behalf of variance data and using variance data;
Call unit, for calling pre-set code in the Agent components of the default base version and the center of the default base version
Agency's addition frame and application addition frame are generated in application component respectively, and the variance data of acting on behalf of is transferred to the generation
In reason addition frame, and the application variance data is transferred to the application and is added in frame, to form new default base
Version, is updated networking component.
Further, in another embodiment of inventive network component updating device, the networking component updating device is also
Include:
Read module, for reading second access request when receiving the second access request to business datum
The second access information, and corresponding with second access request access group of networks is determined according to second access information
Part;
AM access module, for judge it is described access networking component function identifier and second access information whether
Match, if the function identifier of the access networking component is matched with second access information, is based on the access group of networks
The business datum is linked into the center applications component of access networking component by the Agent components in part;
Output module, if being mismatched for the function identifier of the access networking component and second access information,
Second access information is then output to networking component O&M side, so that networking component O&M root is believed according to second access
Breath exploitation on the basis of default original version customizes networking component.
Further, in another embodiment of inventive network component updating device, the comparison module is also used to:
If the operation error rate is greater than or equal to preset value, each operation of customization networking component error is grabbed
Error log information;
Each error log information is generated into prompt information and is output to networking component O&M side, for networking component O&M
Root optimizes the customization networking component according to the prompt information.
Wherein, each virtual functions module of above-mentioned networking component updating device is stored in the update of networking component shown in Fig. 4 and sets
In standby memory 1005, when processor 1001 executes networking component more new procedures, modules in embodiment illustrated in fig. 3 are realized
Function.
Referring to Fig. 4, Fig. 4 is the device structure schematic diagram for the hardware running environment that present invention method is related to.
Networking component of the embodiment of the present invention more new equipment can be PC (personal computer, personal computer),
It can be the terminal devices such as smart phone, tablet computer, E-book reader, portable computer.
As shown in figure 4, the networking component more new equipment may include: processor 1001, such as CPU (Central
Processing Unit, central processing unit), memory 1005, communication bus 1002.Wherein, communication bus 1002 for realizing
Connection communication between processor 1001 and memory 1005.Memory 1005 can be high-speed RAM (random access
Memory, random access memory), it is also possible to stable memory (non-volatile memory), such as disk storage
Device.Memory 1005 optionally can also be the storage device independently of aforementioned processor 1001.
Optionally, the networking component more new equipment can also include user interface, network interface, camera, RF (Radio
Frequency, radio frequency) circuit, sensor, voicefrequency circuit, WiFi (Wireless Fidelity, WiMAX) module etc..
User interface may include display screen (Display), input unit such as keyboard (Keyboard), and optional user interface can be with
Including standard wireline interface and wireless interface.Network interface optionally may include standard wireline interface and wireless interface (such as
WI-FI interface).
It does not constitute it will be understood by those skilled in the art that networking component shown in Fig. 4 updates device structure to network
The restriction of component more new equipment may include perhaps combining certain components or different than illustrating more or fewer components
Component layout.
As shown in figure 4, as may include operating system, net in a kind of memory 1005 of computer readable storage medium
Network communication module and networking component more new procedures.Operating system is to manage and control networking component to update device hardware and software
The program of resource supports the operation of networking component more new procedures and other softwares and/or program.Network communication module is for real
Communication between the existing 1005 each component in inside of reservoir, and lead between other hardware and softwares in networking component more new equipment
Letter.
In networking component shown in Fig. 4 more new equipment, processor 1001 is for executing the net stored in memory 1005
Network component more new procedures realize the step in above-mentioned each embodiment of networking component update method.
The present invention provides a kind of computer readable storage medium, the computer-readable recording medium storage have one or
More than one program of person, the one or more programs can also be executed by one or more than one processor with
Step in the above-mentioned each embodiment of networking component update method of realization.
It should also be noted that, herein, the terms "include", "comprise" or its any other variant are intended to non-
It is exclusive to include, so that the process, method, article or the device that include a series of elements not only include those elements,
It but also including other elements that are not explicitly listed, or further include solid by this process, method, article or device
Some elements.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including
There is also other identical elements in the process, method of the element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In computer readable storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can
To be mobile phone, computer, server or the network equipment etc.) execute method described in each embodiment of the present invention.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all at this
Under the design of invention, using equivalent structure transformation made by description of the invention and accompanying drawing content, or directly/it is used in it indirectly
He is included in scope of patent protection of the invention relevant technical field.
Claims (10)
1. a kind of networking component update method, which is characterized in that the networking component update method the following steps are included:
When receiving customization networking component, the customization networking component operation is controlled, and count the customization network
The operation error rate of component within a preset time;
Judge whether the operation error rate is less than preset value, if the operation error rate is less than preset value, by the customization
Change networking component and default base version is compared, determines the difference number between the customization networking component and the default base version
According to;
The variance data is added in the default base version, new default base version is formed, completes the update of networking component.
2. networking component update method as described in claim 1, which is characterized in that the control customization networking component fortune
Row, and the step of counting the operation error rate of the customization networking component within a preset time includes:
When receiving the first access request of business datum corresponding with the customization networking component, it is based on the customization net
The business datum is linked into the center applications component in the customization networking component by the Agent components in network component;
Read the first access information of first access request, and according to being linked into the corresponding business of the center applications component
The accessing identifier carried in data determines the access way of the business datum;
According to the consistency of first access information and the access way, the customization networking component is counted when default
Interior operation error rate.
3. networking component update method as claimed in claim 2, which is characterized in that it is described according to first access information and
The consistency of the access way, counting described the step of customizing networking component operation error rate within a preset time wraps
It includes:
Statistics within a preset time, the number of operations of access operation is carried out to the business datum, and judges each operation time
In number, whether first access information and the access way are consistent;
If first access information and the access way are inconsistent, access error is determined, and count the access error
Error number;
According to the error number and the number of operations, the operation error rate for customizing networking component is determined.
4. networking component update method as claimed in claim 3, which is characterized in that described to count within a preset time, to institute
Stating the step of business datum carries out the number of operations of access operation includes:
Statistics within a preset time, receives the request number of times of the access request, and determines effective in the request number of times
Request number of times and invalidation request number;
Effective request number of times is set as number of operations, and executes and judges in each number of operations, the access information
The whether consistent step with the access way, to count the error number in each number of operations;
It is described according to the error number and the number of operations, determine the step of the operation error rate for customizing networking component
Suddenly include:
According to the error number, the invalidation request number and the request number of times, the customization networking component is determined
Operation error rate.
5. networking component update method according to any one of claims 1-4, which is characterized in that described by the variance data
The step of being added in the default base version, forming new default base version, complete the update of networking component include:
According to the type identifier in the variance data, determination and Agent components and the networking component in the networking component
Middle center applications component is corresponding to act on behalf of variance data and using variance data;
Pre-set code is called to give birth to respectively in the Agent components of the default base version and the center applications component of the default base version
It is transferred in agency's addition frame at agency's addition frame and application addition frame, and by the variance data of acting on behalf of, with
And the application variance data is transferred in application addition frame, to form new default base version, to networking component into
Row updates.
6. networking component update method according to any one of claims 1-4, which is characterized in that described to receive customization
Include: before the step of when networking component
When receiving the second access request to business datum, the second access information of second access request is read, and
Access networking component corresponding with second access request is determined according to second access information;
Judge whether the function identifier of the access networking component matches with second access information, if the access network
The function identifier of component is matched with second access information, then based on the Agent components in the access networking component by institute
Business datum is stated to be linked into the center applications component of access networking component;
If the function identifier and second access information of the access networking component mismatch, second access is believed
Breath is output to networking component O&M side, for networking component O&M root according to second access information default original version base
Exploitation customizes networking component on plinth.
7. networking component update method according to any one of claims 1-4, which is characterized in that the judgement is described to be run out
After the step of whether error rate is less than preset value further include:
If the operation error rate is greater than or equal to preset value, going out for networking component each time operation error of the customization is grabbed
Wrong log information;
Each error log information is generated into prompt information and is output to networking component O&M side, for networking component O&M root
The customization networking component is optimized according to the prompt information.
8. a kind of networking component updating device, which is characterized in that the networking component updating device includes:
Control module for when receiving customization networking component, controlling the customization networking component operation, and counts institute
It states and customizes the operation error rate of networking component within a preset time;
Comparison module, for judging whether the operation error rate is less than preset value, if the operation error rate is less than preset value,
Then the customization networking component and default base version are compared, determine the customization networking component and the default base version
Between variance data;
Adding module forms new default base version, completes network for the variance data to be added in the default base version
The update of component.
9. a kind of networking component more new equipment, which is characterized in that the networking component more new equipment include: memory, processor,
Communication bus and the networking component being stored on the memory more new procedures;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing the networking component more new procedures, to realize as of any of claims 1-7
The step of networking component update method.
10. a kind of computer readable storage medium, which is characterized in that be stored with group of networks on the computer readable storage medium
Part more new procedures are realized when the networking component more new procedures are executed by processor as of any of claims 1-7
The step of networking component update method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811049655.2A CN109683926B (en) | 2018-09-07 | 2018-09-07 | Network component updating method, device, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811049655.2A CN109683926B (en) | 2018-09-07 | 2018-09-07 | Network component updating method, device, equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109683926A true CN109683926A (en) | 2019-04-26 |
CN109683926B CN109683926B (en) | 2023-04-11 |
Family
ID=66184492
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811049655.2A Active CN109683926B (en) | 2018-09-07 | 2018-09-07 | Network component updating method, device, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109683926B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101547214A (en) * | 2008-03-25 | 2009-09-30 | 联想(北京)有限公司 | Method and network side equipment for pushing inside data of enterprise |
CN102843352A (en) * | 2012-05-15 | 2012-12-26 | 广东电网公司茂名供电局 | Cross-physical isolation data transparent transmission system and method between intranet and extranet |
CN107329735A (en) * | 2017-05-19 | 2017-11-07 | 北京北信源软件股份有限公司 | A kind of intranet patch update method and device |
-
2018
- 2018-09-07 CN CN201811049655.2A patent/CN109683926B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101547214A (en) * | 2008-03-25 | 2009-09-30 | 联想(北京)有限公司 | Method and network side equipment for pushing inside data of enterprise |
CN102843352A (en) * | 2012-05-15 | 2012-12-26 | 广东电网公司茂名供电局 | Cross-physical isolation data transparent transmission system and method between intranet and extranet |
CN107329735A (en) * | 2017-05-19 | 2017-11-07 | 北京北信源软件股份有限公司 | A kind of intranet patch update method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109683926B (en) | 2023-04-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7187660B2 (en) | System and method for continuously provisioning a mobile device | |
CN110347560A (en) | Abnormal prompt method, apparatus, system, equipment and the medium of big data product | |
KR20140103153A (en) | Method fo routing within a mobile terminal emulating a contactless payment card | |
CN109586969A (en) | Content distributing network disaster recovery method, device, computer equipment and storage medium | |
CN109462508B (en) | Node deployment method, device and storage medium | |
CN108804484A (en) | The data measures and procedures for the examination and approval, equipment and computer readable storage medium | |
US9348491B2 (en) | Method and system to layout applications on multiple platforms | |
CN110457612B (en) | Terminal page access method and system | |
CN109687992A (en) | Monitoring method, device, equipment and the computer readable storage medium of service node | |
CN112035344A (en) | Multi-scenario test method, device, equipment and computer readable storage medium | |
CN108390777A (en) | Call method, device, equipment and the computer readable storage medium of communication interface | |
CN109547261A (en) | Service line switching method, device, electronic equipment and storage medium | |
US20160284013A1 (en) | Order processing system and order processing method | |
CN108363592A (en) | Operation method, device, equipment and the computer readable storage medium of application software | |
CN108829495A (en) | Verification method, device, equipment and the storage medium of multiple database modification affairs | |
CN109683926A (en) | Networking component update method, device, equipment and computer readable storage medium | |
CN109933407B (en) | Block chain DAPP virtual machine, data processing method and computing equipment | |
US11503456B1 (en) | Maintaining electronic subscriber identity module (eSIM) profiles across multiple mobile network operators (MNOs) | |
CN109714380A (en) | Partner's method for network access, device, equipment and computer readable storage medium | |
CN107798250A (en) | Delivery method, application server and the computer-readable recording medium of sensitive information shielding rules | |
CN110580172B (en) | Configuration rule verification method and device, storage medium and electronic device | |
CN107679871A (en) | List management method, device, system and computer-readable recording medium | |
CN112559084A (en) | Method, apparatus, device, storage medium, and program product for administering a service | |
CN111898117A (en) | Mutually exclusive application processing method, device, terminal and storage medium | |
CN109547552A (en) | API request processing method, device, storage medium and electronic equipment |
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 |