CN110324410A - Initiate method, apparatus, computer equipment and the storage medium of web-page requests - Google Patents

Initiate method, apparatus, computer equipment and the storage medium of web-page requests Download PDF

Info

Publication number
CN110324410A
CN110324410A CN201910527311.6A CN201910527311A CN110324410A CN 110324410 A CN110324410 A CN 110324410A CN 201910527311 A CN201910527311 A CN 201910527311A CN 110324410 A CN110324410 A CN 110324410A
Authority
CN
China
Prior art keywords
interface
address
user instruction
webpage
web
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
CN201910527311.6A
Other languages
Chinese (zh)
Other versions
CN110324410B (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.)
China Southern Power Grid Co Ltd
Original Assignee
China Southern Power Grid 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 China Southern Power Grid Co Ltd filed Critical China Southern Power Grid Co Ltd
Priority to CN201910527311.6A priority Critical patent/CN110324410B/en
Publication of CN110324410A publication Critical patent/CN110324410A/en
Application granted granted Critical
Publication of CN110324410B publication Critical patent/CN110324410B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This application involves a kind of method, apparatus, computer equipment and storage mediums for initiating web-page requests.The described method includes: obtaining the interface IP address configuration information and the corresponding application programming interface information of the user instruction of webpage after detecting user instruction;The user instruction is the operational order that user inputs in the display interface of the webpage;If the current operating environment of the webpage is set environment, judge the corresponding service sub-system of the user instruction with the presence or absence of specified interface address according to the interface IP address configuration information;If so, generating actual access address according to the specified interface address and the application programming interface information;Web-page requests are initiated according to the actual access address.The initiation efficiency that can be guaranteed the corresponding web-page requests of user instruction using this method is allow background server quickly to read the corresponding web-page requests of user instruction, timely responds to above-mentioned user instruction.

Description

