CN104794009B - Towards the interactive online evolution method of dynamic message structure - Google Patents
Towards the interactive online evolution method of dynamic message structure Download PDFInfo
- Publication number
- CN104794009B CN104794009B CN201510164649.1A CN201510164649A CN104794009B CN 104794009 B CN104794009 B CN 104794009B CN 201510164649 A CN201510164649 A CN 201510164649A CN 104794009 B CN104794009 B CN 104794009B
- Authority
- CN
- China
- Prior art keywords
- server
- information
- status information
- change
- underlying physical
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000002452 interceptive effect Effects 0.000 title claims abstract description 25
- 239000000344 soap Substances 0.000 claims description 14
- 230000005540 biological transmission Effects 0.000 claims description 5
- 230000002123 temporal effect Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 3
- UABIXNSHHIMZEP-UHFFFAOYSA-N 2-[2-[(dimethylamino)methyl]phenyl]sulfanyl-5-methylaniline Chemical compound CN(C)CC1=CC=CC=C1SC1=CC=C(C)C=C1N UABIXNSHHIMZEP-UHFFFAOYSA-N 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000002513 implantation Methods 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000011514 reflex Effects 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of interactive online evolution method towards dynamic message structure, the interactive mode online evolution method comprises the following steps:Step 1, be divided into multiple nodes and underlying physical structure sends to server-side the status information of the multiple node by software;Step 2, the server-side send the status information to user terminal;Step 3, the user terminal send change solicited message according to the status information to the server-side;And step 4, the server-side send the change solicited message to the underlying physical structure, and the underlying physical structure changes the multiple node according to the change solicited message.This kind interactive mode online evolution method can effectively react the online evolution of user in real time, and the supplier of software service is (i.e.:Underlying physical structure) it can timely and effectively adapt to the online evolution demand of user.
Description
Technical field
The present invention relates to the dynamic evolution of large scale network software, and in particular, to a kind of towards dynamic message structure
Interactive online evolution method.
Background technology
Since the later stage nineties, software systems Evolution Development is more rapid, and current research trend is intended on a large scale
Network system, the distributed software system for needing persistent service being especially distributed across on network.Wherein, Oreizy etc. is proposed
The online evolution method [13] based on architecture there is very important milestone significance, then on this basis again study
ArchStudio [14], PKUAS [15], Artemis [16], OSGi [17], Fractal [18] and Archware [19] etc. are gone out
The platform and CASA [20], MADAM [21], K-Component [22], RainBow [23] and MDB [24] that the service of offer is developed
Etc. credible Evolution System, changeable feature realizes online evolution when these systems can be according to running software.In K-
In Component meta-models, an oriented configuration diagram for having type is used to represent the software architecture of application system.It is oriented
Side represents connector.One reflex mechanism be designed to establish between this oriented configuration diagram and goal systems that have type because
Fruit connects so that configuration diagram can reflect the real software architecture of system.Papazoglou etc. is enumerated in document [25]
Several relatively conventional Services Composition Evolution types, and propose the service life towards evolution for the requirement developed
The method in cycle.However, the online evolution of large scope software can't be reacted to user in real time at present, it is often more important that no
It can effectively meet the online evolution demand of user.
The content of the invention
A kind of interactive mode the object of the present invention is to provide online evolution that can effectively react user in real time is drilled online
Change method, and by the interactive mode online evolution method, the supplier of software service is (i.e.:Underlying physical structure) can have in time
The online evolution demand of the adaptation user of effect.
To achieve these goals, the present invention provides a kind of interactive online evolution side towards dynamic message structure
Method, it is characterised in that the interactive mode online evolution method comprises the following steps:
Step 1, be divided into multiple nodes and underlying physical structure sends to server-side the shape of the multiple node by software
State information;
Step 2, the server-side send the status information to user terminal;
Step 3, the user terminal send change solicited message according to the status information to the server-side;And
Step 4, the server-side send the change solicited message to the underlying physical structure, and the bottom thing
Manage structure and the multiple node is changed according to the change solicited message.
Preferably, further included before with step 2 after step 1:Obtain between the status information and standard information
Node is distinguished, judges that the server-side is by the state when the difference node belongs to outside the server-side preset regions
Information is sent to the underlying physical structure, and the status information is changed to standard information by the underlying physical structure.
Preferably, further included before with step 3 after step 2:Obtain between the status information and standard information
Node is distinguished, judges, when the difference node belongs within the user terminal preset regions, to perform step 3;
When the difference node belongs to outside the user terminal preset regions, then online evolution terminates;
Preferably, further included before with step 4 after step 3:
When the change solicited message belongs within server-side preset regions, step 4 is performed;
When the change solicited message belongs to outside server-side preset regions, then online evolution terminates;
Preferably, in the step 3, the user terminal sends structure more according to the status information to the server-side
Convert to breath, behavior change information, attribute changes information or style change information.
Preferably, the underlying physical structure sends the status information of software by soap protocol to the server-side;Institute
Server-side is stated to send the status information to user terminal by soap protocol;The user terminal is by soap protocol to the clothes
Business end sends change solicited message;The server-side is sent the change solicited message to the bottom thing by soap protocol
Manage structure.
Preferably, in step 1, software is divided into multiple nodes and the underlying physical structure sends institute to server-side
State temporal information, nodal information and the evolution domain information of multiple nodes.
Preferably, in step 3, the user terminal according to the status information to the server-side transmission types information and
Change parameter information.
Preferably, the change parameter information includes parameter information and parameter information after change before change.
According to above-mentioned technical proposal, the present invention by software by being divided into multiple nodes, and bottom thing at regular intervals
The status information that structure sends multiple nodes to server-side is managed, which is sent to user terminal again, works as user by server-side
Change solicited message is sent to server-side according to the demand of oneself again when end receives status information, at this time, server-side again by this more
Change solicited message and be sent to underlying physical structure, the change solicited message pair that underlying physical structure is sended over further according to server-side
Multiple nodes are modified.So as to which this kind interactive mode online evolution method can effectively react the online evolution of user in real time
Situation, and underlying physical structure also can timely and effectively adapt to the online evolution demand of user.
Other features and advantages of the present invention will be described in detail in subsequent specific embodiment part.
Brief description of the drawings
Attached drawing is for providing a further understanding of the present invention, and a part for constitution instruction, with following tool
Body embodiment is used to explain the present invention together, but is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the interactive online evolution method towards dynamic message structure according to the preferred embodiment of the present invention
Flow chart.
Embodiment
The embodiment of the present invention is described in detail below in conjunction with attached drawing.It should be appreciated that this place is retouched
The embodiment stated is merely to illustrate and explain the present invention, and is not intended to limit the invention.
In the present invention, in the case where not making conversely explanation, " upper and lower, left and right, inside and outside " etc. are included in term
The noun of locality only represents orientation of the term under normal service condition, or be skilled artisan understands that be commonly called as, without should
It is considered as the limitation to the term.
For clearly explanation, interactive online evolution method of the invention primarily directed to large scale network software, and
May be different in the status information of the large scale network software at different moments, it is also possible to it is identical, such as:Bottom personnel operate
It is improper to cause large scale network software to break down, or some page clicking rate of the large scale network software is too high, surpasses
The scope that the large scale network software can bear is crossed, all the status information of large scale network software can be caused to change.This
Field personnel should be understood that this kind of large scale network software can be understood as the set of multiple function services, here
User can be just-plainfolk, enterprise customer or other buy the large scale network software one or more work(
The user that can be serviced.
In addition, in order to further clearly illustrate, " node " in the present invention refers to the large scale network software
Completion some function services code segment combination, or the code segment combination of multiple function services is completed, with specific reference to every
The requirement setting of a different clients, has no particular limits." standard information " refers to the large scale network software in order to full
Design parameter requirement of the design requirement of itself of foot in each node of inside implantation;" server-side preset regions " are referred to
The modifiable parameter information area of multiple nodes of the large scale network software, if specifically referring to the large scope software
When status information changes, user can be according to the requirement of itself suitably to the node in the modifiable parameter information area
Information is modified;" user terminal preset regions " refer to that the parameter in some node that user bought or multiple nodes will
Ask.Corresponding information is servicing in above-described " standard information ", " server-side preset regions " and " user terminal preset regions "
Backup has been required in end.Below should " large scale network software " be referred to as " software ".
Objective according to the present invention, is to provide a kind of interactive online evolution method towards dynamic message structure, the friendship
Mutual formula online evolution method can effectively react the online evolution situation of user in real time, and underlying physical structure can be timely
The effective online evolution demand for solving user.As shown in Figure 1, specifically include following steps:
Step 1, be divided into multiple nodes and underlying physical structure sends to server-side the shape of the multiple node by software
State information;
Step 2, the server-side send the status information to user terminal;
Step 3, the user terminal send change solicited message according to the status information to the server-side;And
Step 4, the server-side send the change solicited message to the underlying physical structure, and the bottom thing
Manage structure and the multiple node is changed according to the change solicited message.
Recognized according to above-mentioned steps, software is divided into multiple nodes in the present invention, recognizes multiple nodes from the above mentioned
Status information at different moments may all can be different, underlying physical structure sends multiple nodes to server-side at regular intervals
Status information, need exist for money and illustrate, underlying physical structure can be according to the equally spaced period to multiple nodes
Status information is sampled, and the interval between each period can also be set according to the specific requirement at scene, is not limited herein
System.When server-side receives the status information of multiple nodes, then status information is sent to user terminal (user terminal here can
Comprising multiple users, a client only can also be included), user terminal is sent to server-side again according to status information meets itself
The change solicited message of demand, server-side is then forwarded to underlying physical structure after receiving change solicited message, finally by bottom
Physical arrangement is modified multiple nodes according to change solicited message.This interactive mode online evolution method can in real time by
The status information simultaneous reactions of multiple function services of software give multiple users, when user receives status information can to influence from
The nodal information of body function services sends change solicited message to server-side, is then changed solicited message again by server-side again
Send to underlying physical structure, finally nodal information is modified by underlying physical structure, server-side is in user terminal and bottom
There are transmission state information and change solicited message between physical arrangement.Therefore, the interactive online evolution method energy of this kind
The online evolution demand at enough families.
In the case of additionally, it is preferred that, after step 1 with before step 2, server-side is also by the status information of acquisition and preset
Standard information in server-side is made comparisons to obtain difference node, and difference node is the node that parameter information produces change,
When difference node is when outside server-side preset regions, i.e., the difference node falls in the not modifiable parameter information area of the software
Domain, the software is the needs of meeting itself at this time, status information is sent to underlying physical structure by server-side, by bottom physics
Status information is directly changed to standard information by structure.Otherwise online evolution terminates.
In addition, further preferably include in the present invention:After step 2 with before step 3, obtain the status information with
Difference node between standard information, judges, when the difference node belongs within the user terminal preset regions, to perform step
Rapid 3;I.e. when server-side receives status information, the difference node for also judging status information and standard information is in user
Hold within preset regions, when distinguishing node and falling within the node that the function services in user are included, user terminal is by basis
Status information sends change solicited message to server-side again, when difference node falls the node that the function services in user are included
Outside when, online evolution terminates.
The present invention further preferably includes:Further included before with step 4 after step 3:Asked when server-side receives change
When seeking information, the nodal information that also judges to need to include in the change solicited message whether within server-side preset regions,
I.e. within modifiable parameter information region, if inside, being changed solicited message and being sent to underlying physical structure, by
Underlying physical structure is modified node according to change solicited message.Otherwise, online evolution terminates.
Above-described change solicited message can be such type, be, for example, that structure changes information, behavior is more converted to
Breath, attribute changes information or style change information.Such as now with four nodes be respectively A, B, C and D, nodal analysis method is A to B
D is arrived again to C, when being inserted into X nodes between A nodes and B node, then belongs to structure change;When B node is replaced with X nodes,
Then belong to behavior change;When changing the flow order of tetra- nodes of A, B, C and D, then belong to attribute changes;When in A, B, C and D
When adding a parallel nodes X again in four nodes, then belong to style change.
In addition, the information transmission between underlying physical structure, server-side and user terminal is all (simple right by soap protocol
As access protocol) transmission, soap protocol is versatile, suitable for substantial amounts of application program.The underlying physical structure passes through
Soap protocol sends the status information of software to the server-side;The server-side is sent out the status information by soap protocol
Send to user terminal;The user terminal sends change solicited message by soap protocol to the server-side;The server-side passes through
Soap protocol sends the change solicited message to the underlying physical structure.
Above-described status information includes following parameter information:Temporal information, nodal information and evolution domain information.Such as
It can be expressed as in this way, M1=<T1, { A-0 ..., C-1, D-0 }, C, area (C)>, M1 is status information, understands t1 by above formula
For temporal information, { A-0 ..., C-1, D-0 } is nodal information, it is assumed that represents that node is normal with 0,1 represents abnormal, then receives
The recipient of the status information can judge that failure occur in C nodes;Area (C) represents evolution domain information.
Above-described change solicited message can include following parameter information:Type information and change parameter information.It is excellent
In the case of choosing, change parameter information further includes parameter information and parameter information after change before change.Such as can so represent,
ReplaceService (Service_C, Service_X), ReplaceService are type information (behavior change information),
(Service_C, Service_X) is that node C is replaced with nodes X.This message is sent to underlying physical structure, bottom thing
Reason structure will modify status information according to this message.
The preferred embodiment of the present invention is described in detail above in association with attached drawing, still, the present invention is not limited to above-mentioned reality
The detail in mode is applied, in the range of the technology design of the present invention, a variety of letters can be carried out to technical scheme
Monotropic type, these simple variants belong to protection scope of the present invention.
It is further to note that each particular technique feature described in above-mentioned embodiment, in not lance
In the case of shield, can be combined by any suitable means, in order to avoid unnecessary repetition, the present invention to it is various can
The combination of energy no longer separately illustrates.
In addition, various embodiments of the present invention can be combined randomly, as long as it is without prejudice to originally
The thought of invention, it should equally be considered as content disclosed in this invention.
Claims (8)
- A kind of 1. interactive online evolution method towards dynamic message structure, it is characterised in that the interactive mode online evolution Method comprises the following steps:Step 1, be divided into multiple nodes and underlying physical structure sends to server-side the state of the multiple node and believes by software Breath;Step 2, the server-side send the status information to user terminal;Step 3, the user terminal send change solicited message according to the status information to the server-side;AndStep 4, the server-side send the change solicited message to the underlying physical structure, and the bottom physics knot Structure changes the multiple node according to the change solicited message;Wherein, further included before with step 2 after step 1:Obtain the difference section between the status information and standard information Point, judges that the server-side sends out the status information when the difference node belongs to outside the server-side preset regions Send to the underlying physical structure, and the status information is changed to standard information by the underlying physical structure.
- 2. interactive mode online evolution method according to claim 1, it is characterised in that after step 2 with before step 3 Further include:The difference node between the status information and standard information is obtained, is judged when the difference node belongs to the use When within the preset regions of family end, step 3 is performed;When the difference node belongs to outside the user terminal preset regions, then online evolution terminates.
- 3. interactive mode online evolution method according to claim 1, it is characterised in that after step 3 with before step 4 Further include:When the change solicited message belongs within server-side preset regions, step 4 is performed;When the change solicited message belongs to outside server-side preset regions, then online evolution terminates.
- 4. interactive mode online evolution method according to claim 1, it is characterised in that in the step 3, the user End sends structure change information, behavior change information, attribute changes information or wind according to the status information to the server-side Lattice change information.
- 5. interactive mode online evolution method according to claim 1, it is characterised in that the underlying physical structure passes through Soap protocol sends the status information of software to the server-side;The server-side is sent out the status information by soap protocol Send to user terminal;The user terminal sends change solicited message by soap protocol to the server-side;The server-side passes through Soap protocol sends the change solicited message to the underlying physical structure.
- 6. interactive mode online evolution method according to claim 1, it is characterised in that in step 1, software is divided into more A node and the underlying physical structure send temporal information, nodal information and the evolution domain of the multiple node to server-side Information.
- 7. interactive mode online evolution method according to claim 1, it is characterised in that in step 3, the user terminal root To the server-side transmission types information and parameter information is changed according to the status information.
- 8. interactive mode online evolution method according to claim 7, it is characterised in that the change parameter information is included more Parameter information and parameter information after change before changing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510164649.1A CN104794009B (en) | 2015-04-08 | 2015-04-08 | Towards the interactive online evolution method of dynamic message structure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510164649.1A CN104794009B (en) | 2015-04-08 | 2015-04-08 | Towards the interactive online evolution method of dynamic message structure |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104794009A CN104794009A (en) | 2015-07-22 |
CN104794009B true CN104794009B (en) | 2018-05-04 |
Family
ID=53558819
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510164649.1A Active CN104794009B (en) | 2015-04-08 | 2015-04-08 | Towards the interactive online evolution method of dynamic message structure |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104794009B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1339742A (en) * | 2001-10-12 | 2002-03-13 | 北京大学 | Oil-line avolution method for modular soft ware |
US7447694B2 (en) * | 2003-09-29 | 2008-11-04 | International Business Machines Corporation | Automated scalable and adaptive system for memory analysis via online region evolution tracking |
CN102663552A (en) * | 2012-04-06 | 2012-09-12 | 东华理工大学 | Dynamic workflow engine supporting online self-evolution |
CN103164225A (en) * | 2013-03-12 | 2013-06-19 | 中国科学院软件研究所 | Internet software architecture on-line evolution method based on hypergraph |
-
2015
- 2015-04-08 CN CN201510164649.1A patent/CN104794009B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1339742A (en) * | 2001-10-12 | 2002-03-13 | 北京大学 | Oil-line avolution method for modular soft ware |
US7447694B2 (en) * | 2003-09-29 | 2008-11-04 | International Business Machines Corporation | Automated scalable and adaptive system for memory analysis via online region evolution tracking |
CN102663552A (en) * | 2012-04-06 | 2012-09-12 | 东华理工大学 | Dynamic workflow engine supporting online self-evolution |
CN103164225A (en) * | 2013-03-12 | 2013-06-19 | 中国科学院软件研究所 | Internet software architecture on-line evolution method based on hypergraph |
Non-Patent Citations (1)
Title |
---|
一个面向服务的支持动态演化的软件模型;李长云 等;《计算机学报》;20060730;第29卷(第7期);参见正文第3、4节 * |
Also Published As
Publication number | Publication date |
---|---|
CN104794009A (en) | 2015-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9342370B2 (en) | Server migration | |
US20130212257A1 (en) | Computer program and monitoring apparatus | |
KR102000990B1 (en) | Micro grid energy management system using dds middleware | |
CN103457845A (en) | Conversion technology capable of being configured with multiple protocols | |
CN111083179B (en) | Internet of things cloud platform, and equipment interaction method and device based on same | |
Cao et al. | Service adaptation using fuzzy theory in context-aware mobile computing middleware | |
CN110535928A (en) | A kind of event method for pushing of the JAVA intelligence contract of block chain | |
CN113687780B (en) | QoS optimization method, system, terminal and storage medium for distributed storage server | |
CN108683697A (en) | Connect method, system, selector and the server of Redis memory databases | |
CN105450589B (en) | Remote invocation method and system | |
CN104601376B (en) | Heartbeat message sending method and device | |
CN106060125A (en) | Distributed real-time data transmission method based on data tags | |
CN107317890A (en) | A kind of data transfer implementation method of intelligent vehicle contained network | |
CN104158732A (en) | Intelligent cloud service dynamic routing strategy | |
CN104794009B (en) | Towards the interactive online evolution method of dynamic message structure | |
CN106301804B (en) | A kind of server that realizing Wake on LAN, system and method | |
CN108156256A (en) | A kind of message real time propelling movement method and system based on Cloud Server group | |
US20020116161A1 (en) | Functional requirement-based knowledge-engineered process for substation design | |
CN112911624B (en) | Network connection method and device of electronic equipment | |
CN110738392B (en) | Single-terminal multi-user wind control modeling method based on Bayesian network model | |
CN108809955A (en) | A kind of power consumer behavior depth analysis method based on hidden Markov model | |
CN104579793B (en) | The dispatching method and system of Internet resources | |
CN102263796A (en) | Data transmission method based on simple network management protocol | |
Riahinia et al. | A dynamic programing‐based framework for distribution system restoration considering load uncertainties | |
CN103716191B (en) | A kind of method for improving graphical efficiency of network management |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |