CN109729008A - Route selection method, device and computer equipment - Google Patents

Route selection method, device and computer equipment Download PDF

Info

Publication number
CN109729008A
CN109729008A CN201810455312.XA CN201810455312A CN109729008A CN 109729008 A CN109729008 A CN 109729008A CN 201810455312 A CN201810455312 A CN 201810455312A CN 109729008 A CN109729008 A CN 109729008A
Authority
CN
China
Prior art keywords
routing
parameter
message
weighted value
transmitted
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
CN201810455312.XA
Other languages
Chinese (zh)
Other versions
CN109729008B (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.)
NetsUnion Clearing Corp
Original Assignee
NetsUnion Clearing Corp
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 NetsUnion Clearing Corp filed Critical NetsUnion Clearing Corp
Priority to CN201810455312.XA priority Critical patent/CN109729008B/en
Publication of CN109729008A publication Critical patent/CN109729008A/en
Application granted granted Critical
Publication of CN109729008B publication Critical patent/CN109729008B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention proposes a kind of route selection method, device and computer equipment, and this method includes the weighted value for determining at least one parameter in message to be transmitted, and obtaining a plurality of routing and the corresponding parameter of every routing;Routing rules is generated according to parameter and weighted value;The routing for being used for transmission message to be transmitted is selected according to routing rules.It can be realized through the invention and transaction data shunted, effectively promote message transmissions efficiency, and reduce the data processing load amount with the net connection clearance platform of distributed structure/architecture, promote platform overall stability.

Description