Initiate method, apparatus, computer equipment and the storage medium of web-page requests
Technical field
This application involves Internet technical fields, more particularly to a kind of method, apparatus for initiating web-page requests, computer Equipment and storage medium.
Background technique
When webpage detects the dependent instruction of user's input, generally require to initiate web-page requests according to instruction detected, Handle background server for web-page requests, to respond to the instruction that user inputs.Traditional scheme usually requires The characteristic informations such as application programming interface information are extracted in relevant control instruction for user's input, and identification generates the spy of variation Reference breath is modified the associated service of the characteristic information for generating variation, accordingly respectively to generate the control that user is inputted Corresponding web-page requests are instructed, the available accurate web-page requests of server are made, the control instruction of user's input is rung It answers, above-mentioned traditional scheme initiates the data handling procedure complexity during web-page requests, and the initiation of web-page requests is easy to cause to imitate Rate is low.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of initiation that can be improved web-page requests and initiate efficiency Method, apparatus, computer equipment and the storage medium of web-page requests.
A method of initiating web-page requests, which comprises
After detecting user instruction, interface IP address configuration information and the user instruction for obtaining webpage are corresponding using journey Sequence programming interface information;User instruction is the operational order that user inputs in the display interface of webpage;
If the current operating environment of webpage is set environment, judge that user instruction is corresponding according to interface IP address configuration information Service sub-system whether there is specified interface address;
If so, generating actual access address according to specified interface address and application programming interface information;
Web-page requests are initiated according to actual access address.
In one embodiment, above-mentioned to judge that the corresponding service sub-system of user instruction is according to interface IP address configuration information It is no that there are specified interface addresses to include:
If there are the associated interface IP addresses of current business subsystem in interface IP address configuration information, current business is determined There are specified interface addresses for system;Current business subsystem is the corresponding service sub-system of user instruction.
As one embodiment, the above method further include:
If interface IP address configuration information has the associated interface IP address mapping relations of current business subsystem, determining interface There are the associated interface IP addresses of current business subsystem in address configuration information.
In one embodiment, the above method further include:
Obtain the frame parameter of webpage;
If determining the current operating environment of webpage for set environment comprising setting variable in frame parameter.
In one embodiment, above-mentioned according to specified interface address and application programming interface information, generate practical visit Ask that address includes:
Specified interface address and application programming interface information are merged, actual access address is obtained.
In one embodiment, obtaining the corresponding application programming interface information of user instruction includes:
The request path for obtaining user instruction generates application programming interface information according to request path.
In one embodiment, above-mentioned set environment is exploitation environment.
A kind of device for initiating web-page requests, described device include:
First obtains module, for after detecting user instruction, obtaining the interface IP address configuration information and use of webpage Family instructs corresponding application programming interface information;User instruction is that user refers in the operation that the display interface of webpage inputs It enables;
Judgment module judges if the current operating environment for webpage is set environment according to interface IP address configuration information The corresponding service sub-system of user instruction whether there is specified interface address;
Generation module is used for if so, generating practical visit according to specified interface address and application programming interface information Ask address;
Initiation module, for initiating web-page requests according to actual access address.
A kind of computer equipment can be run on a memory and on a processor including memory, processor and storage Computer program, the processor realize the side of the initiation web-page requests of any of the above-described embodiment when executing the computer program The step of method.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of method of initiation web-page requests of any of the above-described embodiment is realized when row.
Method, apparatus, computer equipment and the storage medium of above-mentioned initiation web-page requests, after detecting user instruction, The corresponding application programming interface information of the interface IP address configuration information and user instruction of available webpage, in working as webpage When preceding running environment is set environment, judge whether the corresponding service sub-system of user instruction is deposited according to interface IP address configuration information In specified interface address, and if it exists, then with generating actual access according to specified interface address and application programming interface information Location, directly to initiate web-page requests according to actual access address, it is ensured that the initiation of the corresponding web-page requests of user instruction is imitated Rate allows background server quickly to read above-mentioned web-page requests, timely responds to user instruction.
Detailed description of the invention
Fig. 1 is the flow diagram that the method for web-page requests is initiated in one embodiment;
Fig. 2 is the structural block diagram that the device of web-page requests is initiated in one embodiment;
Fig. 3 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
The method provided by the present application for initiating web-page requests, can be applied to the control unit of all kinds of webpages.Above-mentioned control Unit can detecte user and obtain the interface IP address of webpage after detecting user instruction for all kinds of instructions of webpage input Configuration information and the corresponding application programming interface information of user instruction, if the current operating environment of webpage is setting ring Border judges the corresponding service sub-system of user instruction with the presence or absence of specified interface address according to interface IP address configuration information;If with Family instructs corresponding service sub-system, and there are specified interface addresses, then believe according to specified interface address and application programming interface Breath generates actual access address;Web-page requests are initiated according to actual access address.The process of above-mentioned initiation web-page requests only need to be according to It is generated according to the specified interface address of current business subsystem and the corresponding application programming interface information of user instruction practical Access address can initiate corresponding web page request, be effectively simplified data handling procedure therein, web-page requests can be improved Initiation efficiency, thus improve background server be directed to user instruction response efficiency.
In one embodiment, as shown in Figure 1, providing a kind of method for initiating web-page requests, it is applied in this way It is illustrated for the control unit of all kinds of webpages, comprising the following steps:
S210, after detecting user instruction, interface IP address configuration information and the user instruction for obtaining webpage are corresponding Application programming interface information;User instruction is the operational order that user inputs in the display interface of webpage.
When the operation such as needing to inquire, browse by webpage, the display interface that can be entered the Web page is being shown user Interface is by input inquiry field or clicks the forms such as correlation function button input dependent instruction, makes the control unit of webpage can To detect user instruction in time.Above-mentioned application programming interface information can be the request generated when detecting user instruction API information.
Above-mentioned interface IP address configuration information may include interface that the corresponding each service sub-system of webpage is respectively configured Location;Specifically, in the corresponding each service sub-system of webpage there are specified interface IP address, some industry in some service sub-systems Being engaged in, there is no specified interface IP addresses for subsystem;It can be the industry if certain service sub-system is there is no specified interface IP address The interface IP address for subsystem difference control unit default of being engaged in.Above-mentioned interface IP address configuration information can be API (Application Programming Interface, application programming interface) interface IP address configuration information.
S230 judges user instruction according to interface IP address configuration information if the current operating environment of webpage is set environment Corresponding service sub-system whether there is specified interface address.
The corresponding service sub-system of user instruction is current business subsystem of control unit during responding user instruction System.Above-mentioned specified interface address is that control unit is the specified api interface address of corresponding service system in advance.In current business When system specifies api interface address, uses the address as the api interface address currently come into force, the API currently to come into force is connect Port address can obtain the corresponding actual access address of user instruction with the merging of corresponding request API information.
Above-mentioned set environment can be in the environment of particular state for the characterization webpage such as exploitation environment.If the current fortune of webpage Row environment is set environment, then the configuration feature of current business subsystem can be further carried out according to interface IP address configuration information Detection;If the current operating environment of webpage is not set environment, corresponding web page request can be initiated, according to the scheme of biography to protect The corresponding web-page requests of card user instruction can be initiated smoothly.
S250, if so, generating actual access address according to specified interface address and application programming interface information.
It above-mentioned actual access address can be corresponding according to the specified interface address of current business subsystem and user instruction Application programming interface information dynamic be spliced, formation efficiency with higher.
S270 initiates web-page requests according to actual access address.
Above-mentioned steps can initiate web-page requests with direct basis actual access address, make the corresponding background server of webpage can Accurately to receive user instructions corresponding web-page requests, respective response is carried out in time, to guarantee that the response for user instruction is imitated Rate.
The method of above-mentioned initiation web-page requests, after detecting user instruction, the interface IP address of available webpage is configured Information and the corresponding application programming interface information of user instruction, when the current operating environment of webpage is set environment, Judge the corresponding service sub-system of user instruction with the presence or absence of specified interface address according to interface IP address configuration information, and if it exists, Actual access address then is generated according to specified interface address and application programming interface information, with straight according to actual access address Sending and receiving play web-page requests, it is ensured that the initiation efficiency of the corresponding web-page requests of user instruction keeps background server quick Above-mentioned web-page requests are read, user instruction is timely responded to.
In one embodiment, above-mentioned to judge that the corresponding service sub-system of user instruction is according to interface IP address configuration information It is no that there are specified interface addresses to include:
If there are the associated interface IP addresses of current business subsystem in interface IP address configuration information, current business is determined There are specified interface addresses for system;Current business subsystem is to state the corresponding service sub-system of user instruction.
The associated interface IP address of certain service sub-system is referred to as the personalized api interface address of the service sub-system. It is alternatively possible to by service sub-system with corresponding personalized api interface address maintenance into a public JS file, so that It can directly be read from above-mentioned JS file when subsequent use, improve its reading efficiency, to improve according to personalized api interface Address executes the efficiency for generating the operations such as actual access address.
The present embodiment can be configured by detecting the interface IP address of current business subsystem for interface IP address configuration information The modes such as information judge whether current business subsystem has associated interface IP address, if so, then current business subsystem is closed The interface IP address of connection is its specified interface address.It can be it if associated interface IP address is not present in current business subsystem The interface IP address of default is distributed, to guarantee the smooth development of related work.
As one embodiment, the above method further include:
If interface IP address configuration information has the associated interface IP address mapping relations of current business subsystem, determining interface There are the associated interface IP addresses of current business subsystem in address configuration information.
Mapping relations of the above-mentioned interface IP address mapping relations between operation system and interface IP address.
The present embodiment can the configuration information to current business subsystem accurately detected, ensure that for current business Accuracy of the subsystem with the presence or absence of the judging result of specified interface address.
In one embodiment, the above method further include:
Obtain the frame parameter of webpage;
If determining the current operating environment of webpage for set environment comprising setting variable in frame parameter.
Said frame parameter can be the configuration parameter of the web page frames such as VUE.Above-mentioned setting variable can be Process.env.NODE_ENV etc. is used to judge the variable of webpage current operating environment.
The present embodiment can the running environment current to webpage accurately detected.
In one embodiment, above-mentioned according to specified interface address and application programming interface information, generate practical visit Ask that address includes:
Specified interface address and application programming interface information are merged, actual access address is obtained.
The present embodiment can be directed to specified the connecing of the corresponding service sub-system of user instruction after detecting user instruction Port address and the corresponding application programming interface information of user instruction merge processing, specifically can dynamically splice above-mentioned finger Stationary interface address and application programming interface information, to obtain the corresponding actual access address of user instruction, without needle respectively Each web page characteristics information associated to user instruction is modified, and the efficiency for obtaining actual access address can be improved.
In one embodiment, obtaining the corresponding application programming interface information of user instruction includes:
The request path for obtaining user instruction generates application programming interface information according to request path.
After the control unit of webpage detects user for the user instruction of web displaying interface input, available user Corresponding request path is instructed, application programming interface information is generated according to request path, connects above-mentioned application programming Message breath matches with user instruction, guarantees the accuracy of the actual access address of subsequent determination.
In one embodiment, above-mentioned set environment is exploitation environment.
When the frame parameter of webpage includes this variable of process.env.NODE_ENV, show the current operation of webpage Environment is exploitation environment, can be with the corresponding configuration information feature of user instruction detected by direct basis with generating actual access Web-page requests are initiated with this in location, guarantee the initiation efficiency of web-page requests.
It should be understood that although each step in the flow chart of Fig. 1 is successively shown according to the instruction of arrow, this A little steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these steps It executes there is no the limitation of stringent sequence, these steps can execute in other order.Moreover, at least part in Fig. 1 Step may include that perhaps these sub-steps of multiple stages or stage are executed in synchronization to multiple sub-steps It completes, but can execute at different times, the execution sequence in these sub-steps or stage, which is also not necessarily, successively to be carried out, But it can be executed in turn or alternately at least part of the sub-step or stage of other steps or other steps.
In one embodiment, as shown in Fig. 2, providing a kind of device for initiating web-page requests, comprising: first obtains mould Block 210, judgment module 230, generation module 250 and initiation module 270, in which:
First obtain module 210, for after detecting user instruction, obtain webpage interface IP address configuration information and The corresponding application programming interface information of user instruction;User instruction is that user refers in the operation that the display interface of webpage inputs It enables;
Judgment module 230 matches confidence according to interface IP address if the current operating environment for the webpage is set environment Breath judges the corresponding service sub-system of user instruction with the presence or absence of specified interface address;
Generation module 250 is used for if so, generating real according to specified interface address and application programming interface information Border access address;
Initiation module 270, for initiating web-page requests according to actual access address.
In one embodiment, above-mentioned judgment module is further used for: if there are current industry in interface IP address configuration information The business associated interface IP address of subsystem, then determining current business subsystem, there are specified interface addresses;Current business subsystem is The corresponding service sub-system of user instruction.
As one embodiment, the device of above-mentioned initiation web-page requests further include:
First determination module reflects if having the associated interface IP address of current business subsystem for interface IP address configuration information Relationship is penetrated, then there are the associated interface IP addresses of current business subsystem in determining interface address configuration information.
In one embodiment, the device of above-mentioned initiation web-page requests further include:
Second obtains module, for obtaining the frame parameter of webpage;
Second determination module, if for, comprising setting variable, determining that the current operating environment of webpage is in frame parameter Set environment.
In one embodiment, above-mentioned generation module is further used for: specified interface address and application programming are connect Message breath merges, and obtains actual access address.
In one embodiment, above-mentioned first acquisition module is further used for: the request path of user instruction is obtained, according to Request path generates application programming interface information.
In one embodiment, above-mentioned set environment is exploitation environment.
Specific about the device for initiating web-page requests limits the method that may refer to above for web-page requests are initiated Restriction, details are not described herein.Modules in the device of above-mentioned initiation web-page requests can be fully or partially through software, hard Part and combinations thereof is realized.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, It can also be stored in a software form in the memory in computer equipment, execute the above modules in order to which processor calls Corresponding operation.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structure Figure can be as shown in Figure 3.The computer equipment includes processor, the memory, network interface, display connected by system bus Screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer equipment is deposited Reservoir includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and computer journey Sequence.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The network interface of machine equipment is used to communicate with external terminal by network connection.When the computer program is executed by processor with Realize a kind of method for initiating web-page requests.The display screen of the computer equipment can be liquid crystal display or electric ink is aobvious Display screen, the input unit of the computer equipment can be the touch layer covered on display screen, be also possible to computer equipment shell Key, trace ball or the Trackpad of upper setting can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 3, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory And the computer program that can be run on a processor, processor perform the steps of when executing computer program
After detecting user instruction, interface IP address configuration information and the user instruction for obtaining webpage are corresponding using journey Sequence programming interface information;User instruction is the operational order that user inputs in the display interface of webpage;
If the current operating environment of webpage is set environment, judge that user instruction is corresponding according to interface IP address configuration information Service sub-system whether there is specified interface address;
If so, generating actual access address according to specified interface address and application programming interface information;
Web-page requests are initiated according to actual access address.
In one embodiment, it is also performed the steps of when processor executes computer program
If there are the associated interface IP addresses of current business subsystem in interface IP address configuration information, current business is determined There are specified interface addresses for system.
In one embodiment, it is also performed the steps of when processor executes computer program
If interface IP address configuration information has the associated interface IP address mapping relations of current business subsystem, determining interface There are the associated interface IP addresses of current business subsystem in address configuration information.
In one embodiment, it is also performed the steps of when processor executes computer program
Obtain the frame parameter of webpage;If determining the current operating environment of webpage comprising setting variable in frame parameter For set environment.
In one embodiment, it is also performed the steps of when processor executes computer program
Specified interface address and application programming interface information are merged, actual access address is obtained.
In one embodiment, it is also performed the steps of when processor executes computer program
The request path for obtaining user instruction generates application programming interface information according to request path.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
After detecting user instruction, interface IP address configuration information and the user instruction for obtaining webpage are corresponding using journey Sequence programming interface information;User instruction is the operational order that user inputs in the display interface of webpage;
If the current operating environment of webpage is set environment, judge that user instruction is corresponding according to interface IP address configuration information Service sub-system whether there is specified interface address;
If so, generating actual access address according to specified interface address and application programming interface information;
Web-page requests are initiated according to actual access address.
In one embodiment, it is also performed the steps of when computer program is executed by processor
If there are the associated interface IP addresses of current business subsystem in interface IP address configuration information, current business is determined There are specified interface addresses for system.
In one embodiment, it is also performed the steps of when computer program is executed by processor
If interface IP address configuration information has the associated interface IP address mapping relations of current business subsystem, determining interface There are the associated interface IP addresses of current business subsystem in address configuration information.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Obtain the frame parameter of webpage;If determining the current operating environment of webpage comprising setting variable in frame parameter For set environment.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Specified interface address and application programming interface information are merged, actual access address is obtained.
In one embodiment, it is also performed the steps of when computer program is executed by processor
The request path for obtaining user instruction generates application programming interface information according to request path.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
It should be noted that term involved in the embodiment of the present application " first second third " be only distinguish it is similar Object does not represent the particular sorted for object, it is possible to understand that ground, " first second third " can be mutual in the case where permission Change specific sequence or precedence.It should be understood that the object that " first second third " is distinguished in the appropriate case can be mutual It changes, so that embodiments herein described herein can be real with the sequence other than those of illustrating or describing herein It applies.
The term " includes " of the embodiment of the present application and " having " and their any deformations, it is intended that cover non-exclusive Include.Such as contain series of steps or module process, method, device, product or equipment be not limited to it is listed Step or module, but optionally further comprising the step of not listing or module, or optionally further comprising for these processes, side Method, product or equipment intrinsic other steps or module.
Referenced herein " multiple " refer to two or more."and/or", the association for describing affiliated partner are closed System indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, individualism These three situations of B.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of method for initiating web-page requests, which is characterized in that the described method includes:
After detecting user instruction, interface IP address configuration information and the user instruction for obtaining webpage are corresponding using journey Sequence programming interface information;The user instruction is the operational order that user inputs in the display interface of the webpage;
If the current operating environment of the webpage is set environment, judge that the user refers to according to the interface IP address configuration information Enable corresponding service sub-system with the presence or absence of specified interface address;
If so, generating actual access address according to the specified interface address and the application programming interface information;
Web-page requests are initiated according to the actual access address.
2. the method according to claim 1, wherein described according to interface IP address configuration information judgement The corresponding service sub-system of user instruction whether there is specified interface address
If there are the associated interface IP addresses of current business subsystem in the interface IP address configuration information, the current industry is determined Being engaged in, there are specified interface addresses for subsystem;The current business subsystem is the corresponding service sub-system of the user instruction.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
If the interface IP address configuration information has the associated interface IP address mapping relations of the current business subsystem, determine There are the associated interface IP addresses of current business subsystem in the interface IP address configuration information.
4. the method according to claim 1, wherein the method also includes:
Obtain the frame parameter of the webpage;
If determining the current operating environment of the webpage for set environment comprising setting variable in the frame parameter.
5. method according to any one of claims 1 to 4, which is characterized in that it is described according to the specified interface address and The application programming interface information generates actual access address, comprising:
The specified interface address and the application programming interface information are merged, actual access address is obtained.
6. method according to any one of claims 1 to 4, which is characterized in that obtain the corresponding application of the user instruction Program Interfaces information includes:
The request path for obtaining the user instruction generates the application programming interface information according to the request path.
7. method according to any one of claims 1 to 4, which is characterized in that the set environment is exploitation environment.
8. a kind of device for initiating web-page requests, which is characterized in that described device includes:
First obtain module, for after detecting user instruction, obtain webpage interface IP address configuration information and the use Family instructs corresponding application programming interface information;The user instruction is that user inputs in the display interface of the webpage Operational order;
Judgment module, if the current operating environment for the webpage is set environment, according to the interface IP address configuration information Judge the corresponding service sub-system of the user instruction with the presence or absence of specified interface address;
Generation module is used for if so, generating according to the specified interface address and the application programming interface information real Border access address;
Initiation module, for initiating web-page requests according to the actual access address.
9. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that the processor realizes any one of claims 1 to 7 institute when executing the computer program The step of stating method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
CN201910527311.6A 2019-06-18 2019-06-18 Method, device, computer equipment and storage medium for initiating webpage request Active CN110324410B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910527311.6A CN110324410B (en) 2019-06-18 2019-06-18 Method, device, computer equipment and storage medium for initiating webpage request

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910527311.6A CN110324410B (en) 2019-06-18 2019-06-18 Method, device, computer equipment and storage medium for initiating webpage request

Publications (2)

Publication Number Publication Date
CN110324410A true CN110324410A (en) 2019-10-11
CN110324410B CN110324410B (en) 2022-04-05

Family

ID=68119736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910527311.6A Active CN110324410B (en) 2019-06-18 2019-06-18 Method, device, computer equipment and storage medium for initiating webpage request

Country Status (1)

Country Link
CN (1) CN110324410B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148571A (en) * 2020-07-08 2020-12-29 青岛窗外科技有限公司 Method and device for recording and playing back webpage operation process
CN117033030A (en) * 2023-08-25 2023-11-10 玻尔科技成都有限公司 Application program interface scheduling system and method based on large-scale language model

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923560A (en) * 2010-04-03 2010-12-22 崔志明 Sorting technique of deep web database only providing simple query interface
US20110125869A1 (en) * 2006-04-21 2011-05-26 Fortinet, Inc. Network advertising system
CN102137118A (en) * 2011-04-26 2011-07-27 苏州阔地网络科技有限公司 Method and system for web security synchronous browse based on webpage
CN102693280A (en) * 2012-04-28 2012-09-26 广州市动景计算机科技有限公司 Webpage browsing method, WebApp framework, method and device for executing JavaScript, and mobile terminal
CN103701849A (en) * 2013-11-20 2014-04-02 卓易畅游(北京)科技有限公司 Method and equipment for operating mobile equipment through user equipment
CN104408204A (en) * 2014-12-18 2015-03-11 北京国双科技有限公司 Method and device for obtaining webpage page link address
CN104423991A (en) * 2013-08-26 2015-03-18 阿里巴巴集团控股有限公司 Webpage loading and webpage data providing method and device of mobile terminal
CN104602034A (en) * 2014-12-31 2015-05-06 北京奇艺世纪科技有限公司 Mobile webpage playing method and system
WO2017005873A1 (en) * 2015-07-07 2017-01-12 ShopCo GmbH Method for assisted order handling via the internet
US20170063806A1 (en) * 2015-09-01 2017-03-02 United Parcel Service Of America, Inc. Facilitating remote access of devices in a secure environment
WO2017053561A1 (en) * 2015-09-22 2017-03-30 Instart Logic, Inc. Protecting content integrity
CN109284104A (en) * 2018-09-28 2019-01-29 北京航空航天大学青岛研究院 Method based on webpage assembler language control page jump

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110125869A1 (en) * 2006-04-21 2011-05-26 Fortinet, Inc. Network advertising system
CN101923560A (en) * 2010-04-03 2010-12-22 崔志明 Sorting technique of deep web database only providing simple query interface
CN102137118A (en) * 2011-04-26 2011-07-27 苏州阔地网络科技有限公司 Method and system for web security synchronous browse based on webpage
CN102693280A (en) * 2012-04-28 2012-09-26 广州市动景计算机科技有限公司 Webpage browsing method, WebApp framework, method and device for executing JavaScript, and mobile terminal
CN104423991A (en) * 2013-08-26 2015-03-18 阿里巴巴集团控股有限公司 Webpage loading and webpage data providing method and device of mobile terminal
CN103701849A (en) * 2013-11-20 2014-04-02 卓易畅游(北京)科技有限公司 Method and equipment for operating mobile equipment through user equipment
CN104408204A (en) * 2014-12-18 2015-03-11 北京国双科技有限公司 Method and device for obtaining webpage page link address
CN104602034A (en) * 2014-12-31 2015-05-06 北京奇艺世纪科技有限公司 Mobile webpage playing method and system
WO2017005873A1 (en) * 2015-07-07 2017-01-12 ShopCo GmbH Method for assisted order handling via the internet
US20170063806A1 (en) * 2015-09-01 2017-03-02 United Parcel Service Of America, Inc. Facilitating remote access of devices in a secure environment
WO2017053561A1 (en) * 2015-09-22 2017-03-30 Instart Logic, Inc. Protecting content integrity
CN109284104A (en) * 2018-09-28 2019-01-29 北京航空航天大学青岛研究院 Method based on webpage assembler language control page jump

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
E. KANAGARAJ: "Web query for things: Webpage data query service for Internet-of-Things", 《IEEE》 *
SIMON J.D. COX: "SISSVoc: A Linked Data API for access to SKOS vocabularies", 《SEMANTIC WEB》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148571A (en) * 2020-07-08 2020-12-29 青岛窗外科技有限公司 Method and device for recording and playing back webpage operation process
CN117033030A (en) * 2023-08-25 2023-11-10 玻尔科技成都有限公司 Application program interface scheduling system and method based on large-scale language model

Also Published As

Publication number Publication date
CN110324410B (en) 2022-04-05

Similar Documents

Publication Publication Date Title
CN108196930B (en) Application program processing method and device, storage medium and computer equipment
CN108829485B (en) Application interface layout updating method and device, storage medium and computer equipment
CN110991649A (en) Deep learning model building method, device, equipment and storage medium
JP2017514218A (en) Running third-party applications
CN110659092B (en) Webpage screenshot method and device, computer equipment and storage medium
BR112019013067B1 (en) METHOD AND DEVICE FOR SERVICE PROCESSING
CN109960633A (en) A kind of data visualization buries point methods, storage medium and intelligent terminal
CN110119352A (en) UI adjustment method, device, computer equipment and the storage medium of application program
CN110413922A (en) Page info display methods, device, computer equipment and storage medium
CN109783365A (en) Automated testing method, device, computer equipment and storage medium
US20230035104A1 (en) Verification method, apparatus and device, and storage medium
CN109190067A (en) Browser input frame methods of exhibiting, device, computer equipment and storage medium
CN110324410A (en) Initiate method, apparatus, computer equipment and the storage medium of web-page requests
CN108399125B (en) Automatic testing method and device, computer equipment and storage medium
CN105354490B (en) Method and equipment for processing hijacked browser
CN110232018A (en) Interface test method, device, computer equipment
CN110362341A (en) Business management method, device, equipment and storage medium based on micro services framework
CN109656625A (en) Recognition methods, device, computer equipment and the storage medium of mobile device model
CN113760397A (en) Interface call processing method, device, equipment and storage medium
WO2017054716A1 (en) Method for recognizing hijacked browser and browser
CN113256234A (en) Method, system, computer equipment and storage medium for handling banking business
CN115048302A (en) Front-end compatibility testing method and device, storage medium and electronic equipment
WO2021121130A1 (en) Method and apparatus for information collection, computer device, and storage medium
CN109711809B (en) Merchant attribute setting method and device, computer equipment and storage medium
CN113656291A (en) Dynamic calling method for software script engine

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
GR01 Patent grant
GR01 Patent grant