[go: up one dir, main page]

CN113296762B - Page embedding method and device, storage medium and electronic equipment - Google Patents

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

Info

Publication number
CN113296762B
CN113296762B CN202110686401.7A CN202110686401A CN113296762B CN 113296762 B CN113296762 B CN 113296762B CN 202110686401 A CN202110686401 A CN 202110686401A CN 113296762 B CN113296762 B CN 113296762B
Authority
CN
China
Prior art keywords
page
event
routing
message
embedded
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
CN202110686401.7A
Other languages
Chinese (zh)
Other versions
CN113296762A (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 Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network 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 Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202110686401.7A priority Critical patent/CN113296762B/en
Publication of CN113296762A publication Critical patent/CN113296762A/en
Priority to PCT/CN2022/095160 priority patent/WO2022267809A1/en
Application granted granted Critical
Publication of CN113296762B publication Critical patent/CN113296762B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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

Abstract

The disclosure relates to a page embedding method, a page embedding device, a storage medium and electronic equipment, wherein the method comprises the following steps: installing a front-end function package in the first page system, wherein the front-end function package is provided with a function which is required in the page embedding process and is called through a custom page embedded tag; acquiring a page address of a second page to be embedded; determining parameters of a custom page embedded tag according to a page address of a second page, and calling a front-end function package through the custom page embedded tag after the parameters are transmitted to obtain a page module instance, wherein a message interface of the page module instance supports message transmission in a non-character string form; the second page is embedded into the first page system by the page module instance. Therefore, the page embedding can be realized through the custom page embedding tag, the resource loading problem existing in the page embedding through the Iframe tag is solved, and the non-character string message transmission between the embedding party and the embedded system is realized.

Description

Page embedding method and device, storage medium and electronic equipment
Technical Field
The disclosure relates to the technical field of computers, and in particular relates to a page embedding method, a page embedding device, a storage medium and electronic equipment.
Background
Page modular multiplexing refers to the rapid embedding of a certain system or a certain page in a certain system as a similar component into another system, such as the ability of a third party system to embed a similar business cash register interface, or the desire of some systems to embed the chart analysis capabilities of some other platforms.
In the related art, if another page is to be embedded in the page system, it is mainly implemented through the Iframe tag provided by the browser in-situ. However, the page is embedded through the Iframe tag, the resource loading is slower, and because the browser uses inter-process communication, the inter-process communication limits the use of only a serialized character string form on the bottom implementation of the computer, so that the page to be embedded and the embedded page can only interact with each other through the serializable character string form, the format of message transmission is limited, and the use requirements in various scenes can not be flexibly met.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In a first aspect, the present disclosure provides a method for embedding a page, the method comprising:
installing a front-end function package in a first page system, wherein the front-end function package is provided with a function which is required in the page embedding process and is called by a custom page embedded tag;
acquiring a page address of a second page to be embedded;
determining parameters of the custom page embedded tag according to the page address of the second page, and calling the front-end function package through the custom page embedded tag after the parameters are transmitted to obtain a page module instance, wherein a message interface of the page module instance supports message transmission in a non-character string form;
embedding the second page into the first page system through the page module instance.
In a second aspect, the present disclosure provides a page embedding apparatus, the apparatus comprising:
the installation module is used for installing a front-end function package in the first page system, and the front-end function package is provided with a function which is required in the page embedding process and is called through a custom page embedded tag;
the acquisition module is used for acquiring a page address of a second page to be embedded;
The calling module is used for determining parameters of the custom page embedded tag according to the page address of the second page, and calling the front-end function package through the custom page embedded tag after the parameters are transmitted to obtain a page module instance, wherein a message interface of the page module instance supports message transmission in a non-character string form;
and the embedding module is used for embedding the second page into the first page system through the page module instance.
In a third aspect, the present disclosure provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processing device, implements the steps of the method of the first aspect.
In a fourth aspect, the present disclosure provides an electronic device comprising:
a storage device having a computer program stored thereon;
processing means for executing said computer program in said storage means to carry out the steps of the method of the first aspect.
Through the technical scheme, the front-end function package can be installed in the first page system, and the front-end function package is provided with the function which is required in the page embedding process and is called through the custom page embedded tag, so that the second page can be embedded into the first page system through the custom page embedded tag and the front-end function package. Therefore, page embedding can be performed independently of Iframe tags which are native to a browser, and the problem of resource loading caused by page embedding through the Iframe tags can be solved. And the message interface of the page module instance obtained by calling the front-end function package can be used for transmitting the message in a non-character string mode, so that the first page system and the second page to be embedded can be used for transmitting the message in a non-character string mode, further more complex page message interaction logic is realized, and the use requirements under different scenes are met.
Additional features and advantages of the present disclosure will be set forth in the detailed description which follows.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale. In the drawings:
FIG. 1 is a flow chart illustrating a method of page embedding according to an exemplary embodiment of the present disclosure;
FIG. 2 is a block diagram of a page embedding device, according to an exemplary embodiment of the present disclosure;
fig. 3 is a block diagram of an electronic device, according to an exemplary embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units. It is further noted that references to "one" or "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
As described in the background, if another page is to be embedded in the page system, the implementation is mainly achieved through the Iframe tag provided by the browser. However, iframe is an old technology introduced ten years ago by the browser, and as industry technology updates iterate, page embedding through Iframe tags also exposes many problems in the current context. Such as performance bottlenecks, require reloading the page resources completely each time a switch is made between an embedded page and an embedded page, resulting in an inefficient resource loading. And because the browser uses inter-process communication, the inter-process communication is limited to use a serialized character string form on the bottom layer of the computer, and therefore, the page to be embedded and the page to be embedded can only interact with each other through the serialized character string form, the format of message transmission is limited, and the use requirements in various scenes can not be met flexibly.
The inventor researches and discovers that another page embedding mode through portal tags also exists in the related technology. Specifically, a src attribute can be attached to the portal tag, and the value corresponding to the attribute is the subsystem page which is expected to be embedded, so that the tag can be placed at any position in a system which needs to be embedded into the sub page, and page embedding is realized. However, this approach still does not solve the problem that the Iframe tag cannot pass non-string type data, and the premise of the embedder and the embedded system want to establish message communication is to ensure that the domain names of the two are completely consistent. That is, the portal tag method also has a problem that communication between the embedded party and the embedded system is limited.
In view of this, the present disclosure provides a method for embedding a page, so as to implement page embedding by customizing a page embedding tag, solve the problem of resource loading existing when page embedding is performed by using an Iframe tag, implement non-string message transmission between an embedder and an embedded system, and promote scene applicability of page embedding.
Fig. 1 is a flowchart illustrating a page embedding method according to an exemplary embodiment of the present disclosure. Referring to fig. 1, the page embedding method includes:
step 101, installing a front-end function package in the first page system, wherein the front-end function package is provided with function functions required in the page embedding process and called through custom page embedded labels.
Step 102, obtaining the page address of the second page to be embedded.
Step 103, determining the parameter of the custom page embedded tag according to the page address of the second page, and calling the front-end function package through the custom page embedded tag after the parameter is input to obtain a page module instance, wherein the message interface of the page module instance supports message transmission in a non-character string form.
Step 104, embedding the second page into the first page system through the page module instance.
For example, the front-end function package may be pre-packaged with function functions required by the page embedding process, such as a page resource loading function, etc., that are invoked by custom page embedding tags. Therefore, after the front-end function package is installed in the first page system, the page resource loading function can be called to load resources. That is, the corresponding resource can be loaded in advance, so that the resource loading is not needed to be carried out again in each page switching process, and the problem of resource loading caused by the fact that the Iframe tag is used for carrying out page embedding can be solved. It should be appreciated that the function in the front-end function package may be set according to the actual situation, and may include various types of micro-front-end function, which is not limited by the present disclosure.
After the front-end function package is installed in the first page system, the page address of the second page to be embedded may be obtained, for example, the page address of the second page may be obtained from an address bar of a browser displaying the second page, which is not limited in the embodiment of the present disclosure. The parameters of the custom page embedded tag may then be determined based on the page address of the second page.
By way of example, custom page embedded tags may be understood as hypertext markup language HTML tags for invoking pre-packaged function functions in a front-end function package. That is, in the embodiment of the present disclosure, an HTML tag is customized, and a front-end function packet corresponding to the HTML tag is preset, so that a function in the front-end function packet may be called to complete a page display function corresponding to the custom page embedded tag. Also, it should be understood that, in the related art, when a user embeds a page using the conventional Iframe scheme, in the most ideal case (there is no need for traffic communication between the embedder and the embeded party and some specific traffic logic), the embeded party does not need to make any modification, but only needs to transfer the address of the embedded page to the src interface attribute of the Iframe tag at the time of embedding. Similarly, in the embodiment of the disclosure, the tag can be embedded into the custom page under the optimal condition, so that zero-cost reconstruction design can be realized for a long-term unmanned maintenance history system or for an external uncontrollable page, and the operation process of page embedding is reduced.
In a possible manner, the parameters for determining the custom page embedded tag according to the page address of the second page may be: taking the page address of the second page as a parameter of the custom page embedded tag; or performing resource analysis according to the page address of the second page to obtain a structured data address with the resource analysis completed, and taking the structured data address as a parameter of the custom page embedded tag.
It should be appreciated that conventional HTML parsing requires a built-in HTML code parser that will bring more code and parse at runtime, while adding only one line of code at runtime brings additional performance consumption. And the parser parses the user's incoming HTML file sentence by sentence, which further adds additional performance overhead. Accordingly, embodiments of the present disclosure may reduce performance consumption by passing structured data addresses for which resource resolution has been completed.
By way of example, the analysis cost of the runtime can be converted to the completion of the compilation by referring to the same processing function, so that the content obtained by the analysis of the compilation and the content obtained by the analysis of the runtime are not different, and the running performance consumption can be reduced. In addition, the structured data address which is subjected to resource analysis can be directly transferred in the page embedding process through a PuzzleWebpackPlugin general execution function and through less code writing. Therefore, the running cost can be reduced, and the code running performance can be improved.
For example, the custom embedded tag is named as a logic-portal tag, and the page address of the second page to be embedded is https:// sample.com/, the page address of the second page can be used as the parameter of the custom embedded tag as follows: < magic-portal html= "https:// example. Com/" >/magic-portal >. Or, the resource analysis can be performed according to the page address of the second page to obtain a structured address with completed resource analysis, and then the structured data address is used as a parameter of the custom page embedded tag according to the following manner: < magic-portalift= "https:// example. Com/puzzle-manifest. Json" >/magic-portal >. Therefore, the custom embedded tag can directly introduce the page address of the second page through the html field, and also can transmit a structured data address which is already subjected to resource analysis through the manifest field, so that the performance operation consumption is reduced.
After the parameters of the custom page embedded tag are determined according to the page address of the second page, namely, after the corresponding parameters are transmitted to the custom page embedded tag, a front-end function package can be called through the custom page embedded tag, so as to obtain a page module instance, wherein a message interface of the page module instance supports message transmission in a non-character string form.
It should be understood that, in the related art, page embedding is performed through an Iframe tag, and the message communication capability provided by the early message event of the browser is mainly multiplexed in the message transmission process, so that the data transmission of the event is completed. Therefore, in the Iframe embedding scheme, both the embedded party and the embedded party can complete some specific actions by distributing the message event and attaching corresponding specific service data, or monitoring whether other people distribute the message event to acquire data attached to the other party. However, because the inter-process communication is used, and the inter-process communication is limited to only use the serialized character string form on the bottom layer of the computer, the information interaction between the page to be embedded and the page to be embedded can only be performed through the serialized character string form, the format of information transmission is limited, and the use requirements in various scenes can not be flexibly met.
In the embodiment of the disclosure, the constraint of original event dispatch can be broken through by combining a memory management mechanism in an event dispatch mechanism, namely in the event communication process, and any custom event can be dispatched by a simple interface method. Thus, the data format of the transfer is not limited, such as pointer data which is not of a character string type and can not normally complete serialization, and the transfer can be completed in this way.
In a possible manner, the message event can be transferred to the second page through the first message interface and the event dispatching mechanism of the page module instance, wherein the message event to be transferred is stored in the memory when the event is dispatched, so that the second page can acquire the message event from the memory. Or monitoring the message event transferred by the second page through the second message interface and the event dispatching mechanism of the page module instance, wherein the second page stores the message event to be transferred into the memory when dispatching the event, so that the first page system acquires the message event from the memory when receiving the event.
For example, if it is desired to transfer a message event from an embedded first page system to an embedded second page, the message event may be transferred to the second page through a postMessage interface (i.e., a first message interface) of the page module instance and an event dispatch mechanism, where the message event to be transferred may be stored in a memory when the event is dispatched, so that the second page obtains the message event from the memory. Or if the embedded first page system is expected to monitor the message event from the embedded second page, the addEventListener interface (i.e. the second message interface) of the page module instance and the event dispatch mechanism can monitor the message event transferred by the second page, wherein the second page can store the message event to be transferred in the memory when dispatching the event, so that the first page system can acquire the message event from the memory when receiving the event. Therefore, the message transmission between the first page system and the second page can be realized through a memory management mechanism, so that the problem of limited communication between the first page system and the second page can be solved.
In practical applications, other types of custom events may need to be delivered in addition to message events. In this regard, the embodiments of the present disclosure provide a third message interface and a fourth message interface for the custom event, so as to perform message transmission of a corresponding data type through different types of message interfaces, thereby improving message transmission efficiency.
That is, in a possible manner, the page message except the message event may be transferred to the second page through the third message interface of the page module instance and the event dispatch mechanism, where the page message to be transferred may be stored in the memory when the event is dispatched, so that the second page obtains the page message from the memory. Or, the fourth message interface and the event dispatching mechanism of the page module example monitor the page messages transmitted by the second page except the message event, wherein the second page can store the page messages to be transmitted into the memory when dispatching the event, so that the first page system can acquire the page messages from the memory when receiving the event.
For example, if it is desired to transfer a generic custom event from an embedded first page system to an embedded second page, the custom event may be transferred to the second page through a generic emiteevent interface (i.e., a third message interface) of the page module instance and an event dispatch mechanism, where the custom event to be transferred may be stored in memory when the event is dispatched so that the second page retrieves the custom event from memory. Or if the embedded first page system is expected to monitor the custom event from the embedded second page, the custom event transmitted by the second page can be monitored through an addporteventlist interface (i.e. a fourth message interface) and an event dispatching mechanism of the page module instance, wherein the second page can store the custom event to be transmitted into a memory when the event is dispatched, so that the first page system can acquire the custom event from the memory when receiving the event.
Therefore, the message transmission of the custom event can be realized between the first page system and the second page through a memory management mechanism, so that the page communication requirements under various scenes can be met, and the problem of limited communication between pages can be solved.
It should be understood that the third and fourth message interfaces may also be used to communicate message events, where possible, but the first and second message interfaces may be used to communicate message events only. In addition, the page module instance may, in addition to providing various message interfaces for the first page system to pass messages to or listen for messages from the second page, inject global interface objects in the global environment of the page module instance so that the page module instance has the ability to pass messages from the second page to or listen for messages from the first page system. For example, message data may be transferred by the second page to the first page system via a fifth message interface on the page module instance or the second page may snoop for events triggered from the first page system via a sixth message interface on the page module instance.
In practical applications, the contents or functions of each part of a front-end system are switched or scheduled through routing or page jumping in many cases, and address changes in the browser address bar are often accompanied at the same time of page switching and jumping. For example, commercial platforms have a cash desk system that supports payment-related business logic, often completing a complete payment process, generally requiring jumps through several pages: the order page confirmation information, the data such as the payment mode input by the bank card page, and the payment completion page, each page usually has a page address of the user and completes the jump according to the operation of the user (the next step or the last step). Or, in the front-end page, switching and navigation of functions are performed through route hopping.
But route hops may not perform as expected in many times, such as in a system page like a mall platform, where the checkout counter system is embedded as a called third party module in the mall platform page, possibly only a small part of the page, or just a pop-up window where the address of the mall page is a link to the commodity. If the checkout counter module is invoked or some checkout counter operation is performed, the page address is changed, which is often not desirable because most of the contents of the page are merchandise details, and because a small portion of the contents of the page (i.e., the checkout counter module) causes the browser address to change, rather than fitting the user's intuitiveness of use. Therefore, routing isolation between the embedder and the embeddable party is necessary.
While the micro front end scheme in the related art is mostly expected to keep the addresses of the embedded party and the embedded party consistent in any case. In view of this, in order to support the front-end routing scenario under different service systems, the embodiments of the present disclosure provide two policies of route isolation and route non-isolation, and in the implementation process of the present disclosure, the parameters may be configured to determine the route isolation and route non-isolation.
In a possible manner, a routing parameter may be first obtained, where the routing parameter is used to characterize a routing state of the first page system and the second page, and the routing state includes a routing isolation on state or a routing isolation off state. If the routing parameter represents a routing isolation opening state, determining the self-defined routing information of the second page, and controlling the routing of the second page according to the self-defined routing information so that the routing of the second page after the second page is embedded into the first page system is different from the routing of the first page system. If the routing parameter represents a routing isolation closing state, controlling the routing of the second page according to the routing information of the first page system, so that the routing of the second page after the second page is embedded into the first page system is the same as the routing of the first page system.
That is, the custom page embedded tag may have routing parameters such that the routing states of the first page system and the second page are determined by configuring the routing parameters in the custom page embedded tag. For example, the routing parameters may be configured, and the routing states of the first page system and the second page are determined to be the routing isolation on state, whereas if the routing parameters are not configured, the routing states of the first page system and the second page are determined to be the routing isolation off state. For example, if the custom page embedded tag is named as a mac-portal tag and the routing parameter history-isolation is configured as follows, it may be determined that the routing states of the first page system and the second page are routing isolation on states: < magic-portal history-isolation > </magic-portal >. Otherwise, if the routing parameter history-isolation is not configured, the routing states of the first page system and the second page can be determined to be the routing isolation closed states.
After the route parameters are obtained, if the route parameters represent the route isolation opening state, the self-defined route information of the second page can be determined, and the route of the second page is controlled according to the self-defined route information, so that the route of the second page after the second page is embedded into the first page system is different from the route of the first page system. The custom routing information is used to characterize the routing information of the second page, and may be acquired when the page address of the second page is acquired, which is not limited in the embodiment of the present disclosure. Then, under the condition that the route isolation is opened, the route of the second page after the second page is embedded into the first page system can be made to be different from the route of the first page system through the self-defined route information. Therefore, after the second page is embedded, the page address displayed in the browser address bar by the first page system can not be changed, the influence of the page embedding on the first page system is reduced, and the look and feel of a user is improved.
If the routing parameter characterizes a routing isolation closing state, the routing of the second page can be controlled according to the routing information of the first page system, so that the routing of the second page after the second page is embedded into the first page system is the same as the routing of the first page system. It should be appreciated that in this case, the second page may declare itself a namespace on the first page system, so that the second page's routing may be consistent with the first page system, otherwise there may be a problem in that the second page will not find page resources during the routing process. For example, the first page system completes the switching from/home to/out, and the second page will do so similarly, but if the second page does not implement the/out page, the corresponding page is not found. In this case, if the second page maintains its own namespace on the first page system in advance, the second page and the same page corresponding to the first page system may be routed in the routing process, otherwise, the second page may not be routed, so as to avoid the problem that the second page cannot find the page resource.
Next, a second page may be embedded into the first page system according to the page module instance. In a possible manner, the custom display parameter for the second page may be obtained first, then the custom display parameter is transferred into the page module instance to obtain the target page module instance, and finally the second page is embedded into the first page system according to the target page module instance.
For example, the custom display parameters may be used to define a display style or display content of the second page after being embedded in the first page system, and may be set according to practical situations, for example, may include parameters for injecting metadata into the first page system, which is not limited in the embodiments of the present disclosure. In the implementation, an external interface for custom display can be set for the page module instance, and parameter rules of the external interface are set, so that corresponding custom display parameters are subsequently transmitted according to parameters required by the external interface, namely, the custom display parameters for the second page are obtained, and are transmitted into the page module instance, custom display configuration of the second page can be realized, and page embedding requirements under various scenes are met. That is, embodiments of the present disclosure may append customization parameters and configuration information to a page module instance through an interface provided by the page module instance to enable custom capabilities or presentations.
After the target page module instance is obtained, the second page can be embedded into the first page system according to the target page module instance. In a possible manner, it may be determined to place the page module instance in the target display position of the first page system, and then display the second page in the target display position of the first page system after the page module instance completes the resource loading and initializing operations.
For example, the target display position may be set according to an actual situation, which is not limited by the embodiment of the present disclosure. It should be appreciated that in the embodiment of the present disclosure, the front-end function package is pre-packaged for the custom page embedded tag, so that the page module instance is placed at any desired position of the embedded page, and the page module instance automatically completes the resource loading and internal initialization, so that after the page module instance completes the resource loading and initialization operations, the second page may be displayed at the target display position of the first page system. Therefore, the page embedding can be realized through the custom page embedding tag, the resource loading problem existing in the page embedding through the Iframe tag is solved, the non-character string message transmission between the embedding party and the embedded system is realized, and the scene applicability of the page embedding is improved.
Based on the same inventive concept, the embodiments of the present disclosure provide a page embedding device, which may be part or all of an electronic device through software, hardware, or a combination of both. Referring to fig. 2, the page embedding apparatus 200 includes:
an installation module 201, configured to install a front-end function package in a first page system, where the front-end function package is provided with a function required in a page embedding process and invoked through a custom page embedding tag;
an obtaining module 202, configured to obtain a page address of a second page to be embedded;
the calling module 203 is configured to determine a parameter of the custom page embedded tag according to a page address of the second page, and call the front-end function packet through the custom page embedded tag after the parameter is input, so as to obtain a page module instance, where a message interface of the page module instance supports message transmission in a non-character string form;
an embedding module 204, configured to embed the second page into the first page system through the page module instance.
Optionally, the apparatus 200 further includes:
the first communication module is used for transmitting a message event to the second page through a first message interface and an event dispatching mechanism of the page module instance after the page module instance is obtained, wherein the message event to be transmitted is stored in a memory when the event is dispatched, so that the second page can acquire the message event from the memory;
And the second communication module is used for monitoring the message event transmitted by the second page through a second message interface and an event dispatching mechanism of the page module instance, wherein the second page stores the message event to be transmitted into a memory when dispatching the event, so that the first page system can acquire the message event from the memory when receiving the event.
Optionally, the apparatus 200 further includes:
the third communication module is used for transmitting page messages except message events to the second page through a third message interface and an event dispatching mechanism of the page module instance after the page module instance is obtained, wherein the page messages to be transmitted are stored in a memory when the event is dispatched, so that the second page can acquire the page messages from the memory;
and the fourth communication module is used for monitoring the page messages which are transmitted by the second page and except for the message event through a fourth message interface and an event dispatching mechanism of the page module instance, wherein the second page stores the page messages to be transmitted into a memory when dispatching the event so that the first page system can acquire the page messages from the memory when receiving the event.
Optionally, the apparatus 200 further includes:
the first parameter acquisition module is used for acquiring routing parameters, wherein the routing parameters are used for representing routing states of the first page system and the second page, and the routing states comprise a routing isolation opening state or a routing isolation closing state;
the first determining module is used for determining the self-defined routing information of the second page when the routing parameter represents a routing isolation opening state, and controlling the routing of the second page according to the self-defined routing information so that the routing of the second page after the second page is embedded into the first page system is different from the routing of the first page system;
and the second determining module is used for controlling the route of the second page according to the route information of the first page system when the route parameter represents the route isolation closing state so that the route of the second page is the same as the route of the first page system after the second page is embedded into the first page system.
Optionally, the calling module 203 is configured to:
taking the page address of the second page as a parameter of the custom page embedded tag; or alternatively
And carrying out resource analysis according to the page address of the second page to obtain a structured data address with the completed resource analysis, and taking the structured data address as a parameter of the custom page embedded tag.
Optionally, the apparatus 200 further includes:
the second parameter acquisition module is used for acquiring the self-defined display parameters aiming at the second page and transmitting the self-defined display parameters into the page module instance to obtain a target page module instance;
the embedding module 204 is configured to:
and embedding the second page into the first page system according to the target page module example.
Optionally, the embedding module 204 is configured to:
determining a target display position for placing the page module instance in the first page system;
and after the page module instance completes the resource loading and initializing operation, displaying the second page at the target display position of the first page system.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Based on the same inventive concept, the embodiments of the present disclosure also provide a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processing device, implements the steps of any of the above-described page embedding methods.
Based on the same inventive concept, the embodiments of the present disclosure further provide an electronic device, including:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to implement the steps of any of the page embedding methods described above.
Referring now to fig. 3, a schematic diagram of an electronic device 300 suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 3 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 3, the electronic device 300 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various suitable actions and processes in accordance with a program stored in a Read Only Memory (ROM) 302 or a program loaded from a storage means 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
In general, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 308 including, for example, magnetic tape, hard disk, etc.; and communication means 309. The communication means 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. While fig. 3 shows an electronic device 300 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via a communication device 309, or installed from a storage device 308, or installed from a ROM 302. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing means 301.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, communications may be made using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: installing a front-end function package in a first page system, wherein the front-end function package is provided with a function which is required in the page embedding process and is called by a custom page embedded tag; acquiring a page address of a second page to be embedded; determining parameters of the custom page embedded tag according to the page address of the second page, and calling the front-end function package through the custom page embedded tag after the parameters are transmitted to obtain a page module instance, wherein a message interface of the page module instance supports message transmission in a non-character string form; embedding the second page into the first page system through the page module instance.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented in software or hardware. The name of a module does not in some cases define the module itself.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In accordance with one or more embodiments of the present disclosure, example 1 provides a page embedding method, the method comprising:
installing a front-end function package in a first page system, wherein the front-end function package is provided with a function which is required in the page embedding process and is called by a custom page embedded tag;
acquiring a page address of a second page to be embedded;
determining parameters of the custom page embedded tag according to the page address of the second page, and calling the front-end function package through the custom page embedded tag after the parameters are transmitted to obtain a page module instance, wherein a message interface of the page module instance supports message transmission in a non-character string form;
embedding the second page into the first page system through the page module instance.
In accordance with one or more embodiments of the present disclosure, example 2 provides the method of example 1, after obtaining the page module instance, the method further comprising:
transmitting a message event to the second page through a first message interface and an event dispatch mechanism of the page module instance, wherein the message event to be transmitted is stored in a memory when the event is dispatched, so that the second page acquires the message event from the memory;
And monitoring a message event transmitted by the second page through a second message interface and an event dispatching mechanism of the page module instance, wherein the second page stores the message event to be transmitted into a memory when dispatching the event, so that the first page system acquires the message event from the memory when receiving the event.
In accordance with one or more embodiments of the present disclosure, example 3 provides the method of example 1 or 2, after obtaining the page module instance, the method further comprising:
transmitting page messages except message events to the second page through a third message interface and an event dispatching mechanism of the page module instance, wherein the page messages to be transmitted are stored in a memory when the events are dispatched, so that the second page can acquire the page messages from the memory;
and monitoring page messages transmitted by the second page except for the message event through a fourth message interface and an event dispatching mechanism of the page module example, wherein the second page stores the page messages to be transmitted into a memory when dispatching the event so that the first page system acquires the page messages from the memory when receiving the event.
In accordance with one or more embodiments of the present disclosure, example 4 provides the method of example 1 or 2, the method further comprising:
obtaining a routing parameter, wherein the routing parameter is used for representing routing states of the first page system and the second page, and the routing states comprise a routing isolation opening state or a routing isolation closing state;
if the routing parameter represents a routing isolation opening state, determining self-defined routing information of the second page, and controlling the routing of the second page according to the self-defined routing information so that the routing of the second page after the second page is embedded into the first page system is different from the routing of the first page system;
and if the routing parameter represents a routing isolation closing state, controlling the routing of the second page according to the routing information of the first page system so that the routing of the second page is the same as the routing of the first page system after the second page is embedded into the first page system.
In accordance with one or more embodiments of the present disclosure, example 5 provides the method of example 1 or 2, determining the parameter of the custom page embedded tag according to the page address of the second page, including:
Taking the page address of the second page as a parameter of the custom page embedded tag; or alternatively
And carrying out resource analysis according to the page address of the second page to obtain a structured data address with the completed resource analysis, and taking the structured data address as a parameter of the custom page embedded tag.
Example 6 provides the method of example 1 or 2, further comprising:
acquiring a custom display parameter aiming at the second page, and transmitting the custom display parameter into the page module instance to obtain a target page module instance;
embedding the second page into the first page system according to the page module instance, comprising:
and embedding the second page into the first page system according to the target page module example.
In accordance with one or more embodiments of the present disclosure, example 7 provides the method of example 1 or 2, embedding the second page into the first page system in accordance with the page module instance, comprising:
determining a target display position for placing the page module instance in the first page system;
and after the page module instance completes the resource loading and initializing operation, displaying the second page at the target display position of the first page system.
Example 8 provides a page embedding apparatus according to one or more embodiments of the present disclosure, the apparatus comprising:
the installation module is used for installing a front-end function package in the first page system, and the front-end function package is provided with a function which is required in the page embedding process and is called through a custom page embedded tag;
the acquisition module is used for acquiring a page address of a second page to be embedded;
the calling module is used for determining parameters of the custom page embedded tag according to the page address of the second page, and calling the front-end function package through the custom page embedded tag after the parameters are transmitted to obtain a page module instance, wherein a message interface of the page module instance supports message transmission in a non-character string form;
and the embedding module is used for embedding the second page into the first page system through the page module instance.
According to one or more embodiments of the present disclosure, example 9 provides a non-transitory computer-readable storage medium having stored thereon a computer program that, when executed by a processing device, performs the steps of the method of any of examples 1-7.
In accordance with one or more embodiments of the present disclosure, example 10 provides an electronic device, comprising:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to implement the steps of the method of any one of examples 1-7.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims. The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.

Claims (9)

1. A method of embedding a page, the method comprising:
installing a front-end function package in a first page system, wherein the front-end function package is provided with a function which is required in the page embedding process and is called by a custom page embedded tag;
acquiring a page address of a second page to be embedded;
determining parameters of the custom page embedded tag according to the page address of the second page, and calling the front-end function package through the custom page embedded tag after the parameters are transmitted to obtain a page module instance, wherein a message interface of the page module instance supports message transmission in a non-character string form;
Transmitting a message event to the second page through a first message interface and an event dispatch mechanism of the page module instance, wherein the message event to be transmitted is stored in a memory when the event is dispatched, so that the second page acquires the message event from the memory;
monitoring a message event transmitted by the second page through a second message interface and an event dispatching mechanism of the page module instance, wherein the second page stores the message event to be transmitted into a memory when dispatching the event so that the first page system acquires the message event from the memory when receiving the event;
embedding the second page into the first page system through the page module instance.
2. The method of claim 1, wherein after obtaining the page module instance, the method further comprises:
transmitting page messages except message events to the second page through a third message interface and an event dispatching mechanism of the page module instance, wherein the page messages to be transmitted are stored in a memory when the events are dispatched, so that the second page can acquire the page messages from the memory;
And monitoring page messages transmitted by the second page except for the message event through a fourth message interface and an event dispatching mechanism of the page module example, wherein the second page stores the page messages to be transmitted into a memory when dispatching the event so that the first page system acquires the page messages from the memory when receiving the event.
3. The method according to claim 1, wherein the method further comprises:
obtaining a routing parameter, wherein the routing parameter is used for representing routing states of the first page system and the second page, and the routing states comprise a routing isolation opening state or a routing isolation closing state;
if the routing parameter represents a routing isolation opening state, determining self-defined routing information of the second page, and controlling the routing of the second page according to the self-defined routing information so that the routing of the second page after the second page is embedded into the first page system is different from the routing of the first page system;
and if the routing parameter represents a routing isolation closing state, controlling the routing of the second page according to the routing information of the first page system so that the routing of the second page is the same as the routing of the first page system after the second page is embedded into the first page system.
4. The method of claim 1, wherein determining the custom page embedded tag parameter from the page address of the second page comprises:
taking the page address of the second page as a parameter of the custom page embedded tag; or alternatively
And carrying out resource analysis according to the page address of the second page to obtain a structured data address with the completed resource analysis, and taking the structured data address as a parameter of the custom page embedded tag.
5. The method according to claim 1, wherein the method further comprises:
acquiring a custom display parameter aiming at the second page, and transmitting the custom display parameter into the page module instance to obtain a target page module instance;
embedding the second page into the first page system according to the page module instance, comprising:
and embedding the second page into the first page system according to the target page module example.
6. The method of claim 1, wherein embedding the second page into the first page system according to the page module instance comprises:
Determining a target display position for placing the page module instance in the first page system;
and after the page module instance completes the resource loading and initializing operation, displaying the second page at the target display position of the first page system.
7. A page embedding device, the device comprising:
the installation module is used for installing a front-end function package in the first page system, and the front-end function package is provided with a function which is required in the page embedding process and is called through a custom page embedded tag;
the acquisition module is used for acquiring a page address of a second page to be embedded;
the calling module is used for determining parameters of the custom page embedded tag according to the page address of the second page, and calling the front-end function package through the custom page embedded tag after the parameters are transmitted to obtain a page module instance, wherein a message interface of the page module instance supports message transmission in a non-character string form;
the first communication module is used for transmitting a message event to the second page through a first message interface and an event dispatching mechanism of the page module instance, wherein the message event to be transmitted is stored in a memory when the event is dispatched, so that the second page can acquire the message event from the memory;
The second communication module is used for monitoring a message event transmitted by the second page through a second message interface and an event dispatching mechanism of the page module instance, wherein the second page stores the message event to be transmitted into a memory when dispatching the event so that the first page system can acquire the message event from the memory when receiving the event;
and the embedding module is used for embedding the second page into the first page system through the page module instance.
8. A non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processing device, implements the steps of the method according to any one of claims 1-6.
9. An electronic device, comprising:
a storage device having a computer program stored thereon;
processing means for executing said computer program in said storage means to carry out the steps of the method according to any one of claims 1-6.
CN202110686401.7A 2021-06-21 2021-06-21 Page embedding method and device, storage medium and electronic equipment Active CN113296762B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110686401.7A CN113296762B (en) 2021-06-21 2021-06-21 Page embedding method and device, storage medium and electronic equipment
PCT/CN2022/095160 WO2022267809A1 (en) 2021-06-21 2022-05-26 Page embedding method and apparatus, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110686401.7A CN113296762B (en) 2021-06-21 2021-06-21 Page embedding method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113296762A CN113296762A (en) 2021-08-24
CN113296762B true CN113296762B (en) 2023-07-21

Family

ID=77328973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110686401.7A Active CN113296762B (en) 2021-06-21 2021-06-21 Page embedding method and device, storage medium and electronic equipment

Country Status (2)

Country Link
CN (1) CN113296762B (en)
WO (1) WO2022267809A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113296762B (en) * 2021-06-21 2023-07-21 北京有竹居网络技术有限公司 Page embedding method and device, storage medium and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110300133A (en) * 2018-03-22 2019-10-01 财付通支付科技有限公司 Cross-domain data transmission method, apparatus, equipment and storage medium

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0612673D0 (en) * 2006-06-27 2006-08-09 Gems Tv Ltd Computer system
CN103095762B (en) * 2011-11-02 2017-05-31 腾讯科技(深圳)有限公司 Web page cross-domain communication method and apparatus
CN103064747A (en) * 2012-12-13 2013-04-24 郑州威科姆科技股份有限公司 Communication method for different WEB window pages in WES7 environment
CN104714980B (en) * 2013-12-17 2018-04-06 阿里巴巴集团控股有限公司 Page nesting determining method of path and device
CN105574049B (en) * 2014-10-30 2020-07-03 阿里巴巴集团控股有限公司 Page processing method, device and system for mobile application
CN104573066B (en) * 2015-01-26 2017-11-03 中国工商银行股份有限公司 Page multiplexing method and device
US10263838B2 (en) * 2016-08-23 2019-04-16 International Business Machines Corporation Assigning resources to a workload that utilizes embedded computing entities
CN107678820B (en) * 2017-09-29 2021-08-24 北京金山安全软件有限公司 Webpage processing method, device, server, terminal equipment and medium
CN108228181A (en) * 2017-12-29 2018-06-29 北京奇虎科技有限公司 The method and device of embedded html page in html page
US10884834B2 (en) * 2018-09-24 2021-01-05 Microsoft Technology Licensing, Llc Invoking application programming interfaces across isolated parts of a web application
CN109445775B (en) * 2018-10-12 2023-08-11 平安科技(深圳)有限公司 One-key active embedded code method, device and computer readable storage medium
CN109783752A (en) * 2018-12-14 2019-05-21 深圳壹账通智能科技有限公司 Page loading method and device, electronic equipment and computer readable storage medium
CN111783004B (en) * 2020-07-06 2024-08-16 上海乾臻信息科技有限公司 Page embedding method, device and system
CN111930382B (en) * 2020-09-21 2021-02-09 浙江口碑网络技术有限公司 Application page access method, device and equipment
CN112394931A (en) * 2020-11-18 2021-02-23 浩云科技股份有限公司 Static page configuration optimization control method and device for front-end page
CN112818270B (en) * 2021-01-25 2023-07-25 上海哔哩哔哩科技有限公司 Data cross-domain transfer method and device and computer equipment
CN112925586B (en) * 2021-03-10 2024-02-27 深圳市活力天汇科技股份有限公司 Applet routing method, device, computer equipment and storage medium
CN113296762B (en) * 2021-06-21 2023-07-21 北京有竹居网络技术有限公司 Page embedding method and device, storage medium and electronic equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110300133A (en) * 2018-03-22 2019-10-01 财付通支付科技有限公司 Cross-domain data transmission method, apparatus, equipment and storage medium

Also Published As

Publication number Publication date
WO2022267809A1 (en) 2022-12-29
CN113296762A (en) 2021-08-24

Similar Documents

Publication Publication Date Title
CN110489101B (en) Interface simulation method, system, medium and electronic equipment
CN110413913A (en) A kind of page furbishing method, device, terminal and storage medium
CN109857506B (en) Method and device for realizing guide information, electronic equipment and storage medium
CN112286529A (en) Development method, device and equipment of front-end page and storage medium
CN110069308B (en) Page starting method and device, electronic equipment and storage medium
CN111581555B (en) Document loading method, device, equipment and storage medium
CN111273985B (en) Page rendering method, device, electronic device and computer-readable storage medium
US20250094683A1 (en) Method, apparatus, storage medium, and electronic device for content presenting
CN111324376B (en) Function configuration method, device, electronic equipment and computer readable medium
CN113296762B (en) Page embedding method and device, storage medium and electronic equipment
CN116226189A (en) Cache data query method, device, electronic equipment and computer readable medium
CN114237819A (en) Method and device for processing based on Java virtual machine and electronic equipment
CN112558933B (en) Component rendering method and device, readable medium and electronic equipment
CN110278144B (en) Card message sending method, device, medium and electronic equipment
CN109669720B (en) Chain type asynchronous request processing method and device based on Promise and electronic equipment
CN109491687B (en) Hot updating method and device of application software, terminal and readable medium
CN113296771B (en) Page display method, device, equipment and computer readable medium
US20250028776A1 (en) Page processing method and device
CN116069227A (en) Interface interaction method, device, equipment and storage medium
KR100948472B1 (en) Automatic updating of variables in the data language
CN113835790B (en) Paging page display method and device based on Android
CN111382381B (en) User data sharing method and device, mobile terminal and storage medium
CN113448550B (en) Method and device for realizing collection management of classes, electronic equipment and computer medium
CN114968605B (en) Data synchronization method, device, equipment, medium and program product
CN113239300B (en) Data processing method and device 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