CN110851194A - Method and device for acquiring code for realizing new interface - Google Patents

Method and device for acquiring code for realizing new interface Download PDF

Info

Publication number
CN110851194A
CN110851194A CN201810864251.2A CN201810864251A CN110851194A CN 110851194 A CN110851194 A CN 110851194A CN 201810864251 A CN201810864251 A CN 201810864251A CN 110851194 A CN110851194 A CN 110851194A
Authority
CN
China
Prior art keywords
code
browser
new interface
new
implementing
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
CN201810864251.2A
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201810864251.2A priority Critical patent/CN110851194A/en
Publication of CN110851194A publication Critical patent/CN110851194A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44536Selecting among different versions

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for acquiring a code for realizing a new interface, and relates to the technical field of computers. One embodiment of the method comprises: determining a new interface for displaying a webpage; adding first code for verifying whether the new interface is supported by the browser to code to be sent to the browser, so that the first code will be executed by the browser before other code for presenting the web page, wherein if the execution result of the first code indicates that the browser does not support one or more of the new interfaces, the first code further causes the browser to acquire code implementing the new interfaces that are not supported. According to the implementation method, the old version browser can show the functions realized by the new API, loading of redundant codes can be avoided, the webpage loading speed is increased, and therefore user experience is improved.

Description

