×

Service-based message access layer frame and implementation method thereof

  • US 9,832,198 B2
  • Filed: 12/19/2014
  • Issued: 11/28/2017
  • Est. Priority Date: 05/09/2014
  • Status: Active Grant
First Claim
Patent Images

1. A message access layer frame, comprising:

  • a controller, a receiver, an account password checker, a session processor and a repeater, wherein;

    the controller comprises a configuration file parser and a database access service unit; and

    , the controller initiates, initializes and coordinates the receiver, the account password checker, the session processor and the repeater;

    the receiver receives a request of an application front end in various forms, and after receiving data in different formats, translates the received data in the different formats into data in a consistent format, and then sends the data in the consistent formation to the session processor;

    the account password checker controls and validates an access of the request of the application front end and thereafter sends the request to the repeater;

    the session processor, serving as a main handling module of the whole message access layer frame, handles the request with a login management, a right management, a behavior auditing, a log, a single sign-on and interface exposing;

    the repeater translates the handled data in the consistent format into data acceptable to an application back end, and then sends the data acceptable to the application back end to the application back end to be handled by cloud; and

    the message access layer frame has a working process that;

    after initiating a system, the controller parses a configuration file through the configuration file parser and initiates the database access service unit;

    then the controller initiates the receiver according to the configuration file, wherein the receiver is different in accordance with the different application front ends and depends on a communication protocol of the application front end;

    next, the controller initiates the repeater, wherein the repeater is different in accordance with the different application back ends and depends on a communication manner of the application back end;

    thereafter, the controller initiates the account password checker with a connection provided by the database access service unit, and obtains validation information of an account from a database; and

    finally, the controller initiates the session processor which has no session therein initially;

    after the application front end sends the request, the receiver receives the request of the application front end, translates the request of the application front end into the data in the consistent format and sends the data in the consistent format to the session processor, wherein;

    the receiver, as a server, continually receives the request of the application front end and, after receiving, assigns a unique ID to each request;

    the session processor contains connection information from the different application front ends, wherein the connection information is called sessions, and each session is distinguished by the unique ID, session Id; and

    the session processor extracts the session ID from each request and checks whether the session ID already exists;

    if the session ID exists, which means that the session already exists, the session is sent to the repeater;

    if the session ID does not exist, which means that the session is a new session, the session is sent to the account password checker for an authentication;

    if the authentication is failed, an error code is directly returned to the application front end without continuing sending the session; and

    if the authentication is passed, the session is registered and success authentication information is returned to the application front end;

    after the repeater receives the data in the consistent format, the repeater translates the data in the consistent format into the data acceptable to the application back end, and then sends the data acceptable to the application back end to the application back end for a data handling by cloud; and

    after sending response information, the receiver destroys the corresponding connection information, wherein the receiver is merely responsible for receiving and returning the request;

    each request is independent; and

    , once handling of the request is finished, the receiver readily eliminates the corresponding connection information and waits for a next request.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×