Webpage development tool parameter setting method and webpage development tool parameter application method

By obtaining and encapsulating the information of hybrid framework plug-in in web development code, and setting the development tool to call incoming parameters based on the information of the native access terminal, the problem of high maintenance costs in traditional technology is solved, and the invisible update and maintenance reduction is achieved cost effect.

CN119105750APending Publication Date: 2024-12-10BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411043795.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

In traditional technology, web code maintenance costs that rely on special hybrid interaction frameworks are high, and when the native application programming interface is updated, the web code needs to be frequently modified to achieve correct interaction effect, resulting in excessive maintenance costs.

Method used

By obtaining the web development code of the target web page, searching for the information of the hybrid framework plug-in, encapsulating the hybrid framework plug-in, and setting the development tool to call incoming parameters based on the information of the native access terminal, limiting the functional information of the access channel terminal, thereby realizing sensorless updates. Reduce maintenance costs on the web page.

Benefits of technology

When the transformation cost of the web development code and access channel terminal of the destination web page is basically zero, the invisible update is achieved, which significantly reduces the maintenance cost of the web page.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119105750A_ABST
    Figure CN119105750A_ABST
Patent Text Reader

Abstract

The invention relates to a webpage development tool parameter setting method and a webpage development tool parameter application method, and relates to the technical field of artificial intelligence. The method comprises the following steps: acquiring a webpage development code of a target webpage; searching for mixed frame plug-in information corresponding to each mixed frame plug-in in the webpage development code; obtaining native access terminal information corresponding to the target webpage, and packaging each mixed frame plug-in according to each piece of mixed frame plug-in information and the native access terminal information to obtain a webpage development tool corresponding to the target webpage; according to each access channel terminal corresponding to the target webpage, setting a development tool calling incoming parameter of the webpage development tool; the development tool calls the incoming parameters to limit function information corresponding to the access channel terminals. By adopting the method, non-inductive updating can be realized under the condition that the webpage development code of the target webpage and the transformation cost of each access channel terminal are basically zero, and the maintenance cost of the webpage end can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to a web development tool parameter setting method and a web development tool parameter application method. Background Art

[0002] With the development of artificial intelligence technology, hybrid interactive framework technology has emerged. It is a solution between the terminal and the web page, that is, hybrid application development that combines native development and web development. It is generally written in the specific programming language of the corresponding development platform. It combines the advantages of native development and web development.

[0003] In traditional technology, web page codes that rely on special hybrid interaction frameworks are loaded and used by multi-channel terminals mainly in two ways: one is that the web side performs branch logic for different channel hybrid frameworks. When the native application programming interface is updated, the web side needs to modify more code to achieve the correct interaction effect; the other is to natively integrate the hybrid development framework used by the web side, resulting in excessively high maintenance costs for the web side. Summary of the invention

[0004] Based on this, it is necessary to provide a web development tool parameter setting method, device, computer equipment, computer-readable storage medium and computer program product that can reduce the maintenance cost of the web page in response to the above-mentioned technical problems; as well as a web development tool parameter application method device, computer equipment, computer-readable storage medium and computer program product.

[0005] In a first aspect, the present application provides a method for setting parameters of a webpage development tool. The method includes: obtaining a webpage development code of a target webpage; searching for hybrid framework plug-in information corresponding to each hybrid framework plug-in in the webpage development code; obtaining native access terminal information corresponding to the target webpage, encapsulating each hybrid framework plug-in according to each hybrid framework plug-in information and the native access terminal information, and obtaining a webpage development tool corresponding to the target webpage; setting a development tool call input parameter of the webpage development tool according to each access channel terminal corresponding to the target webpage; the development tool call input parameter is used to limit the function information corresponding to each access channel terminal.

[0006] In a second aspect, the present application provides a webpage development tool parameter application method. The method comprises:

