CN107835228A - A kind of command processing method and device based on DYNAMIC GENERALIZED route - Google Patents

A kind of command processing method and device based on DYNAMIC GENERALIZED route Download PDF

Info

Publication number
CN107835228A
CN107835228A CN201710899200.9A CN201710899200A CN107835228A CN 107835228 A CN107835228 A CN 107835228A CN 201710899200 A CN201710899200 A CN 201710899200A CN 107835228 A CN107835228 A CN 107835228A
Authority
CN
China
Prior art keywords
protocol data
broad sense
routing rule
operational order
action type
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
CN201710899200.9A
Other languages
Chinese (zh)
Other versions
CN107835228B (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.)
Lianjia Beijing Technology Co Ltd
Original Assignee
Lianjia Beijing Technology 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 Lianjia Beijing Technology Co Ltd filed Critical Lianjia Beijing Technology Co Ltd
Priority to CN201710899200.9A priority Critical patent/CN107835228B/en
Publication of CN107835228A publication Critical patent/CN107835228A/en
Application granted granted Critical
Publication of CN107835228B publication Critical patent/CN107835228B/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/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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
    • H04L67/148Migration or transfer of sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present invention provides a kind of command processing method and device based on DYNAMIC GENERALIZED route.Methods described includes:The operational order that user triggers according to demand is received, the operational order includes address url;The address url is parsed according to broad sense routing rule, obtains primary protocol data, the primary protocol data includes action type;Legitimacy verifies are carried out to the primary protocol data by protocol service;If verification passes through, the operational order is handled according to the action type.Described device is used to perform methods described.The embodiment of the present invention according to broad sense routing rule to address url by parsing, obtain the primary protocol data for including action type, and legitimacy verifies are carried out to primary protocol data, after verification passes through, operational order is handled according to action type, therefore not only support of page turn also supports method call to this method.

Description

A kind of command processing method and device based on DYNAMIC GENERALIZED route
Technical field
The present embodiments relate to field of computer technology, more particularly to a kind of instruction processing based on DYNAMIC GENERALIZED route Method and device.
Background technology
In recent years, with the development of mobile technology, mobile terminal types of applications program (application, abbreviation app) is An inseparable part in being lived as people, with operation demand and the demand of various webpages interaction, mobile terminal is to the page The mode that redirects require that more dynamic and more flexible require.
But due to intrinsic app hair version rhythm, some page jump schemes are caused to be had to when being suggested after reaching the standard grade Next time is sent out in version and can just supported.Existing technical scheme has often carried out string matching scheme just for redirecting for the page Page jump, action is not supported to perform well.In addition, the scheme that redirects that some companies use will simply receive Character string carries out conditional branching processing, and then follows hair version to reach the standard grade, and also a kind of way is in the page or side for needing to support Method realize realized in class it is public redirect agreement, the agreement that traversal is realized when receiving redirects so as to carry out forwarding, but such Mode can not equally update the scheme and demand of rule well on Support Line.
Therefore, how simultaneously support of page turn and method call are problems nowadays urgently to be resolved hurrily.
The content of the invention
The problem of existing for prior art, the embodiment of the present invention provide a kind of instruction processing based on DYNAMIC GENERALIZED route Method and device.
In a first aspect, the embodiment of the present invention provides a kind of command processing method based on DYNAMIC GENERALIZED route, including:
The operational order that user triggers according to demand is received, the operational order includes address url;
The address url is parsed according to broad sense routing rule, obtains primary protocol data, the primary agreement number According to including action type;
Legitimacy verifies are carried out to the primary protocol data by protocol service;
If verification passes through, the operational order is handled according to the action type.
Second aspect, the embodiment of the present invention provide a kind of instruction processing unit based on DYNAMIC GENERALIZED route, including:
Receiving module, the operational order triggered according to demand for receiving user, the operational order include address url;
Parsing module, for being parsed according to broad sense routing rule to the address url, primary protocol data is obtained, The primary protocol data includes action type;
Correction verification module, for carrying out legitimacy verifies to the primary protocol data by protocol service;
Processing module, if passing through for verifying, the operational order is handled according to the action type.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, including:Processor, memory and bus, wherein,
The processor and the memory complete mutual communication by the bus;
The memory storage has and by the programmed instruction of the computing device, the processor described program can be called to refer to Order is able to carry out the method and step of first aspect.
Fourth aspect, the embodiment of the present invention provide a kind of non-transient computer readable storage medium storing program for executing, including:
The non-transient computer readable storage medium storing program for executing stores computer instruction, and the computer instruction makes the computer Perform the method and step of first aspect.
A kind of command processing method and device based on DYNAMIC GENERALIZED route provided in an embodiment of the present invention, by according to wide Adopted routing rule parses to address url, obtains the primary protocol data for including action type, and to primary protocol data Legitimacy verifies are carried out, after verification passes through, operational order are handled according to action type, therefore this method is not only supported Page jump also supports method call.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of command processing method schematic flow sheet based on DYNAMIC GENERALIZED route provided in an embodiment of the present invention;
Fig. 2 is a kind of command processing method schematic flow sheet of DYNAMIC GENERALIZED route provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of renewal broad sense routing rule provided in an embodiment of the present invention;
Fig. 4 is a kind of instruction processing unit structural representation based on DYNAMIC GENERALIZED route provided in an embodiment of the present invention;
Fig. 5 is electronic equipment entity structure schematic diagram provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is a kind of command processing method schematic flow sheet based on DYNAMIC GENERALIZED route provided in an embodiment of the present invention, As shown in figure 1, methods described, including:
Step 101:The operational order that user triggers according to demand is received, the operational order includes address url;
Specifically, after user opens an application program (APP) by terminal, some triggerings can be carried out on the APP Operation, an operational order is just generated after user triggers an operation according to demand, now, terminal receives the operation and referred to Order, it is to be understood that the operational order includes address url, i.e. the operational order can carry out page jump, also may be used To be to want method call, if page jump, then address url seeks to the address of the page redirected, if method Call, then address url is exactly the storage location of called method.It should be noted that the embodiment of the present invention is directed to IOS systems The terminal of system.
Step 102:The address url is parsed according to broad sense routing rule, obtains primary protocol data, the original Raw protocol data includes action type;
Specifically, after operational order is received, the address url in operational order is parsed, after being parsed Address url, the address url after then being parsed again by broad sense routing rule are changed, and obtain the original that IOS systems can identify Raw protocol data, wherein, broad sense routing rule is a mapping table, carries out dynamic mapping by the address url after parsing, obtains To corresponding mapping data, primary protocol data is finally constituted.And the primary protocol data includes action type.
Step 103:Legitimacy verifies are carried out to the primary protocol data by protocol service;
Specifically, parsing obtains carrying out legitimacy school to the primary protocol data by protocol service after primary protocol data Test, the purpose of legitimacy verifies is to detect whether the operational order received is legitimate secure, if legal peace It is complete then to allow to perform subsequent action, if illegal, then the operational order is prevented, and alarm prompt can be sent and disappeared Breath.
Step 104:If verification passes through, the operational order is handled according to the action type.
Specifically, if verification passes through, it is legal to illustrate the operational order, at this point it is possible to according to action type pair Operational order is handled.If action type is page jump, specified page is jumped to according to address url;If action type For method call, then the method according to corresponding to being called address url.
The command processing method schematic flow sheet that Fig. 2 route for a kind of DYNAMIC GENERALIZED provided in an embodiment of the present invention, such as Fig. 2 It is shown:
Step 201:Obtain address url:After user is having trigger action in terminal, address url corresponding to acquisition;
Step 202:Address url is parsed:Address url is parsed by broad sense routing rule, obtains primary agreement number According to;
Step 203:Verification;By runtime mechanism find corresponding class in primary protocol data identify, method mark and The attribute-bit of class, legitimacy verifies are then carried out, if verification passes through, perform step 204, otherwise perform step 205;
Step 204:Processing;Routing center receives the primary protocol data by verification, is found pair by runtime mechanism The class or example answered, and page jump or method call according to corresponding to being carried out action type;
Step 205:Report an error;If verification is not by preventing the execution of operational order, and send warning information.
The present invention is implemented by being parsed according to broad sense routing rule to address url, and acquisition includes action type Primary protocol data, and legitimacy verifies are carried out to primary protocol data, after verification passes through, just operated and referred to according to action type Order is handled, therefore not only support of page turn also supports method call to this method.
On the basis of above-described embodiment, methods described, in addition to:
Policy Updates request is sent to server, so that the server obtains target broad sense route rule corresponding to terminal Then;
The target broad sense routing rule that the server is sent is received, if judging to know the target broad sense route rule Then verification passes through, then is updated operation.
Specifically, in order to realize that APP can dynamically update broad sense routing rule after reaching the standard grade, when terminal knows that APP starts When, terminal can send Policy Updates request to server, wherein, Policy Updates request is for asking to update DYNAMIC GENERALIZED road By.Server services increased version routing configuration information after Policy Updates request is received, according to cms, and calculating obtains automatically The supported target broad sense routing rule of the APP versions is obtained, and the target broad sense routing rule is handed down to terminal.It should illustrate If server learns broad sense routing rule corresponding to the APP of current terminal transmission and the target in cms services after calculating Broad sense routing rule is completed identical, that is to say, that without the target broad sense routing rule of redaction, then, server then will not be to Terminal issues target broad sense routing rule.Terminal is after the target broad sense routing rule of server transmission is received, it is necessary to mesh Mark broad sense routing rule is verified, and verifies and target broad sense routing rule is replaced into original broad sense routing rule after passing through, with Realize renewal operation.
Fig. 3 is the schematic flow sheet of renewal broad sense routing rule provided in an embodiment of the present invention, as shown in Figure 3:
Step 301:Send target broad sense routing rule;According to being actually needed, beforehand through cms system configuration target broad sense Routing rule, and the target broad sense routing rule is sent to server;
Step 302:Initiate request;When APP starts, terminal to server initiates Policy Updates request, while carries APP The authentication parameter of version number, MD5 marks and APP;
Step 303:Obtain target broad sense routing rule;After server receives Policy Updates request, according to authentication parameter APP is authenticated, after authentication passes through, according to APP version numbers and the routing configuration information of MD5 marks and server storage, meter Calculate the target broad sense routing rule for needing to issue;
Step 304:Return;Authenticating result and target broad sense routing rule are returned to terminal by server;
Step 305:Renewal;Client carries out legitimacy verifies to the target broad sense routing rule received, and verification passes through Target broad sense routing rule is replaced to original broad sense routing rule afterwards, to realize renewal operation.
The embodiment of the present invention avoids page jump in the prior art by being dynamically updated to broad sense routing rule Scheme after reaching the standard grade when being suggested, it is necessary to the problem of can just being supported in next hair version so that the broad sense route after renewal Rule can be used in real time.
It is described that legitimacy school is carried out to the primary protocol data by protocol service on the basis of above-described embodiment Test, including:
The attribute mark of class mark, method mark and class according to corresponding to runtime mechanism obtains the primary protocol data Know, legitimacy verifies are carried out according to the attribute-bit of class mark, methods described mark and the class.
Specifically, the principle that legitimacy verifies are carried out to primary protocol data is the runtime mechanism in IOS systems Characteristic look for the attribute-bit of the mark of class corresponding to primary protocol data, method mark and class, and the class by searching out The attribute-bit of mark, method mark and class carries out legitimacy verifies.It should be noted that can be with by runtime mechanism The other specification in primary protocol data is obtained, the embodiment of the present invention is not specifically limited to this.
The embodiment of the present invention obtains class mark corresponding to primary protocol data, method mark and class by runtime mechanism Attribute-bit, and carry out legitimacy verifies, by legitimacy verifies improve network, equipment security.
On the basis of above-described embodiment, the action type includes page jump and method call, described in the basis Action type is handled the operational order, including:
If the action type is the page jump, classes of pages or the page according to corresponding to obtaining runtime mechanism Example, page jump is carried out according to the classes of pages or the page instance;
If the action type is method call, method class or method according to corresponding to obtaining the runtime mechanism Example, method call is carried out according to methods described class or methods described example.
Specifically, action type includes page jump and method call, if learning operation by the parsing to address url Type is page jump, then according to execution type, method of calling and the parameter shown in runtime mechanism and broad sense routing rule Classes of pages or page instance corresponding to the searching such as configuration, page jump behaviour is carried out according to the classes of pages or page instance searched out Make.If learn that action type is method call by parsing, according to runtime mechanism, and according in broad sense routing rule Execution type, method of calling and parameter configuration for showing etc., corresponding method class or method example are found, according to method class or side Method example carries out method call.
The embodiment of the present invention by being operated accordingly according to action type, and action type can be that the page is jumped Turn or method call, therefore the present invention not only support of page turn, also support method call.
On the basis of above-described embodiment, the broad sense routing rule, including, application message is reflected with system operatio attribute Penetrate relation;Wherein,
The application message includes:Application identities, version number's scope and address url;
The system operatio attribute includes:The attribute-bit of class mark, instance identification and class.
Specifically, broad sense routing rule is made up of a mapping table, mapping table includes application message and system operatio Mapping relations between attribute.Wherein application message is the related information of APP, such as:Application identities, version number's scope and address Url etc., system operatio attribute include the information such as the attribute-bit of class mark, instance identification, method mark and class, one group of application letter The corresponding system system operational attribute of breath.
The present invention is implemented by being parsed according to broad sense routing rule to address url, and acquisition includes action type Primary protocol data, and legitimacy verifies are carried out to primary protocol data, after verification passes through, just operated and referred to according to action type Order is handled, therefore not only support of page turn also supports method call to this method, and without by specific agreement to service Center is registered, and it is invasive to avoid business.
On the basis of the various embodiments described above, methods described, in addition to:
If verification is not by being prevented the operational order and sending alarm.
Specifically, it is necessary to be carried out to primary protocol data after primary protocol data is obtained after being parsed to address url Legitimacy verifies, if legitimacy verifies are not by needing to prevent the operational order and send alarm.So that it is guaranteed that The security of operation.
Fig. 4 is a kind of instruction processing unit structural representation based on DYNAMIC GENERALIZED route provided in an embodiment of the present invention, As shown in figure 4, described device includes:Receiving module 401, parsing module 402, correction verification module 403 and processing module 404, wherein:
Receiving module 401 is used to receive the operational order that user triggers according to demand, and the operational order includes address url;Parsing module 402 is used to parse the address url according to broad sense routing rule, obtains primary protocol data, institute Stating primary protocol data includes action type;Correction verification module 403 is used to carry out the primary protocol data by protocol service Legitimacy verifies;If processing module 404 be used for verify pass through, according to the action type to the operational order at Reason.
Specifically, after user opens an APP by user terminal, some trigger actions can be carried out on the APP, when User just generates an operational order after triggering an operation according to demand, and now, receiving module 401 receives the operation and referred to Order, it is to be understood that the operational order includes address url, i.e. the operational order can carry out page jump, also may be used To be to want method call, if page jump, then address url seeks to the address of the page redirected, if method Call, then address url is exactly the storage location of called method.It should be noted that the embodiment of the present invention is directed to IOS systems The terminal of system.After operational order is received, parsing module 402 parses to the address url in operational order, is parsed Address url afterwards, the address url after then being parsed again by broad sense routing rule are changed, and obtaining IOS systems can identify Primary protocol data, wherein, broad sense routing rule is a mapping table, and dynamic mapping is carried out by address url after parsing, Mapping data, finally constitute primary protocol data corresponding to getting.And the primary protocol data includes action type.Verification Module 403 obtains carrying out legitimacy verifies to the primary protocol data by protocol service after primary protocol data to parsing, closes The purpose of method verification is to detect whether the operational order received is legitimate secure, if legitimate secure is then Allow to perform subsequent action, if illegal, then prevent the operational order, and alarm prompt message can be sent.Such as Fruit verification passes through, then it is legal to illustrate the operational order, and now, processing module 404 can refer to according to action type to operation Order is handled.If action type is page jump, specified page is jumped to according to address url;If action type is method Call, then the method according to corresponding to being called address url.
The embodiment of device provided by the invention specifically can be used for the handling process for performing above-mentioned each method embodiment, its Function will not be repeated here, and be referred to the detailed description of above method embodiment.
The present invention is implemented by being parsed according to broad sense routing rule to address url, and acquisition includes action type Primary protocol data, and legitimacy verifies are carried out to primary protocol data, after verification passes through, just operated and referred to according to action type Order is handled, therefore not only support of page turn also supports method call to this method.
On the basis of above-described embodiment, described device, in addition to:
Sending module, for sending Policy Updates request to server, so that the server obtains mesh corresponding to terminal Mark broad sense routing rule;
Update module, the target broad sense routing rule sent for receiving the server, if judging to know described The verification of target broad sense routing rule passes through, then is updated operation.
Specifically, in order to realize that APP can dynamically update broad sense routing rule after reaching the standard grade, when terminal knows that APP starts When, sending module can send Policy Updates request to server, wherein, Policy Updates request is for asking renewal dynamic wide Justice route.Server services increased version routing configuration information after Policy Updates request is received, according to cms and counted automatically Calculate and obtain the supported target broad sense routing rule of the APP versions, and the target broad sense routing rule is handed down to terminal.Should Illustrate, if server learns that broad sense routing rule corresponding to the APP of current terminal transmission services with cms after calculating in Target broad sense routing rule is completed identical, that is to say, that without the target broad sense routing rule of redaction, then, server is then not Target broad sense routing rule can be issued to terminal.Update module receive server transmission target broad sense routing rule after, Need to verify target broad sense routing rule, verification replaces target broad sense routing rule original broad sense route after passing through Rule, to realize renewal operation.
The embodiment of system provided by the invention specifically can be used for the handling process for performing above-mentioned each method embodiment, its Function will not be repeated here, and be referred to the detailed description of above method embodiment.
The embodiment of the present invention avoids page jump in the prior art by being dynamically updated to broad sense routing rule Scheme after reaching the standard grade when being suggested, it is necessary to the problem of can just being supported in next hair version so that the broad sense route after renewal Rule can be used in real time.
Fig. 5 is electronic equipment entity structure schematic diagram provided in an embodiment of the present invention, as shown in figure 5, the electronic equipment, Including:Processor (processor) 501, memory (memory) 502 and bus 503;Wherein,
The processor 501 and memory 502 complete mutual communication by the bus 503;
The processor 501 is used to call the programmed instruction in the memory 502, to perform above-mentioned each method embodiment The method provided, such as including:The operational order that user triggers according to demand is received, the operational order includes address url; The address url is parsed according to broad sense routing rule, obtains primary protocol data, the primary protocol data includes behaviour Make type;Legitimacy verifies are carried out to the primary protocol data by protocol service;If verification passes through, according to the operation Type is handled the operational order.
The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating Computer program on machine readable storage medium storing program for executing, the computer program include programmed instruction, when described program instruction is calculated When machine performs, computer is able to carry out the method that above-mentioned each method embodiment is provided, such as including:Receive user according to demand The operational order of triggering, the operational order include address url;The address url is parsed according to broad sense routing rule, Primary protocol data is obtained, the primary protocol data includes action type;By protocol service to the primary protocol data Carry out legitimacy verifies;If verification passes through, the operational order is handled according to the action type.
The present embodiment provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage medium storing program for executing Computer instruction is stored, the computer instruction makes the computer perform the method that above-mentioned each method embodiment is provided, example Such as include:The operational order that user triggers according to demand is received, the operational order includes address url;It is route and is advised according to broad sense Then the address url is parsed, obtains primary protocol data, the primary protocol data includes action type;Pass through association View service carries out legitimacy verifies to the primary protocol data;If verification passes through, according to the action type to the behaviour Handled as instruction.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
The embodiments such as device described above are only schematical, wherein the unit illustrated as separating component It can be or may not be physically separate, can be as the part that unit is shown or may not be physics list Member, you can with positioned at a place, or can also be distributed on multiple NEs.It can be selected according to the actual needs In some or all of module realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness Work in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers Make to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation Method described in some parts of example or embodiment.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (10)

  1. A kind of 1. command processing method based on DYNAMIC GENERALIZED route, it is characterised in that including:
    The operational order that user triggers according to demand is received, the operational order includes address url;
    The address url is parsed according to broad sense routing rule, obtains primary protocol data, the primary protocol data bag Include action type;
    Legitimacy verifies are carried out to the primary protocol data by protocol service;
    If verification passes through, the operational order is handled according to the action type.
  2. 2. according to the method for claim 1, it is characterised in that methods described, in addition to:
    Policy Updates request is sent to server, so that the server obtains target broad sense routing rule corresponding to terminal;
    The target broad sense routing rule that the server is sent is received, if judging to know the target broad sense routing rule school Test by being then updated operation.
  3. 3. according to the method for claim 1, it is characterised in that described that the primary protocol data is entered by protocol service Row legitimacy verifies, including:
    The attribute-bit of class mark, method mark and class, root according to corresponding to runtime mechanism obtains the primary protocol data Legitimacy verifies are carried out according to the attribute-bit of class mark, methods described mark and the class.
  4. 4. according to the method for claim 1, it is characterised in that the action type includes page jump and method call, It is described that the operational order is handled according to the action type, including:
    If the action type is the page jump, classes of pages or page instance according to corresponding to obtaining runtime mechanism, Page jump is carried out according to the classes of pages or the page instance;
    If the action type is method call, method class or method example according to corresponding to obtaining the runtime mechanism, Method call is carried out according to methods described class or methods described example.
  5. 5. according to the method for claim 1, it is characterised in that the broad sense routing rule, including, application message and system The mapping relations of operational attribute;Wherein,
    The application message includes:Application identities, version number's scope and address url;
    The system operatio attribute includes:The attribute-bit of class mark, instance identification and class.
  6. 6. according to the method described in claim any one of 1-5, it is characterised in that methods described, in addition to:
    If verification is not by being prevented the operational order and sending alarm.
  7. A kind of 7. instruction processing unit based on DYNAMIC GENERALIZED route, it is characterised in that including:
    Receiving module, the operational order triggered according to demand for receiving user, the operational order include address url;
    Parsing module, for being parsed according to broad sense routing rule to the address url, primary protocol data is obtained, it is described Primary protocol data includes action type;
    Correction verification module, for carrying out legitimacy verifies to the primary protocol data by protocol service;
    Processing module, if passing through for verifying, the operational order is handled according to the action type.
  8. 8. device according to claim 7, it is characterised in that described device, in addition to:
    Sending module, for sending Policy Updates request to server, so that target corresponding to server acquisition terminal is wide Adopted routing rule;
    Update module, the target broad sense routing rule sent for receiving the server, if judging to know the target The verification of broad sense routing rule passes through, then is updated operation.
  9. 9. a kind of electronic equipment, it is characterised in that including:Processor, memory and bus, wherein,
    The processor and the memory complete mutual communication by the bus;
    The memory storage has can be by the programmed instruction of the computing device, and the processor calls described program instruction energy Enough perform the method as described in claim any one of 1-6.
  10. 10. a kind of non-transient computer readable storage medium storing program for executing, it is characterised in that the non-transient computer readable storage medium storing program for executing is deposited Computer instruction is stored up, the computer instruction makes the computer perform the method as described in claim any one of 1-6.