Method and device for acquiring code for realizing new interface
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for acquiring a code for implementing a new interface.
Background
Currently, with the vigorous development of Web applications, many new APIs (Application Programming interfaces) are developed for languages used by browsers to present Web pages. ECMAScript is a standardized script language established by ECMA (European Computer Manufacturers Association ), and a new generation of ECMAScript was released in 2015, namely ECMAScript 2015 (abbreviated as ES2015 or ES6), and reference to ES2015+ herein refers to ECMAScript 2015 and its later versions. ES2015+ is a much improved version over previous versions, adding many necessary functions, welcomed by Web developers. The commonly used scripting language JavaScript on web pages is one implementation of this standard. Although the mainstream browser has realized support for most ES2015+ new features at present, compatibility problems still exist in some old versions of browsers. In the prior art, a babel-polyfil or other tool is generally used to be compatible with a new API.
However, in the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art: although the babel-polyfil provides compatible codes for the API, so that the old version browser can analyze the new API, the babel-polyfil provides a large number of APIs, and the files related to the APIs are also large. This not only affects the page loading speed, but also makes the file completely redundant to those browsers that support these new APIs and contaminates the global variables used by JavaScript.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for acquiring a code for implementing a new interface, so that an old-version browser can show a function implemented by a new API, and can avoid loading a redundant code and accelerate a web page loading speed, thereby improving user experience.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a method for acquiring a code implementing a new interface, including: determining a new interface for displaying a webpage; adding first code for verifying whether the new interface is supported by the browser to code to be sent to the browser, so that the first code will be executed by the browser before other code for presenting the web page, wherein if the execution result of the first code indicates that the browser does not support one or more of the new interfaces, the first code further causes the browser to acquire code implementing the new interfaces that are not supported.
Optionally, the method for obtaining the code for implementing the new interface is characterized in that, in the first code, the new interface is represented in an array form.
Optionally, the method for acquiring a code for implementing a new interface is characterized in that the acquired code for implementing an unsupported new interface is saved in a local storage of the browser.
Optionally, the method for obtaining code implementing a new interface is characterized in that if the execution result of the first code indicates that the browser does not support a new interface, the first code further causes the browser to download code implementing an unsupported new interface from a specified source address.
Optionally, the method for obtaining the code for implementing the new interface is characterized in that the code to be sent to the browser is a JavaScript code.
Optionally, the method for obtaining a code for implementing a new interface is characterized in that a new interface for displaying a web page is determined by using node.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is also provided an apparatus for acquiring a code for implementing a new interface, including: the new interface determining module is used for determining a new interface for displaying the webpage; a code adding module, configured to add, to code to be sent to a browser, first code for verifying whether the new interface is supported by the browser, so that the first code will be executed by the browser before other code for presenting the web page, where if an execution result of the first code indicates that the browser does not support one or more of the new interfaces, the first code further causes the browser to acquire code that implements the new interface that is not supported.
Optionally, the apparatus for obtaining code implementing a new interface is configured to represent the new interface in an array form in the first code.
Optionally, the apparatus for acquiring code for implementing a new interface is configured to store the acquired code for implementing an unsupported new interface in a local storage of the browser.
Optionally, the apparatus for obtaining code implementing a new interface further causes the browser to download code implementing an unsupported new interface from a specified source address if the execution result of the first code indicates that the browser does not support the new interface.
Optionally, the device for acquiring a code for implementing the new interface is configured to send the code to the browser as a JavaScript code.
Optionally, the apparatus for obtaining a code for implementing a new interface is configured, where the new interface determining module determines, using node.
To achieve the above object, according to another aspect of an embodiment of the present invention, there is provided an electronic apparatus, including: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a method as in any one of the methods for obtaining code to implement a new interface described above.
To achieve the above object, according to another aspect of the embodiments of the present invention, there is provided a computer readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method as described in any one of the above methods for obtaining code implementing a new interface.
One embodiment of the above invention has the following advantages or benefits: because the technical means of adding the first code for verifying whether the new interface is supported by the browser in the code to be sent to the browser is adopted, the old-version browser can show the function realized by the new API, the loading of redundant codes can be avoided, the webpage loading speed is increased, and the user experience is improved.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a flow diagram for obtaining an implementation of a new interface according to an embodiment of the present invention;
FIG. 2 is a flow diagram of a browser obtaining code implementing a new interface in accordance with an embodiment of the present invention;
FIG. 3 is a schematic diagram of the main modules of an apparatus for obtaining code implementing a new interface according to an embodiment of the present invention;
FIG. 4 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
FIG. 5 is a schematic block diagram of a computer system suitable for use with a client or server implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the embodiment of the present invention, JavaScript is taken as an example to describe an embodiment of obtaining code for implementing a new interface, but it should be understood that the web page development language referred to herein is not limited to JavaScript.
FIG. 1 is a flow diagram for obtaining an implementation of a new interface according to an embodiment of the present invention. As shown in FIG. 1, code for rendering a web page, also referred to herein as front-end code, is typically prepared by a developer in their local development environment. After the development work of the front-end code is completed, the developer uploads the front-end code to the Web server. When an end user (not shown) accesses a Web page using a browser, the browser retrieves Web page content, e.g., including JavaScript code, from a Web server via the HTTP protocol, thereby presenting the Web page to the end user.
In step S101, the developer determines all new APIs such as ES2015+ of JavaScript and compatible codes corresponding to the new APIs (hereinafter, simply referred to as interfaces) in the local development environment. In one embodiment, the developer uses node. js to scan JavaScript code that is the front-end code for sending to the browser to render the web page to find out if it contains the new interface provided by ES2015 +. In the case that a new interface is included in JavaScript code that is front-end code to be sent to a browser, a developer adds first code for verifying whether the new interface is supported by the browser before a current front-end code, so that the first code will be executed by the browser before the current front-end code. In one embodiment, the new interface may be represented in the first code in array form, and accordingly, an empty array will indicate that no new interface is involved in the front-end code. In another embodiment, a download address from which code implementing the new interface (e.g., the compatible code corresponding to the new interface described above) can be obtained is also included in the first code, such as an address of a Web server as shown in fig. 1, or an address of a third party server.
In step S102, the developer uploads the sorted front-end code, for example, including JavaScript code, to the Web server. Alternatively, in the case where the Web server is used as a download address from which the code implementing the new interface can be acquired in the first code, the developer may upload the code implementing the new interface to the Web server.
In step S103, the browser requests Web page content from the Web server through an HTTP protocol (specifically, an HTTP GET message), for example, under the trigger of an end user (not shown).
In step S104, the Web server transmits the Web page content including the JavaScript code to the browser through the HTTP protocol (specifically, a reply message of HTTP 200 OK) after verifying the HTTP pass request message.
In step S105, the browser attempts to run the obtained JavaScript code, where the first code verifies whether the browser supports the new interface involved in the JavaScript code.
If the execution result of the first code indicates that the browser does not support one or more of the new interfaces, in step S106, the browser may request, for example, a Web server for a code implementing a new interface that it does not support, according to the download address provided by the first code.
Accordingly, in step S107, the Web server transmits the code that implements the new interface to the browser. Steps S106 and S107 indicate that the first code also causes the browser to obtain code that implements a new interface that is not supported.
It will be appreciated that in the case where the third party server is taken as the download address from which the code implementing the new interface can be acquired in the first code, there is no need to upload the code implementing the new interface to the Web server in step S102, and accordingly, the browser will download the code implementing the new interface from the third party server (not shown) specified in the first code in steps S106 and S107. That is, the first code also causes the browser to download code that implements an unsupported new interface from a specified source address.
In another embodiment, the browser may also load code implementing the unsupported new interface from its default source address, i.e., the first code does not specify an address from which code implementing the new interface can be obtained, or the browser ignores the address specified in the first code from which code implementing the new interface can be obtained.
In step S108, optionally, the browser saves the acquired code for implementing the unsupported new interface to a local storage of the browser. For example, the code for implementing the unsupported new interface is stored in a LocalStorage (a mechanism for saving data by a browser, where the saved data does not expire) cache, and then when the browser needs to execute the new interfaces again, the code for implementing the new interface can be directly loaded from LocalStorage without loading the code for implementing the new interface from the outside, thereby further improving the web page loading speed.
FIG. 2 is a flowchart of a browser obtaining code implementing a new interface, according to an embodiment of the present invention. As shown in fig. 2, in step S201, the browser sends a request for acquiring a Web page to the Web server through an HTTP protocol (specifically, an HTTP GET message), for example, triggered by an end user (not shown).
In step S202, the browser acquires a Web page including JavaScript code from the Web server, for example, by the HTTP protocol (specifically, a reply message of HTTP 200 OK).
In step S203, the browser attempts to run the acquired JavaScript code. The browser first executes the first code since the first code is placed before other code for rendering the web page.
In S204, the first code determines whether the browser supports the new interface related in the JavaScript code, that is, the first code determines whether the acquired JavaScript code includes a new interface that is not supported by the browser. In the case where there is no new interface that is not supported by the browser (no in S204), for example, the array including the new interface in the first code is an empty array or a code for implementing the new interface is already stored in the LocalStorage of the browser, the flow jumps to step S207, and the browser displays the acquired web page.
In the case where there is a new interface that is not supported by the browser (yes in S204), the flow proceeds to step S205, i.e., the browser loads code that implements the new interface that is not supported by the browser from the specified source address.
In step S206, optionally, the browser saves the acquired code for implementing the unsupported new interface to a local storage of the browser. For example, the code for implementing the unsupported new interface is stored in the LocalStorage cache, and then when the browser needs to execute the new interfaces again, the code for implementing the new interfaces can be directly loaded from the LocalStorage without loading the code for implementing the new interfaces from the outside, so that the webpage loading speed is further increased.
In step S207, the browser will present the acquired web page.
Fig. 3 is a schematic diagram of the main modules of an apparatus for acquiring code implementing a new interface according to an embodiment of the present invention. As shown in fig. 3, the apparatus for acquiring code implementing a new interface includes a new interface determining module and a code adding module. The new interface determining module is used for determining a new interface for displaying a webpage; the code adding module is used for adding first code for verifying whether the new interface is supported by the browser in code to be sent to the browser, so that the first code is executed by the browser before other code for displaying the webpage, wherein if the execution result of the first code indicates that the browser does not support one or more of the new interfaces, the first code also causes the browser to acquire code for realizing the new interface which is not supported.
Optionally, the code adding module represents the new interface in array form in the first code and/or includes an address from which a browser can download code implementing the new interface.
Optionally, in a case that the code to be sent to the browser is JavaScript code, the code adding module also writes the first code in JavaScript.
Optionally, the new interface determining module determines a new interface for displaying a web page using node.
Fig. 4 is an exemplary system architecture diagram in which embodiments of the present invention may be employed.
As shown in fig. 4, system architecture 400 may include clients 401, 402, 403, network 404, and server 405. Network 404 serves as a medium for providing communication links between clients 401, 402, 403 and server 405. Network 404 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
Clients 401, 402, 403 may be used to interact with server 405 through network 404 to receive or send messages, etc. The clients 401, 402, 403 may have applications installed thereon, such as a browser application, an online mall application, and the like (by way of example only). In one embodiment, the clients 401, 402, 403 may send requests to the server 405 to retrieve web pages to present the web pages to end users.
Clients 401, 402, 403 may be a variety of electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablets, laptop and desktop computers, and the like.
The server 405 may be a server that provides various services, such as a Web server that provides front-end code (for example only). The server 405 may interact with the local development environment to obtain front-end code that includes first code that verifies whether the new interface is supported by the browser.
It should be noted that the information pushing method provided by the embodiment of the present invention is generally executed by the server 405, and accordingly, the information pushing apparatus is generally disposed in the server 405.
It should be understood that the number of terminal devices, networks, and servers in fig. 4 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
FIG. 5 is a schematic block diagram of a computer system suitable for use with a client or server implementing an embodiment of the invention.
Referring now to FIG. 5, there is illustrated a block diagram of a computer system 500 suitable for use in a server for obtaining code implementing a new interface. The server shown in fig. 5 is only an example, and should not bring any limitation to the function and the scope of use of the embodiments of the present invention.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to the embodiments 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 embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 501.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium 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 invention, 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 the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, 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 readable medium that is not a computer readable storage medium and 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 readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
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 invention. 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 or flowchart illustration, and combinations of blocks in the block diagrams 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.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a sending module, an obtaining module, a determining module, and a first processing module. The names of these modules do not form a limitation on the modules themselves in some cases, and for example, the sending module may also be described as a "module sending a picture acquisition request to a connected server".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: monitoring the sleep state of a user and determining whether the user is sleeping; and suspending the running of the task under the condition that the user is determined to be in the sleep state, and continuously monitoring the sleep state of the user under the condition that the user is determined not to be in the sleep state. .
According to the technical scheme of the embodiment of the invention, the method has the following advantages or beneficial effects: because the technical means of adding the first code for verifying whether the new interface is supported by the browser in the code to be sent to the browser is adopted, the old-version browser can show the function realized by the new API, the loading of redundant codes can be avoided, the webpage loading speed is increased, and the user experience is improved.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (14)

1. A method for obtaining code implementing a new interface, comprising:
determining a new interface for displaying a webpage;
adding first code for verifying whether the new interface is supported by the browser to code to be sent to the browser, so that the first code will be executed by the browser before other code for presenting the web page, wherein if the execution result of the first code indicates that the browser does not support one or more of the new interfaces, the first code further causes the browser to acquire code implementing the new interfaces that are not supported.
2. The method of claim 1, wherein the new interface is represented in array form in the first code.
3. The method of claim 1, wherein the retrieved code that implements the unsupported new interface is saved to a local store of the browser.
4. The method of claim 1, wherein the first code further causes the browser to download code implementing an unsupported new interface from a specified source address if the execution of the first code indicates that the browser does not support the new interface.
5. The method of any of claims 1-4, wherein the code to be sent to the browser is JavaScript code.
6. The method of claim 5, wherein a new interface for presenting a web page is determined using node.
7. An apparatus for obtaining code implementing a new interface, comprising:
the new interface determining module is used for determining a new interface for displaying the webpage;
a code adding module, configured to add, to code to be sent to a browser, first code for verifying whether the new interface is supported by the browser, so that the first code will be executed by the browser before other code for presenting the web page, where if an execution result of the first code indicates that the browser does not support one or more of the new interfaces, the first code further causes the browser to acquire code that implements the new interface that is not supported.
8. The apparatus of claim 7, wherein in the first code, the new interface is represented in an array form.
9. The apparatus of claim 7, wherein the retrieved code implementing the unsupported new interface is saved to a local storage of the browser.
10. The apparatus of claim 7, wherein the first code further causes the browser to download code implementing an unsupported new interface from a specified source address if the execution of the first code indicates that the browser does not support the new interface.
11. The apparatus according to any of claims 7-10, wherein the code to be sent to the browser is JavaScript code.
12. The apparatus of claim 7, wherein the new interface determination module determines a new interface for presenting a web page using node.
13. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
14. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN201810864251.2A 2018-08-01 2018-08-01 Method and device for acquiring code for realizing new interface Pending CN110851194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810864251.2A CN110851194A (en) 2018-08-01 2018-08-01 Method and device for acquiring code for realizing new interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810864251.2A CN110851194A (en) 2018-08-01 2018-08-01 Method and device for acquiring code for realizing new interface