Route selection method, device and computer equipment
Technical field
The present invention relates to clearance technical field more particularly to a kind of route selection method, device and computer equipments.
Background technique
In the related technology, the net connection clearance platform with distributed structure/architecture, the transaction data for joining clearance platform to net carry out Message transmissions when transmission are ineffective.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, can be realized and carried out to transaction data an object of the present invention is to provide a kind of route selection method It shunts, effectively promotes message transmissions efficiency, and reduce the data processing load with the net connection clearance platform of distributed structure/architecture Amount promotes platform overall stability.
It is another object of the present invention to propose a kind of routing arrangement.
It is another object of the present invention to propose a kind of non-transitorycomputer readable storage medium.
It is another object of the present invention to propose a kind of computer program product.
It is another object of the present invention to propose a kind of computer equipment.
In order to achieve the above objectives, the route selection method that first aspect present invention embodiment proposes, comprising: determine to be transmitted At least one parameter in message, and obtain the weighted value of parameter corresponding to a plurality of routing and every routing;According to the parameter Routing rules is generated with the weighted value;According to the routing rules to the road for being used for transmission the message to be transmitted By being selected.
The route selection method that first aspect present invention embodiment proposes is joined by least one in determination message to be transmitted Number, and the weighted value of parameter corresponding to a plurality of routing and every routing is obtained, and routing choosing is generated according to parameter and weighted value Rule is selected, and the routing for being used for transmission message to be transmitted is selected according to routing rules, is selected due to this Routing is the routing of an optimization based on weighted value, realizes and shunts to transaction data, therefore, can effectively be promoted Message transmissions efficiency, and the data processing load amount with the net connection clearance platform of distributed structure/architecture is reduced, it is whole to promote platform Body stability.
In order to achieve the above objectives, the routing arrangement that second aspect of the present invention embodiment proposes, comprising: determining module, For determining at least one parameter in message to be transmitted, and obtain the weight of parameter corresponding to a plurality of routing and every routing Value;Generation module, for generating routing rules according to the parameter and the weighted value;Selecting module, for according to institute Routing rules is stated to select the routing for being used for transmission the message to be transmitted.
The routing arrangement that second aspect of the present invention embodiment proposes is joined by least one in determination message to be transmitted Number, and the weighted value of parameter corresponding to a plurality of routing and every routing is obtained, and routing choosing is generated according to parameter and weighted value Rule is selected, and the routing for being used for transmission message to be transmitted is selected according to routing rules, is selected due to this Routing is the routing of an optimization based on weighted value, realizes and shunts to transaction data, therefore, can effectively be promoted Message transmissions efficiency, and the data processing load amount with the net connection clearance platform of distributed structure/architecture is reduced, it is whole to promote platform Body stability.
In order to achieve the above objectives, the non-transitorycomputer readable storage medium that third aspect present invention embodiment proposes, When the instruction in the storage medium is performed by the processor of mobile terminal, so that mobile terminal is able to carry out a kind of routing Selection method, which comprises determine at least one parameter in message to be transmitted, and obtain a plurality of routing and every routing The weighted value of corresponding parameter;Routing rules is generated according to the parameter and the weighted value;It is selected according to the routing Rule is selected to select the routing for being used for transmission the message to be transmitted.
The non-transitorycomputer readable storage medium that third aspect present invention embodiment proposes, passes through determination report to be transmitted At least one parameter in text, and the weighted value of parameter corresponding to a plurality of routing and every routing is obtained, and according to parameter and power Weight values generate routing rules, and are selected according to routing rules the routing for being used for transmission message to be transmitted, Since the routing selected is the routing of an optimization based on weighted value, realizes and transaction data is shunted, because This, can effectively promote message transmissions efficiency, and reducing has the data processing of the net connection clearance platform of distributed structure/architecture negative Carrying capacity promotes platform overall stability.
In order to achieve the above objectives, the computer program product that fourth aspect present invention embodiment proposes, when the computer When instruction in program product is executed by processor, a kind of route selection method is executed, which comprises determine report to be transmitted At least one parameter in text, and obtain the weighted value of parameter corresponding to a plurality of routing and every routing;According to the parameter and The weighted value generates routing rules;Routing according to the routing rules to the message to be transmitted is used for transmission It is selected.
The computer program product that fourth aspect present invention embodiment proposes, passes through at least one in determination message to be transmitted Parameter, and the weighted value of parameter corresponding to a plurality of routing and every routing is obtained, and routing is generated according to parameter and weighted value Selection rule, and the routing for being used for transmission message to be transmitted is selected according to routing rules, since this is selected Routing be one based on weighted value optimization routing, realize and transaction data shunted, therefore, can effectively mention Message transmissions efficiency is risen, and reduces the data processing load amount with the net connection clearance platform of distributed structure/architecture, promotes platform Overall stability.
Fifth aspect present invention also proposes a kind of computer equipment, which includes shell, processor, storage Device, circuit board and power circuit, wherein the circuit board is placed in the space interior that the shell surrounds, the processor and The memory is arranged on the circuit board;The power circuit, for each circuit or device for the computer equipment Part power supply;The memory is for storing executable program code;The processor is stored in the memory by reading Executable program code runs program corresponding with the executable program code, for executing: determining message to be transmitted In at least one parameter, and obtain the weighted value of a plurality of routing and the corresponding parameter of every routing;According to the parameter and institute It states weighted value and generates routing rules;According to the routing rules to be used for transmission the routing of the message to be transmitted into Row selection.
The computer equipment that fifth aspect present invention embodiment proposes is joined by least one in determination message to be transmitted Number, and the weighted value of parameter corresponding to a plurality of routing and every routing is obtained, and routing choosing is generated according to parameter and weighted value Rule is selected, and the routing for being used for transmission message to be transmitted is selected according to routing rules, is selected due to this Routing is the routing of an optimization based on weighted value, realizes and shunts to transaction data, therefore, can effectively be promoted Message transmissions efficiency, and the data processing load amount with the net connection clearance platform of distributed structure/architecture is reduced, it is whole to promote platform Body stability.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram for the route selection method that one embodiment of the invention proposes;
Fig. 2 is the flow diagram for the route selection method that another embodiment of the present invention proposes;
Fig. 3 is the structural schematic diagram for the routing arrangement that one embodiment of the invention proposes;
Fig. 4 is the structural schematic diagram for the routing arrangement that another embodiment of the present invention proposes;
Fig. 5 is the structural schematic diagram for the computer equipment that one embodiment of the invention proposes.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.On the contrary, this The embodiment of invention includes all changes fallen within the scope of the spiritual and intension of attached claims, modification and is equal Object.
Fig. 1 is the flow diagram for the route selection method that one embodiment of the invention proposes.
Route selection method in the embodiment of the present invention can be particularly applicable in net connection clearance platform.The present embodiment is with this Route selection method is configured as in routing arrangement illustrating.
The routing arrangement can be set in the server, or also can be set in the electronic device, and the present invention is real Example is applied to this with no restriction.
Route selection method in the embodiment of the present invention, for needing the transaction data for joining clearance platform to net to pass When defeated, it is routed based on the message information for sending the transaction data.
Further, the route selection method in the embodiment of the present invention joins clearance applied to the net with distributed structure/architecture In platform, which includes multiple distributed nodes, and transaction data is sent to bank or net via multiple distributed nodes The service side of connection clearance platform building.
It should be noted that the executing subject of the embodiment of the present invention, can be, for example, server or electronics on hardware Central processing unit (Central Processing Unit, CPU) in equipment, on software can be, for example, server or Back-stage management service in electronic equipment, with no restriction to this.
The embodiment of the present invention carries out example with routing arrangement setting in the electronic device.
Referring to Fig. 1, this method comprises:
S101: determining at least one parameter in message to be transmitted, and obtains ginseng corresponding to a plurality of routing and every routing Several weighted values.
Message to be transmitted therein is the message for being used for transmission transaction data.
At least one parameter therein is at least one of:
Data center's number, mechanism number, message numbering, Account Type.
The embodiment of the present invention, can be with calls application interface API to transmission transaction data during specific execute Message captured, and parsed to obtain the parameter information included by it to the field in the message.
The case where embodiment of the present invention is parameter included based on reality message to be transmitted, from the net with distributed structure/architecture One routing of selection is transmitted in existing routing in connection clearance platform, since the routing selected is based on weighted value The routing of one optimization, realizes and shunts to transaction data, therefore, can effectively promote message transmissions efficiency, and The data processing load amount with the net connection clearance platform of distributed structure/architecture is reduced, platform overall stability is promoted.
Wherein, every corresponding parameter of routing is also possible at least one of:
Data center number IDC, mechanism number, message numbering, Account Type.
Wherein, the corresponding weighted value of each parameter can be used for marking the probability for the routing being matched to via the parameter, For example, routing A includes supplemental characteristic center number, mechanism number, message numbering, then wherein, data center's number, mechanism are compiled Number, message numbering all have a corresponding weighted value, i.e., it is a that data center, which numbers corresponding weighted value, and mechanism number corresponds to Weighted value be b, the corresponding weighted value of message numbering be c, then, the specific numerical value of a can be used for being characterized in a plurality of routing In, it is matched to the probability of routing A by supplemental characteristic center number, b and c are understood based on same method.
During a Route Selection, the weighted value of the corresponding parameter of every routing can be the embodiment of the present invention It is updated after last time routing procedure, that is, can be to power after choosing routing corresponding to Route Selection each time Weight values are updated, and are saved obtained weighted value is updated into database.
By being updated during Route Selection each time to weighted value, it can guarantee Route Selection each time It is provided with optimal Route Selection effect, so that being routed by weighted value more for practicability, from another dimension Promote platform overall stability.
Specifically, referring to table 1, table 1 for every routing being saved in the database corresponding parameter weighted value Schematic table, includes three routings in table 1, routing 1, routing 2, and routing 3 corresponds to every routing, is provided with corresponding parameter, And the weighted value of corresponding parameter.
Table 1
Weighted value in above-mentioned table 1, the routing that number is 1, the probability of hit are 60/ (60+30+10)=60%, i.e., 100 The message request of secondary transmission transaction data, will use the routing policy of number 1 for 60 times, will use the routing policy of number 2 for 30 times, It will use the routing policy of number 3 for 10 times.
S102: routing rules is generated according to parameter and weighted value.
Optionally, in some embodiments, referring to fig. 2, routing rules is generated according to parameter and weighted value, comprising:
S201: if at least one parameter includes: data center's number, mechanism number, message numbering and Account Type, Then from a plurality of routing, chooses corresponding parameter while including: data center's number, mechanism number, message numbering and account The routing of type as the first via by.
S202: selected routing is used as from the first via by the middle determining maximum routing of weighted value.
The embodiment of the present invention, can be preferentially according to data center's number, mechanism number, message during specific execute Number and Account Type are condition, inquire qualified routing, that is, from a plurality of routing, choose corresponding parameter simultaneously Include: data center's number, mechanism number, message numbering and Account Type routing as the first via by, if it exists this One routing, and the first via by quantity be at least two, then according to configured weighted value, select a first via by, and The first via is by then triggering and executing S203 if it does not exist.
By preferentially being looked into according to data center's number, mechanism number, message numbering and Account Type for condition It askes, can be avoided and screened from multiple parameters, simultaneously include: data center's number, mechanism volume at least one parameter Number, message numbering and Account Type, the first via is chosen directly from a plurality of routing by can effectively promote Route Selection effect Rate.
Further, in the embodiment of the present invention, if at least one parameter includes: data center's number, mechanism number, message Number and Account Type, still, every routing in a plurality of routing, corresponding parameter does not include: in data simultaneously When heart number, mechanism number, message numbering and Account Type, abnormal prompt information can be generated, to carry out abnormal prompt, Negative effect of the matched routings fault to the load capacity of the net connection clearance platform with distributed structure/architecture can be effectively avoided, and And user can be prompted in time, to assist user that can look for other solutions in time.
S203: if at least one parameter includes: in data center's number, mechanism number, message numbering and Account Type Any three parameters choose corresponding parameter then from a plurality of routing while including: any three parameters, and corresponding ginseng In number, the parameter in addition to any three parameters is that the routing of null value is routed as third.
S204: determine that the maximum routing of weighted value is used as selected routing from third routing.
The embodiment of the present invention can number, mechanism number, message are compiled during specific execute according to data center Number and Account Type in any three parameters be condition, inquire qualified routing, that is, from a plurality of routing, choose Corresponding parameter includes the routing of any three parameters above-mentioned simultaneously, also, one in addition to any three parameters above-mentioned A parameter is the routing of null value, is routed as third, and the third routes if it exists, and the quantity of third routing is at least two It is a, then according to configured weighted value, a third routing is selected, and the third routes if it does not exist, then triggers S205.
In the embodiment of the present invention, by from a plurality of routing, choosing corresponding parameter while including any three above-mentioned The routing of parameter, also, a parameter in addition to any three parameters above-mentioned is the routing of null value, is routed as third, It is able to solve under some scenes, for example, being used as matching condition in clear configuration message number, but (inquiry) condition is inputted with front end Can not matching result if existing in this case without message numbering is empty restrictive condition can be matched to the routing of mistake The technical problem of strategy, the embodiment of the present invention can effectively avoid the occurrence of automatic the case where reducing matching limitation, cause to be matched to Expected routing policy is not met.Optionally, in some embodiments, referring to fig. 2, Route Selection is generated according to parameter and weighted value Rule, comprising:
S205: if at least one parameter includes: in data center's number, mechanism number, message numbering and Account Type Any two parameter choose corresponding parameter then from a plurality of routing while including: any two parameter, and corresponding ginseng In number, the parameter in addition to any two parameter is the routing of null value as secondary route.
S206: determine that the maximum routing of weighted value is used as selected routing from secondary route.
The embodiment of the present invention can number, mechanism number, message are compiled during specific execute according to data center Number and Account Type in any two parameter be condition, inquire qualified routing, that is, from a plurality of routing, choose Corresponding parameter includes the routing of any two parameter above-mentioned, also, the ginseng in addition to any two parameter above-mentioned simultaneously Number is the routings of null value, as secondary route, the secondary route if it exists, and the quantity of the secondary route is at least two, then According to configured weighted value, a secondary route is selected, and the secondary route if it does not exist, then abnormal prompt information is generated, To carry out abnormal prompt.
Optionally, in some embodiments, referring to fig. 2, routing rules is generated according to parameter and weighted value, comprising:
S103: the routing for being used for transmission message to be transmitted is selected according to routing rules.
In the embodiment of the present invention, since selected routing is the routing of an optimization based on weighted value, energy It is enough effectively to promote message transmissions efficiency.
In the present embodiment, by least one parameter in determination message to be transmitted, and a plurality of routing and every routing are obtained The weighted value of corresponding parameter, and routing rules is generated according to parameter and weighted value, and according to routing rules The routing for being used for transmission message to be transmitted is selected, since the routing selected is an optimization based on weighted value Routing, realize and transaction data shunted, therefore, can effectively promote message transmissions efficiency, and reduce and have point The data processing load amount of the net connection clearance platform of cloth framework, promotes platform overall stability.
Fig. 3 is the structural schematic diagram for the routing arrangement that one embodiment of the invention proposes.
Referring to Fig. 3, which comprises determining that module 301, generation module 302 and selecting module 303, wherein
Determining module 301 for determining at least one parameter in message to be transmitted, and obtains a plurality of routing, the road Ji Meitiao By the weighted value of corresponding parameter.
Generation module 302, for generating routing rules according to parameter and weighted value.
Selecting module 303, for being selected according to routing rules the routing for being used for transmission message to be transmitted.
Optionally, in some embodiments, at least one parameter is at least one of:
Data center's number, mechanism number, message numbering, Account Type.
Optionally, in some embodiments, generation module 302 is specifically used for:
If at least one parameter includes: data center's number, mechanism number, message numbering and Account Type, from more In item routing, chooses corresponding parameter while including: data center's number, mechanism number, message numbering and Account Type Routing as the first via by;
Selected routing is used as from the first via by the middle determining maximum routing of weighted value.
Optionally, in some embodiments, generation module 302, also particularly useful for:
If at least one parameter includes: appointing in data center's number, mechanism number, message numbering and Account Type Two parameters of anticipating choose corresponding parameter while including: any two parameter, and in corresponding parameter then from a plurality of routing, Parameter in addition to any two parameter is the routing of null value as secondary route;
Determine that the maximum routing of weighted value is used as selected routing from secondary route.
Optionally, in some embodiments, generation module 302 is further specifically used for:
If at least one parameter includes: appointing in data center's number, mechanism number, message numbering and Account Type Three parameters of anticipating choose corresponding parameter while including: any three parameters, and in corresponding parameter then from a plurality of routing, Parameter in addition to any three parameters is that the routing of null value is routed as third;
Determine that the maximum routing of weighted value is used as selected routing from third routing.
Optionally, in some embodiments, referring to fig. 4, further includes:
Cue module 304, it is different to carry out for generating abnormal prompt information when there is no the routing that parameter is null value Often prompt.
It should be noted that being also suitable in earlier figures 1- Fig. 2 embodiment to the explanation of route selection method embodiment In the routing arrangement 300 of the embodiment, realization principle is similar, and details are not described herein again.
In the present embodiment, by least one parameter in determination message to be transmitted, and a plurality of routing and every routing are obtained The weighted value of corresponding parameter, and routing rules is generated according to parameter and weighted value, and according to routing rules The routing for being used for transmission message to be transmitted is selected, since the routing selected is an optimization based on weighted value Routing, realize and transaction data shunted, therefore, can effectively promote message transmissions efficiency, and reduce and have point The data processing load amount of the net connection clearance platform of cloth framework, promotes platform overall stability.
Fig. 5 is the structural schematic diagram for the computer equipment that one embodiment of the invention proposes.
The computer equipment can be mobile phone, tablet computer etc..
Referring to Fig. 5, the computer equipment 50 of the present embodiment includes: shell 501, processor 502, memory 503, circuit board 504, power circuit 505, circuit board 504 are placed in the space interior that shell 501 surrounds, and processor 502, memory 503 are arranged On circuit board 504;Power circuit 505, for powering for each circuit of computer equipment 50 or device;Memory 503 is used for Store executable program code;Wherein, processor 502 is transported by reading the executable program code stored in memory 503 Row program corresponding with executable program code, for executing:
It determines at least one parameter in message to be transmitted, and obtains parameter corresponding to a plurality of routing and every routing Weighted value;
Routing rules is generated according to parameter and weighted value;
The routing for being used for transmission message to be transmitted is selected according to routing rules.
It should be noted that being also suitable in earlier figures 1- Fig. 2 embodiment to the explanation of route selection method embodiment In the computer equipment 50 of the embodiment, realization principle is similar, and details are not described herein again.
Computer equipment in the present embodiment by least one parameter in determination message to be transmitted, and obtains a plurality of road By and the corresponding parameter of every routing weighted value, and routing rules is generated according to parameter and weighted value, and according to Routing rules selects the routing for being used for transmission message to be transmitted, since the routing selected is based on weighted value One optimization routing, realize and transaction data shunted, therefore, can effectively promote message transmissions efficiency, and And the data processing load amount with the net connection clearance platform of distributed structure/architecture is reduced, promote platform overall stability.
In order to realize above-described embodiment, the present invention also proposes a kind of non-transitorycomputer readable storage medium, works as storage When instruction in medium is executed by the processor of terminal, enable the terminal to execute a kind of route selection method, method includes: true At least one parameter in fixed message to be transmitted, and obtain the weighted value of parameter corresponding to a plurality of routing and every routing;According to Parameter and weighted value generate routing rules;The routing for being used for transmission message to be transmitted is selected according to routing rules It selects.
Non-transitorycomputer readable storage medium in the present embodiment is joined by least one in determination message to be transmitted Number, and the weighted value of parameter corresponding to a plurality of routing and every routing is obtained, and routing choosing is generated according to parameter and weighted value Rule is selected, and the routing for being used for transmission message to be transmitted is selected according to routing rules, is selected due to this Routing is the routing of an optimization based on weighted value, realizes and shunts to transaction data, therefore, can effectively be promoted Message transmissions efficiency, and the data processing load amount with the net connection clearance platform of distributed structure/architecture is reduced, it is whole to promote platform Body stability.
In order to realize above-described embodiment, the present invention also proposes a kind of computer program product, when in computer program product Instruction when being executed by processor, execute a kind of route selection method, method comprises determining that at least one in message to be transmitted is joined Number, and obtain the weighted value of parameter corresponding to a plurality of routing and every routing;Route Selection is generated according to parameter and weighted value Rule;The routing for being used for transmission message to be transmitted is selected according to routing rules.
Computer program product in the present embodiment by least one parameter in determination message to be transmitted, and obtains more The weighted value of parameter corresponding to item routing and every routing, and routing rules is generated according to parameter and weighted value, and The routing for being used for transmission message to be transmitted is selected according to routing rules, since the routing selected is based on power The routing of one optimization of weight values, realizes and shunts to transaction data, therefore, can effectively promote message transmissions effect Rate, and the data processing load amount with the net connection clearance platform of distributed structure/architecture is reduced, promote platform overall stability.
It should be noted that in the description of the present invention, term " first ", " second " etc. are used for description purposes only, without It can be interpreted as indication or suggestion relative importance.In addition, in the description of the present invention, unless otherwise indicated, the meaning of " multiple " It is two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned Embodiment is changed, modifies, replacement and variant.

Claims (15)

1. a kind of route selection method, which comprises the following steps:
It determines at least one parameter in message to be transmitted, and obtains the weight of parameter corresponding to a plurality of routing and every routing Value;
Routing rules is generated according to the parameter and the weighted value;
The routing for being used for transmission the message to be transmitted is selected according to the routing rules.
2. route selection method as described in claim 1, which is characterized in that at least one described parameter be it is following at least it One:
Data center's number, mechanism number, message numbering, Account Type.
3. route selection method as claimed in claim 2, which is characterized in that described raw according to the parameter and the weighted value At routing rules, comprising:
If at least one described parameter includes: data center's number, mechanism number, the message numbering, Yi Jisuo Account Type is stated, then from a plurality of routing, choosing the corresponding parameter simultaneously includes: data center number, institute State mechanism number, the message numbering and the Account Type routing as the first via by;
Selected routing is used as from the first via by the middle determining maximum routing of weighted value.
4. route selection method as claimed in claim 2, which is characterized in that described raw according to the parameter and the weighted value At routing rules, comprising:
If at least one described parameter includes: data center's number, mechanism number, the message numbering, Yi Jisuo Any two parameter in Account Type is stated, then from a plurality of routing, it includes: described for choosing the corresponding parameter simultaneously Any two parameter, and in the corresponding parameter, the parameter in addition to any two parameter is the routing conduct of null value Secondary route;
Determine that the maximum routing of weighted value is used as selected routing from the secondary route.
5. route selection method as claimed in claim 2, which is characterized in that described raw according to the parameter and the weighted value At routing rules, comprising:
If at least one described parameter includes: data center's number, mechanism number, the message numbering, Yi Jisuo Any three parameters in Account Type are stated, then from a plurality of routing, it includes: described for choosing the corresponding parameter simultaneously Any three parameters, and in the corresponding parameter, the parameter in addition to any three parameters is the routing conduct of null value Third routing;
Determine that the maximum routing of weighted value is used as selected routing from third routing.
6. route selection method as described in claim 4 or 5, which is characterized in that the parameter is the road of null value if it does not exist By, the method also includes:
Abnormal prompt information is generated, to carry out abnormal prompt.
7. a kind of routing arrangement characterized by comprising
Determining module for determining at least one parameter in message to be transmitted, and obtains corresponding to a plurality of routing and every routing Parameter weighted value;
Generation module, for generating routing rules according to the parameter and the weighted value;
Selecting module, for being selected according to the routing rules the routing for being used for transmission the message to be transmitted.
8. routing arrangement as claimed in claim 7, which is characterized in that at least one described parameter be it is following at least it One:
Data center's number, mechanism number, message numbering, Account Type.
9. routing arrangement as claimed in claim 8, which is characterized in that the generation module is specifically used for:
If at least one described parameter includes: data center's number, mechanism number, the message numbering, Yi Jisuo Account Type is stated, then from a plurality of routing, choosing the corresponding parameter simultaneously includes: data center number, institute State mechanism number, the message numbering and the Account Type routing as the first via by;
Selected routing is used as from the first via by the middle determining maximum routing of weighted value.
10. routing arrangement as claimed in claim 8, which is characterized in that the generation module, also particularly useful for:
If at least one described parameter includes: data center's number, mechanism number, the message numbering, Yi Jisuo Any two parameter in Account Type is stated, then from a plurality of routing, it includes: described for choosing the corresponding parameter simultaneously Any two parameter, and in the corresponding parameter, the parameter in addition to any two parameter is the routing conduct of null value Secondary route;
Determine that the maximum routing of weighted value is used as selected routing from the secondary route.
11. routing arrangement as claimed in claim 8, which is characterized in that the generation module is further specifically used for:
If at least one described parameter includes: data center's number, mechanism number, the message numbering, Yi Jisuo Any three parameters in Account Type are stated, then from a plurality of routing, it includes: described for choosing the corresponding parameter simultaneously Any three parameters, and in the corresponding parameter, the parameter in addition to any three parameters is the routing conduct of null value Third routing;
Determine that the maximum routing of weighted value is used as selected routing from third routing.
12. routing arrangement as described in claim 10 or 11, which is characterized in that further include:
Cue module, for generating abnormal prompt information when there is no the routing that the parameter is null value, to carry out abnormal mention Show.
13. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the program Such as route selection method of any of claims 1-6 is realized when being executed by processor.
14. a kind of computer program product executes one kind when the instruction in the computer program product is executed by processor Route selection method, which comprises
It determines at least one parameter in message to be transmitted, and obtains the weight of parameter corresponding to a plurality of routing and every routing Value;
Routing rules is generated according to the parameter and the weighted value;
The routing for being used for transmission the message to be transmitted is selected according to the routing rules.
15. a kind of computer equipment, including shell, processor, memory, circuit board and power circuit, wherein the circuit board It is placed in the space interior that the shell surrounds, the processor and the memory are arranged on the circuit board;The electricity Source circuit, for each circuit or the device power supply for the computer equipment;The memory is for storing executable program Code;The processor is run and the executable program by reading the executable program code stored in the memory The corresponding program of code, for executing:
It determines at least one parameter in message to be transmitted, and obtains the weight of parameter corresponding to a plurality of routing and every routing Value;
Routing rules is generated according to the parameter and the weighted value;
The routing for being used for transmission the message to be transmitted is selected according to the routing rules.
CN201810455312.XA 2018-05-14 2018-05-14 Routing method and device and computer equipment Active CN109729008B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810455312.XA CN109729008B (en) 2018-05-14 2018-05-14 Routing method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810455312.XA CN109729008B (en) 2018-05-14 2018-05-14 Routing method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN109729008A true CN109729008A (en) 2019-05-07
CN109729008B CN109729008B (en) 2021-08-27

Family

ID=66293765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810455312.XA Active CN109729008B (en) 2018-05-14 2018-05-14 Routing method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN109729008B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110443593A (en) * 2019-08-07 2019-11-12 网联清算有限公司 Transaction processing method and device, transaction processing system and computer system
CN111144854A (en) * 2019-12-06 2020-05-12 北京中交兴路信息科技有限公司 Distributed intelligent payment routing method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1336824A1 (en) * 2002-02-15 2003-08-20 Ford Global Technologies, Inc., A subsidiary of Ford Motor Company Weight monitoring system for a motor vehicle
CN101610562A (en) * 2009-07-14 2009-12-23 中控科技集团有限公司 The method for routing of wireless sensor network, wireless sensor node and system
US20140029447A1 (en) * 2012-07-25 2014-01-30 Qualcomm Atheros, Inc. Forwarding tables for hybrid communication networks
CN106535276A (en) * 2016-12-02 2017-03-22 上海谱翱数据科技有限公司 Route selection method and device and gateway
CN106936705A (en) * 2017-03-06 2017-07-07 重庆邮电大学 A kind of software defined network route selection method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1336824A1 (en) * 2002-02-15 2003-08-20 Ford Global Technologies, Inc., A subsidiary of Ford Motor Company Weight monitoring system for a motor vehicle
CN101610562A (en) * 2009-07-14 2009-12-23 中控科技集团有限公司 The method for routing of wireless sensor network, wireless sensor node and system
US20140029447A1 (en) * 2012-07-25 2014-01-30 Qualcomm Atheros, Inc. Forwarding tables for hybrid communication networks
CN106535276A (en) * 2016-12-02 2017-03-22 上海谱翱数据科技有限公司 Route selection method and device and gateway
CN106936705A (en) * 2017-03-06 2017-07-07 重庆邮电大学 A kind of software defined network route selection method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
L. LHOTKA等: "A YANG Data Model for Routing Managementdraft-ietf-netmod-routing-cfg-06", 《IETF》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110443593A (en) * 2019-08-07 2019-11-12 网联清算有限公司 Transaction processing method and device, transaction processing system and computer system
CN110443593B (en) * 2019-08-07 2023-11-21 网联清算有限公司 Transaction processing method and device, transaction processing system and computer system
CN111144854A (en) * 2019-12-06 2020-05-12 北京中交兴路信息科技有限公司 Distributed intelligent payment routing method and system

Also Published As

Publication number Publication date
CN109729008B (en) 2021-08-27

Similar Documents

Publication Publication Date Title
US11336465B2 (en) Sending cross-chain authenticatable messages
US20200177572A1 (en) Sending cross-chain authenticatable messages
US9280370B2 (en) System structure management device, system structure management method, and program
CN111193605B (en) Fault positioning method and device and storage medium
CN110187831B (en) Block data storage system and method of block chain alliance chain
US20150081376A1 (en) Customization of event management and incident management policies
CN109729008A (en) Route selection method, device and computer equipment
CN108692735A (en) Processing method, device, storage medium and the electronic equipment of navigation routine
CN103546388A (en) Flow control method and flow control device
CN106547870A (en) Point table method and device of data base
CN114841322A (en) Processing method and processing device of neural network computation graph
CN109325599A (en) A kind of data processing method, server and computer-readable medium
US8756093B2 (en) Method of monitoring a combined workflow with rejection determination function, device and recording medium therefor
CN114091610A (en) Intelligent decision method and device
CN104580428A (en) Data routing method, data management device and distributed storage system
CN109345249A (en) A kind of payment fail processing method and device
CN104572687A (en) Recognition method and device of microblogging key users
EP4167540A1 (en) Availability slo-aware network optimization
US20230031045A1 (en) Group type identification method and apparatus, computer device, and medium
CN110428323A (en) Excess reserve allots method, apparatus and computer equipment
CN116431651A (en) Graph data processing method and device and computer equipment
CN109729015A (en) Data processing method and its device
CN114780039A (en) Storage method, calculation method, storage device, many-core system, and medium
CN110019561A (en) Transaction data method of summary, device and computer equipment
US9380413B1 (en) Dynamically forming the content of a message to a user based on a perceived emotion

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