[0007] Acquire the development tool call incoming parameters; the development tool call incoming parameters are obtained through the steps of a web page development tool parameter setting method; according to the functional information of the development tool call incoming parameters, change the code of each access channel terminal to be embedded to obtain each embedded access channel terminal; the target access channel terminal is used to access the target web page.

[0008] In a third aspect, the present application also provides a device for setting parameters of a web page development tool. The device comprises:

[0009] A web page code acquisition module is used to acquire the web page development code of the target web page;

[0010] A plug-in information obtaining module is used to search for hybrid framework plug-in information corresponding to each hybrid framework plug-in in the web page development code;

[0011] A webpage tool obtaining module, used to obtain the native access terminal information corresponding to the target webpage, encapsulate each of the hybrid framework plug-ins according to the hybrid framework plug-in information and the native access terminal information, and obtain the webpage development tool corresponding to the target webpage;

[0012] The development parameter setting module is used to set the development tool calling input parameters of the webpage development tool according to each access channel terminal corresponding to the target webpage; the development tool calling input parameters are used to limit the function information corresponding to each access channel terminal.

[0013] In a fourth aspect, the present application also provides a webpage development tool parameter application device. The device comprises:

[0014] A development parameter acquisition module is used to acquire the input parameters of the development tool call; the input parameters of the development tool call are obtained through the steps of a web page development tool parameter setting method; a channel terminal acquisition module is used to change the code of each access channel terminal to be embedded according to the functional information of the input parameters of the development tool call, and obtain each embedded access channel terminal; the target access channel terminal is used to access the target web page.

[0015] In a fifth aspect, the present application also provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program: obtaining the webpage development code of the target webpage; searching for the hybrid framework plug-in information corresponding to each hybrid framework plug-in in the webpage development code; obtaining the native access terminal information corresponding to the target webpage, and encapsulating each hybrid framework plug-in according to each hybrid framework plug-in information and the native access terminal information to obtain the webpage development tool corresponding to the target webpage; setting the development tool call input parameters of the webpage development tool according to each access channel terminal corresponding to the target webpage; the development tool call input parameters are used to limit the function information corresponding to each access channel terminal.

[0016] And, obtaining the development tool calling incoming parameters; the development tool calling incoming parameters are obtained through the steps of a web page development tool parameter setting method; according to the functional information of the development tool calling incoming parameters, changing the code of each access channel terminal to be embedded, and obtaining each embedded access channel terminal; the target access channel terminal is used to access the target web page.

[0017] In a sixth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented: obtaining the webpage development code of the target webpage; searching for the hybrid framework plug-in information corresponding to each hybrid framework plug-in in the webpage development code; obtaining the native access terminal information corresponding to the target webpage, and encapsulating each hybrid framework plug-in according to each hybrid framework plug-in information and the native access terminal information to obtain the webpage development tool corresponding to the target webpage; setting the development tool call input parameters of the webpage development tool according to each access channel terminal corresponding to the target webpage; the development tool call input parameters are used to limit the function information corresponding to each access channel terminal.

[0018] And, obtaining the development tool calling incoming parameters; the development tool calling incoming parameters are obtained through the steps of a web page development tool parameter setting method; according to the functional information of the development tool calling incoming parameters, changing the code of each access channel terminal to be embedded, and obtaining each embedded access channel terminal; the target access channel terminal is used to access the target web page.

[0019] In a seventh aspect, the present application also provides a computer program product. The computer program product includes a computer program, which implements the following steps when executed by a processor: obtaining a web page development code of a target web page; searching for hybrid framework plug-in information corresponding to each hybrid framework plug-in in the web page development code; obtaining native access terminal information corresponding to the target web page, encapsulating each hybrid framework plug-in according to each hybrid framework plug-in information and the native access terminal information, and obtaining a web page development tool corresponding to the target web page; setting a development tool call input parameter of the web page development tool according to each access channel terminal corresponding to the target web page; the development tool call input parameter is used to limit the function information corresponding to each access channel terminal.

[0020] And, obtaining the development tool calling incoming parameters; the development tool calling incoming parameters are obtained through the steps of a web page development tool parameter setting method; according to the functional information of the development tool calling incoming parameters, changing the code of each access channel terminal to be embedded, and obtaining each embedded access channel terminal; the target access channel terminal is used to access the target web page.

[0021] The above-mentioned web page development tool parameter setting method, device, computer equipment, computer-readable storage medium and computer program product; and a web page development tool parameter application method device, computer equipment, computer-readable storage medium and computer program product, obtain the web page development code of the target web page; search for the mixed framework plug-in information corresponding to each mixed framework plug-in in the web page development code; obtain the native access terminal information corresponding to the target web page, and encapsulate each mixed framework plug-in according to the mixed framework plug-in information and the native access terminal information to obtain the web page development tool corresponding to the target web page; set the development tool call incoming parameters of the web page development tool according to each access channel terminal corresponding to the target web page; the development tool call incoming parameters are used to limit the function information corresponding to each access channel terminal.

[0022] And, obtaining the development tool call incoming parameters; the development tool call incoming parameters are obtained through the steps of a web page development tool parameter setting method; according to the functional information of the development tool call incoming parameters, the code of each access channel terminal to be embedded is changed to obtain each embedded access channel terminal; the target access channel terminal is used to access the target web page.

[0023] By encapsulating the various hybrid framework plug-ins of the target web page, the web development tool corresponding to the target web page is obtained; the development tool of the web development tool is further applied to call the incoming parameters to establish an interactive channel with each access channel terminal, which can achieve seamless update with the web development code of the target web page and the modification cost of each access channel terminal being basically zero, which is beneficial to reducing the maintenance cost of the web page. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 An application environment diagram of a web page development tool parameter setting method in one embodiment;

[0025] Figure 2 A schematic diagram of a flow chart of a method for setting parameters of a webpage development tool in one embodiment;

[0026] Figure 3 A schematic flow chart of a method for obtaining a webpage development tool in one embodiment;

[0027] Figure 4 A schematic diagram of a flow chart of a redundant code deletion method in one embodiment;

[0028] Figure 5 A schematic diagram of a flow chart of a development tool calling an input parameter setting method in one embodiment;

[0029] Figure 6 It is a flow chart of a method for determining channel terminal parameters in one embodiment;

[0030] Figure 7 A schematic diagram of a flow chart of a webpage development tool parameter application method in one embodiment;

[0031] Figure 8 It is a structural block diagram of a parameter setting device for a webpage development tool in one embodiment;

[0032] Fig. 9 A structural block diagram of a web page development tool parameter application device in one embodiment;

[0033] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0035] The web page development tool parameter setting method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The server 104 obtains the web page development code of the target web page from the terminal 102; searches for the hybrid framework plug-in information corresponding to each hybrid framework plug-in in the web page development code; the server 104 obtains the native access terminal information corresponding to the target web page from the terminal 102, and encapsulates each hybrid framework plug-in according to the information of each hybrid framework plug-in and the native access terminal information, and obtains the web page development tool corresponding to the target web page; according to each access channel terminal corresponding to the target web page, the development tool call input parameters of the web page development tool are set; the development tool call input parameters are used to limit the function information corresponding to each access channel terminal. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices, and the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.

[0036] In one embodiment, Figure 2 As shown, a method for setting parameters of a web page development tool is provided, and the method is applied to Figure 1 The server in the example is used to illustrate the following steps:

[0037] Step 202, obtaining the web page development code of the target web page.

[0038] The target web page may be a web page that needs to interact with various external terminals.

[0039] The web page development code may be a global wide area network (Web) side code for generating a target web page.

[0040] Specifically, the server responds to the task instruction of the terminal for setting the parameters of the webpage development tool of the target webpage, obtains the webpage development code and the native access terminal information of the target webpage from the terminal, and stores the obtained webpage development code and the native access terminal information in the storage unit. When the server needs to process the webpage development code and the native access terminal information, it retrieves them from the storage unit to the volatile storage resource for the central processor to calculate. The webpage development code and the native access terminal information can be a single data input to the central processor, or multiple data can be input to the central processor at the same time.

[0041] Step 204: Search for hybrid framework plug-in information corresponding to each hybrid framework plug-in in the webpage development code.

[0042] Among them, the hybrid framework plug-in can be a plug-in of a framework that combines native applications and global wide area network technology.

[0043] The hybrid framework plug-in information may be data information representing the hybrid framework plug-in.

[0044] Specifically, the server 104 extracts the hybrid framework plug-in information corresponding to each hybrid framework plug-in from each hybrid framework plug-in in the web page development code by searching. Among them, the hybrid framework plug-in can be (1) Cordova, which is a mobile application development framework based on HTML, CSS and JavaScript, and can provide a series of APIs so that developers can call the functions of native applications in web pages; (2) React Native, which is a plug-in based on React.js. The principle of React Native is to describe the interface through JavaScript, and then convert the JavaScript code into native code through Bridge. React Native supports iOS and Android platforms, which can easily realize cross-platform development; (3) Ionic, which is a hybrid development framework based on Angular.js, which can provide a series of components and tools so that developers can easily build high-quality mobile applications. The principle of Ionic is to embed web pages in native applications, render web pages through WebView, and interact with native applications through JavaScript; (4) Weex, the principle is to describe the interface through JavaScript, and then convert JavaScript code into native code through Bridge.

[0045] Step 206, obtaining the native access terminal information corresponding to the target webpage, encapsulating each hybrid framework plug-in according to each hybrid framework plug-in information and the native access terminal information, and obtaining the webpage development tool corresponding to the target webpage.

[0046] The native access terminal information may be data of a native application that accesses a target web page.

[0047] The web page development tool may be a software development kit (SDK) that encapsulates multiple hybrid framework plug-ins.

[0048] Specifically, the hybrid framework plug-ins required for the target webpage are determined according to the native access terminal information, and the target hybrid framework plug-in information is extracted from the hybrid framework plug-in information according to the selected hybrid framework plug-ins, wherein the target hybrid framework plug-in information can be matched with the native access terminal information in the target webpage. Then, the corresponding hybrid framework plug-ins are matched as the target hybrid framework plug-ins according to the target hybrid framework plug-in information, and the target hybrid framework plug-ins are packaged using the packaging rules of the software development kit (SDK) to obtain a webpage development tool.

[0049] After encapsulating each target hybrid framework plug-in to obtain a web development tool, the web development tool is tested to obtain a development tool test result, wherein the development tool test result shows that the web development tool can display the normal operation part and the corresponding information, and can also display the abnormal operation part and the corresponding information. Then, the abnormal operation part and the corresponding information of the development tool test result are deleted, and the normal operation part and the corresponding information of the development tool test result are searched for redundant codes. Finally, the searched redundant codes are deleted from the web development tool to obtain a web development tool that can be used normally and efficiently.

[0050] Step 208: setting the development tool call input parameters of the webpage development tool according to the access channel terminals corresponding to the target webpage.

[0051] The development tool call input parameters may be software development tool kit access port parameters required for each access channel terminal to access the target web page.

[0052] The access channel terminal may be each terminal software that accesses the target web page.

[0053] Specifically, according to the intervention relationship between the target web page and each access channel terminal, the terminal interaction parameters corresponding to each access channel terminal are determined, that is, the terminal interaction parameters between any access channel terminal and the target web page are determined. Then, according to the terminal interaction parameters of any access channel terminal, the terminal access parameters between the access channel terminal and the target web page, the business scenario information of the access channel terminal between the target web page, and the channel application information of the access channel terminal between the target web page are determined. Finally, the terminal access parameters, business scenario information, and channel application information are integrated as the channel terminal parameters corresponding to each access channel terminal.

[0054] According to the access parameters of each terminal, the information of each business scenario and the application information of each channel, combined with the packaged web development tool, the development tool call input parameters used to limit the functional information corresponding to each access channel terminal are determined, wherein the functional information includes integration information and call information.

[0055] In the above-mentioned web page development tool parameter setting method, the web page development code of the target web page is obtained; the mixed framework plug-in information corresponding to each mixed framework plug-in in the web page development code is searched; the native access terminal information corresponding to the target web page is obtained, and each mixed framework plug-in is encapsulated according to the mixed framework plug-in information and the native access terminal information to obtain the web page development tool corresponding to the target web page; according to each access channel terminal corresponding to the target web page, the development tool call incoming parameters of the web page development tool are set; the development tool call incoming parameters are used to limit the function information corresponding to each access channel terminal.

[0056] By encapsulating the various hybrid framework plug-ins of the target web page, the web development tool corresponding to the target web page is obtained; the development tool of the web development tool is further applied to call the incoming parameters to establish an interactive channel with each access channel terminal, which can achieve seamless update with the web development code of the target web page and the modification cost of each access channel terminal being basically zero, which is beneficial to reducing the maintenance cost of the web page.

[0057] In one embodiment, Figure 3 As shown, each hybrid framework plug-in is encapsulated according to the information of each hybrid framework plug-in and the native access terminal information to obtain a web page development tool corresponding to the target web page, including:

[0058] Step 302: extract each target hybrid framework plug-in information from each hybrid framework plug-in information according to the native access terminal information.

[0059] The target hybrid framework plug-in information may be information that forms a corresponding relationship with the native access terminal information and is consistent with information to be matched in the target web page.

[0060] Specifically, the hybrid framework plug-ins required for the target web page are determined according to the native access terminal information, and the target hybrid framework plug-in information is extracted from the hybrid framework plug-in information according to the selected hybrid framework plug-ins, wherein the target hybrid framework plug-in information can be matched with the native access terminal information in the target web page.

[0061] Step 304: encapsulate the hybrid framework plug-in according to each target hybrid framework plug-in information to obtain a web page development tool.

[0062] Specifically, the corresponding mixed framework plug-ins are matched as the target mixed framework plug-ins according to the information of each target mixed framework plug-in, and each target mixed framework plug-in is packaged using the packaging rule of a software development kit (SDK) to obtain a web page development tool.

[0063] In this embodiment, by selecting various hybrid framework plug-ins of the target according to the native access terminal information for encapsulation, the branch logic of the target webpage can be reduced and the maintainability of the code can be improved.

[0064] In one embodiment, Figure 4 As shown, after encapsulating the hybrid framework plug-in according to each target hybrid framework plug-in information to obtain the web page development tool step, the method further includes:

[0065] Step 402, testing the web page development tool to obtain the development tool test result.

[0066] The development tool test result may be a test result obtained by performing a functional test on the webpage development tool.

[0067] Specifically, after each target hybrid framework plug-in is encapsulated to obtain a web development tool, the web development tool is tested to obtain a development tool test result, wherein the development tool test result shows that the web development tool can display the normally running part and the corresponding information, and can also display the abnormally running part and the corresponding information.

[0068] Step 404, determining redundant code from the web page development tool according to the development tool test result.

[0069] The redundant code may be an unnecessary code segment in the code set.

[0070] Specifically, the abnormally running part of the development tool test result and the corresponding information are deleted, and the normally running part of the development tool test result and the corresponding information are searched for redundant codes.

[0071] Step 406, delete redundant code from the web page development tool.

[0072] Specifically, the redundant codes obtained by searching are deleted from the web page development tool, so as to obtain a web page development tool that can be used normally and efficiently.

[0073] In this embodiment, the execution efficiency of the webpage development tool can be improved by deleting redundant codes indicated in the test results of the webpage development tool.

[0074] In one embodiment, Figure 5As shown, according to each access channel terminal corresponding to the target web page, the development tool call input parameters of the web page development tool are set, including:

[0075] Step 502: Acquire channel terminal parameters corresponding to each access channel terminal.

[0076] The channel terminal parameter may be a terminal interaction parameter between the channel terminal and the target webpage.

[0077] Specifically, according to the intervention relationship between the target web page and each access channel terminal, the terminal interaction parameters corresponding to each access channel terminal are determined, that is, the terminal interaction parameters between any access channel terminal and the target web page are determined. Then, according to the terminal interaction parameters of any access channel terminal, the terminal access parameters between the access channel terminal and the target web page, the business scenario information of the access channel terminal between the target web page, and the channel application information of the access channel terminal between the target web page are determined. Finally, the terminal access parameters, business scenario information, and channel application information are integrated as the channel terminal parameters corresponding to each access channel terminal.

[0078] Step 504, setting the development tool to call the input parameters according to the terminal parameters of each channel.

[0079] Specifically, based on the access parameters of each terminal, each business scenario information and each channel application information, combined with the packaged web development tool, the development tool call input parameters for limiting the functional information corresponding to each access channel terminal are determined, wherein the functional information includes integration information and call information.

[0080] In this embodiment, the channel terminal parameters corresponding to each access channel terminal are used to set the development tool to call the input parameters, which can ensure that the native terminal only needs to integrate the web development tool, so that the development cost is basically low.

[0081] In one embodiment, Figure 6 As shown, the channel terminal parameters corresponding to each access channel terminal are obtained, including:

[0082] Step 602: determining terminal interaction parameters corresponding to each access channel terminal according to the target web page.

[0083] The terminal interaction parameter may be a physical parameter required for the access channel terminal to perform data interaction with the target webpage.

[0084] Specifically, according to the intervention relationship between the target webpage and each access channel terminal, the terminal interaction parameter corresponding to each access channel terminal is determined, that is, the terminal interaction parameter between any access channel terminal and the target webpage is determined.

[0085] Step 604: Determine the terminal access parameters, business scenario information and channel application information of the target webpage from the access channel terminals according to the terminal interaction parameters.

[0086] The terminal access parameter may be a port parameter required for the access channel terminal to access the target web page.

[0087] The business scenario information may be parameters of the application business scenario of the access channel terminal.

[0088] The channel application information may be inherent parameters of the access channel terminal, such as the size and type of the application.

[0089] Specifically, according to each terminal interaction parameter of any access channel terminal, each terminal access parameter between the access channel terminal and the target web page, each business scenario information of the access channel terminal between the target web page, and each channel application information of the access channel terminal between the target web page are determined.

[0090] Step 606, determining the terminal parameters of each channel according to the access parameters of each terminal, the information of each business scenario and the application information of each channel.

[0091] Specifically, each terminal access parameter, each business scenario information, and each channel application information are integrated as a channel terminal parameter corresponding to each access channel terminal.

[0092] In this embodiment, by determining each terminal access parameter, each business scenario information and each channel application information of the target webpage, it is possible to ensure that the native terminal can achieve the fastest functional access to the target webpage without adding a new framework.

[0093] In one embodiment, Figure 7 As shown, a web page development tool parameter application method is provided, and the method is applied to Figure 1 The terminal in is used as an example to illustrate, including the following steps:

[0094] Step 702: Obtain the input parameters of the development tool call.

[0095] Specifically, the terminal responds to the task instruction of the web page development tool parameter application, obtains the development tool call input parameters, and stores the obtained development tool call input parameters in the storage unit. When the server needs to process the development tool call input parameters, it is retrieved from the storage unit to the volatile storage resource for the central processor to calculate. Among them, the development tool call input parameters can be a single data input to the central processor, or multiple data can be input to the central processor at the same time.

[0096] Step 704, according to the function information of the input parameter called by the development tool, the code of each access channel terminal to be embedded is changed to obtain each embedded access channel terminal.

[0097] The functional information may be the integration information and calling information of the web page development tool.

[0098] Specifically, according to the integration information and calling information in the parameters passed in by the development tool, the code used to embed the target web page in each access channel terminal to be embedded is changed, and each embedded access channel terminal is obtained. Finally, each embedded access channel terminal is debugged to ensure that each embedded access channel terminal can access the target web page normally.

[0099] In this embodiment, the code of each access channel terminal is modified by using the development tool to call the input parameters to achieve the purpose of accessing the target web page. This can achieve unified access for access channel terminals in multiple business scenarios and multiple channels, and reduce the development cost of each access channel terminal.

[0100] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0101] Based on the same inventive concept, the embodiment of the present application also provides a webpage development tool parameter setting device for implementing the webpage development tool parameter setting method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of one or more webpage development tool parameter setting devices provided below can refer to the limitations of a webpage development tool parameter setting method above, and will not be repeated here.

[0102] In one embodiment, Figure 8 As shown, a web page development tool parameter setting device is provided, including: a web page code acquisition module 802, a plug-in information acquisition module 804, a web page tool acquisition module 806 and a development parameter setting module 808, wherein:

[0103] The webpage code acquisition module 802 is used to acquire the webpage development code of the target webpage;

[0104] The plug-in information obtaining module 804 is used to search for the hybrid framework plug-in information corresponding to each hybrid framework plug-in in the web page development code;

[0105] The webpage tool obtaining module 806 is used to obtain the native access terminal information corresponding to the target webpage, and encapsulate each hybrid framework plug-in according to each hybrid framework plug-in information and the native access terminal information to obtain the webpage development tool corresponding to the target webpage;

[0106] The development parameter setting module 808 is used to set the development tool call input parameters of the webpage development tool according to the access channel terminals corresponding to the target webpage; the development tool call input parameters are used to limit the function information corresponding to each access channel terminal.

[0107] In one embodiment, the webpage tool obtaining module 806 is further used to extract each target mixed framework plug-in information from each mixed framework plug-in information according to the native access terminal information; and encapsulate the mixed framework plug-in according to each target mixed framework plug-in information to obtain the webpage development tool.

[0108] In one embodiment, the webpage tool obtaining module 806 is further used to test the webpage development tool to obtain the development tool test result; determine the redundant code from the webpage development tool according to the development tool test result; and delete the redundant code from the webpage development tool.

[0109] In one embodiment, the development parameter setting module 808 is further used to obtain channel terminal parameters corresponding to each access channel terminal; and set the development tool call input parameters according to each channel terminal parameter.

[0110] In one embodiment, the development parameter setting module 808 is also used to determine the terminal interaction parameters corresponding to each access channel terminal according to the target web page; determine the terminal access parameters, business scenario information and channel application information of the target web page from each access channel terminal according to each terminal interaction parameter; determine the terminal parameters of each channel according to each terminal access parameter, each business scenario information and each channel application information.

[0111] Based on the same inventive concept, the embodiment of the present application also provides a webpage development tool parameter application device for implementing the webpage development tool parameter application method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more webpage development tool parameter application device embodiments provided below can refer to the limitations of a webpage development tool parameter application method above, and will not be repeated here.

[0112] In one embodiment, Fig. 9 As shown, a webpage development tool parameter application device is provided, including: a development parameter acquisition module 902 and a channel terminal acquisition module 904, wherein:

[0113] Development parameter acquisition module 902, used to acquire the input parameters of the development tool call; the input parameters of the development tool call are obtained through the steps of a web page development tool parameter setting method;

[0114] The channel terminal obtaining module 904 is used to modify the codes of each access channel terminal to be embedded according to the function information of the input parameters called by the development tool, and obtain each embedded access channel terminal; the target access channel terminal is used to access the target web page.

[0115] Each module in the above-mentioned web page development tool parameter setting device and web page development tool parameter application device can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.

[0116] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.10 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store server data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a web development tool parameter setting method and a web development tool parameter application method are implemented.

[0117] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0118] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0119] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0120] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-mentioned method embodiments.

[0121] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0122] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0123] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0124] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for setting parameters of a web page development tool, characterized in that: The method comprises: Obtain the web development code of the target web page; Searching for hybrid framework plug-in information corresponding to each hybrid framework plug-in in the webpage development code; Acquire the native access terminal information corresponding to the target webpage, and encapsulate each of the hybrid framework plug-ins according to the hybrid framework plug-in information and the native access terminal information to obtain a webpage development tool corresponding to the target webpage; According to each access channel terminal corresponding to the target webpage, a development tool calling input parameter of the webpage development tool is set; the development tool calling input parameter is used to limit the function information corresponding to each access channel terminal.

2. The method according to claim 1, characterized in that The step of encapsulating each of the hybrid framework plug-ins according to the hybrid framework plug-in information and the native access terminal information to obtain a webpage development tool corresponding to the target webpage includes: Extracting each target hybrid framework plug-in information from each hybrid framework plug-in information according to the native access terminal information; The mixed framework plug-in is encapsulated according to each target mixed framework plug-in information to obtain the web page development tool.

3. The method according to claim 2, characterized in that After the step of encapsulating the hybrid framework plug-in according to each target hybrid framework plug-in information to obtain the webpage development tool, the method further includes: Testing the webpage development tool to obtain a development tool test result; Determining redundant code from the web page development tool according to the development tool test result; The redundant code is deleted from the web page development tool.

4. The method according to claim 1, characterized in that: The step of setting the development tool call input parameters of the webpage development tool according to each access channel terminal corresponding to the target webpage includes: Acquire channel terminal parameters corresponding to each of the access channel terminals; The development tool calling input parameters are set according to the channel terminal parameters.

5. The method according to claim 4, characterized in that The acquiring of channel terminal parameters corresponding to each of the access channel terminals includes: Determining terminal interaction parameters corresponding to each of the access channel terminals according to the target webpage; Determining, from each access channel terminal, each terminal access parameter, each business scenario information, and each channel application information of the target webpage according to each terminal interaction parameter; Determine each channel terminal parameter according to each terminal access parameter, each business scenario information and each channel application information.

6. A web page development tool parameter application method, characterized in that: The method comprises: Acquire the development tool call input parameters; the development tool call input parameters are obtained by the steps of a web page development tool parameter setting method as claimed in any one of claims 1 to 5; According to the function information of the input parameter called by the development tool, the code of each access channel terminal to be embedded is changed to obtain each embedded access channel terminal; the target access channel terminal is used to access the target webpage.

7. A web page development tool parameter setting device, characterized in that: The device comprises: A web page code acquisition module is used to acquire the web page development code of the target web page; A plug-in information obtaining module is used to search for hybrid framework plug-in information corresponding to each hybrid framework plug-in in the web page development code; A webpage tool obtaining module, used to obtain the native access terminal information corresponding to the target webpage, encapsulate each of the hybrid framework plug-ins according to the hybrid framework plug-in information and the native access terminal information, and obtain the webpage development tool corresponding to the target webpage; The development parameter setting module is used to set the development tool calling input parameters of the webpage development tool according to each access channel terminal corresponding to the target webpage; the development tool calling input parameters are used to limit the function information corresponding to each access channel terminal.

8. A web page development tool parameter application device, characterized in that: The device comprises: A development parameter acquisition module, used to acquire the input parameters of the development tool call; the input parameters of the development tool call are obtained by the steps of a web page development tool parameter setting method as claimed in any one of claims 1 to 5; The channel terminal obtaining module is used to change the codes of each access channel terminal to be embedded according to the function information of the input parameters called by the development tool to obtain each embedded access channel terminal; the target access channel terminal is used to access the target web page.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.