CN108023948A - A kind of system and method for handling third party system information - Google Patents

A kind of system and method for handling third party system information Download PDF

Info

Publication number
CN108023948A
CN108023948A CN201711256351.9A CN201711256351A CN108023948A CN 108023948 A CN108023948 A CN 108023948A CN 201711256351 A CN201711256351 A CN 201711256351A CN 108023948 A CN108023948 A CN 108023948A
Authority
CN
China
Prior art keywords
information
parameter
parameter item
web service
action type
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.)
Pending
Application number
CN201711256351.9A
Other languages
Chinese (zh)
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.)
Shandong Inspur Genersoft Information Technology Co Ltd
Original Assignee
Shandong Inspur Genersoft Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Inspur Genersoft Information Technology Co Ltd filed Critical Shandong Inspur Genersoft Information Technology Co Ltd
Priority to CN201711256351.9A priority Critical patent/CN108023948A/en
Publication of CN108023948A publication Critical patent/CN108023948A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Abstract

The present invention provides a kind of system and method for handling third party system information, which includes:Gate system and each third party system.Gate system defines the information list of the parameter item including the first quantity;Gate system provides some Web Service interfaces, and each interface is corresponding with information action type and at least one parameter item, and the parameter item of the first quantity includes at least one parameter item;Any third party system gathers the corresponding parameter value of each parameter item, and call the interface to push these parameter values to gate system according to the corresponding at least one parameter item of an interface;When gate system is cached with information list, in Business Logic according to the corresponding information action type of the interface and these parameter values, respective handling is carried out to the information list in caching.Third party system gathers information and gate system processing information is based on the information list and interface of unified definition, therefore this programme can solve the problems, such as that existing gate system information processing is difficult.

Description

A kind of system and method for handling third party system information
Technical field
The present invention relates to field of computer technology, more particularly to a kind of system and method for handling third party system information.
Background technology
With the development of information technology, an enterprise would generally go up many application systems, and the mutual not phase of each application system Together, so as to the problems such as information searching is time-consuming and laborious, and examination & approval yield poor results, drain message easily occur.In this way, gate system can be utilized It is managed collectively.
At present, gate system only realizes the data integration of third party system, when the information for needing to handle each third party system When, information processing is difficult.
The content of the invention
The present invention provides a kind of system and method for handling third party system information, existing gate system can be solved The problem of information processing is difficult.
In order to achieve the above object, the present invention is achieved through the following technical solutions:
On the one hand, the present invention provides a kind of system for handling third party system information, including:
Gate system and at least one third party system;
There is information list defined in the gate system, described information list includes the parameter item of the first quantity;
The gate system is provided with least one Web Service interfaces, wherein, each described Web Service Interface is corresponding with information action type and at least one parameter item, and the parameter item of first quantity is including described at least one Parameter item;
Each described third party system, is used to according to either objective at least one Web Service interfaces The corresponding at least one parameter item of Web Service interfaces, gathers the corresponding parameter of each parameter item at least one parameter item Value;The target Web Service interfaces are called to send at least one parameter value collected to the gate system;
The gate system, for when receiving at least one parameter value, judging whether deposited in internal caching In described information list, if so, the Business Logic in inside, according to the corresponding information of the target Web Service interfaces Action type and at least one parameter value, respective handling is carried out to the described information list in caching.
Further, the parameter item of first quantity, including:Message identification, information type, system banner, system mark Know title, name of the information, information receiving time, time started, end time, founder, founder's title, News Category mark Third party system connects when knowledge, source system user mark, authentication center's user identifier, authentication center's user's name, information are opened Address, information state, information level of confidentiality, information level of confidentiality title, current approval node, increase time, last modification time, message are retouched State, is Origin, Originator description, appointment state, any one or more in appointed information type.
Further, the parameter value of the appointment state includes:It is pending, done, cancelled, return in any one;
The parameter value of the appointed information type includes:Any one in task, mail, official document, meeting, notice.
Further, the corresponding information action type of the target Web Service interfaces is:Newly-increased task category information, Newly-increased mail category information, newly-increased official document category information, newly-increased meeting category information, newly-increased notice category information, newly-added information, renewal letter Breath, renewal participant information, delete any one in information.
Further, for the target Web Service interfaces:
When its corresponding information action type is newly-increased task category information, its corresponding at least one parameter item includes system ID, systematic name, Pending tasks ID, task names, current approval node title, flow time started, receiving time, promoter ID, promoter's title, recipient ID, process name, link URL (Uniform Resource Locator, unified resource positioning Symbol), flow state, flow description in it is any one or more;
When its corresponding information action type is newly-increased mail category information, its corresponding at least one parameter item includes system ID, systematic name, mail ID, Email Name, receiving time, mail sender ID, mail sender title, recipient ID, chain Connect any one or more in URL, flow state, flow description, level of confidentiality, level of confidentiality title;
When its corresponding information action type is newly-increased official document category information, its corresponding at least one parameter item includes system ID, systematic name, official document ID, official document title, receiving time, official document sender ID, official document sender title, recipient ID, chain Connect any one or more in URL, official document state;
When its corresponding information action type is newly-increased meeting category information, its corresponding at least one parameter item includes system ID, systematic name, Conference ID, meeting title, meeting start time, User ID, link URL, meeting-place, level of confidentiality, level of confidentiality name It is any one or more in title;
When its corresponding information action type is increases notice category information newly, its corresponding at least one parameter item includes system ID, systematic name, message id, message subject, receiving time, message sender ID, message sender title, User ID, link It is any one or more in URL, state, message semantic definition;
When its corresponding information action type is newly-added information, its corresponding at least one parameter item includes system identifier, is System title, type, Information ID, name of the information, process name, receiving time, promoter ID, process name, recipient ID, flow It is any one or more in classification, link URL, state, level of confidentiality, level of confidentiality title, at least one redundant field;
When its corresponding information action type is fresh information, its corresponding at least one parameter item includes system identifier, letter Cease any one or more in ID;
When its corresponding information action type is updates participant's information, its corresponding at least one parameter item includes system It is any one or more in ID, Information ID, participant ID;
When its corresponding information action type is deletes information, its corresponding at least one parameter item includes system identifier, letter Cease any one or more in ID.
Further, the gate system, specifically for the message identification at least one parameter value and is System mark, orients the pending information in described information list in caching, and according to the target Web Service interfaces Corresponding information action type and at least one parameter value, to the pending information in described information list in caching Carry out respective handling.
Further, it is stored with described information list in the database inside the gate system;
The gate system, is additionally operable to, when described information list is not present in judging caching, to store in database Described information list add caching in;And according to the corresponding information action type of the target Web Service interfaces and At least one parameter value, respective handling is carried out to the pending information in described information list in database.
Further, the gate system, which is packaged with caching and obtains operate interface and cache increasing, changes operate interface;
Wherein, the method name of the caching acquisition operate interface is:Get<T>(string cachekey,string region,Func<T>RealGetMethod, int timeOut=60*60*24);
The caching, which increases, to be changed the method name of operate interface and is:AddOrUpdate(string key,object value)。
On the other hand, the present invention provides a kind of method for handling third party system information, gate system is at least one Third party system provides at least one Web Service interfaces, wherein, each described Web Service interface is corresponding with Information action type and at least one parameter item, there is information list defined in the gate system, and described information list includes the The parameter item of one quantity, and the parameter item of first quantity includes at least one parameter item;Further include:
Any third party system is according to either objective Web at least one Web Service interfaces The corresponding at least one parameter item of Service interface, gathers the corresponding parameter value of each parameter item at least one parameter item, and The target Web Service interfaces are called to send at least one parameter value collected to the gate system;
The gate system is judged in the caching of inside with the presence or absence of described when receiving at least one parameter value Information list, if so, in internal Business Logic, class is operated according to the corresponding information of the target Web Service interfaces Type and at least one parameter value, respective handling is carried out to the described information list in caching.
Further, it is described according to the corresponding information action type of the target Web Service interfaces and it is described at least One parameter value, carries out the described information list in caching respective handling, including:According at least one parameter value Message identification and system banner, orient the pending information in described information list in caching, and according to the target Web The corresponding information action type of Service interface and at least one parameter value, to the institute in described information list in caching State pending information and carry out respective handling.
The present invention provides a kind of system and method for handling third party system information, which includes:Gate system and Each third party system.Gate system defines the information list of the parameter item including the first quantity;Gate system provides some Web Service interface, each interface are corresponding with information action type and at least one parameter item, and the parameter item of the first quantity includes should At least one parameter item;Any third party system gathers each parameter item and corresponds to according to the corresponding at least one parameter item of an interface Parameter value, and call the interface to push these parameter values to gate system;When gate system is cached with information list, in business Logical layer carries out corresponding position according to the corresponding information action type of the interface and these parameter values to the information list in caching Reason.Third party system gathers the information list and interface that information and gate system processing information are based on unified definition, therefore this hair It is bright to solve the problems, such as that existing gate system information processing is difficult.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of schematic diagram of the system for processing third party system information that one embodiment of the invention provides;
Fig. 2 is a kind of flow chart of the method for processing third party system information that one embodiment of the invention provides.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art The all other embodiments obtained on the premise of creative work is not made, belong to the scope of protection of the invention.
As shown in Figure 1, an embodiment of the present invention provides a kind of system for handling third party system information, can include:
Gate system 101 and at least one third party system 102;
There is information list defined in the gate system 101, described information list includes the parameter item of the first quantity;
The gate system 101 is provided with least one Web Service interfaces, wherein, each described Web Service interface is corresponding with information action type and at least one parameter item, and the parameter item of first quantity is including described At least one parameter item;
Each described third party system 102, is used to according to any mesh at least one Web Service interfaces The corresponding at least one parameter item of Web Service interfaces is marked, gathers the corresponding ginseng of each parameter item at least one parameter item Numerical value;The target Web Service interfaces are called to send at least one parameter collected to the gate system 101 Value;
The gate system 101, for when receiving at least one parameter value, judge inside caching in whether There are described information list, if so, the Business Logic in inside, according to the corresponding letter of the target Web Service interfaces Action type and at least one parameter value are ceased, respective handling is carried out to the described information list in caching.
An embodiment of the present invention provides a kind of system for handling third party system information, including:Gate system and Ge tri- Method, system.Gate system defines the information list of the parameter item including the first quantity;Gate system provides some Web Service interface, each interface are corresponding with information action type and at least one parameter item, and the parameter item of the first quantity includes should At least one parameter item;Any third party system gathers each parameter item and corresponds to according to the corresponding at least one parameter item of an interface Parameter value, and call the interface to push these parameter values to gate system;When gate system is cached with information list, in business Logical layer carries out corresponding position according to the corresponding information action type of the interface and these parameter values to the information list in caching Reason.Third party system gathers the information list and interface that information and gate system processing information are based on unified definition, therefore this hair Bright embodiment can solve the problems, such as that existing gate system information processing is difficult.
In detail, gate system can pre-define unified system data structure and interface.In this way, third party system Regular collection can be carried out when gathering information according to the system data structure, and collection letter is pushed by respective standard interface Breath, accordingly, gate system equally carry out information processing based on the system data structure.
Wherein, the above-mentioned information list for including the first number parameter item can be with the system data knot for unified definition Structure, above-mentioned at least one Web Service interfaces can be with for the interfaces of unified definition disclosed in each third party system.
In an embodiment of the invention, can be according to the data knot of the currently integrated each third party system of gate system Structure and unified certification mode, to define unified information list.In this way, being based on the information list, gate system can identify Each third party system information integrated, and the list or function of third party system can be opened with single-sign-on.Certainly, develop Personnel on demand can be updated above- mentioned information list and interface, with suitable for newly integrated each third party system.
In detail, due to needing to integrate the information of each third party system, therefore above- mentioned information list usually has some parameters .In this way, the content of each information in information list, you can be made of the parameter value corresponding to each parameter item.
Therefore, in an embodiment of the invention, the parameter item of first quantity, including:Message identification, info class Type, system banner, system banner title, name of the information, information receiving time, time started, end time, founder, establishment People's title, News Category mark, source system user mark, authentication center's user identifier, authentication center's user's name, information are opened When third party system link address, information state, information level of confidentiality, information level of confidentiality title, current approval node, increase time, most It is any one or more in modification time, message semantic definition, Origin, Originator description, appointment state, appointed information type afterwards.
In detail, the respective field of information list can be EPIntegratedInfo, the corresponding word of above-mentioned each parameter item Section can be as described below:Message identification:ItemID, information type:ItemType, system banner:SystemID, system banner name Claim:SystemName, name of the information:ItemName, information receiving time:ReceiveTime, time started: StartedDateTime, end time:CompletedDateTime, founder:Creator, founder's title: CreatorName, flow classification or News Category etc. identify:ItemSourceType, source system user mark: SourceUserID, authentication center's user identifier:IDMUserID, authentication center's user's name:IDMUserName, information are opened When third party system link address:ItemUrl, information state:State, information level of confidentiality:SecLevel, information level of confidentiality title: SecLevelName, current approval node:ActivityName, increase time:AddTime, last modification time: LastModifyTime, official document code or message semantic definition etc.:Description, meeting-place or Origin, Originator or document received unit Described Deng multiplexing:Description2;Appointment state:Agree, wherein, pending=0 ,=1 is done, revocation=2, returns=3; Appointed information type:AgreeType, wherein, task=0, official document=1, mail=2, meeting=3, message=4.
In this way, in an embodiment of the invention, the parameter value of the appointment state include it is pending, done, cancelled, having returned In any one;The parameter value of the appointed information type includes any one in task, mail, official document, meeting, notice It is a.
Certainly, use demand is unsatisfactory for if had an agreement, door synchronously increases after can arranging.
Based on the above, in an embodiment of the invention, the parameter declaration of each parameter item in above- mentioned information list can With as described in Table 1.
Table 1
Based on the above, in an embodiment of the invention, the corresponding information behaviour of the target Web Service interfaces It is as type:Newly-increased task category information, newly-increased mail category information, newly-increased official document category information, newly-increased meeting category information, newly-increased notice Category information, newly-added information, fresh information, renewal participant information, delete any one in information.
In detail, the information action type embodied with newly-increased classification such as newly-increased task category information, newly-increased mail category informations Corresponding, this information action type of above-mentioned newly-added information can be universal.
In detail, it is generally the case that the corresponding information action type of different Web Service interfaces is different, different Web The corresponding parameter item of Service interface is different.
In this way, any third party system can call the information action type to match with the demand according to self-demand Corresponding Web Service interfaces, so as to according to the corresponding design parameter item of the Web Service interfaces, determine Which parameter item is content to be collected should be related to, and then accurately gathers the corresponding parameter value of each parameter item.
Since the parameter item corresponding to any Web Service interfaces is the part of the parameter item included by information list Or all, therefore for each parameter value that the push of any third party system comes, you can according to each parameter value and its corresponding parameter item, Respective handling is carried out with the information list in caching.
For example, can when a third party system calls the information action type of Web Service interfaces to be newly-added information According to the corresponding parameter item of Web Service interfaces, to gather the corresponding parameter value of each parameter item.Gate system is receiving , can be according to parameter value and parameter when the third party system is by the parameter value that calls this Web Service interface to push The correspondence of item, each parameter value is increased newly in the information list into caching, and these parameter values will be formed in information list An information.
For another example, when information action type is fresh information, first can according to push come some particular parameter values, such as Message identification and system banner etc., orient information to be updated in information list, then according to parameter value and pair of parameter item Should be related to, can the renewal of each parameter value replace corresponding original parameter value in the information.
For another example, when information action type is deletes information, can equally orient first to be deleted in information list Information, and the information is deleted from the information list in caching.
Thus, it can be seen that in order to realize accurately handling, it is necessary to define each Web for third party system information The corresponding parameter item of Service interface.Since above-mentioned target Web Service interfaces can be to be provided to each third party system Any one Web Service interface in all Web Service interfaces, therefore can be connect with above-mentioned target Web Service Exemplified by mouthful, to parameter item, this definition is described.
Therefore, in an embodiment of the invention, for the target Web Service interfaces:
When its corresponding information action type is newly-increased task category information, its corresponding at least one parameter item includes system ID, systematic name, Pending tasks ID, task names, current approval node title, flow time started, receiving time, promoter It is any one or more in ID, promoter's title, recipient ID, process name, link URL, flow state, flow description;
When its corresponding information action type is newly-increased mail category information, its corresponding at least one parameter item includes system ID, systematic name, mail ID, Email Name, receiving time, mail sender ID, mail sender title, recipient ID, chain Connect any one or more in URL, flow state, flow description, level of confidentiality, level of confidentiality title;
When its corresponding information action type is newly-increased official document category information, its corresponding at least one parameter item includes system ID, systematic name, official document ID, official document title, receiving time, official document sender ID, official document sender title, recipient ID, chain Connect any one or more in URL, official document state;
When its corresponding information action type is newly-increased meeting category information, its corresponding at least one parameter item includes system ID, systematic name, Conference ID, meeting title, meeting start time, User ID, link URL, meeting-place, level of confidentiality, level of confidentiality name It is any one or more in title;
When its corresponding information action type is increases notice category information newly, its corresponding at least one parameter item includes system ID, systematic name, message id, message subject, receiving time, message sender ID, message sender title, User ID, link It is any one or more in URL, state, message semantic definition;
When its corresponding information action type is newly-added information, its corresponding at least one parameter item includes system identifier, is System title, type, Information ID, name of the information, process name, receiving time, promoter ID, process name, recipient ID, flow It is any one or more in classification, link URL, state, level of confidentiality, level of confidentiality title, at least one redundant field;
When its corresponding information action type is fresh information, its corresponding at least one parameter item includes system identifier, letter Cease any one or more in ID;
When its corresponding information action type is updates participant's information, its corresponding at least one parameter item includes system It is any one or more in ID, Information ID, participant ID;
When its corresponding information action type is deletes information, its corresponding at least one parameter item includes system identifier, letter Cease any one or more in ID.
For example, when the corresponding information action type of a Web Service interfaces is newly-increased task category information, its is corresponding Field can be AddTask, and the parameter declaration of its corresponding at least one parameter item can be as described in Table 2.
Table 2
In detail, system identifier, systematic name can be obtained from IDM, you can be obtained from authentication center.
For example, when the corresponding information action type of a Web Service interfaces is newly-increased mail category information, its is corresponding Field can be AddEmail, and the parameter declaration of its corresponding at least one parameter item can be as described in Table 3.
Table 3
Parameter name Parameter declaration Whether must fill out Data type
systemID System identifier (obtains) from IDM It is String
systemName Systematic name (obtains) from IDM It is no String
emailID Mail ID It is String
emailName Email Name It is String
receiveTime Receiving time It is String
creator Mail sender ID It is String
creatorName Mail sender's title It is String
sourceUserID Recipient ID (source system) It is String
itemUrl Link URL It is String
state Flow state It is String
description Flow describes It is no String
seclevel Level of confidentiality (acquiescence passes 0 when not enabling) It is no Int
seclevelname Level of confidentiality title (passes null value) when not enabling It is no String
For example, when the corresponding information action type of a Web Service interfaces is newly-increased official document category information, its is corresponding Field can be AddDoc, and the parameter declaration of its corresponding at least one parameter item can be as described in Table 4.
Table 4
Parameter name Parameter declaration Whether must fill out Data type
systemID System identifier (obtains) from IDM It is String
systemName Systematic name (obtains) from IDM It is no String
docID Official document ID It is String
docName Official document title It is String
receiveTime Receiving time It is String
creator Official document sender ID It is String
creatorName Official document sender's title It is String
sourceUserID Recipient ID (source system) It is String
itemUrl Link URL It is String
state Official document state It is String
For example, when the corresponding information action type of a Web Service interfaces is newly-increased meeting category information, its is corresponding Field can be AddMetting, and the parameter declaration of its corresponding at least one parameter item can be as described in Table 5.
Table 5
For example, when the corresponding information action type of a Web Service interfaces is increases notice category information newly, its is corresponding Field can be AddNotification, and the parameter declaration of its corresponding at least one parameter item can be as described in Table 6.
Table 6
Parameter name Parameter declaration Whether must fill out Data type
systemID System identifier (obtains) from IDM It is String
systemName Systematic name (obtains) from IDM It is no String
messageID Message id It is String
messageName Message subject It is String
receiveTime Receiving time It is String
creator Message sender ID It is no String
creatorName Message sender's title It is no String
sourceUserID User ID (source system) It is String
itemUrl Link URL It is String
state State It is no String
description Message semantic definition It is no String
For example, when the corresponding information action type of a Web Service interfaces is newly-added information, its respective field can Think AddMessage, the parameter declaration of its corresponding at least one parameter item can be as described in Table 7.
Table 7
For example, when the corresponding information action type of a Web Service interfaces is fresh information, its respective field can Think Update, the parameter declaration of its corresponding at least one parameter item can be as described in Table 8.
Table 8
Parameter name Parameter declaration Whether must fill out Data type
jsonpara System identifier (obtains) from IDM It is String
In detail, Jsonpara is the character string of object array sequence chemical conversion, can add word according to the form of [{ }, { }] Segment information, it is [{ Name that the first two field, which needs,:”itemID”,Value:””},[{Name:”systemID”, Value:””}]。
For example, when the corresponding information action type of a Web Service interfaces is updates participant's information, its is corresponding Field can be UpdateParticipant, and the parameter declaration of its corresponding at least one parameter item can be such as table 9 below institute Show.
Table 9
Parameter name Parameter declaration Whether must fill out Data type
itemID Information ID It is String
systemId System identifier It is String
pariticipant Participant ID It is String
For example, when the corresponding information action type of a Web Service interfaces is deletes information, its respective field can Think Delete, the parameter declaration of its corresponding at least one parameter item can be as described in Table 10.
Table 10
Parameter name Parameter declaration Whether must fill out Data type
itemID Information ID It is String
systemId System id It is String
In an embodiment of the invention, the gate system 101, specifically for according at least one parameter value Message identification and system banner, orient the pending information in described information list in caching, and according to the target The corresponding information action type of Web Service interfaces and at least one parameter value, in described information list in caching The pending information carry out respective handling.
In detail, the combination of message identification and system banner, can uniquely orient a pending information.Then, believe Cease action type for renewal when, each parameter value for being come based on third party system push, to the corresponding former ginseng in the pending information Numerical value is updated processing;When information action type is deletes, the pending information is deleted.
When information action type is increases newly, if positioning result is can orient a pending information, i.e. descriptive information arranges The existing information identical with the newly-added information in table, therefore can abandon increasing newly according to needed for user, or based on third party system Each parameter value that push comes increases processing newly into row information, wherein, this newly-increased processing can be that replacement is newly-increased.Certainly, if cannot A pending information is oriented, i.e., the newly-added information is not present in descriptive information list, therefore third party system can be directly based upon Each parameter value that push comes increases processing newly into row information.
In an embodiment of the invention, it is stored with described information list in the database inside the gate system 101;
The gate system 101, is additionally operable to, when described information list is not present in judging caching, to deposit in database The described information list of storage is added in caching;And according to the corresponding information action type of the target Web Service interfaces With at least one parameter value, respective handling is carried out to the pending information in described information list in database.
In detail, in the embodiment of the present invention, based on third party system push come parameter value, except to the information in caching List is handled, and identical processing can also be carried out to the information list in database.
In detail, it can be handled, can also first be handled for the information list in caching and database respectively at the same time Information list in caching, and subsequently this processing is synchronized in database.
In an embodiment of the invention, the gate system 101 is packaged with caching and obtains operate interface and cache increasing and changes Operate interface;
Wherein, the method name of the caching acquisition operate interface is:Get<T>(string cachekey,string region,Func<T>RealGetMethod, int timeOut=60*60*24);
The caching, which increases, to be changed the method name of operate interface and is:AddOrUpdate(string key,object value)。
In detail, the two interfaces of encapsulation can be that inside uses interface in gate system.
In an embodiment of the invention, it can be a kind of special acquisition modes that paging, which obtains,.In this way, it can also encapsulate One paging obtains operate interface.Accordingly, this paging information acquisition methods can be:Information acquisition method is first from caching Information list is obtained, information list is obtained from database if not caching;It is then possible to according to system banner, info class Not, the page number, page capacity, whether enable level of confidentiality, querying condition and sort criteria qualified information inquired about in information list.
In detail, it is typically whole pending information in caching due to being put into, therefore caching delete operation can not be encapsulated Interface.Certainly, if necessary to delete, information can be taken out, remaining information is put back to again again after deleting, therefore can be with Single delet method is not required, with the update method of caching.
In conclusion in the embodiment of the present invention, the system integrated according to current portal has carried out data structure analysis, formulates Can compatible most of system data memory requirement data structure, the information that synchronously comes for storing third party system; The Business Logic of door, realizes the caching process of information, and realizes increase, deletion, renewal and the paging query of information Function;And the web Service interfaces such as the increase, deletion, renewal of information are externally provided, meet substantially for synchronizing information Ask.
As shown in Fig. 2, an embodiment of the present invention provides a kind of method for handling third party system information, can include following Step:
Step 201:Gate system provides at least one Web Service interfaces at least one third party system, wherein, Each described Web Service interface is corresponding with information action type and at least one parameter item, in the gate system Definition has information list, and described information list includes the parameter item of the first quantity, and the parameter item of first quantity includes institute State at least one parameter item.
Step 202:Any third party system is according to either objective at least one Web Service interfaces The corresponding at least one parameter item of Web Service interfaces, gathers the corresponding parameter of each parameter item at least one parameter item Value, and the target Web Service interfaces are called to send at least one parameter value collected to the gate system.
Step 203:The gate system when receiving at least one parameter value, judge inside caching in whether There are described information list, if so, the Business Logic in inside, according to the corresponding letter of the target Web Service interfaces Action type and at least one parameter value are ceased, respective handling is carried out to the described information list in caching.
In an embodiment of the invention, it is described that class is operated according to the corresponding information of the target Web Service interfaces Type and at least one parameter value, carry out the described information list in caching respective handling, including:According to described at least one Message identification and system banner in a parameter value, orient the pending information in described information list in caching, and root According to the corresponding information action type of the target Web Service interfaces and at least one parameter value, to described in caching The pending information in information list carries out respective handling.
The contents such as the information exchange between each unit, implementation procedure in the above method, due to implementing with present system Example is based on same design, and particular content can be found in the narration in present system embodiment, and details are not described herein again.
In conclusion each embodiment of the present invention at least has the advantages that:
1st, in the embodiment of the present invention, the system of processing third party system information includes:Gate system and each third party system. Gate system defines the information list of the parameter item including the first quantity;Gate system provides some Web Service interfaces, Each interface is corresponding with information action type and at least one parameter item, and the parameter item of the first quantity includes at least one parameter ;Any third party system gathers the corresponding parameter value of each parameter item, and adjust according to the corresponding at least one parameter item of an interface With the interface these parameter values are pushed to gate system;When gate system is cached with information list, in Business Logic according to this The corresponding information action type of interface and these parameter values, respective handling is carried out to the information list in caching.Third party system Collection information and gate system processing information are based on the information list and interface of unified definition, therefore the embodiment of the present invention can solve The problem of certainly existing gate system information processing is difficult.
2nd, in the embodiment of the present invention, the system integrated according to current portal has carried out data structure analysis, and having formulated can be simultaneous Hold the data structure of most of system data memory requirement, the information synchronously to come for storing third party system;In door Business Logic, realizes the caching process of information, and realizes increase, deletion, renewal and the paging query function of information;And The web Service interfaces such as the increase, deletion, renewal of information externally are provided, meet the basic demand of synchronizing information.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity Or operation is distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation Any actual relationship or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non- It is exclusive to include, so that process, method, article or equipment including a series of elements not only include those key elements, But also including other elements that are not explicitly listed, or further include solid by this process, method, article or equipment Some key elements.In the absence of more restrictions, by sentence " including the key element that a 〃 〃 " is limited, it is not excluded that Also there is other identical factor in the process, method, article or apparatus that includes the element.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through The relevant hardware of programmed instruction is completed, and foregoing program can be stored in computer-readable storage medium, the program Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:The foregoing is merely presently preferred embodiments of the present invention, is merely to illustrate skill of the invention Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention, Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.

Claims (10)

  1. A kind of 1. system for handling third party system information, it is characterised in that including:
    Gate system and at least one third party system;
    There is information list defined in the gate system, described information list includes the parameter item of the first quantity;
    The gate system is provided with least one Web Service interfaces, wherein, each described Web Service interface Information action type and at least one parameter item are corresponding with, the parameter item of first quantity includes at least one parameter ;
    Each described third party system, is used to according to either objective Web at least one Web Service interfaces The corresponding at least one parameter item of Service interface, gathers the corresponding parameter value of each parameter item at least one parameter item;Adjust With at least one parameter value of the target Web Service interfaces to be collected to gate system transmission;
    The gate system, for when receiving at least one parameter value, judging to whether there is institute in internal caching Information list is stated, if so, in internal Business Logic, is operated according to the corresponding information of the target Web Service interfaces Type and at least one parameter value, respective handling is carried out to the described information list in caching.
  2. 2. the system of processing third party system information according to claim 1, it is characterised in that
    The parameter item of first quantity, including:Message identification, information type, system banner, system banner title, information name Title, information receiving time, time started, end time, founder, founder's title, News Category mark, source system user mark Third party system link address, information state, letter when knowledge, authentication center's user identifier, authentication center's user's name, information are opened Cease level of confidentiality, information level of confidentiality title, current approval node, increase the time, last modification time, message semantic definition, Origin, Originator description, It is any one or more in appointment state, appointed information type.
  3. 3. the system of processing third party system information according to claim 2, it is characterised in that
    The parameter value of the appointment state includes:It is pending, done, cancelled, return in any one;
    The parameter value of the appointed information type includes:Any one in task, mail, official document, meeting, notice.
  4. 4. the system of processing third party system information according to claim 1, it is characterised in that
    The corresponding information action type of the target Web Service interfaces is:Newly-increased task category information, newly-increased mail class letter Breath, newly-increased official document category information, newly-increased meeting category information, newly-increased notice category information, newly-added information, fresh information, renewal participant Information, delete information in any one.
  5. 5. the system of processing third party system information according to claim 4, it is characterised in that
    For the target Web Service interfaces:
    When its corresponding information action type is newly-increased task category information, its corresponding at least one parameter item include system identifier, Systematic name, Pending tasks ID, task names, current approval node title, the flow time started, receiving time, promoter ID, It is any in promoter's title, recipient ID, process name, link uniform resource position mark URL, flow state, flow description It is one or more;
    When its corresponding information action type is newly-increased mail category information, its corresponding at least one parameter item include system identifier, Systematic name, mail ID, Email Name, receiving time, mail sender ID, mail sender title, recipient ID, link It is any one or more in URL, flow state, flow description, level of confidentiality, level of confidentiality title;
    When its corresponding information action type is newly-increased official document category information, its corresponding at least one parameter item include system identifier, Systematic name, official document ID, official document title, receiving time, official document sender ID, official document sender title, recipient ID, link It is any one or more in URL, official document state;
    When its corresponding information action type is newly-increased meeting category information, its corresponding at least one parameter item include system identifier, In systematic name, Conference ID, meeting title, meeting start time, User ID, link URL, meeting-place, level of confidentiality, level of confidentiality title It is any one or more;
    Its corresponding information action type for newly-increased notice category information when, its corresponding at least one parameter item include system identifier, Systematic name, message id, message subject, receiving time, message sender ID, message sender title, User ID, link URL, It is any one or more in state, message semantic definition;
    When its corresponding information action type is newly-added information, its corresponding at least one parameter item includes system identifier, system name Title, type, Information ID, name of the information, process name, receiving time, promoter ID, process name, recipient ID, flow class Not, it is any one or more in link URL, state, level of confidentiality, level of confidentiality title, at least one redundant field;
    When its corresponding information action type is fresh information, its corresponding at least one parameter item includes system identifier, Information ID In it is any one or more;
    Its corresponding information action type for renewal participant's information when, its corresponding at least one parameter item include system identifier, It is any one or more in Information ID, participant ID;
    When its corresponding information action type is deletes information, its corresponding at least one parameter item includes system identifier, Information ID In it is any one or more.
  6. 6. the system of processing third party system information according to claim 1, it is characterised in that
    The gate system, specifically for the message identification and system banner at least one parameter value, is oriented A pending information in caching in described information list, and grasped according to the corresponding information of the target Web Service interfaces Make type and at least one parameter value, corresponding position is carried out to the pending information in described information list in caching Reason.
  7. 7. the system of processing third party system information according to claim 6, it is characterised in that
    Described information list is stored with database inside the gate system;
    The gate system, is additionally operable to the institute that when described information list is not present in judging caching, will be stored in database Information list is stated to add in caching;And according to the corresponding information action type of the target Web Service interfaces and described At least one parameter value, respective handling is carried out to the pending information in described information list in database.
  8. 8. according to the system of any processing third party system information in claim 1 to 7, it is characterised in that
    The gate system, which is packaged with caching and obtains operate interface and cache increasing, changes operate interface;
    Wherein, the method name of the caching acquisition operate interface is:Get<T>(string cachekey,string region,Func<T>RealGetMethod, int timeOut=60*60*24);
    The caching, which increases, to be changed the method name of operate interface and is:AddOrUpdate(string key,object value).
  9. A kind of 9. method for handling third party system information, it is characterised in that gate system is carried at least one third party system For at least one Web Service interfaces, wherein, each described Web Service interface is corresponding with information action type With at least one parameter item, there is information list defined in the gate system, described information list includes the parameter of the first quantity , and the parameter item of first quantity includes at least one parameter item;Further include:
    Any third party system connects according to either objective Web Service at least one Web Service interfaces Mouthful corresponding at least one parameter item, gathers the corresponding parameter value of each parameter item at least one parameter item, and described in calling At least one parameter value of the target Web Service interfaces to be collected to gate system transmission;
    The gate system judges to whether there is described information in the caching of inside when receiving at least one parameter value List, if so, in internal Business Logic, according to the corresponding information action type of the target Web Service interfaces and At least one parameter value, respective handling is carried out to the described information list in caching.
  10. 10. according to the method described in claim 9, it is characterized in that,
    It is described according to the corresponding information action type of the target Web Service interfaces and at least one parameter value, it is right Described information list in caching carries out respective handling, including:Message identification at least one parameter value and it is System mark, orients the pending information in described information list in caching, and according to the target Web Service interfaces Corresponding information action type and at least one parameter value, to the pending information in described information list in caching Carry out respective handling.
CN201711256351.9A 2017-12-04 2017-12-04 A kind of system and method for handling third party system information Pending CN108023948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711256351.9A CN108023948A (en) 2017-12-04 2017-12-04 A kind of system and method for handling third party system information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711256351.9A CN108023948A (en) 2017-12-04 2017-12-04 A kind of system and method for handling third party system information

Publications (1)

Publication Number Publication Date
CN108023948A true CN108023948A (en) 2018-05-11

Family

ID=62078364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711256351.9A Pending CN108023948A (en) 2017-12-04 2017-12-04 A kind of system and method for handling third party system information

Country Status (1)

Country Link
CN (1) CN108023948A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825742A (en) * 2019-10-31 2020-02-21 北京东方通科技股份有限公司 Data paging retrieval method and device, electronic equipment and storage medium
CN112287937A (en) * 2020-09-28 2021-01-29 珠海大横琴科技发展有限公司 Optical character recognition method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272281A (en) * 2008-04-22 2008-09-24 北京邮电大学 System and method for providing network service relating to four parties
CN101299761A (en) * 2008-06-02 2008-11-05 国网信息通信有限公司 Method and system for processing service unitedly in abeyance
CN101674327A (en) * 2009-09-29 2010-03-17 金蝶软件(中国)有限公司 Heterogeneous system message integration method, framework and system
CN103854168A (en) * 2014-02-17 2014-06-11 湖南中烟工业有限责任公司 Heterogeneous process to-do task centralized processing method and device
CN104636329A (en) * 2013-11-06 2015-05-20 北京航天长峰科技工业集团有限公司 Unified management method for large-scale cross-platform heterogeneous data
US9665349B2 (en) * 2012-10-05 2017-05-30 Box, Inc. System and method for generating embeddable widgets which enable access to a cloud-based collaboration platform
CN106790272A (en) * 2017-02-16 2017-05-31 济南浪潮高新科技投资发展有限公司 A kind of system and method for single-sign-on, a kind of application server
CN106845921A (en) * 2016-12-20 2017-06-13 成都飞机工业(集团)有限责任公司 A kind of enterprise portal of lightweight and application integration method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272281A (en) * 2008-04-22 2008-09-24 北京邮电大学 System and method for providing network service relating to four parties
CN101299761A (en) * 2008-06-02 2008-11-05 国网信息通信有限公司 Method and system for processing service unitedly in abeyance
CN101674327A (en) * 2009-09-29 2010-03-17 金蝶软件(中国)有限公司 Heterogeneous system message integration method, framework and system
US9665349B2 (en) * 2012-10-05 2017-05-30 Box, Inc. System and method for generating embeddable widgets which enable access to a cloud-based collaboration platform
CN104636329A (en) * 2013-11-06 2015-05-20 北京航天长峰科技工业集团有限公司 Unified management method for large-scale cross-platform heterogeneous data
CN103854168A (en) * 2014-02-17 2014-06-11 湖南中烟工业有限责任公司 Heterogeneous process to-do task centralized processing method and device
CN106845921A (en) * 2016-12-20 2017-06-13 成都飞机工业(集团)有限责任公司 A kind of enterprise portal of lightweight and application integration method
CN106790272A (en) * 2017-02-16 2017-05-31 济南浪潮高新科技投资发展有限公司 A kind of system and method for single-sign-on, a kind of application server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825742A (en) * 2019-10-31 2020-02-21 北京东方通科技股份有限公司 Data paging retrieval method and device, electronic equipment and storage medium
CN112287937A (en) * 2020-09-28 2021-01-29 珠海大横琴科技发展有限公司 Optical character recognition method and device

Similar Documents

Publication Publication Date Title
US7636719B2 (en) Contact schema
US8195714B2 (en) Context instantiated application protocol
US7831676B1 (en) Method and system for handling email
US6067548A (en) Dynamic organization model and management computing system and method therefor
US7139761B2 (en) Dynamic association of electronically stored information with iterative workflow changes
US8577980B2 (en) Message tracking with thread-recurrent data
CN102521733B (en) Mark dialogue and message in the e-mail system based on dialogue
US7577911B2 (en) Integrated deployment of software projects
US20040019496A1 (en) System and method for law practice information management
US20030158860A1 (en) Method of automatically populating contact information fields for a new contact added to an electronic contact database
US20050160088A1 (en) System and method for metadata-based distribution of content
CN106682096A (en) Method and device for log data management
US20140019616A1 (en) Systems and methods for business network management discovery and consolidation
EP2178033A1 (en) Populating a multi-relational enterprise social network with disparate source data
US9762522B2 (en) Method and apparatus for storing email messages
KR20080011242A (en) Synchronization and merge engines
WO2002093447A2 (en) Document and message exchange system for asp model
US20140136636A1 (en) Message tracking with thread-recurrent data
US10747786B2 (en) Spontaneous networking
CN108023948A (en) A kind of system and method for handling third party system information
JP2004521530A (en) E-commerce system
CN109739910B (en) Method and system for managing openness label
JP2002014903A (en) Method and device for retrieving electronic mail information
US11582138B2 (en) Configurable system for resolving requests received from multiple client devices in a network system
CN115796758A (en) Factory rule management platform

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180511

RJ01 Rejection of invention patent application after publication