CN201710899200.9A 2017-09-28 2017-09-28 Instruction processing method and device based on dynamic generalized routing Active CN107835228B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710899200.9A CN107835228B (en) 2017-09-28 2017-09-28 Instruction processing method and device based on dynamic generalized routing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710899200.9A CN107835228B (en) 2017-09-28 2017-09-28 Instruction processing method and device based on dynamic generalized routing

Publications (2)

Publication Number Publication Date
CN107835228A true CN107835228A (en) 2018-03-23
CN107835228B CN107835228B (en) 2020-08-25

Family

ID=61644148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710899200.9A Active CN107835228B (en) 2017-09-28 2017-09-28 Instruction processing method and device based on dynamic generalized routing

Country Status (1)

Country Link
CN (1) CN107835228B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271267A (en) * 2018-08-27 2019-01-25 北京达佳互联信息技术有限公司 Route data processing method, device, electronic equipment and storage medium
CN111125604A (en) * 2019-12-30 2020-05-08 华人运通(上海)云计算科技有限公司 Page management method and device, terminal equipment and storage medium
CN113489650A (en) * 2021-06-30 2021-10-08 中国平安人寿保险股份有限公司 Routing method, device and equipment of client and storage medium
CN113641936A (en) * 2021-08-12 2021-11-12 百度在线网络技术(北京)有限公司 Method and device for page jump, electronic equipment and storage medium
CN113938388A (en) * 2021-10-14 2022-01-14 工银科技有限公司 Parameter verification method and device for service interface
CN114780800A (en) * 2022-04-25 2022-07-22 京东城市(北京)数字科技有限公司 Multilink routing management method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040046787A1 (en) * 2001-06-01 2004-03-11 Attachmate Corporation System and method for screen connector design, configuration, and runtime access
CN105141709A (en) * 2015-07-24 2015-12-09 北京奇虎科技有限公司 Method and device for determining page jump in application program
CN105354034A (en) * 2015-11-17 2016-02-24 贵阳朗玛信息技术股份有限公司 Page jump method and device for application program
CN106951233A (en) * 2017-03-02 2017-07-14 广州天高软件科技有限公司 Mixed mode smart mobile phone application development framework

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040046787A1 (en) * 2001-06-01 2004-03-11 Attachmate Corporation System and method for screen connector design, configuration, and runtime access
CN105141709A (en) * 2015-07-24 2015-12-09 北京奇虎科技有限公司 Method and device for determining page jump in application program
CN105354034A (en) * 2015-11-17 2016-02-24 贵阳朗玛信息技术股份有限公司 Page jump method and device for application program
CN106951233A (en) * 2017-03-02 2017-07-14 广州天高软件科技有限公司 Mixed mode smart mobile phone application development framework

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271267A (en) * 2018-08-27 2019-01-25 北京达佳互联信息技术有限公司 Route data processing method, device, electronic equipment and storage medium
CN111125604A (en) * 2019-12-30 2020-05-08 华人运通(上海)云计算科技有限公司 Page management method and device, terminal equipment and storage medium
CN111125604B (en) * 2019-12-30 2024-03-15 华人运通(上海)云计算科技有限公司 Page management method and device, terminal equipment and storage medium
CN113489650A (en) * 2021-06-30 2021-10-08 中国平安人寿保险股份有限公司 Routing method, device and equipment of client and storage medium
CN113489650B (en) * 2021-06-30 2022-10-21 中国平安人寿保险股份有限公司 Routing method, device and equipment of client and storage medium
CN113641936A (en) * 2021-08-12 2021-11-12 百度在线网络技术(北京)有限公司 Method and device for page jump, electronic equipment and storage medium
CN113641936B (en) * 2021-08-12 2023-08-11 百度在线网络技术(北京)有限公司 Method, device, electronic equipment and storage medium for page skip
CN113938388A (en) * 2021-10-14 2022-01-14 工银科技有限公司 Parameter verification method and device for service interface
CN114780800A (en) * 2022-04-25 2022-07-22 京东城市(北京)数字科技有限公司 Multilink routing management method and device

Also Published As

Publication number Publication date
CN107835228B (en) 2020-08-25

Similar Documents

Publication Publication Date Title
CN107835228A (en) A kind of command processing method and device based on DYNAMIC GENERALIZED route
CN104519018B (en) A kind of methods, devices and systems preventing the malicious requests for server
CN102332072B (en) System and method for detection of malware and management of malware-related information
EP3178011B1 (en) Method and system for facilitating terminal identifiers
US20040205411A1 (en) Method of detecting malicious scripts using code insertion technique
CN109768992B (en) Webpage malicious scanning processing method and device, terminal device and readable storage medium
US11336676B2 (en) Centralized trust authority for web application components
CN103607385A (en) Method and apparatus for security detection based on browser
CN104396220A (en) Method and device for secure content retrieval
US20130139217A1 (en) Method and apparatus for executing security policy script, security policy system
CN110400217B (en) Rule change processing method and device for intelligent contract
CN103152365A (en) Data validation method for validating data and server for validating data
WO2009059206A1 (en) Executable download tracking system
US10621345B1 (en) File security using file format validation
CN110636038A (en) Account number analysis method, account number analysis device, security gateway and system
US20220021691A1 (en) Creation of generalized code templates to protect web application components
EP4327220A1 (en) Automated contextual understanding of unstructured security documents
US11729192B2 (en) Malware detection using document object model inspection
CN111371811B (en) Resource calling method, resource calling device, client and service server
CN111917760B (en) Network collaborative manufacturing cross-domain fusion trust management and control method based on identification analysis
CN105873030A (en) Method for performing countersigning on an application of terminal
CN112613893A (en) Method, system, equipment and medium for identifying malicious user registration
CN106888094A (en) A kind of endorsement method and server
EP4152729B1 (en) Interactive email warning tags
CN110177096A (en) Client certificate method, apparatus, medium and calculating equipment

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
CB02 Change of applicant information

Address after: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing

Applicant after: Seashell Housing (Beijing) Technology Co.,Ltd.

Address before: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing

Applicant before: LIANJIA(BEIJING) TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant