CN107544778A - Realize the synthesis interface that theme is linked up - Google Patents

Realize the synthesis interface that theme is linked up Download PDF

Info

Publication number
CN107544778A
CN107544778A CN201610488069.2A CN201610488069A CN107544778A CN 107544778 A CN107544778 A CN 107544778A CN 201610488069 A CN201610488069 A CN 201610488069A CN 107544778 A CN107544778 A CN 107544778A
Authority
CN
China
Prior art keywords
message
component
theme
linked
messaging protocol
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
CN201610488069.2A
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.)
Shanghai Ocean Investment Center
Original Assignee
Shanghai Ocean Investment Center
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 Shanghai Ocean Investment Center filed Critical Shanghai Ocean Investment Center
Priority to CN201610488069.2A priority Critical patent/CN107544778A/en
Publication of CN107544778A publication Critical patent/CN107544778A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

A kind of synthesis interface realized theme and linked up, component is independent computing module, and the communication between component by message transmission completion, transmit between users by message.Message pool model, component model and messaging protocol scheme are uniformly realized in application layer, messaging protocol defines the message access rule between component, the messaging protocol of the selection gist static state of message path.Embodiments of the invention provide a kind of synthesis interface realized theme and linked up, and Output themes link up the state change information for being responsible for receiving member.Input themes link up the message for being responsible for receiving other components and notification component message oneself through reaching.Flexible, convenient operation interface on the one hand so is provided for system manager, on the other hand can realize that the synchronous exchange of data and shared feature are more popular with users, effectively help system can simplify unnecessary flow, be the direction of future work Flow Technique development.

Description

Realize the synthesis interface that theme is linked up
Technical field
The present invention relates to the instant communication message technology field under computer application environment, more particularly to system application process In by system message model, component model and messaging protocol, information or task are transmitted between multi-user With execution.
Background technology
Theme is linked up, and concept originates from the instant communication message technology field under computer application environment, is for daily The concept that there is fixed routine activity in work and propose, it is therefore an objective to realize that user is realized from each other by comprehensive interface Theme link up, reach and improve operating efficiency, more preferable control process, enhancing to the servicing of client, effective management business flow The purpose of.Theme ditch Tonghua needs first to extract substantial amounts of message content (even text picture) simultaneously from user's request Work is sorted out, and is that time-consuming may not can also meet the need that user's request is changed repeatedly the step for for periodic project Will.The message content of supplement can also be added to by way of extension during system development later stage or maintenance, upgrading Come, but this needs also exist for system and a variety of parameters in later stage are just considered in the design phase and reserve the interface of extension.And for The higher system of requirement of real-time, for example manufacture industry management software and use theme ditch Tonghua equally also improper.It is because main Substantial amounts of message content (text even picture) is spread through the internet in the implementation process of topic ditch Tonghua, expense therebetween is not It can neglect.Various problems are inevitably produced when being applied in the high system of real-time.
Theme ditch Tonghua technology recommends you as needed to put message content in position, the demand of each system and Implementation has more or less difference, and the position for depositing message content directly influences the overall performance of system, therefore must It can only also must be weighed according to the characteristics of oneself.Theme ditch Tonghua represents will there is message in somewhere in internal memory, can be this Heap message, which is placed on service end, can also be placed on client.For the former, client, which needs frequently to send to service end, asks, and obtains Take required message content;For the latter, client will be also responsible for except all message contents are moved to local from service end State and validity that theme is linked up are safeguarded, perhaps it is also contemplated that the problems such as synchronous.We model field to current process The main flow modeling method occurred has carried out reductive analysis, can be divided into 5 major classes:Script, the method based on net, The method and algebraic method of method, logic-based based on more loose-leaves.(1) controlling stream and data flow are described in script Sentence structure, it provides a kind of concise description method, is easier to use for experienced designer.It main Shortcoming is a lack of the Formal Semantic of flow in itself, and the semanteme of language mainly uses for language interpreter.(2) side based on net Method is suitable for the visual modeling of flow, and typically all use state transition net, the activity in flow represent that controlling stream is used with node Side represents.The subject matter of use state transition net be whether the semanteme of tangible formula, most of working flow products it is visual Change modeling method and all lack Formal Semantic.In the status change net with Formal Semantic, make with the most use be exactly Petr nets and state diagram.(3) method based on more loose-leaves, the current most studied method based on more loose-leaves are ECA more living Page.The more loose-leaves of ECA have formalization basis, but the visual work amount of the more loose-leaves of ECA is bigger, if more loose-leaf collection compare Just it is difficult to manage when big.(4) method of logic-based is suitable for the dynamic of description system, and wherein sequential logic is a kind of conventional Method, it have well formalization basis, verify that the attribute of Work flow model is more convenient.But sequential logic is main Shortcoming is that visualization difficult to realize is not easy to be converted into other description methods, and the system action for describing operation flow is too complicated. (5) method based on algebraically is mainly still confined in theoretic discussion, uses seldom in Workflow Management field, only a kind of base It is used for Workflow Management field in the description language LOTOS of process algebra.The major defect of algebraic method, which is similar to, to be based on patrolling Volume method, and it is automatic perform and Formal Verification in terms of show must be more worse than the method for logic-based, modeling method lacks Weary intuitive, it is difficult to understand.
System realizes benefit caused by the synthesis interface of theme communication:Realize the side of synthesis interface one that theme is linked up Face provides flexible, convenient operation interface for system manager, on the other hand can realize the synchronous exchange of data and share Feature it is more popular with users, effectively help system can simplify unnecessary flow, be the direction of future work Flow Technique development.
The content of the invention
In order to overcome the shortcomings of the existing synthesis interface realized theme and linked up, the present invention provides one kind and realizes that theme is linked up Synthesis interface, component is independent computing module, can be write with any language.Communication between component is still to pass through What message transmission was completed, message is transmitted between users.Each component has the message pool of a carry, and message pool is message Carrier, on the one hand it is used for the result of calculation for storing local component, is on the other hand used to receive the message from other components.It is a kind of Uniformly realize that message pool model, component model and messaging protocol scheme, messaging protocol define structure in application layer Message access rule between part, the messaging protocol of the selection gist static state of message path.In system stable operation In the case of, the content of the message transmission between component and direction are fixed, therefore are not necessarily to the dynamic in system operation Ground carries out message route.
The technical solution adopted for the present invention to solve the technical problems is:Realize the synthesis interface of theme communication in usual feelings Output themes link up the state change information for being responsible for receiving member under condition.If there occurs state change in the process of running for component Change, then the status data of component links up unloading in theme, waits other components to take;It is responsible that other side takes complete rear theme to link up The message is destroyed, and reclaims internal memory, to receive new message.If the message is used in a number of other components, then theme Link up after all demand components all take and finished and destroyed again.Input themes, which are linked up, is responsible for the message for receiving other components simultaneously Notification component message oneself through reach.Component can select to handle at once or postponement processing, if selection postponement processing, theme ditch Logical to preserve this message always for component, theme ditch generalist reclaims the message space after being disposed.
The invention has the advantages that realizing the synthesis interface that theme is linked up, reduce message in the direct transmission of message Assignment and filter action.The registration and transmission of message are recorded in the messaging protocol concluded in advance.Messaging protocol Exactly the transmission management of message is stripped out from bus functionality, substantially reduces calculating time during system operation, or use Static agreement exchanges dynamic routing procedure for;Another aspect message transmission and the service logic of component, which calculate, to be separated, and is reduced The complexity of system design.
Brief description of the drawings
The present invention is further described with reference to the accompanying drawings and examples.
Fig. 1 is present example process flow operation platform critical component graph of a relation.
Fig. 2 is the synthesis interfacial structure figure that present example theme is linked up.
Fig. 3 is present example message pool illustraton of model.
Fig. 4 is present example Message Cooperation meta-model diagram.
Fig. 5 is the procedure chart of present example Message Cooperation.
Embodiment
In fig. 2, the synthesis interfacial structure figure for realizing that theme is linked up is illustrated.All message contents are placed on resource text In part (Resource), resource file can be compiled and embedded in (.net) in procedure set dll.Deposit the resource text of message content Part is placed on server end, by client request and obtains.
1. during client is from service end request service, service end is passive and stateless, its responsibility Whole message contents is exactly read from resource file, and client is sent to by network by suitable carrier, by visitor Family terminates by and handled.Application for Internet, using XML Web Servervice technologies, pass through XML sequence Change and soap protocol solves the puzzlement of fire wall.Use List<string>The message content carrying of text type is got up, it Both support Binary Serialization or support XML serialization, it is very convenient.
2. client after service end is asked and gets message flow, locally will make message caching.This process is also Need to simply it handle, because the messaging list that service end sends over does not have clearly classification, also inconvenient local basis disappears Cease the specific message content of name index, that is to say, that also to realize according to " this name of message A " find message A content this The effect of sample.Using hashing mode, Dictionary as key-value pair<string,string>(Dictionary in .net The general stencilling sheet of data type) three class key-value pairs of structure, including error message set Errors, warning message set Warnings, general information set Informations.These information aggregates are regarded as global object and are cached in internal memory always In, they have collectively constituted a message pool, and the Form or web interface to foreground provide informed source, until client is closed.

Claims (3)

1. the synthesis interface that theme is linked up is realized, it is characterized in that:Component is independent computing module, can be entered with any language The communication write between components of row is still to be completed by message transmission, and message transmits each component between users one The message pool of individual carry, message pool are the carriers of message;One kind uniformly realizes message pool model, component model in application layer And messaging protocol scheme, messaging protocol define the message access rule between component, the selection of message path According to static messaging protocol.
2. component according to claim 1 is independent computing module, can be carried out writing with any language between components Communication be still to be completed by message transmission, message transmits each component between users the message pool of a carry, Message pool is the carrier of message, it is characterized in that:Output themes link up the state change information for being responsible for receiving member;If component There occurs state change in the process of running, then the status data of component links up unloading in theme, waits other components Take;Other side takes finish after theme link up and be responsible for destroying the message, and internal memory is reclaimed, if being to receive new message message Used in a number of other components, then theme is linked up after all demand components all take and finished and destroyed again;Input themes are linked up Be responsible for receiving the message of other components and notification component message oneself through reaching;Component can be selected at processing at once or postponement Reason, if selection postponement processing, theme, which will be linked up, to preserve this message always for component, and theme ditch generalist reclaims after being disposed The message space.
3. one kind according to claim 1 uniformly realizes message pool model, component model and message in application layer Delivery protocol scheme, messaging protocol define the message access rule between component, and the selection gist of message path is static Messaging protocol, it is characterized in that:Client locally will make message after service end is asked and gets message flow Caching;This process also needs simply to handle, because the messaging list not clearly classification that service end sends over, also not It is convenient local according to the specific message content of message name index, that is to say, that also to realize according to " this name of message A " is looked for To effect as message A content;Using mode is hashed as key-value pair, three class key-value pairs, including error message are built Set Errors, warning message set Warnings, general information set Informations;These information aggregates are regarded as Global object is cached in internal memory always, and they have collectively constituted a message pool, and the Form or web interface to foreground, which are provided, to disappear Source is ceased, until client is closed.
CN201610488069.2A 2016-06-28 2016-06-28 Realize the synthesis interface that theme is linked up Pending CN107544778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610488069.2A CN107544778A (en) 2016-06-28 2016-06-28 Realize the synthesis interface that theme is linked up

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610488069.2A CN107544778A (en) 2016-06-28 2016-06-28 Realize the synthesis interface that theme is linked up

Publications (1)

Publication Number Publication Date
CN107544778A true CN107544778A (en) 2018-01-05

Family

ID=60961948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610488069.2A Pending CN107544778A (en) 2016-06-28 2016-06-28 Realize the synthesis interface that theme is linked up

Country Status (1)

Country Link
CN (1) CN107544778A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859327A (en) * 2006-02-09 2006-11-08 华为技术有限公司 Method, device and system for transfer news
CN103118020A (en) * 2013-01-24 2013-05-22 北京中创信测科技股份有限公司 Method and device for implementing subject calling
CN105553814A (en) * 2015-08-31 2016-05-04 上海赞越软件服务中心 Information-pool-based information transmission mechanism

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859327A (en) * 2006-02-09 2006-11-08 华为技术有限公司 Method, device and system for transfer news
CN103118020A (en) * 2013-01-24 2013-05-22 北京中创信测科技股份有限公司 Method and device for implementing subject calling
CN105553814A (en) * 2015-08-31 2016-05-04 上海赞越软件服务中心 Information-pool-based information transmission mechanism

Similar Documents

Publication Publication Date Title
Bichier et al. Service-oriented computing
Frantz et al. A domain-specific language to design enterprise application integration solutions
US10248415B2 (en) Dynamic code generation and memory management for component object model data constructs
CN101452386B (en) Method for executing policy based on context model by using forward direction discursion chain and policy engine
US8868502B2 (en) Organizing versioning according to permissions
CN102542382A (en) Method and device for managing business rule
CN102810057A (en) Log recording method
US8418074B2 (en) Shared user interface services framework
Heroux et al. ECP software technology capability assessment report
Oliveira et al. BPMN patterns for ETL conceptual modelling and validation
CN109906597A (en) To with data set that restricted data set and untethered system are stored and fetched from cloud network
WO2017007466A1 (en) Orchestration template generation
CN112685499A (en) Method, device and equipment for synchronizing process data of work service flow
te Brinke et al. A design method for modular energy-aware software
Lee et al. Implementation and performance of distributed text processing system using hadoop for e-discovery cloud service
WO2021056854A1 (en) Internet novel virtual data center system and construction method therefor
CN111353766A (en) Service process processing system and method of distributed service system
US20200202265A1 (en) Automated parenting of work items in a resource management structure
CN102054235B (en) Method and device for building institutional repository based on digital resource service component model
CN107544778A (en) Realize the synthesis interface that theme is linked up
JP4079990B2 (en) Generation method of object integrated management system
Fjellheim et al. A process-based methodology for designing event-based mobile composite applications
CN110287004B (en) Basic environment mirror image preheating method and device based on docker container technology
Krizevnik et al. Improved SOA persistence architectural model
CN105553814A (en) Information-pool-based information transmission mechanism

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180105