The content of the invention
In order to solve above-mentioned problems of the prior art, the present invention provides a kind of core frame based on application service
The information feedback method and system of platform technology.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of information feedback method of the core frame platform based on application service, this method comprise the following steps:
Step 1:Application software system is by the client service component COM ends in client computer, with client service
Component, which is established, communicates and sends data file;
Step 2:Client service component forms application service intermediate layer with kernel service platform by network channel, carries out
Operational order is parsed with performing work, and the data file obtained by application software system is sent to core by client service component
Central server platform, kernel service platform receive and parse through data file, and database server performs according to the data file of parsing
Implementing result is simultaneously fed back to kernel service platform by corresponding operational order, and kernel service platform feedbacks data to client service
Component;
Step 3:Client service component is parsed to implementing result, and execution result back is sent to client service
Component COM ends, the implementing result that application software system obtains to client service component COM ends show.
Step 2 includes step in detail below:
Step 201:Client service component is established and is connected with kernel service platform, sends a request to kernel service platform,
Kernel service platform response is asked to client service component;
Step 202:Client service component sends authentication information to kernel service platform, core after receiving respond request
Service platform feeds back authentication information to client service component;
Step 203:After client service component receives feedback authentication information, authentication is carried out, passes through rear transmission number
Operational order is initiated to database server according to kernel service platform, kernel service platform, database server will perform knot
Fruit feeds back to kernel service platform, and feedback data gives client service component to kernel service platform again.
Step 201 concretely comprises the following steps:First network connection in client service component is established with communication part and core
Service platform connects, and the second network connection and the communication part sent a request in kernel service platform, the second network connection
Received with communication part and establish connection request, the network communication connection pool service group sent the request in kernel service platform
Part, network communication connection pool serviced component obtain the second net that network communication is connected and sent the request in kernel service platform
Network connects and communication part, and the second network connection connects with communication part feedback network communication connection and respond request to first network
Connect and communication part.
Step 202 concretely comprises the following steps:First network connection in client service component receives response with communication part
Transmission is to the first network connection in client service component and communication security certified component after request, and first network connection is with leading to
The second network connection in safety certification component transmission authentication information to kernel service platform and communication security certified component are interrogated, the
Two network connections perform authentication with communication security certified component and feed back authentication information to first network and be connected to be pacified with communication
Full certified component.
Step 203 concretely comprises the following steps:First network is connected and communication security certified component is received after feeding back authentication information,
Carry out authentication, the first interaction data safety operation group that authentication is sent information to after in client service component
Part, generation director data bag and the first encryption safe tunnel data transport component being sent in client service component, first
Encryption safe tunnel data transport component sends data to kernel service platform, the network communication connection pool in kernel service platform
After serviced component receives the information of the second network connection and the transmission of communication security certified component and registration security encrypted tunnel, core
The second encryption safe tunnel data transport component in service platform is sent to second in kernel service platform after receiving data
Parse packet in interaction data safety operation component, the second interaction data safety operation component by the packet of parsing send to
The second instruction and data content checking assembly in kernel service platform, the second instruction is with data content checking assembly to packet
Sent after carrying out content verification to the Data Connection Pool serviced component in kernel service platform, the acquisition of Data Connection Pool serviced component
Connection Service interface and the second instruction being sent in kernel service platform and data processing component, the second instruction after data
Operational order is initiated using server interface to data file and be sent to database server with data processing component, number
Implementing result is fed back into the second instruction and data processing component, the second instruction and data processing group according to storehouse server
Part sends the second interaction data safety operation component, the second interaction data safety to after obtaining the operating result of service interface feedback
Operating assembly implementing result generation feedback data packet is sent to the second encryption safe tunnel data transport component, the second encryption safe
Tunnel data transport component sends feedback data packet to the first encryption safe tunnel data transport component, in kernel service platform
Data Connection Pool serviced component is disconnected after the second encryption safe tunnel data transport component sends feedback data packet or amounts written off
According to Connection Service interface and the network communication connection pool serviced component that sends a signal in kernel service platform, network communication connection
Pond serviced component disconnects or nullified network service connection.
Step 3 concretely comprises the following steps:The first encryption safe tunnel data transport component in client service component is sent simultaneously
Receive the first interaction data safety operation component in feedback result to client service component, the first interaction data safety operation
The first instruction and data content checking assembly in analyzing component feedback data packet to client service component, the first instruction and number
Content verification is carried out to feedback data packet according to content verification component and is sent to the first instruction in client service component and number
According to business processing component, the first instruction sends execution result back to client service component with data processing component
COM ends, the implementing result that application software system obtains to client service component COM ends show.
The information feedback system of this core frame platform based on application service, including application software system, using clothes
Business intermediate layer and database server, the application service intermediate layer include client service component and kernel service platform, institute
State application software system and information exchange, the kernel service platform root are carried out by application service intermediate layer and database server
The instruction and the corresponding relation between client service component received according to client service component from application software system obtains
Extract operation is instructed and parses transmission to database server, and the implementing result of database server is fed back into client service group
Part, client service component send the execution result back of kernel service platform to application software system.
The client service component is connected including first network connection with communication part, first network to be recognized with communication security
Demonstrate,prove in component, the first interaction data safety operation component, the first encryption safe tunnel data transport component, the first instruction and data
Hold checking assembly and the first instruction and data processing component, wherein,
First network is connected to establish respectively with communication part and communicated with application software system, kernel service platform, and will be rung
It should ask to be sent to first network connection and communication security certified component;
First network connects the corresponding interface with the offer of communication security certified component and kernel service platform, completes client
The transmission of authentication information and feedback in serviced component;
First interaction data safety operation component provides the interface of generation director data bag for authentication information and parsed anti-
Present the interface of packet;
First encryption safe tunnel data transport component provides the corresponding interface with kernel service platform, completes client clothes
The transmission of data and feedback in business component;
First instruction provides the interface of feedback validation with data content checking assembly;
First instruction provides the coffret of feedback validation data with data processing component.
The kernel service platform includes the second network connection corresponding with client service component and communication part, second
Network connection and communication security certified component, the second encryption safe tunnel data transport component, in addition to network communication connection pool
Serviced component, the second interaction data safety operation component, the second instruction and data content checking assembly, Data Connection Pool service group
Part, the second instruction and data processing component, wherein,
Second network connection is established with communication part and communicated with client service component, and connection request is sent into network
Communicate connection pool serviced component;
Network communication connection pool serviced component provides the interface of network service connection and encrypted tunnel;
Second network connection provides with communication security certified component to be sent and feedback authentication information to client service component
Interface;
Second encryption safe tunnel data transport component provides the interface sent with feedbacking data to client service component;
Second interaction data safety operation component provides parsing packet and the interface of implementing result generation feedback data packet;
Second instruction provides the interface that content verification is carried out to packet with data content checking assembly;
Data Connection Pool serviced component provides data connection service interface;
Second instruction is connected with the offer of data processing component with database server and the interface of transmission signal.
The application software system is established by client service component COM ends and client service component and communicated.
The beneficial effects of the invention are as follows:
1st, the present invention establishes core by the way that kernel service platform and client service component are created as into application service intermediate layer
Network-specific passage between central server platform and client service component carries out operational order parsing and performs work, and realizing should
With the efficient and safe instruction execution between software systems and database server and data exchanging function;
2nd, kernel service platform as communicated between data file and client service component, instruct execution and result it is anti-
The Core System of feedback, parsed by the operational order sent to client service component and data handled,
With this data acquisition or change, validity, the convenience of data transfer of the present invention are further improved;
3rd, by being integrated with network communication connection pool service group in kernel service platform and client service component respectively
Part, database connection pool serviced component, network connection and communication part, network communication and data safety component, encryption safe lead to
The related functional components such as track data transmission assembly, instruction and data content checking assembly, instruction and data processing component, tool
Standby compatible multiple operating system, support that big concurrent processing, safety certification covering, data content high compression, communication efficiency are high.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Referring to Figures 1 and 2, a kind of information feedback method of the core frame platform based on application service, this method include
Following steps:
Step 1:Application software system 1 is taken by the client service component COM ends 4 in client computer with client
Business component 21, which is established, communicates and sends data file;
Step 2:Client service component 21 forms application service intermediate layer with kernel service platform 22 by network channel
2, operational order parsing is carried out with performing work, and client service component 21 is literary by the data obtained by application software system 1
Part is sent to kernel service platform 22, and kernel service platform 22 receives and parses through data file, and database server 3 is according to parsing
Data file perform corresponding operational order and implementing result fed back into kernel service platform 22, kernel service platform 22 is anti-
Data are presented to client service component 21;
Step 3:Client service component 21 is parsed to implementing result, and execution result back is sent to client and taken
Business component COM ends 4, the implementing result that application software system 1 obtains to client service component COM ends 4 shows.
Step 2 includes step in detail below:
Step 201:Client service component 21 is established and is connected with kernel service platform 22, is sent a request to kernel service and is put down
Platform 22, the respond request of kernel service platform 22 to client service component 21;
Step 202:Client service component 21, which receives, sends authentication information after respond request to kernel service platform 22,
Kernel service platform 22 feeds back authentication information to client service component 21;
Step 203:After client service component 21 receives feedback authentication information, authentication is carried out, passes through rear transmission
Data to kernel service platform 22, kernel service platform 22 initiates operational order, database server 3 to database server 3
Implementing result is fed back into kernel service platform 22, kernel service platform 22 again feedback data to client service component 21.
Step 201 concretely comprises the following steps:In client service component 21 first network connection with communication part establish 211 with
Kernel service platform 22 connects, and the second network connection sent a request in kernel service platform 22 and communication part 221, the
Two network connections receive with communication part 221 and establish connection request, the network sent the request in kernel service platform 22
Connection pool serviced component 222 is communicated, network communication connection pool serviced component 222 obtains network communication and connects and send the request to
The second network connection and communication part 221 in kernel service platform 22, the second network connection and the feedback network of communication part 221
Simultaneously respond request to first network connects and communication part 211 for communication connection.
Step 202 concretely comprises the following steps:First network connection in client service component 21 receives with communication part 211
Sent after respond request to the first network connection in client service component 21 and communication security certified component 212, the first net
Network connects the second network connection and communication sent with communication security certified component 212 in authentication information to kernel service platform 22
Safety certification component 213, the second network connection perform authentication with communication security certified component 213 and feed back authentication information extremely
First network connects and communication security certified component 212.
Step 203 concretely comprises the following steps:First network connects receives feedback authentication information with communication security certified component 212
Afterwards, authentication, the first interaction data safety that authentication is sent information to after in client service component 21 are carried out
Operating assembly 213, the first encryption safe channel data for generating director data bag and being sent in client service component 21 pass
Defeated component 214, the first encryption safe tunnel data transport component 214 send data to kernel service platform 22, and kernel service is put down
Network communication connection pool serviced component 222 in platform 22 receives what the second network connection was transmitted with communication security certified component 223
After information and registration security encrypted tunnel, the second encryption safe tunnel data transport component 224 in kernel service platform 22 connects
Sent after receipts data and packet is parsed into the second interaction data safety operation component 225 in kernel service platform 22, second
Interaction data safety operation component 225 sends the packet of parsing to the second instruction and data in kernel service platform 22
Hold checking assembly 226, transmission to core takes after the second instruction carries out content verification to packet with data content checking assembly 226
The Data Connection Pool serviced component 227 being engaged in platform 22, Data Connection Pool serviced component 227 obtain Connection Service interface after data
And the second instruction and data processing component 228 in kernel service platform 22 are sent to, at the second instruction and data service
Reason component 228 initiates operational order to data file using server interface and is sent to database server 3, database service
Implementing result is fed back to the second instruction and data processing component 228, the second instruction and data processing component by device 3
The second interaction data safety operation component 225, the second interaction data are sent to after the operating result of 228 acquisition service interface feedbacks
The implementing result of safety operation component 225 generation feedback data packet is sent to the second encryption safe tunnel data transport component 224, the
Two encryption safe tunnel data transport components 224 send feedback data packet to the first encryption safe tunnel data transport component 214,
Data Connection Pool serviced component 227 in kernel service platform 22 is sent in the second encryption safe tunnel data transport component 224
Disconnection or cancellation data connection service interface and the network communication sent a signal in kernel service platform 22 after feedback data packet
Connection pool serviced component 222, network communication connection pool serviced component 222 disconnect or nullified network service connection.
Step 3 concretely comprises the following steps:The first encryption safe tunnel data transport component 214 in client service component 21 is sent out
Send and receive the first interaction data safety operation component 213 in feedback result to client service component 21, the first interaction number
The first instruction and the data content validation group in feedback data packet to client service component 21 are parsed according to safety operation component 213
Part 215, the first instruction carry out content verification to feedback data packet with data content checking assembly 215 and sent to client service
The first instruction and data processing component 216 in component 21, the first instruction hold feedback with data processing component 216
Row result sends to client service component COM ends 4, application software system 1 and client service component COM ends 4 is held
Row result is showed.
The information feedback system of this core frame platform based on application service, including application software system 1, using clothes
Business intermediate layer 2 and database server 3, the application service intermediate layer 2 includes client service component 21 and kernel service is put down
Platform 22, the application software system 1 carry out information exchange, the core by application service intermediate layer 2 and database server 3
Instruction that service platform 22 receives according to client service component 21 from application software system 1 and with client service component 21
Between corresponding relation obtain operational order and parse transmission to database server 3, by the implementing result of database server 3
Feed back to client service component 21, client service component 21 sends the execution result back of kernel service platform 22 to should
With software systems 1.
The client service component 21 includes first network connection and is connected with communication part 211, first network and communication
Safety certification component 212, the first interaction data safety operation component 213, the first encryption safe tunnel data transport component 214,
First instruction and the instruction of data content checking assembly 215 and first and data processing component 216, wherein,
First network connection is established respectively with communication part 211 to be communicated with application software system 1, kernel service platform 22,
And respond request is sent to first network connection and communication security certified component 212;
First network connects the corresponding interface with the offer of communication security certified component 212 and kernel service platform 22, completes
The transmission of authentication information and feedback in client service component 21;
First interaction data safety operation component 213 provides interface and the parsing of generation director data bag for authentication information
The interface of feedback data packet;
First encryption safe tunnel data transport component 214 provides the corresponding interface with kernel service platform 22, completes visitor
The transmission of data and feedback in family end serviced component 21;
First instruction provides the interface of feedback validation with data content checking assembly 215;
First instruction provides the coffret of feedback validation data with data processing component 216.
The kernel service platform 22 includes second network connection corresponding with client service component 21 and communication part
221st, the second network connection and communication security certified component 223, the second encryption safe tunnel data transport component 224, in addition to
Network communication connection pool serviced component 222, the instruction of the second interaction data safety operation component 225, second are verified with data content
Component 226, the instruction of Data Connection Pool serviced component 227, second and data processing component 228, wherein,
Second network connection is established with communication part 221 and communicated with client service component 21, and connection request is transmitted
To network communication connection pool serviced component 222;
Network communication connection pool serviced component 222 provides the interface of network service connection and encrypted tunnel;
Second network connection provides with communication security certified component 223 to be sent and feedback authentication information to client service group
The interface of part 21;
Second encryption safe tunnel data transport component 224, which provides, to be sent and feedbacks data to client service component 21
Interface;
Second interaction data safety operation component 225 provides parsing packet and implementing result generates connecing for feedback data packet
Mouthful;
Second instruction provides the interface that content verification is carried out to packet with data content checking assembly 226;
Data Connection Pool serviced component 227 provides data connection service interface;
Second instruction is connected with the offer of data processing component 228 with database server 3 and transmission signal connects
Mouthful.
The application software system 1 is established by client service component COM ends 4 and client service component 21 and communicated.
As in a preferred embodiment of the present invention, the particular content based on security management and control is realized by following steps:
First network connection in a1, client service component 21 receives operational order with communication security certified component 212
Afterwards, request connection authentication, the second network connection sent in authentication information to kernel service platform 22 are pacified with communication
Full certified component 223;After second network connection receives transmission authentication information with communication security certified component 223, client
Terminate and then disconnect passage connection into checking authentication, client certificate failure, client certificate passes through then certification interface channel
Generation communication certification key, then feedback authentication information is sent to first network connection and communication security certified component 212;First
Network connection and communication security certified component 212 receive parsing feedback authentication information after feedback authentication information, not over then breaking
Connection is opened, by then sending information to the first interaction data safety operation component 213 in client service component 21, first hands over
After mutual data safety operating assembly 213 obtains client data instruction, communication certification key performs combined ciphering algorithm generation number
According to encryption key, it is encrypted using the instruction of data encryption secret key pair client data, is generated after encryption data encapsulating bag processing
Ciphertext packet.
The first encryption safe tunnel data transport component 214 in b1, client service component 21 is by the first interaction data
The ciphertext packet that safety operation component 213 generates and communication certification key generation transmitted data on network bag, use Https passages
The second encryption safe tunnel data transport component 224 in network interaction data bag to kernel service platform 22 is sent, second adds
Close escape way data transfer group 224 uses Https channel reception network interaction data bags, checks the legal of communication certification key
Property, legitimacy certification is not over then authentification failure disconnects passage connection, sends feedback authentication failure message to first encryption
Escape way data transfer components 214, the first encryption safe tunnel data transport component 214 disconnect, and terminate to perform;It is legal
Property certification is by then sending ciphertext packet to the second interaction data safety operation component 225 in kernel service platform 22;
Second interaction data safety operation component 225 obtains ciphertext packet, and after carrying out unpacking processing to ciphertext packet, communication is recognized
Demonstrate,prove key and perform combined ciphering algorithm for encryption, generate data encryption key, instructed using data encryption secret key pair client data
It is decrypted, generation client data is instructed and sent to the second instruction in kernel service platform 22 and data content validation group
Part 226;Second instruction instructs with data content checking assembly 226 to client data command operating screens, and is found to be and refers to extremely
Order, then data command execution unsuccessfully disconnect;Normal instructions are found to be, then are performed using instruction and mathematical logic processing component
Instruction, the second instruction and data processing component 228 are sent to by execute instruction;Second instruction and data processing component
228 handle client data according to execute instruction instructs to obtain execution feedback result data, and sends to the second interaction data and pacify
Full operation component 225;Second interaction data safety operation component 225, which obtains, performs feedback result data, then secret by certification is communicated
Key performs combined ciphering algorithm for encryption generation data encryption key, is added using the instruction of data encryption secret key pair client data
It is close, by encryption data encapsulating bag processing, generate ciphertext packet and send to the second encryption safe tunnel data transport component
224, the second encryption safe tunnel data transport group, communication certification key and ciphertext packet are generated network interaction data by 224
Bag, reuse Https passages and send network interaction data bag to the first encryption safe tunnel data transport component 214.
C1, the first encryption safe tunnel data transport component 214 use Https channel reception network interaction data bags, inspection
Communication certification key legitimacy is looked into, legitimacy certification is not over then authentification failure disconnects passage connection;Legitimacy certification is led to
Cross, then send ciphertext packet to the first interaction data safety operation component 213;First interaction data safety operation component 213
Ciphertext packet is obtained, the unpacking of encryption data bag is handled, combined ciphering algorithm generation data solution is performed with communication certification key
Close key, it is decrypted using the instruction of data deciphering secret key pair client data, feedback result data, then by execution result back
Send to client service component COM ends 4.
In the present embodiment, secure accessing, data and the security of instruction transmission and the standard of content of platform be ensure that
True property, ageing and single-point is carried out to data transfer and has used management, assuring data security energy;Use supporting multistage key
Simultaneously data content is decrypted for algorithm generation decryption key, ensures the security and non-reproduction of data content.
In another preferred embodiment as the present invention, the particular content based on data compression interaction passes through following steps
Realize:
a2:The second instruction and the data processing that client service component 21 is sent data in kernel service platform 22
Component 228, wherein client service component 21 obtain data file, the core in application service from database by SQL
The acquiescence of service platform 22 supports data format to carry out objectification storage;
b2:Second instruction is initiated to operate using server interface with data processing component 228 to database server 3
Instruction, database server 3 perform feedback result to the second instruction and data processing component 228;
c2:Second instruction receives with data processing component 228 sends data execute instruction after feedback result to the
Two interaction data safety operation components 225, after the second interaction data safety operation component 225 carries out data file acquisition, successively
Data encryption module is sent data to after carrying out data file exchange format, data file compression, data encryption module is anti-
Data are presented to the first encryption safe tunnel data transport component 214, wherein, data file exchange formatization is entered based on Json forms
Row is to data compaction and conversion, and the objectification data storage volume data form of kernel service platform 22 in application service is for data
Surplus content for interaction be present, it is necessary to carry out simplifying and changing for data, data file compression is to data file interaction form
Data after change are compressed algorithm process, generate compressed data packets, realize mutual files body lightweight, file size can subtract
It is small by 90%;
d2:First encryption safe tunnel data transport component 214 sends data to the first interaction after obtaining feedback data
Data safety operating assembly 213, after the first interaction data safety operation component 213 obtains data file, data text is carried out successively
Part decompression, the loading of data integrity effect, data file, wherein, data file decompression is that the data file of acquisition is entered
Data object file is simplified in the processing of row decompression algorithm, generation, and data integrity effect is to enter line number to the data file of acquisition
Effect processing is carried out according to the integrality of form and data content, data file loading is to carry out internal memory formatting to data file to add
Load processing.
In the present embodiment, obtained by data file, data file exchange format, data file compression, data text
The steps such as part decompression, data integrity effect and data file loading are compressed to data file, based on application service
Realize network data exchange most in the data compression process of the interaction data safety operation component of the data communication platform of intermediate layer 2
Smallization, so as to improve the integrality of the efficiency of transmission of data and data transfer.
In the present invention client service component 21 for application software system 1 establish one for application software system 1 it is special
Client service component COM ends 4, application software system 1 pass through client service component 21 send data acquisition or change etc.
Performed after operation to kernel service platform 22, corresponding operating performed to data file after kernel service platform 22 receives parsing,
And implementing result is fed back to by client service component 21 according to operational order and parsed, it is finally right by application software system 1
The implementing result that client service component 21 obtains simultaneously is showed, by by kernel service platform 22 and client service component
21 are created as application service intermediate layer 2, and the network-specific established between kernel service platform 22 and client service component 21 is led to
Road carries out operational order parsing with performing work, realizes efficient and safe between application software system 1 and database server 3
Instruction execution and data exchanging function, kernel service platform 22 lead to as between data file and client service component 21
Letter, instruction perform and the Core System of result feedback, is entered by the operational order sent to client service component 21
Row parses and data is handled, with this data acquisition or change, further validity, the convenience for improving data transfer,
By integrating related functional components in kernel service platform 22 and client service component 21 respectively, possesses compatible multioperation system
Unite, support that big concurrent processing, safety certification covering, data content high compression, communication efficiency are high.
General principle, principal character and the advantages of the present invention of the present invention has been shown and described above.The technology of the industry
Personnel are it should be appreciated that the present invention is not limited to the above embodiments, and the simply explanation described in above-described embodiment and specification is originally
The principle of invention, without departing from the spirit and scope of the present invention, various changes and modifications of the present invention are possible, these changes
Change and improvement all fall within the protetion scope of the claimed invention.The claimed scope of the invention by appended claims and its
Equivalent thereof.