CN108076107A - A kind of business sinking processing system and middleware - Google Patents

A kind of business sinking processing system and middleware Download PDF

Info

Publication number
CN108076107A
CN108076107A CN201611020972.2A CN201611020972A CN108076107A CN 108076107 A CN108076107 A CN 108076107A CN 201611020972 A CN201611020972 A CN 201611020972A CN 108076107 A CN108076107 A CN 108076107A
Authority
CN
China
Prior art keywords
business
data
client
unit
business model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611020972.2A
Other languages
Chinese (zh)
Other versions
CN108076107B (en
Inventor
张涛
陈丹
王克冬
吴小炎
王春生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bright Oceans Inter Telecom Co Ltd
Original Assignee
Bright Oceans Inter Telecom 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 Bright Oceans Inter Telecom Co Ltd filed Critical Bright Oceans Inter Telecom Co Ltd
Priority to CN201611020972.2A priority Critical patent/CN108076107B/en
Publication of CN108076107A publication Critical patent/CN108076107A/en
Application granted granted Critical
Publication of CN108076107B publication Critical patent/CN108076107B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • 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/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • 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
    • 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/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • 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/75Indicating network or usage conditions on the user display

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of business sinking processing system and middleware, the system includes client, business end and server-side, the business end is used for the business model and business processing at carrying client end, between client and server-side, for calling data source data to server-side, and according to client subscription data to client push aggregated data;The server-side includes one or more data sources, for providing data to business end.The present invention can reduce exploitation maintenance difficulties, reduce the computing pressure of client, ensure the stability of client, promote client presentation speed.

Description

A kind of business sinking processing system and middleware
Technical field
The present invention relates to the communications fields, particularly, are related to a kind of business sinking processing system and middleware.
Background technology
Traditional business processing generally uses the client-side/server-side structure of double-layer structure, as shown in Figure 1, including client End 101 and server-side 102, the client 101 include can presenting different views 1011 (such as view A, view B, view C Deng) processing unit 1012, processing unit 1012 includes business model administrative unit 1013 and business arithmetic element 1014, It is presented after can carrying out calculation process to data according to different data sources;The server-side 102 can upwards provide not Same type data source 1015, such as data source A, data source B, data source C, data source D shown in Fig. 1.
And client and server-side service system based on middleware services or agreement, such as use ICE, CORBA etc. Technology, the system for using middleware Technology, excludes the necessary reason using middleware, during technical solution is mainly also to provide Between part communication forwarding capability, the data that server-side is collected directly are transferred to client by middleware services or agreement, visitor After family end gets service end data using middleware services, after business model management and business calculation process, by model Data are presented with technology is showed in client.
It can be seen that traditional server-side (or server) based on middleware often focuses on holding for data and takes, and Client (or client computer) after server-side obtains data, carries out voluntarily processing filtering just with middleware.This is allowed for The emphasis that client is realized, in addition to the design that shows is realized, it is necessary to take into account management and the business datum of business model Processing and computing, cause at client a large number of services convergence, business processing is complicated, data delay is big, and each data is all Client is needed to be arranged and computing so that the code confusion of client is realized and has higher difficulty and complexity on safeguarding Degree;Moreover, client data does not have caching mechanism, after there is broken link, data needs are held again from server-side to be taken so that user It perceives and experiences and is poor.
Therefore, the conventional client of above-mentioned double-layer structure/service end structure and this system using middleware services, The ability of its client process data is extremely low, and it is low to show data efficiency, it is impossible to meet at now growing data volume Reason requirement, oncurrent processing ability is low, and the influence brought is also clearly.Based on this, exploitation maintenance difficulties how are reduced, reduce visitor The computing pressure at family end ensures the stability of client, promotes client and shows speed, it is each to promote user's sensory experience Rely on the thing that the system of middleware services has to consider and solve.
The content of the invention
The improvement project that the present invention addresses the above problem and realizes.In order to improve the processing speed of client, ensure The stability of client, the computing pressure for reducing client, by separating all in client and business model and business computing Relevant processing so that the business processing of client is sunk in middleware, realizes and data and business datum are presented in client Loose coupling.
A kind of business sinking processing system proposed by the present invention, the system comprises client, business end and server-sides.
The client is docked with business end, and request is subscribed to for being sent to business end, and described subscribe to asks to include business Types of models, and return and the relevant aggregated data of business model type are subjected to visualization presentation;
The business end, is connected with client and server-side, including one or more Service Processing Units, for receiving visitor The subscription request at family end carries out business processing to the business model of request, calls relevant data source data to server-side, formed Aggregated data;To client push aggregated data;
The server-side is connected with business end, including one or more data sources, for providing data to business end.
Further, the Service Processing Unit includes business model administrative unit and business arithmetic element.
The business model administrative unit is used for the business model management at carrying client end, for updating and management business mould Type;
The business arithmetic element carries out calculating processing and eases up for receiving subscription of the client to business model data It deposits, obtain the aggregated data of ordered business and is used for client push.
Further, the Service Processing Unit includes business model administrative unit, polymerizer, subscription management unit, number According to buffer unit and convergence service interface;
The business model administrative unit is used for the business model management at carrying client end;
For the subscription condition and subscription status according to client, business model institute is obtained to server-side for the polymerizer The data needed, carry out polymerization calculating, pass through data of the convergence service interface after client push polymerization;
The subscription management unit, for being managed to the subscription of client, the subscription includes subscription condition, subscribes to Time and subscription status;
The data buffer storage unit for caching the business polymerization data of polymerizer, further includes to client and provides preheating Aggregated data;
The convergence service interface is the internal interface of Service Processing Unit, for safeguarding having for client subscription information Effect property connects client, to client push aggregated data by external interface.
Further, the business model administrative unit includes business model writing unit, business model updating block, industry Business model read unit and cache table;
The business model writing unit, for writing business model or being externally introduced business model by interface;
The business model updating block, for updating business model, when the configuration for receiving external centralized configuration component During file, the newer unit of business model carries out the update of business model;And updated business model is passed through into caching Table or external buffers are cached;
The cache table, for cache business model;
The business model reading unit, for reading business model.
Further, the polymerizer includes filtering information resolution unit, configuration information resolution unit, aggregated data push Unit, polymerization group list buffer unit, business datum acquiring unit, polymerization assistant and Date Conversion Unit;
The filtering information resolution unit, for obtaining the subscription data of client from subscription management unit and being solved Analysis, obtains the subscription condition and subscription status of aggregated data to be pushed, is sent to aggregated data push unit;
The configuration information resolution unit is parsed for obtaining business model from business model management unit, obtained One or more business models after parsing are sent into business datum acquiring unit by one or more business models after parsing;
The business datum acquiring unit, for receiving one or more business moulds that configuration information resolution unit parses Type splits the relevant data source data of each business model called with after above-mentioned parsing by external interface from server-side;And Business model and relative data source data are combined into business model data, are sent to polymerization assistant;
The polymerization assistant connects business datum acquiring unit and external cache interface, single for being obtained to business datum The business model data and data source data that member is sent carry out model filling and data aggregate;Aggregated data is converted and cached, And polymerization will be passed through treated that aggregated data is sent to aggregated data push unit;
The aggregated data push unit be used for according to filtering information resolution unit send subscription condition and subscription status, And the aggregated data that polymerization group list buffer unit or polymerization assistant send, to client push aggregated data;
The polymerization group list buffer unit, for caching the aggregated data that polymerization assistant sends, waits aggregated data The calling of push unit;
Date Conversion Unit connects the polymerization assistant, and polymerization assistant is assisted to carry out data aggregate, for polymerizeing assistant It is middle that the business datum for carrying out data conversion treatment is needed to carry out data conversion.
Further, the processing system further comprises:Drawn between the client and business end by network communication Hold up the connection of (ICE) interface.
Further, the processing system further comprises passing through internet communication engine between the business end and server-side (ICE) interface connects.
The present invention also provides the middlewares that a kind of processing business is sunk, which is characterized in that the middleware includes one Or multiple Service Processing Units;
The middleware is connected with client, for the business model and business processing at carrying client end;
The middleware is connected with server-side, for calling data source data to server-side;
The middleware is asked according to client subscription to client push aggregated data.
Further, the middleware connects client by internet communication engine (ICE) interface;The middleware passes through Internet communication engine (ICE) interface Connection Service end.
Further, further, the Service Processing Unit includes business model administrative unit and business arithmetic element.
The business model administrative unit is used for the business model management at carrying client end, for updating and management business mould Type;
The business arithmetic element carries out calculating processing and eases up for receiving subscription of the client to business model data It deposits, obtain the aggregated data of ordered business and is used for client push.
Further, the Service Processing Unit includes business model administrative unit, polymerizer, subscription management unit, number According to buffer unit and convergence service interface;
The business model administrative unit is used for the business model at carrying client end, for updating and management business model;
For the subscription condition and subscription status according to client, business model institute is obtained to server-side for the polymerizer The data needed, carry out polymerization calculating, pass through data of the convergence service interface after client push polymerization;
The subscription management unit, for being managed to the subscription of client, the subscription includes subscription condition, subscribes to Time and subscription status;
The data buffer storage unit for caching the business polymerization data of polymerizer, further includes to client and provides preheating Aggregated data;
The convergence service interface is the internal interface of Service Processing Unit, for safeguarding having for client subscription information Effect property connects client, to client push aggregated data by external interface.
Further, the business model administrative unit includes business model writing unit, business model updating block, industry Business model read unit and cache table;
The business model writing unit, for writing business model or being externally introduced business model by interface;
The business model updating block, for updating business model, when the configuration for receiving external centralized configuration component During file, the newer unit of business model carries out the update of business model;And updated business model is passed through into caching Table or external buffers are cached;
The cache table, for cache business model;
The business model reading unit, for reading business model.
Further, the polymerizer includes filtering information resolution unit, configuration information resolution unit, aggregated data push Unit, polymerization group list buffer unit, business datum acquiring unit, polymerization assistant and Date Conversion Unit;
The filtering information resolution unit, for obtaining the subscription data of client from subscription management unit and being solved Analysis, obtains the subscription condition and subscription status of aggregated data to be pushed, is sent to aggregated data push unit;
The configuration information resolution unit is parsed for obtaining business model from business model management unit, obtained One or more business models after parsing are sent into business datum acquiring unit by one or more business models after parsing;
The business datum acquiring unit, for receiving one or more business moulds that configuration information resolution unit parses Type splits the relevant data source data of each business model called with after above-mentioned parsing by external interface from server-side;And Business model and relative data source data are combined into business model data, are sent to polymerization assistant;
The polymerization assistant connects business datum acquiring unit and external cache interface, single for being obtained to business datum The business model data and data source data that member is sent carry out model filling and data aggregate;Aggregated data is converted and cached, And polymerization will be passed through treated that aggregated data is sent to aggregated data push unit;
The aggregated data push unit be used for according to filtering information resolution unit send subscription condition and subscription status, And the aggregated data that polymerization group list buffer unit or polymerization assistant send, to client push aggregated data;
The polymerization group list buffer unit, for caching the aggregated data that polymerization assistant sends, waits aggregated data The calling of push unit;
Date Conversion Unit connects the polymerization assistant, and polymerization assistant is assisted to carry out data aggregate, for polymerizeing assistant It is middle that the business datum for carrying out data conversion treatment is needed to carry out data conversion.
The present invention can make the business processing computing of client and displaying interface distinct, can be promoted based on middleware The client process performance of service, even if concurrent access number increases, it is not required that increase client deployment quantity, save and be System resource;And by the session information for client in server-side, middle service layer, i.e. business end are remained into so that client The abnormal request frequency to server-side in end reduces, and also ensures the service quality of server-side.
Therefore from Maintenance Development angle consider, release the anxiety of human resources significantly caused by pressure, reduce simultaneously The realization skill set requirements of client developer also improve the efficiency and maintenance efficiency of development.From performance, it is The number of concurrent of system gets a promotion, and system stability is improved, and system response time greatly promotes.From a security point of view, A large amount of operational datas are retained in by interlayer service in high fever caching, also can be quick after to be restored even if client breaks down Pulling data carries out page presentation.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field Technical staff will be apparent understanding.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Attached drawing 1 shows the client service end schematic diagram of double-layer structure in the prior art;
Attached drawing 2 shows the three-decker schematic diagram after a kind of business sinking in embodiment of the present invention;
Attached drawing 3A and 3B respectively illustrate the three-tier architecture after a kind of business sinking in embodiment of the present invention
Schematic diagram;
Attached drawing 4 shows the configuration structure schematic diagram of conventional client;
Attached drawing 5 shows the structure diagram of business model administrative unit;
Attached drawing 6A and 6B respectively illustrate a kind of concrete structure schematic diagram of polymerizer.
Specific embodiment
The illustrative embodiments of the disclosure are more fully described below with reference to accompanying drawings.Although this public affairs is shown in attached drawing The illustrative embodiments opened, it being understood, however, that may be realized in various forms the disclosure without the reality that should be illustrated here The mode of applying is limited.It is to be able to be best understood from the disclosure on the contrary, providing these embodiments, and can be by this public affairs The scope opened completely is communicated to those skilled in the art.
According to the embodiment of the present invention, Fig. 2 shows the three-layered node after business sinking in a kind of embodiment of the present invention Structure schematic diagram as shown in Fig. 2, traditional double-layer structure is split into three-decker by the present invention, will include client and service The two-layer structure system at end splits into the three-decker system including client, business end and server-side, so that the work(of framework It can realize and become apparent from.
Referring to the business sinking processing system described in Fig. 2, including client 201, business end 202 and server-side 203.
Wherein, the client is docked with business end, and request, the subscription request bag are subscribed to for being sent to business end Business model type is included, and return and the relevant aggregated data of business model type are subjected to visualization presentation.It is described Client service encapsulates the logics such as view control, is responsible for and business end in polytype client's end-view 2011 and control The docking of service, wherein view view A as depicted, view B and view C.Specifically, the view can be that alarm regards Figure, scene view concentrate performance views, set-off view, topological view, emergency scheduling, engineering reservation isometric drawing;The business mould Type includes a variety of different types, specifically, including alarm model, model of place, concentrates performance model, set-off model, Top Modules The business models such as type, emergency scheduling model, engineering subscription model;If client includes to the subscription request that business end is sent Be alarm model, then client receive return with alarm the relevant aggregated data of model after, carry out the presentation of alarm view;If What the subscription request of transmission included is other business model types, then is according to what the aggregated data received carried out other views It is existing.
The business end 202 is connected with client and server-side, for receive the subscription of client request, including one or For carrying out business processing to the business model of request, relevant data are called to server-side for multiple Service Processing Units 2021 Source data forms aggregated data;To client push aggregated data;Wherein, business end carrying client end business model number According to offer, receive subscriptions, configuration, Asynchronous loading data, real-time incremental push and data caching.Each business Processing unit 2021 includes business model administrative unit 2023 and business arithmetic element 2024, wherein business model administrative unit 2023 core carrying client end business model data are used for updating with management business model, the business arithmetic element 2024 In caching that business model data are carried out with reception subscription, configuration, Asynchronous loading data, real-time incremental push and data etc. Processing.
The server-side 203, the ability for the offer data that still keep up is constant, basic function and traditional services end 102 It is similar, it is capable of providing multiple data sources 2031, such as data source A, data source B, data source C and data source D.Wherein above-mentioned data Source can be:(Clientwork), alarm statistics (AlarmStat), alarm topological (AlarmTopoStat), announcement are subscribed in alarm Alert association (AlarmCorrelation), buffer service (Indicatorserver) and other based on Java application services Business datum source.
Further, internet communication engine (Internet Communications are passed through between client and business end Engine:ICE) interface connects, and the business end is connected with server-side also by ICE interfaces, so as to be more advantageous to offer standard Unify, increase income, is cross-platform, the middleware platform of safety, service-transparency.
Fig. 3 A and 3B are the three-tier architecture schematic diagrames after a kind of business in embodiment of the present invention is sunk, in Fig. 3 A and 3B System include:Client 301, business end 302, server-side 303 and interface 304 and 305.
The client 301 can be based on HTML5, and various types view is presented, and specifically include alarm view is presented 3011st, scene view 3012, concentration performance views 3013, set-off view 3014, topological view 3015, emergency scheduling view 3016th, the relevant view of various businesses model such as engineering reservation view 3017.The client is docked with business end, for industry End of being engaged in sends and subscribes to request, described to subscribe to request and include business model type, and by return and the business model type phase The aggregated data of pass carries out visualization presentation.
The business end 302 includes one or more Service Processing Units 306, the business end by ICE interfaces 304 with Client connects, and client calls aggregated service by ICE interfaces to business end;The business end passes through ICE interfaces 305 and clothes The connection of business end, realizes the connection to server-side Java application services, which continues to use client by ICE interfaces 305 Interface and method during calling server-side.
The Service Processing Unit 306 includes business model administrative unit 3021, polymerizer 3022, subscription management unit 3023rd, data buffer storage unit 3024 and convergence service interface 3026.In addition, be the relevant daily record data of configuration service model, The Service Processing Unit 306 can also include registration assistant unit 3025.
A kind of specific embodiment of above-mentioned Service Processing Unit 306 has been shown in particular in Fig. 3 B, as follows:
The business model administrative unit 3021, for the business model management at carrying client end, for updating and managing Business model.
The polymerizer 3022, for the relevant data of convergence service, including model filling, data aggregate etc..It is described poly- Clutch 3022 is connected with business model administrative unit 3021 and subscription management unit 3023, for receiving business model administrative unit The client subscription data that the 3021 business model data sent and subscription management unit are sent, according to the client received Data, such as subscription condition and subscription status are subscribed in end, the business datum after client push polymerization.
The subscription management unit 3023, is used to implement the subscription management to client, specifically includes:Control whether to Some client provides service or when starts, is when to stop providing service to client.This function It realizes, when ensure that client service reconnects business end, can quickly provide service.
The data buffer storage unit 3024 can be inner buffer, can also be external cache, for caching polymerizer Aggregated data, operational data etc., can flexible expansion business end service performance, level amplification service node, while to client The aggregated data of preheating is provided.For business model, it is necessary to some business computings and service logic can just be assembled into it is revealable Unit, the business model data of the preheating refer to carry out these revealable units in advance data encapsulation, cache to wait to adjust Use state.
The registration assistant unit 3025, for the relevant daily record data of configuration service model.
The convergence service interface 3026 is the internal interface of Service Processing Unit, for safeguarding that the subscription of client is believed Validity is ceased, can client be connected by external ICE interfaces 304, to client push aggregated data, realize client pair The presentation of model data.
The server-side 303 can be the application server based on Java application services, and application includes alarm and subscribes to 3031st, alarm statistics 3032, alarm topology 3033, alarm association 3034, buffer service 3035 and other Java services 3036。
The above embodiment of the present invention, from the realization of middleware software, the interface method of server-side offer, by original The client call come, is transferred to and is called by business end, after business end is by getting initial data, carries out business processing;This Sample business end is to above playing the role of ISP, to lower to server-side request data, plays the role of consumer;Interlayer The combination for doing data needed for various businesses model is needed to call, the data after being encapsulated according to business model computing, by model data Caching.At business end, we can add in many system boundary functions, such as highly reliable, high concurrent, horizontal extension and message Subscribe to etc..If these boundary functions are realized in original designing scheme, it will so that client is very huge, be unfavorable for product It safeguards and has aggravated the operating load of client, it is unstable to easily cause system operation.And realized in middle service layer, then it keeps away completely These problems are opened so that client really realizes thin-client, lightweight operation.
Fig. 4 shows the configuration structure schematic diagram of conventional client, and the client 400 that this tradition is realized is by business mould The realization logic whole redundancy that type loads is realized to client, as shown in figure 4, client includes service view 401 and processing is single Member 402, wherein processing unit 402 include business model aggregation units 4021, business model data cell 4022 and business model Resolution unit 4023;It is connected between two processing units by configurator XML403.As it can be seen that business model is needed to configure in client It holds in internal file, for client by the way that business model resolution unit 4023 is called to parse business model, becoming program can It identifies object, then data is obtained from server-side, the data of acquisition are filled into model object, and then generate service view to know Other data model, and pass through service view and be presented to user.
For above-mentioned traditional client, traditional client is excluded view and correlation function is presented by embodiment of the present invention Outer other functions, such as the functions such as business model management, data configuration and polymerization, subscription data parsing, sink to middleware, That is business model management function is particularly sunk to middleware, i.e. business end by business end, and data are presented so as to fulfill client With the loose coupling of business datum, show efficiency and concurrent access performance is obtained for promotion, ensure that client and server-side Service quality.Moreover, by external centralized configuration component or other description files, business model normal form, business are defined End service in activation system, will take this part definition, carry out data hold take and model filling.
Fig. 5 shows a kind of structure diagram of the business model administrative unit after business sinking, is used to implement business end The management and update of business model.The business model administrative unit includes:Business model writing unit 501, business model are more New unit 502, cache table 503, business model reading unit 504.
The business model writing unit 501, for writing business model or being externally introduced business mould by interface Type.The business model can be write by client by interface, i.e., client can connect the business at business end by ICE interfaces Processing unit carries out the write-in, setting and editor of business model, and the editor of model is such as changed, increase, deletes operation; The business model editted can be introduced directly into from outside by interface.Business end upon actuation, can get client write-in Business model and external centralized configuration component Configuration business model, so as to define business model normal form, for into one Step data obtains and model filling.
The business model updating block 502, for the update of business model, when business model writing unit 501 receives To the business model newly write or the configuration file of external centralized configuration component is received, then carries out the update of business model, And pass through cache table 503 or external buffers are cached, wherein the preferably external high fever caching of external buffers, the high fever are delayed Deposit is to accessing frequent data or model, being stored in by caching technology on medium, to promote the speed accessed data acquisition Rate.
The cache table 503, it is updated for caching drawn business model and business model updating block 502 Business model.Certain partial service model is presented after activation system in client if necessary, will be from cache table or external high fever In caching, the drawn business model in the business end of getting, so as to quickly present.
The business model reading unit 504, for reading business model data, and further can be by the industry of reading Model data of being engaged in modelling, updates relevant business model by the business model updating block 502.
In addition, further, the business model administrative unit can also include business model monitoring unit, for industry The description file of business model is monitored and loaded.
Fig. 6 A and 6B show the structure diagram of polymerizer, the polymerizer 600 be used to implement various businesses model and The polymerization of model data, including:Filter information resolution unit 601, configuration information resolution unit 602, aggregated data push unit 603rd, it polymerize group list buffer unit 604, business datum acquiring unit 605, polymerization assistant 606 and Date Conversion Unit 607。
Fig. 6 B show a kind of specific embodiment of polymerizer, as follows:
The filtering information resolution unit 601, the subscription data of client are obtained from subscription management unit, are obtained after parsing The subscription condition and subscription status of aggregated data to be pushed, are sent to aggregated data push unit 603, are used to indicate aggregated data Push.
The configuration information resolution unit 602 obtains business model data from business model management unit and is parsed, obtained One or more business models after to parsing, and the business model after parsing is sent into business datum acquiring unit 605, business Data capture unit 605 according to the business model after the parsing received, by interface from Java application services end call with it is upper The relevant Java service datas (i.e. data source data) of business model are stated, if the business model after parsing is multiple business models, Business datum acquiring unit 605 then splits according to each business model and calls each relevant Java service datas, and is sent to poly- Assistant 606 is closed, is handled for data aggregate and model filling.
The business datum acquiring unit 605, for one after receiving the configuration information resolution unit 602 and parsing After a or multiple business model data, called and the business model after above-mentioned parsing from Java application services end by external interface Relevant Java service datas (i.e. data source data), if the business model after parsing is multiple business models, business datum obtains Unit 605 is taken then to be split according to each business model after parsing and calls each relevant Java service datas, and is sent to polymerization Assistant 606, handled for data aggregate and model filling.
The polymerization assistant 606, connection business datum acquiring unit 605 and external cache interface, for business datum The business model data and data source data (such as Java service datas) that acquiring unit 605 is sent carry out data aggregate and model Filling is handled;And aggregated data will be converted and cached, by polymerization treated business datum is sent to aggregated data push Unit 603 or write-in polymerization group list buffer unit 604 be lined up it is to be called, for the calling of aggregated data push unit. Further, it polymerize the configuration file or pre- that assistant 606 can also obtain external centralized configuration component by external cache interface The business model data of heat, i.e., carry out and can directly be opened up by client with the relevant data of business model, the data after polymerization in advance It is existing.
The polymerization group list buffer unit 604 for caching the aggregated data that polymerization assistant 606 sends, waits poly- Close the calling of data-pushing unit 603.
The aggregated data push unit 603 for the subscription condition sent according to filtering information resolution unit 601 and is ordered It reads state and polymerize group list buffer unit 604 and/or the aggregated data of the polymerization transmission of assistant 606, to client push Aggregated data.Further, aggregated data push unit 603 is the client subscription condition and subscription status that basis receives, To client push by the aggregated data of aggregator aggregates.
The Date Conversion Unit 607 connects the polymerization assistant 606, polymerization assistant is assisted to carry out data aggregate, mainly Business datum for needing progress data conversion treatment in assistant to polymerizeing carries out data conversion, such as converts data to bag Contain the pattern of XML or JSON.
By the above embodiment of the present invention, the business model of client is made to sink to business end and show data and is patrolled Separation is collected in different system architecture levels so that client calls data to server-side, is transferred to business end and sends clothes Business request, client are solely focused on data presentation, without realizing management and the calculation process of business model, preferably ensure that The presentation efficiency and the speed of service of client even if client asks the multinomial different service datas of server-side simultaneously, can also subtract The service request link number of few client ensures the presentation quality of client so that network and system resource utilization rate carry significantly It is high.As it can be seen that for Maintenance Development angle, release the anxiety of human resources significantly caused by pressure, reduce client The realization skill set requirements of developer also improve product development and the efficiency safeguarded;For from performance, the number of concurrent of system It gets a promotion, system stability is improved, and system response time greatly promotes;For safety perspective, a large amount of operands According to by interlayer service be retained in high fever caching in, even if client break down, it is to be restored after also can quick pulling data, into The row page is presented.
It is that can pass through one of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment Computer program instructs relevant hardware to complete, and the program can be stored in a computer read/write memory medium, The program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto, Any one skilled in the art in the technical scope disclosed by the present invention, the change or replacement that can be readily occurred in, It should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of the claim Subject to enclosing, equivalent variations made according to the claims of the present invention are still within the scope of the present invention.

Claims (10)

1. a kind of business sinking processing system, which is characterized in that the system comprises client, business end and server-sides;
The client is docked with business end, and request is subscribed to for being sent to business end, and described subscribe to asks to include business model Type, and return and the relevant aggregated data of business model type are subjected to visualization presentation;
The business end, is connected with client and server-side, including one or more Service Processing Units, for receiving client Subscription request, business processing is carried out to the business model of request, relevant data source data is called to server-side, forms polymerization Data;To client push aggregated data;
The server-side is connected with business end, including one or more data sources, for providing data to business end.
2. business sinking processing system as described in claim 1, which is characterized in that the Service Processing Unit includes business mould Type administrative unit and business arithmetic element;
The business model administrative unit is used for the business model management at carrying client end, for writing, updating and management business Model;
The business arithmetic element carries out calculating processing and caching, obtains for receiving subscription of the client to business model data To ordered business aggregated data and for client push.
3. business sinking processing system as described in claim 1, which is characterized in that the Service Processing Unit includes business mould Type administrative unit, polymerizer, subscription management unit, data buffer storage unit and convergence service interface;
The business model administrative unit is used for the business model management at carrying client end, for updating and management business model;
The polymerizer for the subscription condition and subscription status according to client, is obtained to server-side needed for business model Data carry out polymerization calculating, pass through data of the convergence service interface after client push polymerization;
The subscription management unit, for being managed to the subscription of client, the subscription includes subscription condition, subscribes to the time And subscription status;
The data buffer storage unit for caching the business polymerization data of polymerizer, further includes to client and provides the poly- of preheating Close data;
The convergence service interface is the internal interface of Service Processing Unit, for safeguarding the validity of client subscription information, Client is connected by external interface, to client push aggregated data.
4. business sinking processing system as claimed in claim 2 or claim 3, which is characterized in that the business model administrative unit bag Include business model writing unit, business model updating block, business model reading unit and cache table;
The business model writing unit, for writing business model or being externally introduced business model by interface;
The business model updating block, for updating business model, when the configuration file for receiving external centralized configuration component When, the newer unit of business model carries out the update of business model;And by updated business model by cache table or External buffers are cached;
The cache table, for cache business model;
The business model reading unit, for reading business model.
5. business sinking processing system as claimed in claim 3, which is characterized in that the polymerizer includes filtering information parsing Unit, configuration information resolution unit, aggregated data push unit, polymerization group list buffer unit, business datum acquiring unit, It polymerize assistant and Date Conversion Unit;
The filtering information resolution unit for obtaining the subscription data of client from subscription management unit and being parsed, obtains To the subscription condition and subscription status of aggregated data to be pushed, aggregated data push unit is sent to;
The configuration information resolution unit is parsed for obtaining business model from business model management unit, parsed One or more business models after parsing are sent into business datum acquiring unit by one or more business models afterwards;
The business datum acquiring unit, for receiving one or more business models that configuration information resolution unit parses, The relevant data source data of each business model called with after above-mentioned parsing is split from server-side by external interface;And by industry Business model and relative data source data are combined into aggregated data, are sent to polymerization assistant;
The polymerization assistant connects business datum acquiring unit and external cache interface, for sending out business datum acquiring unit The business model data and data source data sent carry out model filling and data aggregate;Aggregated data is converted and cached, and will By polymerization, treated that aggregated data is sent to aggregated data push unit;
The aggregated data push unit be used for according to filtering information resolution unit send subscription condition and subscription status and It polymerize group list buffer unit or polymerize the aggregated data that assistant sends, to client push aggregated data;
The polymerization group list buffer unit for caching the aggregated data that polymerization assistant sends, waits aggregated data push The calling of unit;
Date Conversion Unit connects the polymerization assistant, and polymerization assistant is assisted to carry out data aggregate, for being needed in polymerization assistant The business datum for carrying out data conversion treatment carries out data conversion.
6. business sinking processing system as described in claim 1, which is characterized in that the processing system further comprises:Institute It states and is connected between client and business end by internet communication engine (ICE) interface.
7. business sinking processing system as described in claim 1, which is characterized in that the processing system further comprises:Institute It states and is connected between business end and server-side by internet communication engine (ICE) interface.
8. business sinking processing system as described in claim 1, which is characterized in that the server-side is based on Java application clothes The application server of business.
9. the middleware that a kind of processing business is sunk, which is characterized in that the middleware includes one or more business processing lists Member;
The middleware is connected with client, for the business model and business processing at carrying client end;
The middleware is connected with server-side, for calling data source data to server-side;
The middleware is asked according to client subscription to client push aggregated data.
10. the middleware that processing business as claimed in claim 9 is sunk, which is characterized in that the middleware is led to by network Believe engine (ICE) interface connection client;The middleware passes through internet communication engine (ICE) interface Connection Service end.
CN201611020972.2A 2016-11-15 2016-11-15 Service sinking processing system and middleware Active CN108076107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611020972.2A CN108076107B (en) 2016-11-15 2016-11-15 Service sinking processing system and middleware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611020972.2A CN108076107B (en) 2016-11-15 2016-11-15 Service sinking processing system and middleware

Publications (2)

Publication Number Publication Date
CN108076107A true CN108076107A (en) 2018-05-25
CN108076107B CN108076107B (en) 2020-11-06

Family

ID=62160545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611020972.2A Active CN108076107B (en) 2016-11-15 2016-11-15 Service sinking processing system and middleware

Country Status (1)

Country Link
CN (1) CN108076107B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212367A (en) * 2007-12-25 2008-07-02 北京亿阳信通软件研究院有限公司 Alarm message processing method and device
CN102271121A (en) * 2010-06-01 2011-12-07 铜陵玉成软件科技有限责任公司 Service-model-oriented cloud computing development platform realization method
US20160014450A1 (en) * 2010-01-15 2016-01-14 Guest Tek Interactive Entertainment Ltd. Virtual user interface including playback control provided over computer network for client device playing media from another source

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212367A (en) * 2007-12-25 2008-07-02 北京亿阳信通软件研究院有限公司 Alarm message processing method and device
US20160014450A1 (en) * 2010-01-15 2016-01-14 Guest Tek Interactive Entertainment Ltd. Virtual user interface including playback control provided over computer network for client device playing media from another source
CN102271121A (en) * 2010-06-01 2011-12-07 铜陵玉成软件科技有限责任公司 Service-model-oriented cloud computing development platform realization method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
沈革: "食品进出口贸易公共服务平台的消息中间件", 《中国优秀硕士论文全文数据库 信息科技辑》 *

Also Published As

Publication number Publication date
CN108076107B (en) 2020-11-06

Similar Documents

Publication Publication Date Title
WO2020237797A1 (en) Dynamic configuration management method and system in microservice framework
CN110247954A (en) A kind of dispatching method and system of distributed task scheduling
CN110457134A (en) The method for establishing the video big data cloud platform based on container cloud and micro services framework
Firouzi et al. Architecting iot cloud
CN105653425A (en) Complicated event processing engine based monitoring system
US20100082737A1 (en) Dynamic service routing
US10079865B2 (en) Method and system for an ontology based request/reply service
Ji et al. A cloud‐based X73 ubiquitous mobile healthcare system: design and implementation
CN104967686B (en) A kind of structure face type 3S intelligent service shops system and its design method
CN101964763B (en) Message handling method
CN111427556B (en) Web-based SysML modeling platform
WO2015117417A1 (en) Method, server and system for customizing event notification
CN104281456B (en) A kind of Oil-Gas Field Development Engineering application software system based on cloud computing
EP3462330A1 (en) Fault tolerant adapter system to consume database as a service
WO2019076236A1 (en) Data synchronization method and device, super controller, domain controller, and storage medium
CN111064626A (en) Configuration updating method, device, server and readable storage medium
Schwan et al. Autoflow: Autonomic information flows for critical information systems
Xiao-Hong Research and development of web of things system based on rest architecture
CN110929130B (en) Public security level audit data query method based on distributed scheduling
CN108076107A (en) A kind of business sinking processing system and middleware
CN117955978A (en) Data transmission method and related device
US10706073B1 (en) Partitioned batch processing for a usage analysis system
JP7059916B2 (en) Information processing systems, methods and programs
US8930523B2 (en) Stateful business application processing in an otherwise stateless service-oriented architecture
Ma et al. The Study and Application of System Integration Based on ESB for Enterprise Group

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant