A kind of the Logic of Tasks library generating method and system, data processing method and system

A kind of the Logic of Tasks library generating method and system, data processing method and system

  • CN 102,542,047 B
  • Filed: 12/28/2011
  • Issued: 08/03/2016
  • Est. Priority Date: 12/28/2011
  • Status: Active Grant
First Claim
Patent Images

1. a data processing method, it is characterised in that including:

  • Application server receives the request data of client;

    By main thread, request data put into thread pool task queue;

    Extracted the request data in described task queue by the worker thread of thread pool, and resolve each the Logic of Tasks mark of correspondence;

    Extract from the Logic of Tasks storehouse according to the Logic of Tasks mark and can perform the Logic of Tasks accordingly and perform process;

    The result data being disposed is arranged and is back to client;

    Wherein, described the Logic of Tasks storehouse is set up by following steps;

    Load the configuration file of application;

    Described configuration file includes each the Logic of Tasks of application, and described each the Logic of Tasks is configured by logical order by least one atomic operation mark;

    Described atomic operation is that the computer with inseparability can perform primitive;

    For described each the Logic of Tasks, identify according to each atomic operation in each the Logic of Tasks, from atomic operation storehouse, extract the generation of corresponding atomic operation can perform the Logic of Tasks;

    The described the Logic of Tasks that respectively can perform is stored in the Logic of Tasks storehouse together with corresponding the Logic of Tasks mark.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×