Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Resource configuration method and device for function call

A resource configuration and function call technology, applied in the field of Internet applications, can solve problems such as cross-site attacks, users cannot call functions, and cannot be satisfied, so as to reduce network attacks, improve configuration efficiency, and meet application requirements.

Active Publication Date: 2017-05-24
阿里巴巴(中国)网络技术有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, the open socket connection (fsockopen) function of the virtual host that provides the PHP environment has the danger of causing cross-site attacks when the site is hanged
[0003] To solve the above problems, the general Internet application service provider closes the fsockopen function, so that all users cannot call this function
This one-size-fits-all existing processing method avoids negative effects such as network attacks that may be caused by function calls, but at the same time, it cannot meet users' legitimate application requirements for calling functions from third-party applications (such as discuz, shopex, dedecms, etc.)

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Resource configuration method and device for function call
  • Resource configuration method and device for function call

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Elements and features described in one drawing or one embodiment of the present invention may be combined with elements and features shown in one or more other drawings or embodiments. It should be noted that representation and description of components and processes that are not related to the present invention and known to those of ordinary skill in the art are omitted from the drawings and descriptions for the purpose of clarity. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the ar...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a resource allocation method and a resource allocation device for invoking a function. The resource allocation method for invoking the function includes: receiving an invocation request for a predefined function, sent by a process; confirming whether the invocation request can be accepted or not, if yes, allocating system resources needed by invocation of the predefined function to the process, and if not, suspending, interrupting or terminating the process. The resource allocation method and the resource allocation device for invoking the function achieve pertinence control for the invocation of the function, improve allocation efficiency of the system resources, and can satisfy diversified application requirements of a user well.

Description

technical field [0001] The present invention relates to the technical field of Internet applications, in particular to a resource configuration method and device for function calls. Background technique [0002] In order to prevent network attacks from exhausting a large amount of system resources, certain functions are restricted or prohibited from being called in the field of Internet application technology. For example, the open socket connection (fsockopen) function of the virtual host that provides the PHP environment has the danger of causing cross-site attacks when the site is hanged. [0003] In view of the above problems, the general Internet application service provider closes the fsockopen function, so that all users cannot call this function. This one-size-fits-all existing processing method avoids negative effects such as network attacks that may be caused by function calls, but at the same time, it cannot meet users' legitimate application requirements for cal...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/445G06F9/48
Inventor 杨杰
Owner 阿里巴巴(中国)网络技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products