Abstract:
A method for controlling quality of service, including receiving an application programming interface (API) call request that a user terminal is triggered to send when an application (APP) is being used, where the API call request carries a user identifier of the APP and an identifier of the APP, acquiring a quality of service control policy of the APP according to the identifier of the APP and the user identifier of the APP, and controlling, according to the quality of service control policy of the APP, quality of service of a user indicated by the user identifier. Hence, quality of service control can be provided for an APP that registers with an API management device, which improves the APP development efficiency.
Abstract:
A method for controlling quality of service, including receiving an application programming interface (API) call request that a user terminal is triggered to send when an application (APP) is being used, where the API call request carries a user identifier of the APP and an identifier of the APP, acquiring a quality of service control policy of the APP according to the identifier of the APP and the user identifier of the APP, and controlling, according to the quality of service control policy of the APP, quality of service of a user indicated by the user identifier. Hence, quality of service control can be provided for an APP that registers with an API management device, which improves the APP development efficiency.
Abstract:
A method for generating a plurality of indexed data fields based on a pattern set comprising a plurality of patterns, the method comprising detecting for each pattern from the pattern set a pattern offset; creating for each pattern offset in the pattern set an indexed pattern group, wherein the index of the indexed pattern group corresponds to the pattern offset; adding each pattern in the pattern set having the same pattern offset to the indexed pattern group having an index corresponding to the pattern offset; adding each pattern having no specific pattern offset to each of the indexed pattern groups; and compiling each indexed pattern group into an indexed data field.
Abstract:
A method for generating a plurality of indexed data fields based on a pattern set comprising a plurality of patterns, the method comprising detecting for each pattern from the pattern set a pattern offset; creating for each pattern offset in the pattern set an indexed pattern group, wherein the index of the indexed pattern group corresponds to the pattern offset; adding each pattern in the pattern set having the same pattern offset to the indexed pattern group having an index corresponding to the pattern offset; adding each pattern having no specific pattern offset to each of the indexed pattern groups; and compiling each indexed pattern group into an indexed data field.