Publications (1)

Publication Number Publication Date
CN110851194A true CN110851194A (en) 2020-02-28

Family

ID=69594395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810864251.2A Pending CN110851194A (en) 2018-08-01 2018-08-01 Method and device for acquiring code for realizing new interface

Country Status (1)

Country Link
CN (1) CN110851194A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112039749A (en) * 2020-08-31 2020-12-04 广州鲁邦通物联网科技有限公司 Node js-based Internet of things equipment management method, system and storage medium
WO2022135410A1 (en) * 2020-12-25 2022-06-30 维沃移动通信有限公司 Method and apparatus for loading source file

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546310A (en) * 2008-03-28 2009-09-30 纬创资通股份有限公司 Method for improving web page compatibility as well as correlative electronic device and web page access system
CN102890724A (en) * 2012-10-25 2013-01-23 北京奇虎科技有限公司 Webpage loading method and device
CN105992978A (en) * 2013-12-18 2016-10-05 斯凯孚公司 Portable wireless self-hosted condition monitoring Web server and method of use
US20170171289A1 (en) * 2015-12-14 2017-06-15 Wyse Technology, L.L.C. Gateway that enables a browser-based application to communicate with a server-side application using a non-browser-compatable protocol

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546310A (en) * 2008-03-28 2009-09-30 纬创资通股份有限公司 Method for improving web page compatibility as well as correlative electronic device and web page access system
CN102890724A (en) * 2012-10-25 2013-01-23 北京奇虎科技有限公司 Webpage loading method and device
CN105992978A (en) * 2013-12-18 2016-10-05 斯凯孚公司 Portable wireless self-hosted condition monitoring Web server and method of use
US20170171289A1 (en) * 2015-12-14 2017-06-15 Wyse Technology, L.L.C. Gateway that enables a browser-based application to communicate with a server-side application using a non-browser-compatable protocol

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112039749A (en) * 2020-08-31 2020-12-04 广州鲁邦通物联网科技有限公司 Node js-based Internet of things equipment management method, system and storage medium
WO2022135410A1 (en) * 2020-12-25 2022-06-30 维沃移动通信有限公司 Method and apparatus for loading source file

Similar Documents

Publication Publication Date Title
CN111475180A (en) Method and system for updating client cache
CN111045833B (en) Interface calling method and device
CN110554876A (en) Method and device for compiling android project
CN113760324A (en) Method and device for constructing micro front-end application
CN113010405A (en) Application program testing method and device
CN110928571A (en) Business program development method and device
CN111290871A (en) Method and device for acquiring crash information of application program
CN113452733A (en) File downloading method and device
CN110851194A (en) Method and device for acquiring code for realizing new interface
CN111783005B (en) Method, device and system for displaying web page, computer system and medium
CN112214250A (en) Application program assembly loading method and device
CN112149392A (en) Rich text editing method and device
CN113779122B (en) Method and device for exporting data
CN112181470B (en) Patch deployment method and device
US11366613B2 (en) Method and apparatus for writing data
CN112860447B (en) Interaction method and system between different applications
CN113742617A (en) Cache updating method and device
CN113656041A (en) Data processing method, device, equipment and storage medium
CN112579447A (en) Browser testing method and device
CN113132447A (en) Reverse proxy method and system
CN111796878A (en) Resource splitting and loading method and device applied to single-page application
CN111078324B (en) Method and apparatus for prefetching page data
CN113449215B (en) Picture loading method and device
CN110727739B (en) Data storage method and device
CN114428805A (en) Page display method, device, 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