CN111078209A - Development processing method, device and equipment for service page - Google Patents
Development processing method, device and equipment for service page Download PDFInfo
- Publication number
- CN111078209A CN111078209A CN201911077691.4A CN201911077691A CN111078209A CN 111078209 A CN111078209 A CN 111078209A CN 201911077691 A CN201911077691 A CN 201911077691A CN 111078209 A CN111078209 A CN 111078209A
- Authority
- CN
- China
- Prior art keywords
- page
- target
- container environment
- developed
- service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Stored Programmes (AREA)
Abstract
The application discloses a method, a device and equipment for developing and processing a service page, relates to the technical field of page development, and can improve the efficiency of service page development. The method comprises the following steps: firstly, calling a page of a target container environment in a target browser, wherein the target container environment is created according to an original container environment in an APP corresponding to a service page to be developed; and then calling the service page to be developed from the page of the target container environment for editing and developing. The method and the device are suitable for development processing of the business page.
Description
Technical Field
The present application relates to the field of page development technologies, and in particular, to a method, an apparatus, and a device for developing and processing a service page.
Background
With the development of mobile internet technology, Applications (APPs) are becoming more and more powerful. Meanwhile, service pages are more and more commonly applied to the APP due to the advantages of high flexibility, short manufacturing period and the like.
At present, in the process of developing a corresponding service page for a target APP, a container environment in the target APP needs to be relied on, that is, the target APP is loaded first, and then the editing development is performed in the container environment in the target APP. However, the development process may be restricted by the condition of the container environment in the APP, which affects the fluency of the business page development, and further affects the efficiency of the business page development.
Disclosure of Invention
In view of this, the present application provides a method, an apparatus, and a device for developing and processing a service page, and mainly aims to solve the technical problem that in the process of developing a corresponding service page for a target APP at present, the development efficiency of the service page is affected due to the condition restriction of a container environment in the APP.
According to one aspect of the present application, a method for developing and processing a service page is provided, the method comprising:
calling a page of a target container environment in a target browser, wherein the target container environment is created according to an original container environment in an APP corresponding to a service page to be developed;
and calling the service page to be developed from the page of the target container environment for editing and developing.
Optionally, the preset storage location of the target container environment stores each interface information required when the service page is called in the original container environment;
editing and developing the acquired business page to be developed, and specifically comprising the following steps:
and editing and developing the acquired business page to be developed through the interface information.
Optionally, the editing and developing the retrieved service page to be developed through the interface information specifically includes:
configuring a webpage view identifier corresponding to the service page to be developed, wherein the webpage view identifier is used for judging the service page for sending the interface information calling request;
and when the target interface information is judged to be called by the service page request to be developed according to the webpage view identification, executing corresponding trigger operation according to the type of the target interface information.
Optionally, the executing the corresponding trigger operation according to the type of the target interface information specifically includes:
if the type of the target interface information is a separately stored service type, performing corresponding storage processing in a page of the target container environment, and triggering an execution event corresponding to the target interface information;
if the type of the target interface information is the service type of the calling view, acquiring a target view page needing to be called corresponding to the target interface information from a preset view storage position;
and triggering to load the target view page to a corresponding position in a page of the target container environment, and distinguishing the target view page from a layer where the service page to be developed is located.
Optionally, the method further includes:
and when receiving an operation instruction for the loaded target view page, executing a preset event corresponding to the target view page.
Optionally, the invoking a page of the target container environment in the target browser specifically includes:
and calling the page of the target container environment by inputting first website information corresponding to the page of the target container environment in the target browser.
Optionally, in the page of the target container environment, invoking the service page to be developed specifically includes:
and calling the service page to be developed by inputting the second website information of the service page to be developed in the page of the target container environment.
Optionally, the invoking the service page to be developed by inputting the second website information of the service page to be developed in the page of the target container environment specifically includes:
and processing the second website information to establish real-time communication between the service page to be developed and the page of the target container environment.
Optionally, the processing the second website information to establish real-time communication between the service page to be developed and the page of the target container environment includes:
and adding a preset parameter in the second website information, wherein the preset parameter is used for indicating to load a preset script so as to establish real-time communication between the service page to be developed and the page of the target container environment.
Optionally, the processing the second website information to establish real-time communication between the service page to be developed and the page of the target container environment further includes:
after the service page to be developed is called, a temporary session storage object is established according to the preset parameters, wherein the temporary session storage object is used for indicating to load the preset script when other service pages are called through the service page to be developed so as to establish real-time communication between the other service pages and the page of the target container environment.
Optionally, the method further includes:
and after the service page to be developed is edited and developed, testing the developed service page to be developed by using the target browser.
Optionally, the service page to be developed is configured in the page of the target container environment in the form of an inline frame IFRAME.
According to another aspect of the present application, there is provided a device for developing and processing a service page, the device including:
the system comprises a calling module, a receiving module and a processing module, wherein the calling module is used for calling a page of a target container environment in a target browser, and the target container environment is created according to an original container environment in an APP corresponding to a service page to be developed;
the calling module is also used for calling the service page to be developed in the page of the target container environment;
and the development module is used for editing and developing the acquired business page to be developed.
Optionally, the preset storage location of the target container environment stores each interface information required when the service page is called in the original container environment;
the development module is specifically configured to edit and develop the retrieved service page to be developed through the interface information.
Optionally, the development module is further specifically configured to configure a web view identifier corresponding to the service page to be developed, where the web view identifier is used to determine the service page to which the interface information call request is sent;
and when the target interface information is judged to be called by the service page request to be developed according to the webpage view identification, executing corresponding trigger operation according to the type of the target interface information.
Optionally, the development module is further specifically configured to, if the type of the target interface information is a separately stored service type, perform corresponding storage processing in a page of the target container environment, and trigger an execution event corresponding to the target interface information;
if the type of the target interface information is the service type of the calling view, acquiring a target view page needing to be called corresponding to the target interface information from a preset view storage position;
and triggering to load the target view page to a corresponding position in a page of the target container environment, and distinguishing the target view page from a layer where the service page to be developed is located.
Optionally, the development module is further configured to execute a preset event corresponding to the target view page when receiving an operation instruction for the loaded target view page.
Optionally, the invoking module is specifically configured to invoke the page of the target container environment by inputting, in the target browser, first website information corresponding to the page of the target container environment.
Optionally, the invoking module is further specifically configured to invoke the service page to be developed by inputting the second website information of the service page to be developed in the page of the target container environment.
Optionally, the invoking module is further specifically configured to process the second website information, so as to establish real-time communication between the service page to be developed and the page of the target container environment.
Optionally, the invoking module is further specifically configured to add a preset parameter to the second website information, where the preset parameter is used to instruct to load a predetermined script, so as to establish real-time communication between the service page to be developed and the page of the target container environment.
Optionally, the invoking module is further specifically configured to establish a temporary session storage object according to the preset parameter after the service page to be developed is invoked, where the temporary session storage object is configured to instruct to load the predetermined script when another service page is invoked through the service page to be developed, so as to establish real-time communication between the other service page and the page of the target container environment.
Optionally, the apparatus further comprises:
and the testing module is used for testing the developed service page to be developed by utilizing the target browser after the service page to be developed is edited and developed.
Optionally, the service page to be developed is configured in the page of the target container environment in the form of an inline frame IFRAME.
According to yet another aspect of the present application, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described processing method for user interface visual acceptance.
According to another aspect of the present application, there is provided a physical device for development processing of a service page, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, where the processor implements a method for development processing of the service page when executing the program.
By means of the technical scheme, the method, the device and the equipment for developing and processing the service page are provided. Compared with the mode of editing and developing the service page in the container environment of the APP at present, the method and the system can create the target container environment in the browser according to the original container environment of the APP in advance, and then can call the service page to edit and develop by using the target container environment in the browser, so that the influence caused by condition restriction of the container environment of the APP can be reduced, the service page can be developed more smoothly, and the efficiency of developing the service page can be improved.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a flowchart illustrating a method for developing and processing a service page according to an embodiment of the present application;
fig. 2 is a flowchart illustrating another business page development processing method provided in the embodiment of the present application;
fig. 3 is a schematic diagram illustrating an implementation architecture flow of an application scenario provided by an embodiment of the present application;
fig. 4 shows a schematic structural diagram of a development processing apparatus for a service page according to an embodiment of the present application.
Detailed Description
The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
At present, in the process of developing a corresponding business page aiming at a target APP, the condition of a container environment in the APP can be restricted, and then the efficiency of business page development can be influenced. In order to solve the technical problem, this embodiment provides a method for developing and processing a service page, as shown in fig. 1, the method includes:
101. and calling a page of the target container environment in the target browser.
The target container environment is created according to the original container environment in the APP corresponding to the business page to be developed, and is equivalent to simulating a set of APP native-based environment on the browser. The business page to be developed may be a business page that needs to be developed, for example, the business page that is not edited and is developed is continuously developed, or the business page that is developed and is completed is further modified and updated.
In this embodiment, a corresponding service page needs to be developed for a target APP, and a target container environment is created in advance according to an original container environment in the target APP, where the target container environment includes Application Programming Interface (API) methods called for the service page in the original container environment. And the target container environment can be called by a target browser, which is equivalent to calling a top-level page of the target container environment, and related pages of the target container environment can be configured locally in advance or in a cloud terminal and the like. The target browser can be a browser which is familiar to developers, easy to operate and less in constraint conditions, or other browsers can be selected according to actual requirements.
The execution subject of the embodiment may be a device or equipment for business page development processing, and may be specifically configured on the client side, so as to assist a user in editing and developing a business page.
102. And calling a service page to be developed from the page of the target container environment for editing and developing.
Because the target container environment comprises the API methods called for the service page in the original APP container environment, the service page to be developed is called in the page of the target container environment for editing and developing, so that the separation from the original APP container environment can be realized, and the related API methods can still be called for editing and developing the service page.
Compared with the current mode of editing and developing the service page in the container environment of the APP, the development processing method of the service page provided by the embodiment can create the target container environment in the browser according to the original container environment of the APP in advance, and then can call the service page to edit and develop by using the target container environment in the browser, so that the influence caused by the condition restriction of the container environment of the APP can be reduced, the development of the service page is smoother, and the development efficiency of the service page can be improved.
Further, as a refinement and an extension of the specific implementation of the foregoing embodiment, in order to fully describe the specific implementation process of the embodiment, the embodiment provides another method for developing and processing a service page, as shown in fig. 2, the method includes:
201. and calling the page of the target container environment by inputting first website information corresponding to the page of the target container environment in the target browser.
And the first website information is used for calling a page of the target container environment. By the method, the target container environment can be conveniently loaded in the target browser, the operation is simple, and the user operation is convenient.
Optionally, the preset storage location of the target container environment stores each interface information required when the service page is called in the original container environment. For example, a target container environment may be created in advance according to an original container environment in the APP corresponding to the service page to be developed, where the target container environment stores interface information required when the service page is called in the original container environment, and may further include condition content and the like for triggering calling of the interface information. Therefore, the original container environment in the APP can be accurately simulated when the service page is developed in the target container environment subsequently, the development requirement is further ensured, the influence caused by the condition restriction of the container environment in the APP can be reduced, and the development of the service page is smoother.
202. And calling the service page to be developed by inputting the second website information of the service page to be developed in the page of the target container environment.
And the second website information is used for calling a service page to be developed from the page of the target container environment. Compared with the prior art, the method and the device have the advantages that the business page to be developed, which needs to be developed, can be conveniently called, the called business page to be developed can be displayed in the page of the same target container environment, the editing, the development and the debugging of the business page can be more conveniently carried out, and certain efficiency is improved.
Optionally, the service page to be developed is configured in the page of the target container environment in the form of an inline frame IFRAME. The service page is an independent environment and is not influenced by any external style or script and the like, so that the service page is a stable and safe environment.
In order to implement real-time communication between the service page and the page of the target container environment, as an optional manner, step 202 may specifically include: and processing the second website information to establish real-time communication between the service page to be developed and the page of the target container environment. And then the required interface information is called in the target container environment, so that the effective development and editing of the service page are realized. And the service page developed subsequently calls the required interface information to realize corresponding service functions in the target container environment.
Optionally, the processing the second website information, so as to establish real-time communication between the service page to be developed and the page of the target container environment, which may specifically include: and adding a preset parameter in the second website information, wherein the preset parameter is used for indicating the loading of a preset script so as to establish real-time communication between the service page to be developed and the page of the target container environment.
In this alternative, the service page needs to introduce a script (predetermined script), and the script is loaded only in a specified environment (target container environment), so as to implement real-time communication between the service page and the page in the target container environment.
For example, when a Uniform Resource Locator (URL) of a service page to be developed is input into a page of the target container environment, the system automatically adds a parameter to the URL, and if the parameter exists, the IFRAME address of the service page finds the parameter, and then a predetermined script of the service page is loaded.
Due to the fact that other service pages may be continuously called in the service page, the preset parameters cannot be added in the newly input website information by adopting the optional mode. Therefore, in order to ensure that the newly called other service pages can also realize real-time communication with the page of the target container environment, optionally, the second website information is processed, so that the real-time communication between the service page to be developed and the page of the target container environment is established, specifically, the method may further include: after the business page to be developed is called, a temporary session storage object is established according to preset parameters, and the temporary session storage object is used for indicating and loading a preset script when other business pages are called through the business page to be developed so as to establish real-time communication between the other business pages and the page of the target container environment.
For example, by using the temporary session storage mode to replace splicing a field on the service URL to load a predetermined script, real-time communication between other newly called service pages and the page of the target container environment can be realized, and further, it is ensured that the other service pages can also realize editing development, functional test, and the like in the target container environment.
203. And editing and developing the retrieved business page to be developed.
Based on the selectable content in step 201, step 203 may specifically include: and editing and developing the retrieved service page to be developed through each interface information which is stored in the target container environment and is required when the service page is called in the original container environment. Therefore, the original container environment in the APP can be accurately simulated when the service page is developed in the target container environment, the development requirement is further guaranteed, the influence caused by the condition restriction of the container environment in the APP can be reduced, and the development of the service page is smoother.
In order to illustrate a specific development editing process, an exemplary optional method for editing and developing the retrieved service page to be developed through each piece of interface information may specifically include: configuring a webpage view identifier corresponding to a service page to be developed, wherein the webpage view identifier is used for judging the service page for sending an interface information calling request; and executing corresponding trigger operation according to the type of the target interface information when the target interface information is judged to be called by the business page request to be developed according to the webpage view identification through development and editing.
The system can automatically configure the webpage view identification (WebviewID) of each service page called in the target container environment page, and then establish a corresponding mapping relation, so that when a plurality of service pages are opened in the target container environment page, the API calling request sent by which service page can be judged according to the webpage view identification. In this way, accurate communication between the business page and the target container environment page can be achieved.
Further optionally, the executing the corresponding trigger operation according to the type of the target interface information may specifically include: and if the type of the target interface information requested to be called by the service page is the independently stored service type, performing corresponding storage processing in the page of the target container environment, and triggering an execution event corresponding to the target interface information.
For example, if the API type called by the service page request is a service type independently stored in another location, such as a set header, a header file, a button in the upper right corner, and the like, corresponding store processing may be performed in the page of the target container environment, and then a corresponding action operation is triggered, so as to execute a corresponding event, thereby achieving immediate effect.
If the type of the target interface information requested to be called by the service page is the service type of the calling view, acquiring a target view page needing to be called corresponding to the target interface information from a preset view storage position; and then triggering to load the target view page to a corresponding position in the page of the target container environment, and distinguishing the target view page from the layer where the service page to be developed is located. I.e., both may be present in different layers and then displayed in a stack.
In this alternative, all the view parts that need to be called can be stored separately and not displayed at the service layer, and the purpose of this is to distinguish the association between the view requesting to call the API method and the service view, so that there is no association between the two and there is no problem of style conflict. And if a new API about the view needs to be updated subsequently, only corresponding updating operation needs to be carried out in the preset view storage position which is stored only, and package iteration of the target container environment page does not need to be issued additionally, so that the maintenance is facilitated. For example, displaying the corresponding view may include logging in, loading, toast, and so on.
Further, through the editing development of the business page, when an operation instruction for the loaded target view page is received, a preset event corresponding to the target view page can be executed. In this embodiment, since the corresponding web view identifier is configured when the target container environment page calls the target view page, when an operation instruction (such as a user clicking the view) of the target view page loaded on the target container environment page is subsequently received, an event corresponding to the ID can be called through the identifier ID, so that a complete view is realized and the corresponding event is included.
204. And after the service page to be developed is edited and developed, testing the developed service page to be developed by using the target browser.
For example, the web address information of the page of the target container environment may be input in the target browser, so that the page of the target container environment may be entered, and then the web address information of the service page to be tested is input in the page of the target container environment, so as to invoke the service page to perform the function test. Through the method, the tester can realize the test of the corresponding service page without the need of looking at the target APP, and only the browser is needed to realize the test requirement, so that the test efficiency can be improved.
Based on the above description of the embodiment shown in fig. 1 and fig. 2, the following specific application implementation scenarios are given for better understanding, but are not limited thereto, as shown in fig. 3.
Aiming at the development processing method of the business page provided by the scheme, a top-level tool page (namely a target container environment page) is edited. And accessing the tool core module on the top main page. Firstly, a JS (Javascript) script is required to be introduced into a business page, so that the script can be automatically loaded when the business page is called from a top-level tool page, and real-time communication between the business page and the top-level tool page is realized. The business page is placed in the top level tool page in the form of IFRAME. The top tool page sends the webviewID of one page to the business page, so that even if a plurality of business pages are published in the window, the api request sent by which page can be known.
In the top-level tool page, the JS API methods called by all pages are stored in the current position store, and any change of the business-level API triggers the direct communication between the top-level tool page and other levels to establish the corresponding relationship. The top tool page also plays a role of a bridge, and a bridge relation is established between the top tool page and the business layer page as well as the view page. When the service page calls the JS API, the notification comes in the top-level tool page. And if the fact that a User Interface (UI) view needs to be displayed is determined according to the called JS API, continuing to notify the view page to call. After clicking on the view page, a top-level tool layer is triggered and notified, and the tool layer is dispatched to a corresponding service layer to notify a corresponding ID, so that a corresponding event is scheduled.
By applying the scheme of the scene, the business page can be called by utilizing the pre-edited container environment in the browser for editing and development, so that the influence caused by the condition restriction of the container environment in the APP can be reduced, the business page development is smoother, and the efficiency of the business page development can be improved. Compared with the current implementation mode of adopting the browser plug-in, the top-level main module can be provided in the form of the tnpm package, so that all specifications and characteristics of the tnpm package management are provided, and a user does not need to be specially informed to update. In addition, the scheme can be compiled by adopting a web-side exact technology stack, and the development cost, the maintainability and the expansibility are far less than those of the realization mode of adopting a browser plug-in.
Further, as a specific implementation of the method in fig. 1 and fig. 2, an embodiment of the present application provides a device for developing and processing a service page, as shown in fig. 4, the device includes: a calling module 31 and a developing module 32.
The calling module 31 may be configured to call a page of a target container environment in a target browser, where the target container environment is created according to an original container environment in an APP corresponding to a service page to be developed;
the calling module 31 may also be configured to call the service page to be developed in the page of the target container environment;
and the development module 32 may be configured to edit and develop the retrieved service page to be developed.
In a specific application scenario, optionally, a preset storage location of the target container environment stores each interface information required when the service page is called in the original container environment;
the development module 32 is specifically configured to edit and develop the retrieved service page to be developed through the interface information.
In a specific application scenario, the development module 32 may be further specifically configured to configure a web view identifier corresponding to the service page to be developed, where the web view identifier is used to determine a service page for sending an interface information call request; and when the target interface information is judged to be called by the service page request to be developed according to the webpage view identification, executing corresponding trigger operation according to the type of the target interface information.
In a specific application scenario, the development module 32 may be further configured to perform, if the type of the target interface information is a separately stored service type, corresponding storage processing in a page of the target container environment, and trigger an execution event corresponding to the target interface information; if the type of the target interface information is the service type of the calling view, acquiring a target view page needing to be called corresponding to the target interface information from a preset view storage position; and triggering to load the target view page to a corresponding position in a page of the target container environment, and distinguishing the target view page from a layer where the service page to be developed is located.
In a specific application scenario, the development module 32 may be further configured to execute a preset event corresponding to the target view page when receiving an operation instruction for the loaded target view page.
In a specific application scenario, the invoking module 31 may be specifically configured to invoke the page of the target container environment by inputting, in the target browser, first website information corresponding to the page of the target container environment.
In a specific application scenario, the invoking module 31 may be further specifically configured to invoke the service page to be developed by inputting the second website information of the service page to be developed in the page of the target container environment.
In a specific application scenario, the invoking module 31 may be further configured to process the second website information, so as to establish real-time communication between the service page to be developed and the page of the target container environment.
In a specific application scenario, the invoking module 31 may be further configured to add a preset parameter to the second website information, where the preset parameter is used to instruct to load a predetermined script, so as to establish real-time communication between the service page to be developed and the page of the target container environment.
In a specific application scenario, the invoking module 31 may be further specifically configured to establish a temporary session storage object according to the preset parameter after the service page to be developed is invoked, where the temporary session storage object is configured to instruct to load the predetermined script when other service pages are invoked through the service page to be developed, so as to establish real-time communication between the other service pages and the page of the target container environment.
In a specific application scenario, the apparatus further comprises: a test module;
and the test module can be used for testing the developed service page to be developed by utilizing the target browser after the service page to be developed is edited and developed.
In a specific application scenario, optionally, the service page to be developed is configured in a page of the target container environment in the form of an inline frame IFRAME.
It should be noted that other corresponding descriptions of the functional units related to the development processing apparatus for a service page provided in this embodiment may refer to the corresponding descriptions in fig. 1 and fig. 2, and are not described herein again.
Based on the above methods shown in fig. 1 and fig. 2, correspondingly, an embodiment of the present application further provides a storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method for developing and processing the service page shown in fig. 1 and fig. 2.
Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the implementation scenarios of the present application.
Based on the method shown in fig. 1 and fig. 2 and the virtual device embodiment shown in fig. 4, in order to achieve the above object, an embodiment of the present application further provides an entity device for service page development processing, which may specifically be a computer, a smart phone, a tablet computer, a smart watch, a smart bracelet, or other network devices, and the entity device includes a storage medium and a processor; a storage medium for storing a computer program; and a processor for executing a computer program to implement the method for developing and processing the service page as shown in fig. 1 and 2.
Optionally, the entity device may further include a user interface, a network interface, a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, and the like. The user interface may include a Display screen (Display), an input unit such as a keypad (Keyboard), etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), etc.
Those skilled in the art will appreciate that the physical device structure of a service page development process provided in this embodiment does not constitute a limitation to the physical device, and may include more or fewer components, or combine some components, or arrange different components.
The storage medium may further include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the above-described physical devices, and supports the operation of the information processing program as well as other software and/or programs. The network communication module is used for realizing communication among components in the storage medium and communication with other hardware and software in the information processing entity device.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by software plus a necessary general hardware platform, and can also be implemented by hardware. By applying the technical scheme of the embodiment, the business page can be called by utilizing the pre-edited container environment in the browser for editing and development, so that the influence caused by the condition restriction of the container environment in the APP can be reduced, the business page development is smoother, and the efficiency of the business page development can be improved. Compared with the current implementation mode of adopting the browser plug-in, the top-level main module can be provided in the form of the tnpm package, so that all specifications and characteristics of the tnpm package management are provided, and a user does not need to be specially informed to update. In addition, the scheme can be compiled by adopting a web-side exact technology stack, and the development cost, the maintainability and the expansibility are far less than those of the realization mode of adopting a browser plug-in.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.
Claims (10)
1. A method for developing and processing a service page is characterized by comprising the following steps:
calling a page of a target container environment in a target browser, wherein the target container environment is created according to an original container environment in an APP corresponding to a service page to be developed;
and calling the service page to be developed from the page of the target container environment for editing and developing.
2. The method according to claim 1, wherein each interface information required when a service page is called in the original container environment is stored in a preset storage location of the target container environment;
editing and developing the acquired business page to be developed, and specifically comprising the following steps:
and editing and developing the acquired business page to be developed through the interface information.
3. The method according to claim 2, wherein the editing and developing the retrieved service page to be developed through the interface information specifically includes:
configuring a webpage view identifier corresponding to the service page to be developed, wherein the webpage view identifier is used for judging the service page for sending the interface information calling request;
and when the target interface information is judged to be called by the service page request to be developed according to the webpage view identification, executing corresponding trigger operation according to the type of the target interface information.
4. The method according to claim 3, wherein the executing the corresponding trigger operation according to the type of the target interface information specifically includes:
if the type of the target interface information is a separately stored service type, performing corresponding storage processing in a page of the target container environment, and triggering an execution event corresponding to the target interface information;
if the type of the target interface information is the service type of the calling view, acquiring a target view page needing to be called corresponding to the target interface information from a preset view storage position;
and triggering to load the target view page to a corresponding position in a page of the target container environment, and distinguishing the target view page from a layer where the service page to be developed is located.
5. The method of claim 4, further comprising:
and when receiving an operation instruction for the loaded target view page, executing a preset event corresponding to the target view page.
6. The method according to claim 1, wherein the invoking of the page of the target container environment in the target browser specifically comprises:
and calling the page of the target container environment by inputting first website information corresponding to the page of the target container environment in the target browser.
7. The method according to any one of claims 1 to 6, wherein the calling the service page to be developed from the pages of the target container environment specifically includes:
and calling the service page to be developed by inputting the second website information of the service page to be developed in the page of the target container environment.
8. A device for developing and processing a service page, comprising:
the system comprises a calling module, a receiving module and a processing module, wherein the calling module is used for calling a page of a target container environment in a target browser, and the target container environment is created according to an original container environment in an APP corresponding to a service page to be developed;
the calling module is also used for calling the service page to be developed in the page of the target container environment;
and the development module is used for editing and developing the acquired business page to be developed.
9. A storage medium on which a computer program is stored, the program realizing the development processing method of a service page according to any one of claims 1 to 7 when executed by a processor.
10. A business page development processing device, comprising a storage medium, a processor and a computer program stored on the storage medium and operable on the processor, wherein the processor implements the business page development processing method according to any one of claims 1 to 7 when executing the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911077691.4A CN111078209B (en) | 2019-11-06 | 2019-11-06 | Development processing method, device and equipment for business page |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911077691.4A CN111078209B (en) | 2019-11-06 | 2019-11-06 | Development processing method, device and equipment for business page |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111078209A true CN111078209A (en) | 2020-04-28 |
CN111078209B CN111078209B (en) | 2023-07-07 |
Family
ID=70310693
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911077691.4A Active CN111078209B (en) | 2019-11-06 | 2019-11-06 | Development processing method, device and equipment for business page |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111078209B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015078343A1 (en) * | 2013-11-27 | 2015-06-04 | 张洁 | Development method for web development system, and web development system |
CN105357323A (en) * | 2015-12-11 | 2016-02-24 | 北京京东尚科信息技术有限公司 | HTML5 page debugging method and device in APP |
CN106970946A (en) * | 2017-02-24 | 2017-07-21 | 阿里巴巴集团控股有限公司 | A kind of page display method and device |
CN107908426A (en) * | 2017-12-21 | 2018-04-13 | 江苏国泰新点软件有限公司 | Design method, device, mobile terminal and the storage medium of cross-platform program |
CN109783078A (en) * | 2018-12-14 | 2019-05-21 | 平安证券股份有限公司 | Stand-alone development method, apparatus, equipment and the storage medium of front end page |
-
2019
- 2019-11-06 CN CN201911077691.4A patent/CN111078209B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015078343A1 (en) * | 2013-11-27 | 2015-06-04 | 张洁 | Development method for web development system, and web development system |
CN105357323A (en) * | 2015-12-11 | 2016-02-24 | 北京京东尚科信息技术有限公司 | HTML5 page debugging method and device in APP |
CN106970946A (en) * | 2017-02-24 | 2017-07-21 | 阿里巴巴集团控股有限公司 | A kind of page display method and device |
CN107908426A (en) * | 2017-12-21 | 2018-04-13 | 江苏国泰新点软件有限公司 | Design method, device, mobile terminal and the storage medium of cross-platform program |
CN109783078A (en) * | 2018-12-14 | 2019-05-21 | 平安证券股份有限公司 | Stand-alone development method, apparatus, equipment and the storage medium of front end page |
Non-Patent Citations (2)
Title |
---|
PINKU HAZARIKA ETC.: "Recommendations for Webview Based Mobile Applications on Android" * |
林文如;林文忠;刘镭;: "基于弹性盒子模型的跨平台手机应用界面布局" * |
Also Published As
Publication number | Publication date |
---|---|
CN111078209B (en) | 2023-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9983892B2 (en) | Deep linking to mobile application states through programmatic replay of user interface events | |
US9584364B2 (en) | Reporting performance capabilities of a computer resource service | |
CN107741844B (en) | Method and device for generating application installation package | |
CN106569856B (en) | A kind of loading method and device of application view resource file | |
CN111177617A (en) | Web direct operation and maintenance method and device based on operation and maintenance management system and electronic equipment | |
CN109684188B (en) | Test method and device | |
CN107644075B (en) | Method and device for collecting page information | |
CN113010827B (en) | Page rendering method and device, electronic equipment and storage medium | |
CN110716853A (en) | Test script recording method, application program testing method and related device | |
CN107807841B (en) | Server simulation method, device, equipment and readable storage medium | |
JP2022505656A (en) | Sub-application development methods, equipment, computer equipment, and computer programs | |
CN111597110A (en) | Page testing method and device, electronic equipment and storage medium | |
CN112631590A (en) | Component library generation method and device, electronic equipment and computer readable medium | |
CN109857963A (en) | Local resource access method, device and electronic equipment | |
CN112650689A (en) | Test method, test device, electronic equipment and storage medium | |
CN111124613B (en) | Method, device, equipment and storage medium for realizing service of virtualized resources | |
CN111414154A (en) | Method and device for front-end development, electronic equipment and storage medium | |
US20230350700A1 (en) | Snapshot capture of computing device user interfaces | |
CN114721740B (en) | Message triggering method, device, equipment and storage medium | |
CN111078209B (en) | Development processing method, device and equipment for business page | |
CN115729604A (en) | Micro application integration method, system, electronic device and storage medium | |
CN113672225A (en) | User interface processing method, device, equipment and storage medium | |
CN112306723B (en) | Operation information acquisition method and device applied to applet | |
CN113495498A (en) | Simulation method, simulator, device, and medium for hardware device | |
CN111026650B (en) | Method and device for testing software, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |