CN110324410B - Method, device, computer equipment and storage medium for initiating webpage request - Google Patents

Method, device, computer equipment and storage medium for initiating webpage request Download PDF

Info

Publication number
CN110324410B
CN110324410B CN201910527311.6A CN201910527311A CN110324410B CN 110324410 B CN110324410 B CN 110324410B CN 201910527311 A CN201910527311 A CN 201910527311A CN 110324410 B CN110324410 B CN 110324410B
Authority
CN
China
Prior art keywords
interface address
webpage
interface
user instruction
configuration information
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.)
Active
Application number
CN201910527311.6A
Other languages
Chinese (zh)
Other versions
CN110324410A (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

Images

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)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to a method, a device, computer equipment and a storage medium for initiating a webpage request. The method comprises the following steps: after a user instruction is detected, acquiring interface address configuration information of a webpage and application programming interface information corresponding to the user instruction; the user instruction is an operation instruction input by a user on a display interface of the webpage; if the current operation environment of the webpage is a set environment, judging whether a service subsystem corresponding to the user instruction has a specified interface address according to the interface address configuration information; if so, generating an actual access address according to the specified interface address and the application programming interface information; and initiating a webpage request according to the actual access address. By adopting the method, the initiating efficiency of the webpage request corresponding to the user instruction can be ensured, so that the background server can quickly read the webpage request corresponding to the user instruction and respond to the user instruction in time.

Description

Method, device, computer equipment and storage medium for initiating webpage request
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for initiating a web page request, a computer device, and a storage medium.
Background
When a webpage detects a relevant instruction input by a user, a webpage request is often initiated according to the detected instruction, so that a background server processes the webpage request to respond to the instruction input by the user. In the conventional scheme, feature information such as application programming interface information and the like is generally extracted according to a related control instruction input by a user, the changed feature information is identified, and services related to the changed feature information are respectively and correspondingly modified to generate a webpage request corresponding to the control instruction input by the user, so that a server can acquire an accurate webpage request and respond to the control instruction input by the user.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a computer device and a storage medium for initiating a web page request, which can improve the efficiency of initiating the web page request.
A method of initiating a web page request, the method comprising:
after a user instruction is detected, acquiring interface address configuration information of a webpage and application programming interface information corresponding to the user instruction; the user instruction is an operation instruction input by a user on a display interface of the webpage;
if the current operation environment of the webpage is a set environment, judging whether a service subsystem corresponding to the user instruction has a specified interface address according to the interface address configuration information;
if so, generating an actual access address according to the specified interface address and the application programming interface information;
and initiating a webpage request according to the actual access address.
In an embodiment, the determining whether the service subsystem corresponding to the user instruction has the designated interface address according to the interface address configuration information includes:
if the interface address configuration information has an interface address associated with the current service subsystem, judging that the current service subsystem has a specified interface address; the current service subsystem is a service subsystem corresponding to the user instruction.
As an embodiment, the method further includes:
if the interface address configuration information has an interface address mapping relation associated with the current service subsystem, determining that the interface address configuration information has an interface address associated with the current service subsystem.
In one embodiment, the method further comprises:
acquiring frame parameters of a webpage;
and if the frame parameters contain the set variables, judging the current operating environment of the webpage to be the set environment.
In an embodiment, the generating the actual access address according to the designated interface address and the api information includes:
and combining the specified interface address and the application programming interface information to obtain an actual access address.
In one embodiment, obtaining the application programming interface information corresponding to the user instruction comprises:
and acquiring a request path of a user instruction, and generating application programming interface information according to the request path.
In one embodiment, the setting environment is a development environment.
An apparatus to initiate a web page request, the apparatus comprising:
the first acquisition module is used for acquiring interface address configuration information of a webpage and application programming interface information corresponding to a user instruction after the user instruction is detected; the user instruction is an operation instruction input by a user on a display interface of the webpage;
the judging module is used for judging whether a business subsystem corresponding to the user instruction has a specified interface address or not according to the interface address configuration information if the current operating environment of the webpage is a set environment;
the generating module is used for generating an actual access address according to the specified interface address and the application programming interface information if the specified interface address is the same as the application programming interface information;
and the initiating module is used for initiating a webpage request according to the actual access address.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of initiating a web page request of any of the above embodiments when executing the computer program.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of initiating a web page request of any of the above embodiments.
According to the method, the device, the computer equipment and the storage medium for initiating the webpage request, after a user instruction is detected, interface address configuration information of the webpage and application program interface information corresponding to the user instruction can be obtained, when the current running environment of the webpage is a set environment, whether a specified interface address exists in a business subsystem corresponding to the user instruction or not is judged according to the interface address configuration information, if yes, an actual access address is generated according to the specified interface address and the application program interface information, so that the webpage request is directly initiated according to the actual access address, the initiation efficiency of the webpage request corresponding to the user instruction can be guaranteed, a background server can quickly read the webpage request, and the user instruction is responded in time.
Drawings
FIG. 1 is a flowchart illustrating a method for initiating a web page request according to one embodiment;
FIG. 2 is a block diagram of an apparatus that initiates a web page request in one embodiment;
FIG. 3 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The method for initiating the webpage request can be applied to control units of various webpages. The control unit can detect various instructions input by a user aiming at a webpage, after the user instruction is detected, interface address configuration information of the webpage and application program programming interface information corresponding to the user instruction are obtained, and if the current operating environment of the webpage is a set environment, whether a service subsystem corresponding to the user instruction has a designated interface address or not is judged according to the interface address configuration information; if the business subsystem corresponding to the user instruction has the designated interface address, generating an actual access address according to the designated interface address and the application programming interface information; and initiating a webpage request according to the actual access address. The process of initiating the webpage request can initiate the corresponding webpage request only by generating the actual access address according to the specified interface address of the current business subsystem and the application programming interface information corresponding to the user instruction, thereby effectively simplifying the data processing process, improving the initiating efficiency of the webpage request and further improving the response efficiency of the background server for the user instruction.
In one embodiment, as shown in fig. 1, a method for initiating a web page request is provided, which is described by taking a control unit applied to various types of web pages as an example, and includes the following steps:
s210, after detecting a user instruction, acquiring interface address configuration information of a webpage and application programming interface information corresponding to the user instruction; the user instruction is an operation instruction input by a user on a display interface of the webpage.
When a user needs to perform operations such as query and browsing through a webpage, the user can enter a display interface of the webpage, and input a related instruction in the display interface in the form of inputting a query field or clicking a related function button and the like, so that a control unit of the webpage can detect the user instruction in time. The application programming interface information may be request API information generated when a user instruction is detected.
The interface address configuration information may include interface addresses respectively configured by each service subsystem corresponding to the web page; specifically, some service subsystems in each service subsystem corresponding to the web page have designated interface addresses, and some service subsystems do not have designated interface addresses; if a certain service subsystem does not have a designated interface address, the default interface address of the unit can be respectively controlled for the service subsystem. The Interface address configuration information may be API (Application Programming Interface) Interface address configuration information.
And S230, if the current running environment of the webpage is the set environment, judging whether the business subsystem corresponding to the user instruction has the specified interface address according to the interface address configuration information.
The service subsystem corresponding to the user instruction is the current service subsystem of the control unit in the process of responding to the user instruction. The specified interface address is an API interface address which is specified by the control unit for the corresponding service system in advance. When the current service subsystem designates the API interface address, the address is used as the currently effective API interface address, and the currently effective API interface address and the corresponding request API information are combined to obtain the actual access address corresponding to the user instruction.
The setting environment may be an environment representing that the web page is in a specific state, such as a development environment. If the current operation environment of the webpage is a set environment, the detection of the configuration characteristics of the current service subsystem can be further carried out according to the interface address configuration information; if the current operating environment of the webpage is not the set environment, the corresponding webpage request can be initiated according to the transmission scheme so as to ensure that the webpage request corresponding to the user instruction can be successfully initiated.
And S250, if so, generating an actual access address according to the specified interface address and the application programming interface information.
The actual access address can be formed by dynamically splicing the specified interface address of the current service subsystem and the application programming interface information corresponding to the user instruction, and the generation efficiency is high.
And S270, initiating a webpage request according to the actual access address.
The steps can directly initiate the webpage request according to the actual access address, so that the background server corresponding to the webpage can accurately receive the webpage request corresponding to the user instruction and timely perform corresponding response, and response efficiency aiming at the user instruction is ensured.
According to the method for initiating the webpage request, after a user instruction is detected, interface address configuration information of a webpage and application programming interface information corresponding to the user instruction can be obtained, when the current running environment of the webpage is a set environment, whether a specified interface address exists in a business subsystem corresponding to the user instruction or not is judged according to the interface address configuration information, if the specified interface address exists, an actual access address is generated according to the specified interface address and the application programming interface information, the webpage request is directly initiated according to the actual access address, the initiating efficiency of the webpage request corresponding to the user instruction can be guaranteed, a background server can quickly read the webpage request, and the user instruction can be responded in time.
In an embodiment, the determining whether the service subsystem corresponding to the user instruction has the designated interface address according to the interface address configuration information includes:
if the interface address configuration information has an interface address associated with the current service subsystem, judging that the current service subsystem has a specified interface address; the current service subsystem is the service subsystem corresponding to the user instruction.
The interface address associated with a certain service subsystem may also be referred to as the personalized API interface address of the service subsystem. Optionally, the service subsystem and the corresponding personalized API interface address may be maintained in a common JS file, so that the JS file may be directly read during subsequent use, and the reading efficiency is improved, thereby improving the efficiency of performing operations such as generating an actual access address according to the personalized API interface address.
The embodiment may determine whether the current service subsystem has an associated interface address by detecting interface address configuration information of the current service subsystem according to the interface address configuration information, and if so, the interface address associated with the current service subsystem is the designated interface address. If the current service subsystem has no associated interface address, a default interface address can be allocated to the current service subsystem so as to ensure the smooth development of related work.
As an embodiment, the method further includes:
if the interface address configuration information has an interface address mapping relation associated with the current service subsystem, determining that the interface address configuration information has an interface address associated with the current service subsystem.
The interface address mapping relation is a mapping relation between the service system and the interface address.
The embodiment can accurately detect the configuration information of the current service subsystem, and ensure the accuracy of the judgment result of whether the specified interface address exists in the current service subsystem.
In one embodiment, the method further comprises:
acquiring frame parameters of a webpage;
and if the frame parameters contain the set variables, judging the current operating environment of the webpage to be the set environment.
The frame parameters may be configuration parameters of a web page frame such as VUE. The set variable may be a variable used for determining the current running environment of the web page, such as process.
The embodiment can accurately detect the current running environment of the webpage.
In an embodiment, the generating the actual access address according to the designated interface address and the api information includes:
and combining the specified interface address and the application programming interface information to obtain an actual access address.
After the user instruction is detected, the specified interface address of the service subsystem corresponding to the user instruction and the application programming interface information corresponding to the user instruction may be merged, and specifically, the specified interface address and the application programming interface information may be dynamically spliced to obtain the actual access address corresponding to the user instruction, and it is not necessary to modify each piece of web page feature information associated with the user instruction, so that the efficiency of obtaining the actual access address may be improved.
In one embodiment, obtaining the application programming interface information corresponding to the user instruction comprises:
and acquiring a request path of a user instruction, and generating application programming interface information according to the request path.
After detecting a user instruction input by a user aiming at the webpage display interface, the control unit of the webpage can acquire a request path corresponding to the user instruction, and generates application programming interface information according to the request path, so that the application programming interface information is matched with the user instruction, and the accuracy of a subsequently determined actual access address is ensured.
In one embodiment, the setting environment is a development environment.
When the frame parameter of the webpage contains a variable of process, ENV, NODE, ENV, which indicates that the current operating environment of the webpage is a development environment, the actual access address can be generated directly according to the configuration information characteristics corresponding to the detected user instruction, so that the webpage request is initiated, and the initiation efficiency of the webpage request is ensured.
It should be understood that, although the steps in the flowchart of fig. 1 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 1 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 2, there is provided an apparatus for initiating a web page request, including: a first obtaining module 210, a determining module 230, a generating module 250, and an initiating module 270, wherein:
the first obtaining module 210 is configured to obtain interface address configuration information of a web page and application programming interface information corresponding to a user instruction after detecting the user instruction; the user instruction is an operation instruction input by a user on a display interface of the webpage;
a determining module 230, configured to determine whether a service subsystem corresponding to the user instruction has an assigned interface address according to the interface address configuration information if the current operating environment of the web page is a set environment;
a generating module 250, configured to generate an actual access address according to the specified interface address and the application programming interface information if the specified interface address is the same as the application programming interface information;
the initiating module 270 is configured to initiate a web page request according to the actual access address.
In one embodiment, the determining module is further configured to: if the interface address configuration information has an interface address associated with the current service subsystem, judging that the current service subsystem has a specified interface address; the current service subsystem is a service subsystem corresponding to the user instruction.
As an embodiment, the apparatus for initiating a web page request further includes:
the first judging module is used for judging that the interface address configuration information has the interface address associated with the current service subsystem if the interface address configuration information has the interface address mapping relation associated with the current service subsystem.
In an embodiment, the apparatus for initiating a web page request further includes:
the second acquisition module is used for acquiring the frame parameters of the webpage;
and the second judging module is used for judging the current running environment of the webpage to be the set environment if the frame parameters contain the set variables.
In one embodiment, the generating module is further configured to: and combining the specified interface address and the application programming interface information to obtain an actual access address.
In an embodiment, the first obtaining module is further configured to: and acquiring a request path of a user instruction, and generating application programming interface information according to the request path.
In one embodiment, the setting environment is a development environment.
For specific limitations of the device for initiating the web page request, reference may be made to the above limitations of the method for initiating the web page request, and details are not described herein again. The modules in the device for initiating a web page request may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 3. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of initiating a web page request. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 3 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
after a user instruction is detected, acquiring interface address configuration information of a webpage and application programming interface information corresponding to the user instruction; the user instruction is an operation instruction input by a user on a display interface of the webpage;
if the current operation environment of the webpage is a set environment, judging whether a service subsystem corresponding to the user instruction has a specified interface address according to the interface address configuration information;
if so, generating an actual access address according to the specified interface address and the application programming interface information;
and initiating a webpage request according to the actual access address.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and if the interface address configuration information contains the interface address associated with the current service subsystem, judging that the current service subsystem contains the specified interface address.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
if the interface address configuration information has an interface address mapping relation associated with the current service subsystem, determining that the interface address configuration information has an interface address associated with the current service subsystem.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring frame parameters of a webpage; and if the frame parameters contain the set variables, judging the current operating environment of the webpage to be the set environment.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and combining the specified interface address and the application programming interface information to obtain an actual access address.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and acquiring a request path of a user instruction, and generating application programming interface information according to the request path.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
after a user instruction is detected, acquiring interface address configuration information of a webpage and application programming interface information corresponding to the user instruction; the user instruction is an operation instruction input by a user on a display interface of the webpage;
if the current operation environment of the webpage is a set environment, judging whether a service subsystem corresponding to the user instruction has a specified interface address according to the interface address configuration information;
if so, generating an actual access address according to the specified interface address and the application programming interface information;
and initiating a webpage request according to the actual access address.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and if the interface address configuration information contains the interface address associated with the current service subsystem, judging that the current service subsystem contains the specified interface address.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the interface address configuration information has an interface address mapping relation associated with the current service subsystem, determining that the interface address configuration information has an interface address associated with the current service subsystem.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring frame parameters of a webpage; and if the frame parameters contain the set variables, judging the current operating environment of the webpage to be the set environment.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and combining the specified interface address and the application programming interface information to obtain an actual access address.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and acquiring a request path of a user instruction, and generating application programming interface information according to the request path.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
It should be noted that the terms "first \ second \ third" referred to in the embodiments of the present application merely distinguish similar objects, and do not represent a specific ordering for the objects, and it should be understood that "first \ second \ third" may exchange a specific order or sequence when allowed. It should be understood that "first \ second \ third" distinct objects may be interchanged under appropriate circumstances such that the embodiments of the application described herein may be implemented in an order other than those illustrated or described herein.
The terms "comprising" and "having" and any variations thereof in the embodiments of the present application are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, product, or device that comprises a list of steps or modules is not limited to the listed steps or modules but may alternatively include other steps or modules not listed or inherent to such process, method, product, or device.
Reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of initiating a web page request, the method comprising:
after a user instruction is detected, acquiring interface address configuration information of a webpage and application programming interface information corresponding to the user instruction; the user instruction is an operation instruction input by a user on a display interface of the webpage, and the interface address configuration information comprises interface addresses respectively configured by all service subsystems corresponding to the webpage, or the interface address configuration information comprises interface address mapping relations respectively associated with all service subsystems corresponding to the webpage;
if the current operation environment of the webpage is a set environment, judging whether a service subsystem corresponding to the user instruction has a specified interface address according to the interface address configuration information;
if so, combining the specified interface address and the application programming interface information to generate an actual access address;
and initiating a webpage request according to the actual access address.
2. The method of claim 1, wherein the determining whether the service subsystem corresponding to the user command has a specific interface address according to the interface address configuration information comprises:
if the interface address configuration information contains an interface address associated with the current service subsystem, judging that the current service subsystem contains a specified interface address; and the current service subsystem is a service subsystem corresponding to the user instruction.
3. The method of claim 2, further comprising:
if the interface address configuration information has the interface address mapping relationship associated with the current service subsystem, determining that the interface address associated with the current service subsystem exists in the interface address configuration information.
4. The method of claim 1, further comprising:
acquiring frame parameters of the webpage;
and if the frame parameters contain set variables, judging the current operating environment of the webpage to be a set environment.
5. The method according to any one of claims 1 to 4, wherein obtaining the application programming interface information corresponding to the user instruction comprises:
and acquiring a request path of the user instruction, and generating the application programming interface information according to the request path.
6. The method of any one of claims 1 to 4, wherein the set environment is a development environment.
7. An apparatus for initiating a web page request, the apparatus comprising:
the first acquisition module is used for acquiring interface address configuration information of a webpage and application programming interface information corresponding to a user instruction after the user instruction is detected; the user instruction is an operation instruction input by a user on a display interface of the webpage, and the interface address configuration information comprises interface addresses respectively configured by all service subsystems corresponding to the webpage, or the interface address configuration information comprises interface address mapping relations respectively associated with all service subsystems corresponding to the webpage;
the judging module is used for judging whether a service subsystem corresponding to the user instruction has a specified interface address or not according to the interface address configuration information if the current operating environment of the webpage is a set environment;
the generating module is used for merging the specified interface address and the application programming interface information to generate an actual access address if the specified interface address is the application programming interface information;
and the initiating module is used for initiating a webpage request according to the actual access address.
8. The apparatus of claim 7, wherein the determining whether the service subsystem corresponding to the user command has a specific interface address according to the interface address configuration information comprises:
if the interface address configuration information contains an interface address associated with the current service subsystem, judging that the current service subsystem contains a specified interface address; and the current service subsystem is a service subsystem corresponding to the user instruction.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 6 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
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 CN110324410A (en) 2019-10-11
CN110324410B true 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)

Families Citing this family (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 (10)

* 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
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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9324081B2 (en) * 2006-04-21 2016-04-26 Fortinet, Inc. Network advertising system
US10805348B2 (en) * 2015-09-01 2020-10-13 United Parcel Service Of America, Inc. Facilitating remote access of devices in a secure environment

Patent Citations (10)

* 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
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
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
SISSVoc: A Linked Data API for access to SKOS vocabularies;Simon J.D. Cox;《Semantic Web》;20141205;全文 *
Web query for things: Webpage data query service for Internet-of-Things;E. Kanagaraj;《IEEE》;20161214;全文 *

Also Published As

Publication number Publication date
CN110324410A (en) 2019-10-11

Similar Documents

Publication Publication Date Title
CN109460527B (en) Product data configuration method, device, computer equipment and storage medium
CN108768728B (en) Operation and maintenance task processing method and device, computer equipment and storage medium
CN110209652B (en) Data table migration method, device, computer equipment and storage medium
CN109766124B (en) Service development method, device, computer equipment and storage medium
CN110659092B (en) Webpage screenshot method and device, computer equipment and storage medium
CN108829485B (en) Application interface layout updating method and device, storage medium and computer equipment
CN109558448B (en) Data processing method, data processing device, computer equipment and storage medium
CN110866198A (en) Static resource caching method, system, device, computer equipment and storage medium
CN108108219B (en) Application program running method and device, computer equipment and storage medium
CN110324410B (en) Method, device, computer equipment and storage medium for initiating webpage request
CN111898336B (en) Bullet screen display method and device, computer equipment and storage medium
CN108241516B (en) Embedded system program loading method and device, computer equipment and storage medium
CN108959384B (en) Webpage data acquisition method and device, computer equipment and storage medium
CN109522500B (en) Webpage display method, device, terminal and storage medium
CN109413153B (en) Data crawling method and device, computer equipment and storage medium
CN111191158A (en) Webpage resource caching method and device, computer equipment and storage medium
CN111431767B (en) Multi-browser resource synchronization method and device, computer equipment and storage medium
CN111309991B (en) Query statement generation method and device and data query method and system
CN110780939B (en) Method, device, computer equipment and storage medium for loading resource file
CN109542962B (en) Data processing method, data processing device, computer equipment and storage medium
CN105354490B (en) Method and equipment for processing hijacked browser
CN109902257B (en) Resource access method, device, computer equipment and storage medium
CN110460685B (en) User unique identifier processing method and device, computer equipment and storage medium
CN110597815A (en) Service processing method, device, computer equipment and storage medium
CN111026988A (en) Page loading method, device and system and computer 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
GR01 Patent grant
GR01 Patent grant