CN113204722B - Page display method and device, electronic equipment and storage medium - Google Patents

Page display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113204722B
CN113204722B CN202110341906.XA CN202110341906A CN113204722B CN 113204722 B CN113204722 B CN 113204722B CN 202110341906 A CN202110341906 A CN 202110341906A CN 113204722 B CN113204722 B CN 113204722B
Authority
CN
China
Prior art keywords
page
view
target
scene
context information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110341906.XA
Other languages
Chinese (zh)
Other versions
CN113204722A (en
Inventor
蓝伟华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110341906.XA priority Critical patent/CN113204722B/en
Publication of CN113204722A publication Critical patent/CN113204722A/en
Application granted granted Critical
Publication of CN113204722B publication Critical patent/CN113204722B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a page display method, a page display device, an electronic device and a storage medium, wherein the method comprises the following steps: responding to a page display instruction, and calling a webpage view controller comprising webpage view context information and an instantiated webpage view object, wherein the webpage view context information comprises user scene information and a service custom communication bridge; based on a webpage view scene manager, acquiring a target scene class corresponding to user scene information, constructing a target communication bridge, and sending the target communication bridge to a webpage view controller; injecting a target communication bridge and a service customized communication bridge into the instantiated webpage view object based on a webpage view controller to obtain a target webpage view object; and displaying the target page based on the target webpage view object. By using the technical scheme provided by the embodiment of the disclosure, the target communication bridge can be constructed without depending on the webpage view object, and the consumption of system resources is reduced. And the communication bridge can be dynamically injected, so that the flexibility of target page display is improved.

Description

Page display method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a page display method and apparatus, an electronic device, and a storage medium.
Background
With the development of computer technology, more and more clients are applied to the lives of people. The client installed on the terminal can display the page so that the user can browse the webpage conveniently.
In the related art, a user corresponding to a client may expose a page by calling an util method, inheriting a command line personal assistant (yoda), or using an Application Programming Interface (API) provided by the command line personal assistant, or the like. Wherein util is a kit that includes common tools.
However, in the related technology, the construction of the communication bridge in the page display process needs to depend on instantiated web view (WebView) entity objects, the construction process is complicated, and the system resource consumption is large. And the communication bridge is generally defaulted and not changed, so that dynamic injection cannot be carried out, and the flexibility of page display is poor.
Disclosure of Invention
The disclosure provides a page display method, a page display device, an electronic device and a storage medium, which are used for at least solving the problems that the construction process of a communication bridge in the related art is complicated, the system resource consumption is high, the communication bridge cannot be dynamically injected, and the flexibility of page display is poor. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a page display method, including:
responding to a page display instruction, calling a webpage view controller, wherein the webpage view controller comprises webpage view context information and an instantiated webpage view object, and the webpage view context information comprises user scene information and a service self-defined communication bridge corresponding to a local terminal;
sending web view context information to a web view scene manager based on the web view controller;
acquiring a target scene class corresponding to the user scene information from a preset mapping relation based on the webpage view scene manager, wherein the preset mapping relation represents the relation between the scene information and the scene class;
constructing a target communication bridge corresponding to the target scene class according to the webpage context information based on the webpage view scene manager;
sending the target communication bridge to the web view controller based on the web view scene manager;
based on the webpage view controller, injecting the target communication bridge and the service customized communication bridge into the instantiated webpage view object to obtain a target webpage view object;
and displaying the target page based on the target webpage view object.
In an exemplary embodiment, if the web page context information includes service context information, then the constructing a target communication bridge corresponding to the target scene class according to the web page context information based on the web page view scene manager includes:
and constructing the target communication bridge according to the service context information based on the webpage view scene manager.
In an exemplary embodiment, the page display instruction is an instruction for first displaying the target page, and after the calling the web page view controller in response to the page display instruction, the method further includes:
registering at least one scene class in the webpage view scene manager in response to a scene class registration instruction;
and establishing the preset mapping relation between the at least one scene class and the corresponding scene information based on the webpage view scene manager.
In an exemplary embodiment, before the invoking the web page view controller in response to the page show instruction, the method further comprises:
responding to a configuration instruction of a page attribute, and generating attribute configuration information of the page attribute;
generating the user scene information in response to a setting instruction of the scene information;
responding to a construction instruction of a service self-defining communication bridge, and generating the service self-defining communication bridge;
responding to a construction instruction of the service context information, and generating the service context information;
and responding to a construction instruction of the webpage view context information, and constructing the webpage view context information according to the attribute configuration information, the user scene information, the service context information and the service custom communication bridge.
In an exemplary embodiment, the generating attribute configuration information of the page attribute in response to the configuration instruction of the page attribute includes:
and responding to the configuration instruction, and configuring the page attribute in a uniform resource locator and/or a route to obtain the attribute configuration information.
In an exemplary embodiment, the page attribute is at least one, at least one page attribute includes a target page attribute, and when a uniform resource locator and a route are both configured with attribute configuration information of the target page attribute, after the configuration instruction responding to the page attribute generates the attribute configuration information of the page attribute, the method further includes:
and taking the attribute configuration information obtained by configuring the target page attribute in the route as the attribute configuration information of the target page attribute.
In an exemplary embodiment, after the constructing the web page view context information according to the attribute configuration information, the user context information, the service context information and the service customized communication bridge in response to the web page view context information constructing instruction, the method further includes:
and responding to an uploading instruction of the context information, and uploading the webpage view context information to the webpage view controller.
In an exemplary embodiment, after said calling the web page view controller in response to the page display instruction, the method further comprises:
starting a web view activity component based on the web view controller;
accordingly, the sending the webpage view context information to the webpage view scene manager based on the webpage view controller comprises:
sending the web view context information to the web view scene manager based on the web view activity component;
correspondingly, the displaying the target page based on the target webpage view object comprises the following steps:
and displaying the target page in a full screen mode based on the target webpage view object.
According to a second aspect of the embodiments of the present disclosure, there is provided a page displaying apparatus, including:
the calling module is configured to execute a response to a page display instruction and call a webpage view controller, the webpage view controller comprises webpage view context information and an instantiated webpage view object, and the webpage view context information comprises user scene information and a service custom communication bridge corresponding to a local terminal;
a context information sending module configured to perform sending of the web view context information to a web view scene manager based on the web view controller;
a target scene class obtaining module configured to obtain a target scene class corresponding to the user scene information from a preset mapping relation based on the web view scene manager, where the preset mapping relation represents a relation between the scene information and the scene class;
the target communication bridge construction module is configured to execute construction of a target communication bridge corresponding to the target scene class according to the webpage context information based on the webpage view scene manager;
a target communication bridge sending module configured to execute sending the target communication bridge to the web view controller based on the web view scene manager;
the injection module is configured to inject the target communication bridge and the service customized communication bridge into the instantiated webpage view object based on the webpage view controller to obtain a target webpage view object;
and the display module is configured to display the target page based on the target webpage view object.
In an exemplary embodiment, the web page context information includes service context information, and the target communication bridge constructing module is configured to execute constructing the target communication bridge according to the service context information based on the web page view scene manager.
In an exemplary embodiment, the page display instruction is an instruction to display the target page for the first time, and the apparatus further includes:
a scene class registration instruction response module configured to execute registering at least one scene class in the web page view scene manager in response to a scene class registration instruction;
a preset mapping relationship establishing module configured to execute establishing the preset mapping relationship between the at least one scene class and the corresponding scene information based on the web page view scene manager.
In an exemplary embodiment, the apparatus further comprises:
the attribute configuration information generation module is configured to execute a configuration instruction responding to the page attribute and generate attribute configuration information of the page attribute;
a user scene information generating module configured to execute a setting instruction in response to scene information, and generate the user scene information;
a service-customized communication bridge acquisition module configured to execute a build instruction in response to a service-customized communication bridge to generate the service-customized communication bridge;
a service context information acquisition module configured to execute a construction instruction in response to service context information, and generate the service context information;
and the webpage view context information generating module is configured to execute a constructing instruction responding to the webpage view context information and construct the webpage view context information according to the attribute configuration information, the user scene information, the service context information and the service customized communication bridge.
In an exemplary embodiment, the attribute configuration information generating module is configured to perform, in response to the configuration instruction, configuring the page attribute in a uniform resource locator and/or a route to obtain the attribute configuration information.
In an exemplary embodiment, the page attribute is at least one, at least one page attribute includes a destination page attribute, and when both a uniform resource locator and a route are configured with attribute configuration information of the destination page attribute, the apparatus further includes:
and the attribute configuration information determining module is configured to execute attribute configuration information obtained by configuring the target page attribute in the route, and the attribute configuration information is used as the attribute configuration information of the target page attribute.
In an exemplary embodiment, the apparatus further comprises:
an upload instruction response module configured to execute an upload instruction in response to context information, and upload the web view context information to the web view controller.
In an exemplary embodiment, the apparatus further comprises:
a web view activity component initiation module configured to execute initiation of a web view activity component based on the web view controller;
accordingly, the context information sending module is configured to execute sending the web page view context information to the web page view scene manager based on the web page view activity component;
accordingly, the presentation module is configured to perform presentation of the target page in a full screen mode based on the target webpage view object.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the page presentation method according to any of the above embodiments.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions of the computer-readable storage medium, when executed by a processor of an electronic device, cause the electronic device to perform the page display method according to any one of the above embodiments.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product, including a computer program, which when executed by a processor implements the page display method according to any of the above embodiments.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the webpage view context information including user scene information and a service self-defined communication bridge is transmitted into a webpage view scene manager based on a webpage view controller, a target scene class corresponding to the user scene information is obtained according to a preset mapping relation by the webpage view scene manager, a target communication bridge corresponding to the target scene class is constructed according to the webpage context information by the webpage view scene manager, then the target communication bridge is sent to the webpage view controller by the webpage view scene manager, and finally the target communication bridge and the service self-defined communication bridge are injected into an instantiated webpage view object based on the webpage view controller to obtain a target webpage view object so that a target page can be displayed through the target webpage view object. According to the webpage view scene manager, the target communication bridge corresponding to the target scene class is constructed according to the webpage context information, and the instantiated webpage view object is not required to be transmitted when the target communication bridge is constructed, namely the construction of the target communication bridge does not depend on the instantiated webpage view object, so that the construction cost of the target communication bridge is low, and the system resource consumption is low. In addition, the target communication bridge and the business self-defined communication bridge can be injected into the instantiated webpage view object through the webpage view controller, namely the communication bridge can be dynamically injected and is not in a default write-dead state, so that the flexibility and the convenience of target page display are improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a diagram illustrating an application environment for a page presentation method in accordance with an exemplary embodiment.
FIG. 2 is a flowchart illustrating a page presentation method according to an exemplary embodiment.
FIG. 3 is a flowchart illustrating a method of constructing page context information, according to an exemplary embodiment.
FIG. 4 is a flowchart illustrating registering a scene class in accordance with an example embodiment.
FIG. 5 is a block diagram illustrating a page presentation apparatus according to an exemplary embodiment.
FIG. 6 is a block diagram illustrating an electronic device for page presentation in accordance with an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in other sequences than those illustrated or described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the disclosure, as detailed in the appended claims.
Referring to fig. 1, fig. 1 is a diagram illustrating an application environment of a page presentation method according to an exemplary embodiment, where the application environment may include a terminal 01 and a server 02. The terminal 01 may be in communication connection with the server 02 to download page information of a page to be displayed from the server 02.
The terminal 01 may be configured to invoke a web view controller in response to the page display instruction, and display the target page based on the target web view object. Optionally, the terminal 01 includes a terminal device such as a smart phone, a desktop computer, a tablet computer, a notebook computer, a digital assistant, an Augmented Reality (AR)/Virtual Reality (VR) device, and a smart wearable device.
Optionally, the server 02 may be an independent physical server, or a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a web service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like.
It should be noted that fig. 1 is only an example.
Fig. 2 is a flowchart illustrating a page displaying method according to an exemplary embodiment, where as shown in fig. 2, the method is used in the terminal in fig. 1 and includes the following steps:
in step S11, in response to the page display instruction, a web view controller is invoked, where the web view controller includes web view context information and an instantiated web view object, and the web view context information includes user scene information and a service-defined communication bridge corresponding to the local terminal.
In the embodiment of the disclosure, a user can browse a page on a terminal. The page may be a Hyper Text Markup Language (HTML) page, an HTML5 (H5) page, or the like.
In a specific embodiment, when a user (for example, a service party) corresponding to a terminal wants to open a target page, a page display instruction for starting the page may be triggered, and the terminal invokes a show method in the web view controller (WebViewController) in response to the page display instruction, so as to display the target page subsequently. Among them, the show method is a method of making a page visible.
The web view controller (WebViewController) is a component for unifying all H5 calls and keeping page behaviors unified and functions consistent. The inside of the H5 display control device is packaged with a page for displaying h5 and an h5Fragment acquisition method for controlling page display. Two methods are exposed to the outside, one is to open the h5 page, and the other is to make the caller obtain the configured webpage view entity object. Meanwhile, the webpage view controller can also support a service party to realize callback of monitoring page display and closing. Both page exposed and closed apis require uniform resource locator (url) parameters of the page and web view context information.
In an alternative embodiment, FIG. 3 is a flowchart illustrating a method for constructing page context information in accordance with an illustrative embodiment. As shown in fig. 3, before step S11, the method may further include: in step S10, web page view context information (WebViewContext) is constructed.
Specifically, the constructing the context information of the web page view may include:
in step S1001, in response to a configuration instruction of a page attribute, attribute configuration information of the page attribute is generated.
In step S1003, in response to a setting instruction of scene information, the above-described user scene information is generated.
In step S1005, in response to the configuration instruction of the service-customized communication bridge, the service-customized communication bridge is generated.
In step S1007, the above service context information is generated in response to a configuration instruction of the service context information.
In step S1009, in response to the instruction for constructing the web view context information, the web view context information is constructed according to the attribute configuration information, the user context information, the service context information, and the service customized communication bridge.
Specifically, a user (e.g., a service party) corresponding to the terminal may construct webpage view context information, configure each attribute of the page, and set user context information of the user, and the user (e.g., the service party) corresponding to the terminal may also transmit service context information (playcallecontext) and a service customized communication bridge.
Specifically, the above-mentioned web view context information (WebViewContext) refers to runtime data necessary for opening the target page.
For example, in step S1001, the page attribute may be customized in the web view parameter (WebViewParam), so as to generate attribute configuration information of the page attribute. The page attributes may include, but are not limited to: transparency of the page, shading, whether the click exterior is collapsed, page height, page width, whether full screen, whether manual gliding page close, whether rounded top, title bar color, title bar text, etc. The attribute configuration information obtained by configuring each page attribute may be as shown in table 1.
Specifically, the configuration of the page attribute can be divided into two parts, one is directly operated on the page container, such as page height, shading darkness, manually sliding down to close the page, clicking on an external page to disappear, and the other is delivered to yoda middle station by producing a launch model object, such as whether to support animation in display loading, title bar color, a return button, and the like. Among them, launchModel is a start-up mode.
TABLE 1 Attribute configuration information obtained by configuring various page attributes
Figure BDA0002999831260000081
Figure BDA0002999831260000091
It should be noted that the customized attribute belongs to a protocol layer, and theoretically there should be no difference between a mobile operating system (iOS) developed by apple and a mobile operating system (Android) developed by google, but since the historical implementation is different, for example, the Android supports the animation of the service side for custom page opening and closing, the animation of iOS opening and closing is the default.
For example, in step S1003, the user (e.g., the service party) corresponding to the terminal may further set the current scene information of the user. Taking the live broadcast service as an example, if the service party is the live broadcast anchor, the user scene information may include a live broadcast anchor scene (the service party is the live broadcast anchor), a live viewer scene (the service party is the live broadcast viewer) and an open page scene.
In the embodiment of the present disclosure, the setting of the user context information is to distinguish each context information, and the reason for distinguishing each context information is that: each service has a corresponding communication bridge, and the target communication bridges corresponding to the target scene classes acquired by the user scene information can be accurately generated subsequently through scene information differentiation, so that the construction precision of the target communication bridges of each service is improved.
Exemplarily, in the step S1005, the communication bridge may refer to communication between the page (e.g., h 5) and the local terminal. Optionally, the service-customized communication bridge may be a communication bridge customized for a user (for example, a service party) corresponding to the terminal. For example, any logic such as clicking a certain page of h5, calling a short message page, etc. can be encapsulated in the communication bridge. In particular, the custom communication bridge may be a custom communication bridge for a sub-service in a large service. For example, for a large live service, many common bridge methods (such as opening a gift panel, gifting, etc.) may be aggregated directly in a class. Wherein, the gift panel is the sub-service under the live broadcast service.
Exemplarily, in step S1007, the service context information may refer to runtime data of the service itself. Taking the service as a live service, if a gift panel is desired to be opened in the live room, the gift panel itself is a service, and the service is held by the service context of the live room.
As can be seen from the above construction process of the web view context information, the web view context information constructed in the embodiment of the present disclosure may hold a WebViewParam object, and a default value may be implemented for the WebViewParam object by default (for example, manually sliding down to close a page is supported by default). The web page view context information may also hold runTime (runTime) data such as business party activity information, fragmentation manager (fragmentation manager) information, business context information, business custom communication bridges, business party provided page containers (which may be created by default and returned when the presentation is complete if not provided). Activity is an application component that provides a screen that a user can use to interact with in order to accomplish a task.
According to the webpage view context information construction method and device, when the webpage view context information is constructed, not only can various page attributes be set, but also in order to facilitate dynamic injection of a subsequent communication bridge, scene attributes (namely concepts of scenes are distinguished, each scene has a communication bridge corresponding to the scene), base class attributes (service context information) of a service context and map attributes (service self-defined communication bridges) of the service dynamic bridge are added, the customization degree is higher, the construction process of the webpage view context information is more flexible, so that smooth injection of the subsequent dynamic bridge is guaranteed, and the display precision and flexibility of a subsequent target page are improved.
In an optional embodiment, in the step S1001, the generating attribute configuration information of the page attribute in response to the configuration instruction of the page attribute may include:
and responding to the configuration instruction, configuring the page attribute in a uniform resource locator and/or a route to obtain the attribute configuration information.
In this embodiment, the customization of the page attribute may include two types: the uniform resource locator (url) carries the attribute parameters and the customization of the code display. When configuring the page attributes, the page attributes can be configured in the uniform resource locator and/or the route according to actual requirements, so as to obtain attribute configuration information of the page attributes. The attribute parameter carried in the route is analyzed by the client, so that the method belongs to customization of code display.
In a particular embodiment, the process of customizing attributes in the url may be as follows:
the launch _ options is spliced in the url link, so that relevant attributes can be customized, and the attributes need to be coded, such as title bar title color, status bar battery color and the like. Here, the launch _ options is a startup method.
Specifically, the use & splicing attribute can be used behind the url, and the terminal can analyze the url to obtain the corresponding splicing attribute.
According to the method and the device for customizing the page attributes, the page attributes can be customized through at least one channel, so that the customization degree of the page attributes is high, and the customization is flexible. By customizing page attributes, an entrance of the WebView can be opened in a convergent manner, later maintenance and management are facilitated, the operation of opening the WebView by double-end transverse and vertical screens can be unified, the double-end effect can be unified, custom navigation bar title colors, navigation bar background colors, progress bar colors and the like can be supported, the protocol parameters, the code structures and the calling functions of the double ends can be unified to be consistent, and the cost reduction of later-end double-end cooperative communication development and the like can be achieved.
In an optional embodiment, the page attribute is at least one, where at least one page attribute includes a destination page attribute, and when both a uniform resource locator and a route are configured with attribute configuration information of the destination page attribute, after the configuration instruction responding to the page attribute generates the attribute configuration information of the page attribute, the method may further include:
and using the attribute configuration information obtained by configuring the target page attribute in the route as the attribute configuration information of the target page attribute.
In the embodiment of the disclosure, page attribute configuration information obtained by configuring the same page attribute through different customization channels may conflict. For example, for a certain target page attribute in the page attributes, the target page attribute is customized in the url and the route, and may conflict, which may result in that the attribute configuration information of the target page attribute is unavailable, and in order to avoid the conflict between the attribute configuration information caused by configuring the same page attribute in different customization channels, the code may display the customization priority greater than the url customized priority, that is, the attribute configuration information configured in the route is selected, and the attribute configuration information configured in the url is discarded, thereby improving the effectiveness of the page attribute customization.
In an optional embodiment, after responding to a construction instruction of the web view context information, constructing the web view context information according to the attribute configuration information, the user context information, the service context information, and the service-defined communication bridge, the method may further include:
and responding to an uploading instruction of the context information, and uploading the webpage view context information to the webpage view controller. In the embodiment of the disclosure, after a user (for example, a business party) corresponding to a terminal constructs the webpage view context information, the webpage view context information may be transmitted to the webpage view controller. Because the webpage view context information is obtained by the customization method, the customization degree and flexibility are high, and the webpage view context information is transmitted to the webpage view controller, so that the precision and flexibility of the target page displayed by the subsequent webpage view controller can be improved.
In an alternative embodiment, before step S11, the method may further include the step of instantiating the web page view object. Illustratively, the step of instantiating the web page view object may be as follows:
a user (e.g., a service side) corresponding to the terminal may pre-construct a webFragment of yoda, where the webFragment is a class, construct a web view (WebView) object through the class, and then configure transparency, a title, and inject a communication bridge of the WebView object, so as to obtain an instantiated web view object.
In step S13, the web view controller sends the web view context information to the web view scene manager based on the above.
In step S15, based on the web view scene manager, a target scene class corresponding to the user scene information is obtained from a preset mapping relationship, where the preset mapping relationship represents a relationship between the scene information and the scene class.
In the embodiment of the present disclosure, the web view controller may send the constructed web view context information to a web view scene manager (WebViewJsBridgeSceneManager).
Specifically, the web view scene manager directly communicates with the WebViewController, and a preset mapping relationship (map) from a scene to a scene class is maintained in the web view scene manager.
The scene class is a life, similar to the enumeration class, and the scene class declares a scene, such as a live audience, an opening page, an e-commerce scene, and the like.
Because a mapping relation from a scene to a scene class is maintained in the web view scene manager, after the web view context information is sent to the web view scene manager, the web view scene manager can extract a target scene class corresponding to the user scene information according to the preset mapping relation.
In an alternative embodiment, FIG. 4 is a flow diagram illustrating registering a scene class in accordance with an example embodiment. As shown in fig. 4, if the page display instruction is an instruction for displaying the target page for the first time, after the web view controller is called in response to the page display instruction, the method may further include: in step S12, a scene class is registered.
Illustratively, the registering the scene class may include:
in step S1201, in response to a scene class registration instruction, at least one scene class is registered in the web view scene manager.
In step S1203, the preset mapping relationship between the at least one scene class and the corresponding scene information is established based on the web view scene manager.
In the embodiment of the present disclosure, when a user (for example, a service party) corresponding to a terminal calls to open a target page for the first time, each scene class may be notified to register itself in the web view scene manager, and the web view scene manager establishes a preset mapping relationship between at least one scene class and corresponding scene information.
In order to realize the sinking of the communication bridge and improve the application range of the service, the method provided by the embodiment of the disclosure can be used for not only live broadcast services, but also other services. In an optional embodiment, a web view scene protocol (webviewjsbridgescene protocol) may be further provided, the scene classes jointly comply with the protocol, and a communication bridge set in the scene may be acquired in the protocol.
In the embodiment of the present disclosure, when a user (for example, a service party) corresponding to a terminal invokes an open target page for the first time, each scene class may be notified to register itself in the web view scene manager, and the life of the entire project is registered only this time, thereby ensuring that the project is dynamically registered when loaded. Because the dynamic registration is carried out when the system is started for the first time, the scene type information which is registered for the first time can be recorded after the registration, and the scene type information which is registered for the first time can be directly extracted when the system is restarted for the next time without re-registration, so that the flexibility of codes is improved, and because the repeated registration can be avoided, the system resources are saved, and the cost for displaying the target page is reduced.
In step S17, based on the web view scene manager, a target communication bridge corresponding to the target scene class is constructed according to the web context information.
In step S19, the target communication bridge is transmitted to the web view controller based on the web view scene manager.
In a specific embodiment, if the web page context information includes service context information, in the step S17, constructing, based on the web page view scene manager and according to the web page context information, a target communication bridge corresponding to the target scene class may include:
and constructing the target communication bridge based on the webpage view scene manager according to the service context information.
In order to realize the sinking of the communication bridge and improve the application range of the service, the method provided by the embodiment of the disclosure can be used for not only live broadcast services, but also other services. In an optional embodiment, a web view interface (webView js interface) may also be provided, where the webView js interface allows a service party to inherit and dynamically register a bridge class of the service party, and does not need to introduce an instantiated webView object during construction, but rather dynamically sets a webView object for a communication bridge when a subsequent web view controller actually injects the communication bridge.
In the embodiment of the disclosure, the web view scene manager may drive the target scene class, and construct the target communication bridge according to the service context information. Because the construction process of the target communication bridge does not need to depend on the instantiated web view (WebView) object, the construction process of the target communication bridge is more convenient and flexible, and meanwhile, because the dependence on the WebView object is lower, the system resources can be saved, the construction cost of the target communication bridge is reduced, and the cost of target page display is reduced.
In step S111, based on the web view controller, the target communication bridge and the service-defined communication bridge are injected into the instantiated web view object to obtain a target web view object.
In step S113, a target page is displayed based on the target web page view object.
In the embodiment of the present disclosure, after the target communication bridge is obtained, the target communication bridge and the service-defined communication bridge may be dynamically injected into the instantiated web view object through the web view controller, so as to obtain the target web view object. And the webpage view controller returns the target webpage view object to the terminal, and the terminal displays the target webpage through the target webpage view object.
The target communication bridge and the service self-defined communication bridge can be dynamically injected, so that the defects of poor setting flexibility and small application range of the communication bridge caused by setting the communication bridge to be in a default write-dead state are overcome, and the flexibility and convenience of target page display are improved.
In addition, the components provided by the embodiment of the present disclosure support client configuration, server configuration, and h5 configuration, and further improve the application range of the service.
In an optional embodiment, after the invoking the web page view controller in response to the page display instruction, the method may further include:
and starting the webpage view activity component based on the webpage view controller.
Accordingly, the sending of the web view context information to the web view scene manager based on the web view controller may include:
and sending the webpage view context information to the webpage view scene manager based on the webpage view activity component.
Correspondingly, the displaying the target page based on the target webpage view object may include:
and displaying the target webpage in a full screen mode based on the target webpage view object.
In the embodiment of the present disclosure, the target page may be displayed in a half-screen mode or a full-screen mode.
In order to support the target page to be displayed in a full screen mode, a web view activity component (WebViewActivity) can be newly added, the web view activity component inherits from the yoda base class, and the communication bridge is injected by transmitting the web view context information to the web view scene manager.
The communication bridge sink can be further realized due to the WebViewActivity. When the method is started, only the stored webpage view context information needs to be loaded and transferred to the webpage view scene manager to complete the injection of the communication bridge, so that the convenience of displaying the target page in a full screen mode and the application range of services are improved.
In an optional embodiment, the target page can be displayed through the target webpage view object, and fragments (fragments) of h5 can be obtained, so that a business side can customize the business side, the customization degree is high, and the flexibility is good.
In another optional embodiment, in order to make the method provided by the embodiment of the present disclosure more conveniently used in front-line engineering, the target page displayed based on the target webpage view object may be further encapsulated, so that in practical applications, the target page may be opened directly by a routing manner or directly by a communication bridge manner.
In a specific embodiment, in order to facilitate opening h5, a js bridge method (openCustom H5) for opening a free customized page may be added, and an entity class (LiveWebViewOpenCust omH5 params) may be added.
FIG. 5 is a block diagram illustrating a page presentation apparatus according to an exemplary embodiment. Referring to fig. 5, the apparatus may include a calling module 21, a context information transmitting module 23, a target scene class acquiring module 25, a target communication bridge constructing module 27, a target communication bridge transmitting module 29, an injecting module 211, and a presenting module 213.
And the calling module 21 is configured to execute a call to a web view controller in response to a page display instruction, where the web view controller includes web view context information and an instantiated web view object, and the web view context information includes user scene information and a service-defined communication bridge corresponding to the local terminal.
And the context information sending module 23 is configured to execute sending the webpage view context information to the webpage view scene manager based on the webpage view controller.
And a target scene class obtaining module 25 configured to execute obtaining, based on the web view scene manager, a target scene class corresponding to the user scene information from a preset mapping relationship, where the preset mapping relationship represents a relationship between the scene information and the scene class.
And a target communication bridge construction module 27 configured to execute constructing a target communication bridge corresponding to the target scene class according to the web page context information based on the web page view scene manager.
And a target communication bridge sending module 29 configured to execute sending the target communication bridge to the web view controller based on the web view scene manager.
And an injection module 211, configured to inject the target communication bridge and the service-defined communication bridge into the instantiated web view object based on the web view controller, so as to obtain a target web view object.
A presentation module 213 configured to perform presentation of the target page based on the target webpage view object.
In an exemplary embodiment, the web page context information includes service context information, and the target communication bridge constructing module 27 is configured to execute constructing the target communication bridge according to the service context information based on the web page view scene manager.
In an exemplary embodiment, the page display instruction is an instruction to display the target page for the first time, and the apparatus may further include:
and the scene class registration instruction response module is configured to execute the step of registering at least one scene class in the webpage view scene manager in response to the scene class registration instruction.
And the preset mapping relation establishing module is configured to execute establishing the preset mapping relation between the at least one scene class and the corresponding scene information based on the webpage view scene manager.
In an exemplary embodiment, the apparatus may further include:
and the attribute configuration information generation module is configured to execute a configuration instruction responding to the page attribute and generate the attribute configuration information of the page attribute.
And the user scene information generating module is configured to execute a setting instruction responding to the scene information and generate the user scene information.
And the service self-defining communication bridge acquisition module is configured to execute a construction instruction responding to the service self-defining communication bridge and generate the service self-defining communication bridge.
And the service context information acquisition module is configured to execute a construction instruction responding to the service context information and generate the service context information.
And the webpage view context information generating module is configured to execute a constructing instruction responding to the webpage view context information and construct the webpage view context information according to the attribute configuration information, the user scene information, the service context information and the service customized communication bridge.
In an exemplary embodiment, the attribute configuration information generating module is configured to perform, in response to the configuration instruction, configuring the page attribute in a uniform resource locator and/or a route to obtain the attribute configuration information.
In an exemplary embodiment, the page attribute is at least one, where the at least one page attribute includes a destination page attribute, and when both a uniform resource locator and a route are configured with attribute configuration information of the destination page attribute, the apparatus may further include:
and the attribute configuration information determining module is configured to execute attribute configuration information obtained by configuring the target page attribute in the route, wherein the attribute configuration information is used as the attribute configuration information of the target page attribute.
In an exemplary embodiment, the apparatus may further include:
and the uploading instruction response module is configured to execute an uploading instruction responding to the context information and upload the webpage view context information to the webpage view controller.
In an exemplary embodiment, the apparatus may further include:
and the webpage view activity component starting module is configured to execute the starting of the webpage view activity component based on the webpage view controller.
Accordingly, the context information sending module is configured to execute sending the web view context information to the web view scene manager based on the web view activity component.
Correspondingly, the display module is configured to perform displaying the target page in a full screen mode based on the target webpage view object.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In an exemplary embodiment, there is also provided an electronic device, comprising a processor; a memory for storing processor-executable instructions; the processor is configured to implement the steps of any of the page display methods in the above embodiments when executing the instructions stored in the memory.
The electronic device may be a terminal, a server, or a similar computing device, taking the electronic device as a server as an example, fig. 6 is a block diagram of an electronic device for page display according to an exemplary embodiment, where the electronic device 30 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 31 (the CPU 31 may include but is not limited to a Processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 33 for storing data, and one or more storage media 32 (e.g., one or more mass storage devices) for storing applications 323 or data 322. The memory 33 and the storage medium 32 may be, among other things, transient storage or persistent storage. The program stored on the storage medium 32 may include one or more modules, each of which may include a sequence of instructions operating on the electronic device. Still further, the central processor 31 may be configured to communicate with the storage medium 32, and execute a series of instruction operations in the storage medium 32 on the electronic device 30. The electronic device 80 may also include one or more power supplies 36, one or more wired or wireless network interfaces 35, one or more input-output interfaces 34, and/or one or more operating systems 321, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, and so forth.
The input output interface 34 may be used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the electronic device 30. In one example, the input/output Interface 34 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In an exemplary embodiment, the input/output interface 34 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
It will be understood by those skilled in the art that the structure shown in fig. 6 is only an illustration, and does not limit the structure of the electronic device. For example, electronic device 30 may also include more or fewer components than shown in FIG. 6, or have a different configuration than shown in FIG. 6.
In an exemplary embodiment, a computer-readable storage medium is further provided, and when executed by a processor of an electronic device, the instructions in the computer-readable storage medium enable the electronic device to perform the steps of any of the page presentation methods in the above embodiments.
In an exemplary embodiment, a computer program product is further provided, which includes a computer program, and the computer program is executed by a processor to implement the page display method provided in any one of the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, the computer program may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided by the present disclosure may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct Rambus Dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM), among others.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice in the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (19)

1. A page display method is characterized by comprising the following steps:
responding to a page display instruction, calling a webpage view controller, wherein the webpage view controller comprises webpage view context information and an instantiated webpage view object, and the webpage view context information comprises user scene information and a service self-defined communication bridge corresponding to a local terminal;
sending web view context information to a web view scene manager based on the web view controller;
acquiring a target scene class corresponding to the user scene information from a preset mapping relation based on the webpage view scene manager, wherein the preset mapping relation represents the relation between the scene information and the scene class;
constructing a target communication bridge corresponding to the target scene class according to the webpage view context information based on the webpage view scene manager;
sending the target communication bridge to the web view controller based on the web view scene manager;
based on the webpage view controller, injecting the target communication bridge and the service customized communication bridge into the instantiated webpage view object to obtain a target webpage view object;
and displaying the target page based on the target webpage view object.
2. The page display method according to claim 1, wherein the web page view context information includes business context information, and then the constructing a target communication bridge corresponding to the target scene class according to the web page view context information based on the web page view scene manager includes:
and constructing the target communication bridge according to the service context information based on the webpage view scene manager.
3. The page display method according to claim 1, wherein the page display instruction is an instruction for displaying the target page for the first time, and after the calling the web view controller in response to the page display instruction, the method further comprises:
registering at least one scene class in the webpage view scene manager in response to a scene class registration instruction;
and establishing the preset mapping relation between the at least one scene class and the corresponding scene information based on the webpage view scene manager.
4. The page display method of any one of claims 1 to 3, wherein before said invoking of the web page view controller in response to the page display instruction, the method further comprises:
responding to a configuration instruction of a page attribute, and generating attribute configuration information of the page attribute;
generating the user scene information in response to a setting instruction of the scene information;
responding to a construction instruction of a service self-defining communication bridge, and generating the service self-defining communication bridge;
responding to a construction instruction of the service context information, and generating the service context information;
and responding to a construction instruction of the webpage view context information, and constructing the webpage view context information according to the attribute configuration information, the user scene information, the service context information and the service custom communication bridge.
5. The page display method according to claim 4, wherein said generating attribute configuration information of said page attribute in response to a configuration instruction of said page attribute comprises:
and responding to the configuration instruction, and configuring the page attribute in a uniform resource locator and/or a route to obtain the attribute configuration information.
6. The page display method according to claim 5, wherein the page attribute is at least one, at least one page attribute includes a destination page attribute, and when both a uniform resource locator and a route are configured with attribute configuration information of the destination page attribute, after the configuration instruction in response to the page attribute generates the attribute configuration information of the page attribute, the method further comprises:
and taking the attribute configuration information obtained by configuring the target page attribute in the route as the attribute configuration information of the target page attribute.
7. The page presentation method according to claim 4, wherein after said constructing the web page view context information according to the attribute configuration information, the user context information, the service context information and the service customized communication bridge in response to the web page view context information constructing instruction, the method further comprises:
and responding to an uploading instruction of the context information, and uploading the webpage view context information to the webpage view controller.
8. The page rendering method of any of claims 1 to 3, wherein after said invoking a web view controller in response to a page rendering instruction, the method further comprises:
starting a web view activity component based on the web view controller;
accordingly, the sending the webpage view context information to the webpage view scene manager based on the webpage view controller comprises:
sending the web view context information to the web view scene manager based on the web view activity component;
correspondingly, the displaying the target page based on the target webpage view object comprises the following steps:
and displaying the target page in a full screen mode based on the target webpage view object.
9. A page display apparatus, comprising:
the calling module is configured to execute a response page display instruction and call a webpage view controller, the webpage view controller comprises webpage view context information and instantiated webpage view objects, and the webpage view context information comprises user scene information and a service custom communication bridge corresponding to a local terminal;
a context information sending module configured to perform sending of the web view context information to a web view scene manager based on the web view controller;
a target scene class obtaining module configured to obtain a target scene class corresponding to the user scene information from a preset mapping relation based on the web view scene manager, where the preset mapping relation represents a relation between the scene information and the scene class;
the target communication bridge construction module is configured to execute construction of a target communication bridge corresponding to the target scene class according to the webpage view context information based on the webpage view scene manager;
a target communication bridge sending module configured to execute sending the target communication bridge to the web view controller based on the web view scene manager;
the injection module is configured to inject the target communication bridge and the service customized communication bridge into the instantiated webpage view object based on the webpage view controller to obtain a target webpage view object;
and the display module is configured to display the target page based on the target webpage view object.
10. The page displaying apparatus according to claim 9, wherein the web page view context information includes business context information, then the target communication bridge constructing module is configured to execute constructing the target communication bridge based on the web page view scene manager according to the business context information.
11. The page display apparatus according to claim 9, wherein said page display instruction is an instruction for displaying said target page for the first time, said apparatus further comprising:
a scene class registration instruction response module configured to execute registering at least one scene class in the web page view scene manager in response to a scene class registration instruction;
a preset mapping relationship establishing module configured to execute establishing the preset mapping relationship between the at least one scene class and the corresponding scene information based on the web page view scene manager.
12. Page presentation apparatus according to any one of claims 9 to 11, said apparatus further comprising:
the attribute configuration information generation module is configured to execute a configuration instruction responding to the page attribute and generate attribute configuration information of the page attribute;
a user scene information generating module configured to execute a setting instruction in response to scene information, and generate the user scene information;
a service-customized communication bridge acquisition module configured to execute a build instruction in response to a service-customized communication bridge to generate the service-customized communication bridge;
a service context information acquisition module configured to execute an acquisition instruction in response to service context information, and generate the service context information;
and the webpage view context information generating module is configured to execute a constructing instruction responding to the webpage view context information and construct the webpage view context information according to the attribute configuration information, the user scene information, the service context information and the service customized communication bridge.
13. The page displaying apparatus according to claim 12, wherein the attribute configuration information generating module is configured to perform, in response to the configuration instruction, configuring the page attribute in a uniform resource locator and/or a route to obtain the attribute configuration information.
14. The page displaying apparatus according to claim 13, wherein said page attribute is at least one, at least one page attribute includes a destination page attribute, and when both a uniform resource locator and a route are configured with attribute configuration information of said destination page attribute, said apparatus further comprises:
and the attribute configuration information determining module is configured to execute attribute configuration information obtained by configuring the target page attribute in the route, and the attribute configuration information is used as the attribute configuration information of the target page attribute.
15. The page presentation device of claim 12, said device further comprising:
an upload instruction response module configured to execute an upload instruction in response to context information, and upload the web view context information to the web view controller.
16. The page presentation device according to any one of claims 9 to 11, wherein said device further comprises:
a web view activity component launch module configured to execute launching a web view activity component based on the web view controller;
accordingly, the context information sending module is configured to execute sending the web page view context information to the web page view scene manager based on the web page view activity component;
accordingly, the presentation module is configured to perform presentation of the target page in a full screen mode based on the target webpage view object.
17. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the page presentation method of any one of claims 1 to 8.
18. A computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, cause the electronic device to perform the page presentation method of any of claims 1 to 8.
19. A computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements the page presentation method of any one of claims 1 to 8.
CN202110341906.XA 2021-03-30 2021-03-30 Page display method and device, electronic equipment and storage medium Active CN113204722B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110341906.XA CN113204722B (en) 2021-03-30 2021-03-30 Page display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110341906.XA CN113204722B (en) 2021-03-30 2021-03-30 Page display method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113204722A CN113204722A (en) 2021-08-03
CN113204722B true CN113204722B (en) 2022-11-22

Family

ID=77025822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110341906.XA Active CN113204722B (en) 2021-03-30 2021-03-30 Page display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113204722B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114860358B (en) * 2022-03-31 2024-06-21 北京达佳互联信息技术有限公司 Object processing method and device, electronic equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106909288A (en) * 2017-03-29 2017-06-30 广州阿里巴巴文学信息技术有限公司 The method for refreshing of application program, device and electronic equipment
CN107526598A (en) * 2017-08-31 2017-12-29 武汉斗鱼网络科技有限公司 A kind of Webpage jump control method and system
CN108171610A (en) * 2017-12-28 2018-06-15 中国平安人寿保险股份有限公司 Page generation method, page generation equipment, storage medium and device
CN109101264A (en) * 2018-07-27 2018-12-28 武汉斗鱼网络科技有限公司 A kind of method and electronic equipment for direct broadcasting room page development
CN109408750A (en) * 2018-09-26 2019-03-01 中国平安财产保险股份有限公司 Page display method, device, computer equipment and storage medium
CN110321228A (en) * 2018-03-28 2019-10-11 腾讯科技(深圳)有限公司 Call method, device, equipment and the computer readable storage medium of Native method
CN110543265A (en) * 2019-07-22 2019-12-06 北京达佳互联信息技术有限公司 Page title bar generation method and device, electronic equipment and storage medium
CN110913277A (en) * 2019-11-29 2020-03-24 百度在线网络技术(北京)有限公司 Video playing method and device, electronic equipment and storage medium
CN110990741A (en) * 2019-11-29 2020-04-10 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment, server and storage medium
CN111143725A (en) * 2019-11-15 2020-05-12 北京字节跳动网络技术有限公司 Page generation method and device and electronic equipment
CN111796799A (en) * 2019-04-09 2020-10-20 广州腾讯科技有限公司 Sub-application development method and device, computer equipment and storage medium
CN111984448A (en) * 2020-08-14 2020-11-24 北京达佳互联信息技术有限公司 Page calling method, device, equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6636242B2 (en) * 1999-08-31 2003-10-21 Accenture Llp View configurer in a presentation services patterns environment
US8887182B2 (en) * 2012-10-16 2014-11-11 Yahoo! Inc. Hybrid applications
US10565591B2 (en) * 2017-02-23 2020-02-18 Paypal, Inc. Bridge for communicating data outside of a mobile application
CN109145039B (en) * 2017-12-25 2022-01-28 北极星云空间技术股份有限公司 UI bridging method suitable for federal workflow integration
US10908930B2 (en) * 2019-02-01 2021-02-02 Walmart Apollo, Llc Hybrid interactivity in JavaScript webpage user interfaces
CN111859223A (en) * 2020-07-30 2020-10-30 中国民航信息网络股份有限公司 Webpage data calling method and device based on mobile middle station and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106909288A (en) * 2017-03-29 2017-06-30 广州阿里巴巴文学信息技术有限公司 The method for refreshing of application program, device and electronic equipment
CN107526598A (en) * 2017-08-31 2017-12-29 武汉斗鱼网络科技有限公司 A kind of Webpage jump control method and system
CN108171610A (en) * 2017-12-28 2018-06-15 中国平安人寿保险股份有限公司 Page generation method, page generation equipment, storage medium and device
CN110321228A (en) * 2018-03-28 2019-10-11 腾讯科技(深圳)有限公司 Call method, device, equipment and the computer readable storage medium of Native method
CN109101264A (en) * 2018-07-27 2018-12-28 武汉斗鱼网络科技有限公司 A kind of method and electronic equipment for direct broadcasting room page development
CN109408750A (en) * 2018-09-26 2019-03-01 中国平安财产保险股份有限公司 Page display method, device, computer equipment and storage medium
CN111796799A (en) * 2019-04-09 2020-10-20 广州腾讯科技有限公司 Sub-application development method and device, computer equipment and storage medium
CN110543265A (en) * 2019-07-22 2019-12-06 北京达佳互联信息技术有限公司 Page title bar generation method and device, electronic equipment and storage medium
CN111143725A (en) * 2019-11-15 2020-05-12 北京字节跳动网络技术有限公司 Page generation method and device and electronic equipment
CN110913277A (en) * 2019-11-29 2020-03-24 百度在线网络技术(北京)有限公司 Video playing method and device, electronic equipment and storage medium
CN110990741A (en) * 2019-11-29 2020-04-10 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment, server and storage medium
CN111984448A (en) * 2020-08-14 2020-11-24 北京达佳互联信息技术有限公司 Page calling method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"空中电子商务平台的设计与实现";陶宇宁;《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》;20200615;I138-347 *

Also Published As

Publication number Publication date
CN113204722A (en) 2021-08-03

Similar Documents

Publication Publication Date Title
US10887414B2 (en) Theme-based push notifications
US11132114B2 (en) Method and apparatus for generating customized visualization component
CN109725901A (en) Development approach, device, equipment and the computer storage medium of front-end code
US20080016187A1 (en) Automatic mobile device configuration
CN111433743A (en) APP remote control method and related equipment
US20110320286A1 (en) System And Method For Integrating An Ad Banner With A Calling Application
CN109408136A (en) Information processing method, device, storage medium and electronic equipment
CN108021377A (en) A kind of application icon update method and device
CN113204722B (en) Page display method and device, electronic equipment and storage medium
CN111679811B (en) Web service construction method and device
CN113672405A (en) Data interaction system and page display method based on data interaction system
CN112764746B (en) Data processing method, device, electronic equipment and storage medium
US20180300122A1 (en) Data processing method and system, and server
CN111651146B (en) Function generation method, device, equipment and medium
CN114090066A (en) User interface card view generation method and device, computer equipment and medium
CN113886102A (en) Web end and iOS mobile end interaction method, tool, equipment and medium
CA2593877C (en) Automatic mobile device configuration
CN114139074A (en) State information display method, device, equipment and storage medium
CN114185845A (en) File management method and device, computer equipment and storage medium
CN112199090A (en) Information flow processing method, device and computer readable storage medium
CN116257719B (en) Page updating method, page updating device, computer equipment and storage medium
CN114116049A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN108073622B (en) Webpage access method and device based on self-defined desktop program
CN116233041A (en) Information processing method and device and electronic equipment
CN115390895A (en) Interface management method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant