Summary of the invention
It is an object of the invention to provide the information transferring method between computer system service node, reduce R&D costs and the maintenance cost of whole computer system, improve the efficiency of information transmission and Business Processing.
For solving above-mentioned technical problem, embodiments of the present invention disclose the information transferring method between a kind of computer system service node, service node has at least two, business is accomplished by the first post processing of at least two of which service node, and different service nodes responds same service identification information and produces the different eigenvalues relevant to business;
The Business Processing of each service node comprises the following steps:
This service node receives Business Processing request, and wherein, Business Processing request includes service identification information;
Business is processed by this service node;In business procession, if producing the eigenvalue that can be used by other service node, then the corresponding relation of this eigenvalue Yu this service identification information is saved in the server independent of each service node;In business procession, if needing to use eigenvalue produced by other service node, then inquire about above-mentioned corresponding relation in the server according to this service identification information and obtain required eigenvalue;
This service node, after the Business Processing of this node completes, initiates Business Processing request to next service node, including service identification information.
Embodiments of the present invention also disclose the information carrying means between a kind of computer system service node, service node has at least two, business is accomplished by the first post processing of at least two of which service node, and different service nodes responds same service identification information and produces the different eigenvalues relevant to business;
This information carrying means controls each service node and carries out Business Processing, including with lower unit:
Receiving unit, be used for controlling service node and receive Business Processing request, wherein, Business Processing request includes service identification information;
Processing unit, is used for controlling this service node and business is processed;In business procession, if producing the eigenvalue that can be used by other service node, then the corresponding relation of this eigenvalue Yu this service identification information is saved in the server independent of each service node by this processing unit;In business procession, if needing to use eigenvalue produced by other service node, then this processing unit is inquired about corresponding relation in the server according to this service identification information and is obtained required eigenvalue;
Initiate unit, for controlling service node after the Business Processing of this node completes, initiate Business Processing request to next service node, including service identification information.
Compared with prior art, the main distinction and effect thereof are in that embodiment of the present invention:
In business procession, each service node is without transmitting the eigenvalue unrelated with this service node, only need transport service identification information just can carry out Business Processing, and can inquire about in the server other service nodes produce the eigenvalue relevant to business for Business Processing, reduce the requirement that each service node is processed professional ability, and then reduce R&D costs and the maintenance cost of whole computer system, improve the efficiency of information transmission and Business Processing.
Further, in actual applications, reason due to artificially defined key-value pair, it is possible that different business has the situation of identical key-value pair, adopt the eigenvalue of key word-business scenario type-value form, can by together with multiple information fusions of being closely related with certain business, incoherent information is distinguished easily by this value of business scenario, thus avoiding the data repeating to cause because of the key word in the key-value pair of different business, when storage, mistake occurs, cover the situation of the data of same key-value pair, simultaneously, also the data dictionary defined need not be revised again.
Detailed description of the invention
In the following description, many ins and outs are proposed in order to make reader be more fully understood that the application.But, it will be understood by those skilled in the art that even without these ins and outs with based on the many variations of following embodiment and amendment, it is also possible to realize the application each claim technical scheme required for protection.
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiments of the present invention are described in further detail.
First embodiment of the invention relates to the information transferring method between a kind of computer system service node.Fig. 1 is the schematic flow sheet of the information transferring method between this computer system service node.
Specifically, the service node of this computer system has at least two, and business is accomplished by the first post processing of at least two of which service node, and different service nodes responds same service identification information and produces the different eigenvalues relevant to business.As it is shown in figure 1, the Business Processing of each service node comprises the following steps:
In a step 101, this service node receives Business Processing request, and wherein, Business Processing request includes service identification information;
Then into step 102, business is processed by this service node;In business procession, if producing the eigenvalue that can be used by other service node, then the corresponding relation of this eigenvalue Yu this service identification information is saved in the server independent of each service node;In business procession, if needing to use eigenvalue produced by other service node, then inquire about corresponding relation in the server according to this service identification information and obtain required eigenvalue.
Then into step 103, this service node, after the Business Processing of this node completes, initiates Business Processing request to next service node, including service identification information.
Hereafter process ends.
In a preference of the present invention, features described above value is key-value pair, and each key-value pair includes a key word and at least one value;And in above-mentioned steps 102, according to the value that service identification information is corresponding with keyword query.Fig. 2 illustrates the transmission in whole computer system of the eigenvalue with the storage of key-value pair form and storing process, wherein, Key represents service identification information, and (Kn, Vn) represents the key-value pair that can be used for other service nodes of the n-th service node generation participating in Business Processing.
In the present invention, for the eigenvalue of key-value pair form, key word therein can be the part in data dictionary, it is also possible to a corresponding independent data dictionary, the value that characteristic information that the value corresponding with key word is concrete in data dictionary is corresponding.Wherein, data dictionary storage has the actual characteristic information of each value correspondence of each key word, and a data dictionary can to the characteristic information of each value definition reality of multiple key words, it is also possible to the characteristic information that the respectively value definition of a key word is actual.Such as, in a preference of the present invention, above computer system is the computer system for processing ecommerce related service.Key word " bank card " is the part in certain data dictionary, two value CardPayNo.1 and CardPayNo.2 for this key word, can inquire expression respectively in bank card data dictionary is deposit card and the credit card for the bank card paid, certainly, in data dictionary, other value characteristic of correspondence information of key word " bank card " can also be defined, such as, CardPayNo.1-1 inquires in data dictionary and represents the deposit card that bank card is A bank for paying, and CardPayNo.1-2 represents it is the deposit card etc. of B bank.
Additionally, in another preference of the present invention, the corresponding data dictionary of key word " terminal access channel ", namely whole data dictionary defines the actual characteristic information of each value corresponding to " terminal access channel ", and part defines as shown in the table:
Respectively value and each value characteristic of correspondence information that table 1. key word " terminal access channel " is corresponding
Value |
WWW |
WAP |
APP |
SMS |
IVR |
POS |
TV |
Characteristic information |
Www website |
Wap website |
Client |
SMS gateway |
IVR gateway |
POS gateway |
TV channel |
Wherein, www represents that world wide web, wap represent that WAP, SMS gateway represent that Short Message Service Gateway, IVR represent interactive voice question-answer, and POS represents point-of-sale terminal.
In another preference of the present invention, eigenvalue consist of key word-business scenario type-value, each key word-business scenario type-value includes a key word, a kind of business scenario and at least one value;And in above-mentioned steps 102, according to service identification information, value that key word is corresponding with business scenario type queries.Such as, to being used for processing the computer system of ecommerce related service, the key-value pair produced in payment transaction is V1-T3-CPNo.1-1, wherein, V1 represents that bank card, T3 represent that business is payment transaction, and CardPayNo.1-1 represents the deposit card that bank card is A bank used by paying;The key-value pair produced in transferred account service is V1-T5-CPNo.1-1, and wherein, V1 represents that bank card, T5 represent that business is transferred account service, and what CardPayNo.1-1 propped up the card provided funds when representing and transfer accounts account used is the deposit card of A bank.
In actual applications, reason due to artificially defined key-value pair, it is possible that different business is (such as, the personnel being responsible for different business are different, if the definition with regard to key-value pair is not linked up between them) there is the situation of identical key-value pair, as it has been described above, payment transaction and transferred account service all can produce key-value pair V1-CPNo.1-1, to represent in respective business that bank card used is all for the deposit card of A bank.So, if same business has not only carried out payment but also has transferred accounts, and pay front, so when the node of correspondence of transferring accounts produces key-value pair V1-CPNo.1-1, server will be considered that this key-value pair stored, so the key-value pair of correspondence of transferring accounts will not be stored or will store overriding of key-value pair, and then storage mistake occurs.In order to avoid the problems referred to above, the eigenvalue of key word-business scenario type-value form can be adopted, together with multiple information fusions of being closely related with certain business, incoherent information is distinguished easily by this value of business scenario, thus avoiding the data repeating to cause because of the key word in the key-value pair of different business, when storage, mistake occurs, cover the situation of the data of same key-value pair, meanwhile, also need not revise the data dictionary defined again.
In the present embodiment, above-mentioned server is independent of above computer system.
Furthermore, it is to be understood that in other embodiments of the present invention, above-mentioned server can also be the server of above computer internal system.
In business procession, each service node is without transmitting the eigenvalue unrelated with this service node, only need transport service identification information just can carry out Business Processing, and can inquire about in the server other service nodes produce the eigenvalue relevant to business for Business Processing, reduce the requirement that each service node is processed professional ability, and then reduce R&D costs and the maintenance cost of whole computer system, improve the efficiency of information transmission and Business Processing.
Each method embodiment of the present invention all can realize in modes such as software, hardware, firmwares.No matter the present invention realizes with software, hardware or firmware mode, instruction code may be stored in the addressable memorizer of any kind of computer (such as permanent or revisable, volatibility or non-volatile, solid-state or non-solid, fixing or removable medium etc.).Equally, memorizer can be such as programmable logic array (ProgrammableArrayLogic, it is called for short " PAL "), random access memory (RandomAccessMemory, it is called for short " RAM "), programmable read only memory (ProgrammableReadOnlyMemory, it is called for short " PROM "), read only memory (Read-OnlyMemory, it is called for short " ROM "), Electrically Erasable Read Only Memory (ElectricallyErasableProgrammableROM, it is called for short " EEPROM "), disk, CD, digital versatile disc (DigitalVersatileDisc, it is called for short " DVD ") etc..
Second embodiment of the invention relates to the information carrying means between computer system service node.Fig. 3 is the structural representation of the information carrying means between this computer system service node.
Specifically, the service node of this computer system has at least two, and business is accomplished by the first post processing of at least two of which service node, and different service nodes responds same service identification information and produces the different eigenvalues relevant to business.As it is shown on figure 3, this information carrying means controls each service node carries out Business Processing, including with lower unit:
Receiving unit, be used for controlling service node and receive Business Processing request, wherein, Business Processing request includes service identification information.
Processing unit, is used for controlling this service node and business is processed;In business procession, if producing the eigenvalue that can be used by other service node, then the corresponding relation of this eigenvalue Yu this service identification information is saved in the server independent of each service node by this processing unit;In business procession, if needing to use eigenvalue produced by other service node, then this processing unit is inquired about corresponding relation in the server according to this service identification information and is obtained required eigenvalue.
Initiate unit, for controlling service node after the Business Processing of this node completes, initiate Business Processing request to next service node, including service identification information.
In a preference of the present invention, features described above value is key-value pair, and each key-value pair includes a key word and at least one value;And above-mentioned processing unit is according to the service identification information value corresponding with keyword query.
In another preference of the present invention, eigenvalue consist of key word-business scenario type-value, each key word-business scenario type-value includes a key word, a kind of business scenario and at least one value;And processing unit is according to service identification information, value that key word is corresponding with business scenario type queries.
In the present embodiment, above-mentioned server is independent of above computer system.
Furthermore, it is to be understood that in other embodiments of the present invention, above-mentioned server can also be the server of above computer internal system.
Additionally, in a preference of the present invention, above computer system is the computer system for processing ecommerce related service.
First embodiment is the method embodiment corresponding with present embodiment, and present embodiment can be worked in coordination enforcement with the first embodiment.The relevant technical details mentioned in first embodiment is still effective in the present embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment is also applicable in the first embodiment.
It should be noted that, the each unit mentioned in each equipment embodiment of the present invention is all logical block, physically, one logical block can be a physical location, it can also be a part for a physical location, can also realizing with the combination of multiple physical locations, the Physical realization of these logical blocks itself is not most important, and the combination of the function that these logical blocks realize is only the key solving technical problem proposed by the invention.Additionally, for the innovative part highlighting the present invention, the unit less close with solving technical problem relation proposed by the invention is not introduced by the above-mentioned each equipment embodiment of the present invention, and this is not intended that the said equipment embodiment and is absent from other unit.
It should be noted that, in the claim and description of this patent, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or equipment not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment.When there is no more restriction, statement " including " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or equipment.
Although by referring to some of the preferred embodiment of the invention, the present invention being shown and described, but it will be understood by those skilled in the art that and in the form and details it can be done various change, without departing from the spirit and scope of the present invention.