Program customization method and device

Program customization method and device

  • CN 102,004,648 B
  • Filed: 12/27/2010
  • Issued: 10/21/2015
  • Est. Priority Date: 12/27/2010
  • Status: Active Grant
First Claim
Patent Images

1. a program customization method, is characterized in that, comprising:

  • Step 102, arranges point of penetration in a program, and arranges incision script for described point of penetration;

    Step 104, when making described program move to described point of penetration, performs described incision script;

    Before described step 102, pre-establish and store described incision script;

    In described step 102, for described point of penetration arranges cut-in manner, described cut-in manner comprises front incision and rear incision, and described incision script comprises the rear incision script that the front incision script of corresponding front incision and correspondence are cut afterwards;

    In described step 104, when described program moves to described point of penetration, carry out subsequent operation according to described cut-in manner,Described cut-in manner comprise described before incision time, described program is cut after script before execution is described, then performs the logic built of described point of penetration,When described cut-in manner comprises described rear incision, make described program after the described logic built of execution, then perform described rear incision script;

    In described step 102, predetermined value being set, making described program perform described logic built for determining whether;

    In described step 104, judge whether to allow front incision, if cut before allowing and have described front incision script, then perform described front incision script, otherwise directly perform described logic built, after performing described front incision script, the rreturn value of script and comparing of described predetermined value is cut before described, judge whether to make described program perform described logic built, determining to make described program not perform described logic built, judge whether described point of penetration allows to skip described logic built again, if allow, skip described logic built, otherwise perform described logic built, after executing described logic built, judge whether this point of penetration allows rear incision, if allow and when having described rear incision script, described program is made to perform described rear incision script.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×