CN111859223A - Webpage data calling method and device based on mobile middle station and storage medium - Google Patents

Webpage data calling method and device based on mobile middle station and storage medium Download PDF

Info

Publication number
CN111859223A
CN111859223A CN202010751954.1A CN202010751954A CN111859223A CN 111859223 A CN111859223 A CN 111859223A CN 202010751954 A CN202010751954 A CN 202010751954A CN 111859223 A CN111859223 A CN 111859223A
Authority
CN
China
Prior art keywords
target
webpage
request instruction
target website
stored
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.)
Pending
Application number
CN202010751954.1A
Other languages
Chinese (zh)
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 Travelsky Technology Co Ltd
China Travelsky Holding Co
Original Assignee
China Travelsky Holding Co
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 Travelsky Holding Co filed Critical China Travelsky Holding Co
Priority to CN202010751954.1A priority Critical patent/CN111859223A/en
Publication of CN111859223A publication Critical patent/CN111859223A/en
Pending legal-status Critical Current

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/957Browsing optimisation, e.g. caching or content distillation
    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

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)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a webpage data calling method, a device and a storage medium based on a mobile middle station, and the scheme comprises the following steps: after the target website is acquired, whether the target website is stored in a local preset folder or not can be judged in advance, when the target website is detected to be stored in the local preset folder, a webpage corresponding to the locally stored target website can be directly called and displayed to a user, and the speed of calling and loading the local data is far higher than the speed of calling and displaying the data in the server, so that the webpage is loaded quickly, and the user does not need long waiting time when accessing the webpage.

Description

Webpage data calling method and device based on mobile middle station and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a method, a device and a storage medium for calling webpage data based on a mobile middle station.
Background
In the prior art, the frame technology of the pure H5 has the problem that the page loading time is too long, and a user needs to wait for accessing the page.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for invoking web page data based on a mobile station for a mobile station, so as to implement fast access to a web page.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a webpage data calling method based on a mobile middle station comprises the following steps:
acquiring a webpage request instruction;
extracting a target website corresponding to the webpage request instruction;
judging whether the target website is stored in a local preset folder or not;
when the target website is stored in the local preset folder, calling and displaying a webpage corresponding to the target website stored in the local preset folder to a user, wherein a plurality of target websites and webpages corresponding to the target websites are stored in the local preset folder;
acquiring a request instruction generated by a user for webpage operation corresponding to the target website;
and judging whether the target server is needed to assist in processing the request instruction, and if so, sending the request instruction to the target server corresponding to the target website.
A mobile station-based web page data retrieving apparatus, comprising:
the instruction acquisition unit is used for acquiring a webpage request instruction generated based on user operation;
the data analysis unit is used for extracting a target website corresponding to the webpage request instruction;
the local query unit is used for judging whether the target website is stored in a local preset folder or not;
the webpage calling unit is used for calling and displaying a webpage corresponding to the target website stored in the local preset folder to a user when the target website is stored in the local preset folder, and the local preset folder stores a plurality of target websites and webpages corresponding to the target websites;
and the server interaction unit is used for acquiring a request instruction generated by the operation of the user on the webpage corresponding to the target website, judging whether the request instruction needs to be assisted by the target server or not, and if so, sending the request instruction to the target server corresponding to the target website.
A storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor,
to perform the steps of any of the methods described above.
Based on the technical scheme, according to the scheme provided by the embodiment of the invention, after the target website is obtained, whether the target website is stored in a local preset folder or not can be judged in advance, when the target website is detected to be stored in the local preset folder, a webpage corresponding to the locally stored target website can be directly called and displayed to a user, and as the calling and loading speed of local data is far greater than the speed of calling and displaying the data in a server, the webpage is quickly loaded, and the user does not need to wait for a long time when accessing the webpage.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a schematic flowchart of a method for retrieving web page data based on a mobile station according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a method for retrieving web page data based on a mobile station according to another embodiment of the present application;
fig. 3 is a schematic structural diagram of a mobile station-based web page data retrieving apparatus according to an embodiment of the present application.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
Aiming at the problem that a user needs long waiting time when accessing a page in the prior art, the application discloses a webpage data calling method based on a mobile middle station.
The cross-platform container can be generally divided into:
the system is generally divided into an OS system layer, a native framework layer and a presentation layer;
OS System layer
The OS system layer is a native base platform, and may be loaded with base platforms corresponding to various systems, for example, the OS system layer may include, but is not limited to, an Android base platform and an iOS base platform. The OS system layer is used for carrying the operation of the native SDK and the H5 Framework. The cross-platform container can be responsible for normal calling of hardware devices such as NFC, GPS, photographing and gyroscopes, and calling of functions such as the current model, network state, storage state and 2D/3D drawing of the cross-platform container.
A native container layer, i.e. a native framework layer;
the native container layer is mainly used for being called by a native API of a system, in the scheme, the native container layer can be called by the native API of an Android system and an iOS system, the native container layer comprises components such as a most main native Jsbridge (Java/OC), a third-party data storage SDK, an instant messaging component, a Web container component, a hypergraph SDK, a code scanning SDK and a component routing Router, and the native container layer can further support instant messaging interaction of H5 and native.
ViewLayer, i.e. presentation layer
In the prior art, the ViewLayer is generally classified into two types, a single interface structure, and a H5+ Native mixed interface structure.
And single interface structures, namely pages independently displayed by Native View and Web View, alternately appear. This application mixing logic is relatively simple. Namely, when needed, the WebView is operated as an independent View (Activity), and relevant display operation is completed in the WebView.
H5+ Native mixed interface structure, namely in the same View, including both Native View and Web View. The layers are in a covering (laminated) relationship with each other.
In this embodiment, the ViewLayer may have a H5+ Native structure. That is, it is an H5+ Native structure formed by a mixture of a web language and a program language, and this structure can recognize either a web language or a program language.
The QDCWeb unit is arranged in the native framework layer, is a packaging assembly of a webview page, is a native browser kernel, can be constructed in a builder mode, can refer to a decorator mode in the construction process, increases a page switching state for the component, is compatible with differences between different system promulgation, refers to an agent mode, and enables the QDCWeb unit to support multi-stage processing and event isolation functions in the page jumping process, so that a developer is prevented from being disturbed in the development process and is dedicated to business development.
In order to solve the bugs, the applicant rewrites the webview to make addJavascript interface in the webview compatible with Js of 4.2 and Js calling mode after 2.2, replaces a WebChromeClient module and a WebViewClient module in the original system with a removeSearcBoxJavaBridgejs security processing module, and sets Js loading and injection by using a hierarchical relationship, thereby repairing the memory leakage, Js injection bugs and version Android compatibility problems of the webview in the prior art.
A layout builder of the LayoutCreator web is arranged in the native framework layer;
WebParentLayout under the layout builder is used for inheriting layouts such as FrameLayout, a bearing progress bar, an empty page, an error page and the like;
the QDCWebController under the LayoutCreator web layout builder externally provides actions for controlling WebParentLayout, such as JsAlert, onMainFrameError error interface display, onLoading loading state display and the like;
webcreator under the Layoutcreator web layout builder holds WebParentLayout to be responsible for customizable configuration web layouts in QDCWeb, which can include binding control and parentView, setting error layouts, and the like.
A Permissions authority controller is arranged in the native frame layer;
the Permissions authority controller is used for setting system authorities required by the browser, such as photographing authorities, positioning authorities and the like.
An eventHandler event transmission and distribution center unit is arranged in the native framework layer;
the EventHandler event delivery and distribution center unit is used for processing event distribution by adopting an observer mode and is also used for data delivery among pages;
a ClientWrapper middleware page redirection tangent plane unit is arranged in the native frame layer;
the ClientWrapper middleware page redirection tangent plane unit is used for inheriting MiddlewareWebClientBase, then realizing a method which the client wants to execute one by one, such as shouldOververderUrling () for example, and finally when the system calls the shouldOververerUrling () method, the ClientWrapper middleware page redirection tangent plane unit can call XXXBWebWiwClient in sequence, so that each function is aggregated independently as much as possible, and modification and expansion are facilitated;
in particular, the information transmission can be realized by adopting a chain table idea, for example, by using middleware webclientbase as a node of the chain table and holding an object of a next node in the node, in a specific implementation process, the next node can be notified by adding a header to the chain table or adding a node and pointing to the next node. For example, the one-way linked list obtains the object of which the head of the intermediate WebClient chain is the first useMedidlewareWebClient, each linked list node holds the next node, the next node is obtained by adopting a next () method, and finally the last two nodes of the linked list are set as mDefaultWebClient and setWebViewClient ().
A QDCWebActivity page bearing container is arranged in the native framework layer;
the QDCWebActivity page bearing container is used for constructing a unified QDCWeb so as to provide a real carrier for bearing H5 pages.
In the scheme, the presentation layer is provided with a QDCbridge unit;
the QDCbridge unit is responsible for communication between the view layer and the APP framework layer, and the web end can call functions and modules such as native hardware, database storage, native api, instant messaging and message data.
In the foregoing scheme, the method may further include: js unit qdc _ bridge _ api _ debug.
The qdc _ bridge _ api _ debug. js unit can be used as a packaging class of QDCbridge, and all interfaces api encapsulating native and web interaction comprise functions api for hardware acquisition such as log printing, network request, route jumping, data caching, media camera, telephone making, Bluetooth positioning and the like, and file operation and the like, so as to support the normal and efficient operation of webAPP.
The encapsulation principle is that Native initializes webview and registers Handler; after loading the page, the webviewjavascript bridge.js file is injected into the page. A query is made as to whether the message queue has information to be received. H5 page initialization, register Handler, and inquire whether the message queue has information to be received.
In the development container disclosed in the above embodiment of the present application, a configuration background and a configuration web page may also be configured to implement management of APP display styles, web resource control, and the like.
The method for creating and applying the webpage data calling scheme based on the mobile middle station disclosed by the embodiment of the application comprises the following specific processes:
the first step is as follows: creating an application version corresponding to an application, determining a system platform corresponding to the application, an application address, and function configurations such as adding, deleting, changing and checking;
the second step is that: according to the scheme, each application can even be configured with an unlimited number of web pages, after configuration is completed, the front end (target web page end) judges whether web resources need to be upgraded, and if the web resources need to be upgraded, the applications and the corresponding brother web pages can be automatically upgraded. The theme design of the application, such as theme color, navigation bar color, status bar color, tab bar color and the like, can be configured through the development container.
The third step: the method comprises the steps of homepage TAB configuration, wherein an application main interface is an application function module inlet, self-definition is supported, and a plurality of application controls can be configured in the main interface;
the fourth step: and configuring user authority and page relation binding.
On the basis of the cross-platform container constructed based on the above, the method for calling webpage data based on the mobile middle station disclosed by the application can comprise the following steps:
step S101: acquiring a webpage request instruction;
the webpage request instruction is a request instruction used for requesting a target object to acquire a target webpage, and the target object can put down the corresponding target webpage after acquiring the request instruction. The webpage request instruction is generated based on user operation, and the generation mode of the webpage request instruction can refer to any generation scheme of the webpage request instruction in the prior art.
Step S102: extracting a target website corresponding to the webpage request instruction;
in the scheme, after the webpage request instruction is obtained, the webpage request instruction is analyzed, and the target website can be obtained.
Step S103: judging whether the target website is stored in a local preset folder or not;
in this scheme, after the target website is obtained, it may be determined in advance whether the target website is stored in a local preset folder, that is, in the technical scheme disclosed in this embodiment of the application, some commonly-used websites may be stored in advance, and the commonly-used websites serve as the target website stored locally, and may be websites with a data change period lower than a preset value.
The local preset folder can be APP data/data/package name/files/web.
Step S104: when the target website is stored in the local preset folder, calling and displaying a webpage corresponding to the target website stored in the local preset folder to a user;
a plurality of target websites and webpages corresponding to the target websites are stored in the local preset folder;
in the scheme, when the target website is detected to be stored in the local preset folder, the webpage corresponding to the locally stored target website can be directly called and displayed to the user, and the speed of calling and loading the local data is far higher than the speed of calling and displaying the data in the server, so that the webpage is quickly loaded, and the user does not need long waiting time when accessing the webpage.
In the scheme, when the webpage is displayed to the user, after the QDCWeb is initialized successfully, a local html page is opened through a file protocol, wherein the html page refers to the page needing to be opened in the above.
Step S105: acquiring a request instruction generated by a user for webpage operation corresponding to the target website;
in the scheme, when the operation of the user on the displayed webpage is detected and the request instruction is generated, the instructions can be some request instructions which can be directly processed by the current webpage or the application applying the method, and possibly some request instructions which need to be processed by a server, and according to different types of the request instructions, whether the request instruction needs to be sent to the server corresponding to the target website can be determined.
Step S106: judging whether a target server is needed to assist in processing the request instruction;
step S107: if the target server is required to assist in processing the request instruction, the request instruction is sent to the target server corresponding to the target website, and server feedback data are received and processed;
in the scheme, when the server is required to process the request instruction, the request instruction is sent to the server;
when a request instruction needs to be interacted with the server, the opened html page carries out data interaction and network access through the QDCWeb and the QDCbridge.
In a technical solution disclosed in another embodiment of the present application, in order to prevent the stored webpage from being inconsistent with the version of the current APP to which the method is applied, after detecting that the target website is stored in the local preset folder, before retrieving and displaying the webpage corresponding to the target website stored in the local preset folder to the user, the method may further include:
step S201: judging whether the application version adapted to the webpage corresponding to the target website is the same as the application version applying the method;
in the scheme, after the data of the APP applying the method is changed, the corresponding version identification of the APP is also changed, in the process, the identification of the APP version adapted to the locally stored webpage is not changed, and only after the webpage is updated, the version identification of the webpage is matched with the application version of the APP;
when the versions are the same, the actions are performed: calling and displaying a webpage corresponding to a target website stored in a local preset folder to a user;
step S202: when the versions are different, the webpage request instruction is sent to the target server, and feedback data sent by the server are received and processed;
when the versions are different, the data content in the webpage is changed, and the locally stored page is an error page, so that the server can be directly requested to acquire the target webpage.
In the technical solution disclosed in another embodiment of the present application, after the web page request instruction is sent to the target server, after the APP applying the method obtains and displays a web page delivered by the server, a locally stored web page may also be automatically updated, for example, a target web page acquired by the target server and matched with the web page request instruction and the target web address are stored in the local preset folder, and the target web page corresponding to the original target web address is deleted.
In a technical solution disclosed in another embodiment of the present application, a user may select whether to store a web page sent by a server to a local location based on personal intention, and at this time, before storing a target web page and a target website acquired by the target server and matched with the web page request instruction into the local preset folder in the above method, the method may further include:
when the currently opened page is the page sent by the target server, displaying a preset session window to a user; and when detecting that the preset control in the preset session window is triggered, continuing to execute subsequent actions. The preset session window is stored with two control options, for example, the controls "yes" and "no", when the user triggers "yes", the user is indicated to have the intention of saving the page to the local, and the subsequent action is continuously executed, and when the user triggers "no", the user is indicated to have no intention of saving the page to the local, and the subsequent action of saving the page to the local is abandoned.
In the technical solution disclosed in the embodiment of the present application, the type of the target page stored locally is, but not limited to: web pages, native pages, or mixed pages.
In the technical scheme disclosed in the embodiment of the present application, when data verification is performed on an acquired web page, a file verification Algorithm SHA1 may be used, where the SHA is a cryptographic hash function, may generate a 160-bit (20-byte) hash value called a message digest, and is mainly applicable to a Digital Signature Algorithm (Digital Signature Algorithm DSA) defined in a Digital Signature Standard (DSS). For messages that are less than a bit in length, SHA1 generates a 160-bit message digest. This message digest may be used to verify the integrity of the data when the message is received. During the transmission, the data is likely to change, and then different message digests are generated at this time.
In the technical solution disclosed in another embodiment of the present application, a user may input a target website that the user needs to access by triggering a control corresponding to a pre-stored webpage, by selecting from a website list, or by directly typing in by the user.
In the scheme, the web pages allowed to be accessed by the scheme can be fixed web pages, if the web pages are specific office web pages or web pages with certain confidentiality, the user authority needs to be verified, whether the user has the qualification of accessing the web pages is verified through the user authority, and when the qualification is met, the user is allowed to access the web pages.
For the details of the operation of each unit in the mobile station-based webpage data retrieving device disclosed in this embodiment, please refer to the contents of the above method embodiment, and the mobile station-based webpage data retrieving method provided in the embodiment of the present invention is described below, and the mobile station-based webpage data retrieving device described below and the mobile station-based webpage data retrieving method described above may be referred to correspondingly.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
Corresponding to the above method, the present application also discloses a device for calling web page data based on a mobile station, and the units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The apparatus may be a mobile station-based web page data retrieval apparatus developed by using the above-mentioned development container, and referring to fig. 3, the apparatus may include:
the instruction acquisition unit 100 is used for acquiring a webpage request instruction generated based on user operation;
the data analysis unit 200 is configured to extract a target website corresponding to the webpage request instruction;
the local query unit 300 is configured to determine whether the target website is stored in a local preset folder;
a web page retrieving unit 400, configured to, when the target website is stored in the local preset folder, retrieve and display a web page corresponding to the target website stored in the local preset folder to a user, where the local preset folder stores a plurality of target websites and web pages corresponding to the target websites;
the server interaction unit 500 is configured to obtain a request instruction generated by a user through a webpage operation corresponding to the target website, determine whether the request instruction needs to be assisted by a target server, and send the request instruction to the target server corresponding to the target website if the request instruction needs to be assisted by the target server.
Corresponding to the method, after determining that the target website is stored in the local preset folder, the webpage retrieving unit is further configured to, before retrieving and displaying the webpage corresponding to the target website stored in the local preset folder to the user:
judging whether the application version adapted to the webpage corresponding to the target website is the same as the application version applying the method;
when the versions are the same, the actions are performed: calling and displaying a webpage corresponding to a target website stored in a local preset folder to a user;
and when the versions are different, sending the webpage request instruction to the target server.
Corresponding to the method, after sending the web page request instruction to the target server, the server interaction unit is further configured to:
and storing the target webpage matched with the webpage request instruction and the target website acquired by the target server into the local preset folder, and deleting the target webpage corresponding to the original target website.
Corresponding to the method, before the server interaction unit stores the target web page matched with the web page request instruction and the target website acquired by the target server into the local preset folder, the server interaction unit is further configured to:
when the currently opened page is the page sent by the target server, displaying a preset session window to a user;
and when detecting that the preset control in the preset session window is triggered, continuing to execute subsequent actions.
Corresponding to the above method, the types of the target page are, but not limited to: web pages, native pages, or mixed pages.
Corresponding to the method, the method can further comprise a permission verification unit, wherein the permission verification unit is used for verifying whether the user has the qualification for accessing the web pages, and when the qualification is met, the user is allowed to access the web pages.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
Further, the present application also discloses a storage medium, where the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the technical solution disclosed by any one of the method embodiments of the present application.
In the context of this disclosure, a machine-storage medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-storage medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be noted that the computer storage media described above in this disclosure can be computer readable signal media or computer readable storage media or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer storage medium that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer storage medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer storage medium may be a storage medium included in the electronic device; or may exist separately without being assembled into the electronic device.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such embodiments, the computer program may be downloaded and installed from a network through the communication device 609, or installed from the storage device 606, or installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText transfer protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Although the operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
While several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (10)

1. A webpage data calling method based on a mobile middle station is characterized by comprising the following steps:
acquiring a webpage request instruction;
extracting a target website corresponding to the webpage request instruction;
judging whether the target website is stored in a local preset folder or not;
when the target website is stored in the local preset folder, calling and displaying a webpage corresponding to the target website stored in the local preset folder to a user, wherein a plurality of target websites and webpages corresponding to the target websites are stored in the local preset folder;
acquiring a request instruction generated by a user for webpage operation corresponding to the target website;
and judging whether the target server is needed to assist in processing the request instruction, and if so, sending the request instruction to the target server corresponding to the target website.
2. The method for retrieving webpage data based on a mobile station according to claim 1, wherein after the target website is stored in the local preset folder, before retrieving and displaying the webpage corresponding to the target website stored in the local preset folder to the user, further comprising:
judging whether the application version adapted to the webpage corresponding to the target website is the same as the application version applying the method;
when the versions are the same, the actions are performed: calling and displaying a webpage corresponding to a target website stored in a local preset folder to a user;
and when the versions are different, sending the webpage request instruction to the target server.
3. The mobile-station-based web page data retrieving method according to claim 2, wherein after sending the web page request command to the target server, the method further comprises:
and storing the target webpage matched with the webpage request instruction and the target website acquired by the target server into the local preset folder, and deleting the target webpage corresponding to the original target website.
4. The method for retrieving web page data based on a mobile station according to claim 3, wherein before storing the target web page and the target web address matching the web page request instruction, which are acquired by the target server, in the local preset folder, the method further comprises:
when the currently opened page is the page sent by the target server, displaying a preset session window to a user;
and when detecting that the preset control in the preset session window is triggered, continuing to execute subsequent actions.
5. The mobile station-based web page data retrieving method according to claim 1, wherein the type of the target page is but not limited to: web pages, native pages, or mixed pages.
6. A web page data retrieving apparatus based on a mobile station, comprising:
the instruction acquisition unit is used for acquiring a webpage request instruction generated based on user operation;
the data analysis unit is used for extracting a target website corresponding to the webpage request instruction;
the local query unit is used for judging whether the target website is stored in a local preset folder or not;
the webpage calling unit is used for calling and displaying a webpage corresponding to the target website stored in the local preset folder to a user when the target website is stored in the local preset folder, and the local preset folder stores a plurality of target websites and webpages corresponding to the target websites;
and the server interaction unit is used for acquiring a request instruction generated by the operation of the user on the webpage corresponding to the target website, judging whether the request instruction needs to be assisted by the target server or not, and if so, sending the request instruction to the target server corresponding to the target website.
7. The apparatus as claimed in claim 6, wherein the web page retrieving unit, after determining that the target website is stored in the local preset folder, is further configured to, before retrieving and presenting to the user a web page corresponding to the target website stored in the local preset folder, further:
judging whether the application version adapted to the webpage corresponding to the target website is the same as the application version applying the method;
when the versions are the same, the actions are performed: calling and displaying a webpage corresponding to a target website stored in a local preset folder to a user;
and when the versions are different, sending the webpage request instruction to the target server.
8. The mobile station-based web page data retrieving apparatus according to claim 7, wherein the server interaction unit, after sending the web page request instruction to the target server, is further configured to:
and storing the target webpage matched with the webpage request instruction and the target website acquired by the target server into the local preset folder, and deleting the target webpage corresponding to the original target website.
9. The mobile-middle-station-based web page data retrieving device according to claim 8, wherein before the server interaction unit stores the target web page and the target web address, which are acquired by the target server and match the web page request instruction, in the local preset folder, the server interaction unit is further configured to:
when the currently opened page is the page sent by the target server, displaying a preset session window to a user;
and when detecting that the preset control in the preset session window is triggered, continuing to execute subsequent actions.
10. A storage medium storing a plurality of instructions, the instructions adapted to be loaded by a processor,
to perform the steps of the mobile station based web page data retrieving method of any one of claims 1 to 5.
CN202010751954.1A 2020-07-30 2020-07-30 Webpage data calling method and device based on mobile middle station and storage medium Pending CN111859223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010751954.1A CN111859223A (en) 2020-07-30 2020-07-30 Webpage data calling method and device based on mobile middle station and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010751954.1A CN111859223A (en) 2020-07-30 2020-07-30 Webpage data calling method and device based on mobile middle station and storage medium

Publications (1)

Publication Number Publication Date
CN111859223A true CN111859223A (en) 2020-10-30

Family

ID=72945700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010751954.1A Pending CN111859223A (en) 2020-07-30 2020-07-30 Webpage data calling method and device based on mobile middle station and storage medium

Country Status (1)

Country Link
CN (1) CN111859223A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112445545A (en) * 2020-12-11 2021-03-05 Vidaa美国公司 Starting method of webpage application and display equipment
CN112632420A (en) * 2020-12-24 2021-04-09 青岛海尔科技有限公司 Interface skipping method and device, storage medium and electronic device
CN112783577A (en) * 2021-03-15 2021-05-11 Vidaa美国公司 Application starting method and display equipment
CN113204722A (en) * 2021-03-30 2021-08-03 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647481A (en) * 2012-03-31 2012-08-22 奇智软件(北京)有限公司 Device and method for accessing preset network address
US20150193396A1 (en) * 2013-04-16 2015-07-09 Google Inc. Loading device specific content automatically when switching between devices
CN107864173A (en) * 2017-06-26 2018-03-30 平安普惠企业管理有限公司 Terminal page caching method, system and readable storage medium storing program for executing
CN109408750A (en) * 2018-09-26 2019-03-01 中国平安财产保险股份有限公司 Page display method, device, computer equipment and storage medium
CN110287432A (en) * 2019-06-28 2019-09-27 北京金山安全软件有限公司 Network information processing method and device and electronic equipment
CN110825990A (en) * 2018-07-23 2020-02-21 优视科技有限公司 Page access method, client, server and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647481A (en) * 2012-03-31 2012-08-22 奇智软件(北京)有限公司 Device and method for accessing preset network address
US20150193396A1 (en) * 2013-04-16 2015-07-09 Google Inc. Loading device specific content automatically when switching between devices
CN107864173A (en) * 2017-06-26 2018-03-30 平安普惠企业管理有限公司 Terminal page caching method, system and readable storage medium storing program for executing
CN110825990A (en) * 2018-07-23 2020-02-21 优视科技有限公司 Page access method, client, server and system
CN109408750A (en) * 2018-09-26 2019-03-01 中国平安财产保险股份有限公司 Page display method, device, computer equipment and storage medium
CN110287432A (en) * 2019-06-28 2019-09-27 北京金山安全软件有限公司 Network information processing method and device and electronic equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112445545A (en) * 2020-12-11 2021-03-05 Vidaa美国公司 Starting method of webpage application and display equipment
CN112445545B (en) * 2020-12-11 2024-05-28 Vidaa美国公司 Webpage application starting method and display device
CN112632420A (en) * 2020-12-24 2021-04-09 青岛海尔科技有限公司 Interface skipping method and device, storage medium and electronic device
CN112783577A (en) * 2021-03-15 2021-05-11 Vidaa美国公司 Application starting method and display equipment
CN112783577B (en) * 2021-03-15 2024-08-20 Vidaa美国公司 Application starting method and display device
CN113204722A (en) * 2021-03-30 2021-08-03 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US20190220304A1 (en) Method and device for processing application program page, and storage medium
CN111859223A (en) Webpage data calling method and device based on mobile middle station and storage medium
US11170065B2 (en) Technology agnostic UI microservices
US9244702B1 (en) Installer-free applications using native code modules and persistent local storage
US20210084019A1 (en) Secured rest execution inside headless web application
US20130219307A1 (en) System and method for runtime user interface management
US10936337B2 (en) Rendering content of service providers via web page having dynamically-loaded plugins
US20140282032A1 (en) Dynamically configuring user experiences with action uniform resource identifiers
US11023558B1 (en) Executing functions on-demand on a server utilizing web browsers
CN112748962B (en) Application loading method, device, electronic equipment and computer readable medium
CN110928571A (en) Business program development method and device
CN110807162A (en) Method and device for loading occupation bitmap
CN109857374B (en) Development method and device of mobile application
CN113448570A (en) Data processing method and device, electronic equipment and storage medium
CN115080109A (en) Multi-cloud-end environment joint debugging method, device, system and equipment based on hybrid development
CN112783903B (en) Method and device for generating update log
CN112565472B (en) Static resource processing method and device
CN113765983A (en) Site service deployment method and device
CN112527377A (en) Application program generation processing method and device, computer equipment and storage medium
CN111367590A (en) Interrupt event processing method and device
CN112559213B (en) Application communication method, device, computer equipment and storage medium
CN113805878B (en) Plug-in engineering method, device, computer system and medium
CN111506503B (en) JMeter-based interface signature verification method and device, computing equipment and storage medium
WO2023193682A1 (en) Local arrangement of remote deployment
CN117633382A (en) Page loading method and device, electronic equipment and computer readable medium

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