CN113296762A - 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
CN113296762A
CN113296762A CN202110686401.7A CN202110686401A CN113296762A CN 113296762 A CN113296762 A CN 113296762A CN 202110686401 A CN202110686401 A CN 202110686401A CN 113296762 A CN113296762 A CN 113296762A
Authority
CN
China
Prior art keywords
page
embedding
event
module
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.)
Granted
Application number
CN202110686401.7A
Other languages
Chinese (zh)
Other versions
CN113296762B (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

Images

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 an electronic device, wherein the method comprises the following steps: installing a front-end function packet in the first page system, wherein the front-end function packet is provided with a function which is required in the page embedding process and is called by a self-defined page embedding tag; acquiring a page address of a second page to be embedded; determining parameters of a self-defined page embedded tag according to a page address of a second page, and calling a front-end function packet through the self-defined page embedded tag after the parameters are transmitted to obtain a page module example, wherein a message interface of the page module example supports message transmission in a non-character string mode; the second page is embedded into the first page system by the page module instance. Therefore, page embedding can be realized through the user-defined page embedding tag, the problem of resource loading caused by page embedding through the Iframe tag is solved, and non-character string message transmission between an embedding party and an embedded system is realized.

Description

Page embedding method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a page embedding method and apparatus, a storage medium, and an electronic device.
Background
Page modular multiplexing refers to that a certain system or a certain page in a certain system is quickly embedded into another system in a similar component mode, for example, the capability of a third-party system to be embedded into a similar service cash desk interface, or the capability of some systems to be embedded into some other platform for chart analysis.
In the related art, if another page is embedded in a page system, the embedding is mainly realized by an Iframe tag provided by a browser. However, page embedding is performed through the Iframe tag, resource loading is slow, and since the browser uses inter-process communication, and the inter-process communication limits that only a serialized character string form can be used in the implementation of a computer bottom layer, message interaction can be performed between a page to be embedded and an embedded page only through the serialized character string form, the format of message transmission is limited, and the use requirements under various scenes cannot 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 page embedding method, including:
installing a front-end function packet in a first page system, wherein the front-end function packet is provided with a function which is required in a page embedding process and is called by a self-defined page embedding tag;
acquiring a page address of a second page to be embedded;
determining parameters of the self-defined page embedded tag according to the page address of the second page, and calling the front-end function package through the self-defined page embedded tag after the parameters are transmitted to obtain a page module example, wherein a message interface of the page module example supports message transmission in a non-character string mode;
embedding, by the page module instance, the second page into the first page system.
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, wherein the front-end function package is provided with a function which is required in the page embedding process and is called by a self-defined page embedding tag;
the acquisition module is used for acquiring the page address of the second page to be embedded;
the calling module is used for determining the parameters of the self-defined page embedded tag according to the page address of the second page and calling the front-end function package through the self-defined page embedded tag after the parameters are transmitted so as to obtain a page module example, wherein a message interface of the page module example supports message transmission in a non-character string mode;
an embedding module to embed the second page into the first page system by 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 apparatus, 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 the computer program in the 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, the function which is required in the page embedding process and called through the self-defined page embedding tag is installed in the front-end function package, and therefore the second page can be embedded into the first page system through the self-defined page embedding tag and the front-end function package subsequently. Therefore, page embedding can be carried out without depending on the native Iframe tags of the 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 carry out message transmission in a non-character string mode, so that the message transmission can be carried out between the first page system and the second page to be embedded in the non-character string mode, more complex page message interaction logic is realized, and the use requirements under different scenes are met.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale. In the drawings:
FIG. 1 is a flowchart illustrating a page embedding method according to an exemplary embodiment of the present disclosure;
FIG. 2 is a block diagram illustrating a page embedding apparatus according to an exemplary embodiment of the present disclosure;
fig. 3 is a block diagram illustrating 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 are shown in the 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 rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the 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. Moreover, 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 "include" and variations thereof as used herein are 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". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units. It is further noted that references to "a", "an", and "the" modifications in the present disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
As background art, if it is desired to embed another page in a page system, the related art is mainly implemented by Iframe tags provided natively by a browser. However, Iframe is an old technology launched by browsers more than a decade ago, and as the technology of the industry is updated and iterated, page embedding is carried out through Iframe tags, and a plurality of problems are exposed in the background of the present stage. For example, a performance bottleneck, needs to completely load the page resources each time switching between the embedded page and the embedded page, which results in too slow resource loading efficiency. And because the browser uses interprocess communication which limits the use of only serialized character string form in the realization of the computer bottom layer, the page to be embedded and the embedded page can only carry out message interaction through the serialized character string form, the format of message transmission is limited, and the use requirements under various scenes can not be flexibly met.
The inventor researches and discovers that another page embedding mode through portal tags exists in the related art. Specifically, an src attribute may be attached to a portal tag, and a value corresponding to the attribute is a subsystem page that is desired to be embedded, so that the tag may be placed at any position in a system where a sub-page needs to be embedded, and page embedding is implemented. However, this approach still does not solve the problem that Iframe tags cannot deliver non-string type data, and the premise that the embedder and the embedded system want to establish message communication is to ensure that the domain names of both are completely consistent. That is, there is also a problem of limited communication between the embedding party and the embedded system by means of portal tags.
In view of this, the present disclosure provides a page embedding method, which implements page embedding by using a custom page embedding tag, solves the problem of resource loading caused by page embedding using an Iframe tag, implements non-string message transmission between an embedding party and an embedded system, and improves the 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 a first page system, wherein the front-end function package is provided with a function which is required in a page embedding process and is called by a self-defined page embedding tag.
And 102, acquiring a page address of a second page to be embedded.
103, determining parameters of the self-defined page embedded tag according to the page address of the second page, and calling a front-end function package through the self-defined page embedded tag after the parameters are transmitted to obtain a page module example, wherein a message interface of the page module example supports message transmission in a non-character string mode.
And 104, embedding the second page into the first page system through the page module instance.
Illustratively, the front-end feature pack may be pre-packaged with the feature functions called by the custom page embedding tag, such as the page resource loading function, etc., required by the page embedding process. Therefore, after the front-end function package is installed in the first page system, the page resource loading function can be called to load the resources. That is, the corresponding resources can be loaded in advance, so that the resource loading is not required to be carried out again in each page switching process, and the problem of resource loading caused by page embedding through the Iframe tag can be solved. It should be understood that the function in the front-end function package can be set according to practical situations, and can include various types of micro-front-end basic function functions, which are not limited in the implementation of 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 in which the second page is displayed. Then, the parameters of the self-defined page embedded tag can be determined according to the page address of the second page.
Illustratively, the custom page embedded tag may be understood as a hypertext markup language (HTML) tag for invoking a pre-packaged function in the front-end function package. That is to say, in the embodiment of the present disclosure, an HTML tag is customized, and a front-end function package corresponding to the HTML tag is preset, so that the page display function corresponding to the customized page embedding tag can be completed by calling a function in the front-end function package. And, it should be understood that, when a user embeds a page using the conventional Iframe scheme in the related art, under the optimal condition (without service communication of an embedding party and an embedded party and some specific service logic), the embedded party does not need to make any modification, and only needs to transfer the address of the embedded page to the src interface attribute of the Iframe tag during embedding. In a similar way, in the embodiment of the disclosure, the effect that the tag is embedded in the user-defined page can be achieved under the optimal condition, so that the zero-cost improvement design can be realized for a long-term unattended historical system or an external uncontrollable page, and the operation process of page embedding is reduced.
In a possible manner, the parameter for determining the self-defined 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 self-defined page embedded tag; or performing resource analysis according to the page address of the second page to obtain a structured data address of which the resource analysis is completed, and taking the structured data address as a parameter of the self-defined page embedded tag.
It should be appreciated that traditional HTML parsing requires a built-in HTML code parser, which brings more code and parses it at runtime, and that adding even one line of code at runtime brings additional performance consumption. And the parser will parse the user incoming HTML file sentence-by-sentence, further adding 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.
Illustratively, the analysis cost in the runtime can be converted to be completed in the compiling process by referring to the same processing function, so that the content obtained by analysis in the compiling process is not different from the content obtained by analysis in the runtime, and the consumption of the running performance can be reduced. In addition, the page embedding process can support direct transmission of the structured data address which is subjected to resource analysis through a PuzleWebpackPlugin general execution function and 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 magic-portal tag, and the page address of the second page to be embedded is https:// example. < mac-portal html ═ https:// example. com/"> < mac-portal >. Or, the resource analysis may be performed according to the page address of the second page to obtain a structured address for which the resource analysis is completed, and then the structured data address is used as a parameter of the self-defined page embedded tag in the following manner: < mac-portal ═ https:// example. com/puzzle-portal. Therefore, the self-defined embedded tag can be directly introduced into the page address of the second page through the html field, and can also 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 self-defined page embedded tag are determined according to the page address of the second page, namely after the corresponding parameters are transmitted to the self-defined page embedded tag, a front-end function packet can be called through the self-defined page embedded tag to obtain a page module example, wherein a message interface of the page module example supports message transmission in a non-character string mode.
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 browser early message event is mainly reused in the message transmission process to complete the data transmission of the event. Therefore, in the Iframe embedding scheme, both the embedding party and the embedded party can complete some specific actions by sending the message event and attaching the corresponding specific business data, or monitoring whether other people send the message event to obtain the data attached to the other party. However, in this way, because inter-process communication is used, and the inter-process communication is limited in implementation of a computer bottom layer by using only a serialized character string form, message interaction can be performed between a page to be embedded and an embedded page only in the serialized character string form, and the format of message transmission is limited, and the use requirements under various scenes cannot be flexibly met.
In the embodiment of the disclosure, in an event dispatching mechanism, namely, in an event communication process, a memory management mechanism can be combined to break the constraint of original event dispatching, and any user-defined event can be dispatched through a simple interface method. Therefore, the data format of the transmission is not limited, for example, pointer type data which is not of a character string type and cannot be normally serialized can be transmitted in such a way.
In a possible manner, the message event may be transferred to the second page through a first message interface and an event dispatching mechanism of the page module instance, where the message event to be transferred is stored in the memory when the event is dispatched, so that the second page obtains the message event from the memory. Or 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 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 the embedded first page system to the embedded second page, the message event may be transferred to the second page through the postMessage interface (i.e., the first message interface) and the event dispatching mechanism of the page module instance, where the message event to be transferred may be stored in the memory when the event is dispatched, so that the second page may obtain 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 message event delivered by the second page may be monitored through an addEventListener interface (i.e. a second message interface) and an event dispatching mechanism of the page module instance, where the second page may store the message event to be delivered into the memory when dispatching the event, so that the first page system acquires the message event from the memory when receiving the event. Therefore, message transmission can be realized between the first page system and the second page through the memory management mechanism, and 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 the message event. 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 corresponding data types 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 delivered 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 delivered may be stored in the memory when the event is dispatched, so that the second page may obtain the page message from the memory. Or monitoring page messages, except for a message event, transmitted by the second page through a fourth message interface and an event dispatching mechanism of the page module instance, wherein the page messages to be transmitted can be stored in the memory when the second page dispatches 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 deliver a generic custom event from an embedded first page system to an embedded second page, the custom event may be delivered to the second page through the generic emitEvent interface (i.e., the third message interface) and the event dispatching mechanism of the page module instance, where the custom event to be delivered may be stored in memory when the event is dispatched so that the second page retrieves the custom event from memory. Alternatively, if the embedded first page system is expected to listen for a custom event from the embedded second page, the custom event delivered by the second page may be listened to through the addportoleventlistener interface (i.e., the fourth message interface) and the event dispatch mechanism of the page module instance, where the second page may store the custom event to be delivered to the memory when the event is dispatched so that the first page system retrieves the custom event from the memory when receiving the event.
Therefore, message transmission of the user-defined event can be achieved between the first page system and the second page through the memory management mechanism, page communication requirements under various scenes can be met, and the problem of limited communication between the pages can be solved.
It should be understood that, in a possible manner, the third message interface and the fourth message interface may also be used for communicating message events, but the first message interface and the second message interface may be used for communicating message events only. In addition, the page module instance may provide various message interfaces for the first page system to pass messages to the second page or listen to messages from the second page, and may inject global interface objects in the global context of the page module instance, so that the page module instance has the capability to pass messages from the second page to the first page system or listen to messages from the first page system. For example, the second page may pass message data to the first page system through a fifth message interface on the page module instance or the second page may listen for events triggered from the first page system through a sixth message interface on the page module instance.
In practical applications, the content or functions of each part of a front-end system are often switched or scheduled through routing or page jumping, and address changes in the address bar of the browser are often accompanied while page switching and jumping are performed. For example, a commercial platform has a cash register system supporting payment-related business logic, often performing a complete payment process, and generally requires several page jumps: order page confirmation information, data such as a payment mode input by a bank card page and the like, and a payment completion page, wherein each page usually has a page address of the page and completes jump according to the operation (next step or last step) of a user. Or, in the front-end page, the function switching and navigation are carried out through route jumping.
But route hopping may not perform satisfactorily in many cases, such as in a system page similar to a mall platform where the cashier desk system is merely embedded as a called third-party module in the page of the mall platform, possibly only a small portion of the page, or only a pop-up window, where the address of the mall page is a link to the goods. If the cash register module is called up or some cash register operations are performed, the address of the page is changed, which is often not desirable because most contents of the page are also the details of the product, and because a small part of contents in the page (i.e. the cash register module) causes the address of the browser to be changed, which is not intuitive for the user. Therefore, route isolation between the embedding party and the embedded party is necessary.
In the micro-front end scheme of the related art, the addresses of the embedding party and the embedded party are expected to be consistent in any case. In view of this, in order to support front-end routing scenarios in different service systems, the embodiments of the present disclosure provide two strategies, namely, route isolation and route non-isolation, and in the implementation process of the present disclosure, configuration may be performed through parameters to determine that route isolation and route non-isolation are performed.
In a possible manner, a routing parameter may be obtained first, where the routing parameter is used to characterize routing states 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 route parameter represents that the route is in the route isolation opening state, determining the self-defined route information of the second page, and controlling the route of the second page according to the self-defined route information, so that the route of the second page is different from the route of the first page system after the second page is embedded into the first page system. If the route parameter represents that the route is in the route isolation closing state, controlling the route of the second page according to the route information of the first page system, 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.
That is, the custom page embedded tab may have a routing parameter such that the routing state of the first page system and the second page is determined by configuring the routing parameter in the custom page embedded tab. For example, it may be set that the routing parameters are configured, the routing states of the first page system and the second page are determined to be a routing isolation on state, and otherwise, the routing states of the first page system and the second page are determined to be a routing isolation off state if the routing parameters are not configured. For example, the self-defined page embedded tag is named as a map-portal tag, and if the routing parameter history-isolation is configured as follows, it can be determined that the routing states of the first page system and the second page system are the routing isolation open state: < map-port history-isolation > </map-port >. Otherwise, if the routing parameter history-isolation is not configured, it may be determined that the routing states of the first page system and the second page are the routing isolation closed state.
After the routing parameters are obtained, if the routing parameters represent the route isolation open state, the self-defined routing information of the second page can be determined, and the routing of the second page is controlled according to the self-defined routing information, so that the routing of the second page is different from the routing of the first page system after the second page is embedded into the first page system. The custom routing information is used to represent routing information of the second page, and may be obtained when a page address of the second page is obtained, which is not limited in this 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 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 user impression is improved.
If the route parameter represents the route isolation closing state, the route of the second page can be controlled according to the route information of the first page system, 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. It should be appreciated that in this case, the second page may declare its own namespace on the first page system, so that the routing of the second page may be consistent with the first page system, otherwise there may be a problem 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/about, and the second page will also perform the same process, but if the second page does not implement the/about page, the corresponding page cannot be found. In this case, if the second page maintains its own namespace on the first page system in advance, the routing synchronization may be performed for the second page and the same page corresponding to the first page system in the routing process, otherwise, the routing synchronization is not performed, so as to avoid the problem that the second page cannot find the page resource.
Next, a second page can be embedded into the first page system according to the page module instance. In a possible mode, the user-defined display parameters for the second page can be obtained firstly, then the user-defined display parameters are transmitted into the page module instance to obtain a 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 parameter is used to define a display style or display content of the second page embedded in the first page system, and may be set according to an actual situation, for example, the custom display parameter may include a parameter for injecting metadata into the first page system, and the like, which is not limited in this disclosure. During specific implementation, an external interface for user-defined display can be set for a page module instance, and a parameter rule of the external interface is set, so that corresponding user-defined display parameters are subsequently transmitted according to parameters required by the external interface, that is, the user-defined display parameters for a second page are obtained, and the user-defined display parameters are transmitted to the page module instance, thereby realizing user-defined display configuration of the second page and meeting page embedding requirements in various scenes. That is, the embodiments of the present disclosure may add customized parameters and configuration information to the page module instance through the interface provided by the page module instance to implement customized capability or presentation.
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 instance of the page module in the target display location of the first page system, and then display the second page in the target display location of the first page system after the instance of the page module completes the resource loading and initialization operations.
For example, the target display position may be set according to actual conditions, and the embodiment of the present disclosure does not limit this. It should be understood that, in the embodiment of the present disclosure, the front-end function package is pre-packaged for the self-defined page embedding tag, so that the page module instance is placed at any desired position of the embedded page, and the page module instance will automatically complete resource loading and internal initialization, so that after the page module instance completes resource loading and initialization operations, the second page can be displayed at the target display position of the first page system. Therefore, page embedding can be achieved through the user-defined page embedding tag, the problem of resource loading due to the fact that page embedding is conducted through the Iframe tag is solved, non-character string message transmission between an embedding party and an embedded system is achieved, and the scene applicability of page embedding is improved.
Based on the same inventive concept, the disclosed embodiments provide a page embedding apparatus, which may become 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:
the installation module 201 is configured to install a front-end function package in the first page system, where the front-end function package is provided with a function that is required in a page embedding process and is called by 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 the page address of the second page, and call the front-end function package through the custom page embedded tag after the parameter is transmitted, so as to obtain a page module example, where an information interface of the page module example supports message transmission in a non-character string manner;
an embedding module 204, configured to embed, by the page module instance, the second page into the first page system.
Optionally, the apparatus 200 further comprises:
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 obtain the message event from the memory;
and 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 obtain the message event from the memory when receiving the event.
Optionally, the apparatus 200 further comprises:
the third communication module is used for transmitting page messages except the message event 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 the memory when the event is dispatched so that the second page can obtain the page messages from the memory;
and the fourth communication module is used for monitoring page messages, except for the message event, transmitted by the second page through a fourth 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 second page dispatches 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 comprises:
a first parameter obtaining module, configured to obtain a routing parameter, where the routing parameter is used to characterize routing states 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;
the first determining module is used for determining the self-defined routing information of the second page when the routing parameter represents that the routing is in a routing isolation open state, and controlling the routing of the second page according to the self-defined routing information, so that the routing of the second page is different from the routing of the first page system after the second page is embedded into 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 that the route is in a route isolation closed 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 invoking module 203 is configured to:
taking the page address of the second page as a parameter of the self-defined page embedded tag; or
And performing resource analysis according to the page address of the second page to obtain a structured data address of which the resource analysis is completed, and taking the structured data address as a parameter of the self-defined page embedded tag.
Optionally, the apparatus 200 further comprises:
the second parameter acquisition module is used for acquiring the user-defined display parameters aiming at the second page and transmitting the user-defined display parameters into the page module example to obtain a target page module example;
the embedding module 204 is configured to:
and embedding the second page into the first page system according to the target page module instance.
Optionally, the embedding module 204 is configured to:
determining to place the instance of the page module in a target display location of the first page system;
and after the page module instance finishes resource loading and initialization operation, displaying the second page at the target display position of the first page system.
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.
Based on the same inventive concept, the disclosed embodiments also provide a non-transitory computer-readable storage medium, on which a computer program is stored, 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, an embodiment of the present disclosure further provides an electronic device, including:
a storage device having a computer program stored thereon;
and the processing device is used for executing the computer program in the storage device so as to realize the steps of any page embedding method.
Referring now to FIG. 3, a block diagram of an electronic device 300 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
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 appropriate 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 necessary 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.
Generally, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touch pad, 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 devices 308 including, for example, magnetic tape, hard disk, etc.; and a communication device 309. The communication means 309 may allow the electronic device 300 to communicate wirelessly or by wire with other devices to exchange data. While fig. 3 illustrates an electronic device 300 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 309, or installed from the storage means 308, or installed from the ROM 302. The computer program, when executed by the processing device 301, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present 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 contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the communication may be performed 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 network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled 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 packet in a first page system, wherein the front-end function packet is provided with a function which is required in a page embedding process and is called by a self-defined page embedding tag; acquiring a page address of a second page to be embedded; determining parameters of the self-defined page embedded tag according to the page address of the second page, and calling the front-end function package through the self-defined page embedded tag after the parameters are transmitted to obtain a page module example, wherein a message interface of the page module example supports message transmission in a non-character string mode; embedding, by the page module instance, the second page into the first page system.
Computer program code for carrying out operations for the present disclosure may be written in any combination of 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 type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present 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 by software or hardware. Wherein the name of a module in some cases does not constitute a limitation on the module itself.
The functions described herein above 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: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), 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. A 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.
Example 1 provides, in accordance with one or more embodiments of the present disclosure, a page embedding method, the method comprising:
installing a front-end function packet in a first page system, wherein the front-end function packet is provided with a function which is required in a page embedding process and is called by a self-defined page embedding tag;
acquiring a page address of a second page to be embedded;
determining parameters of the self-defined page embedded tag according to the page address of the second page, and calling the front-end function package through the self-defined page embedded tag after the parameters are transmitted to obtain a page module example, wherein a message interface of the page module example supports message transmission in a non-character string mode;
embedding, by the page module instance, the second page into the first page system.
Example 2 provides the method of example 1, and after obtaining the page module instance, the method further includes:
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 obtain 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 can acquire the message event from the memory when receiving the event.
Example 3 provides the method of example 1 or 2, wherein after obtaining the page module instance, the method further comprises:
transmitting page messages except the message event 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 event is dispatched so that the second page can obtain the page messages from the memory;
monitoring page messages, except for a message event, transmitted by the second page through a fourth 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 second page dispatches the event, so that the first page system can obtain the page messages from the memory when receiving the event.
Example 4 provides the method of example 1 or 2, further comprising, in accordance with one or more embodiments of the present disclosure:
obtaining 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;
if the route parameter represents that the route is in a route isolation starting state, determining self-defined route information of the second page, and controlling the route of the second page according to the self-defined route information, so that the route of the second page is different from the route of the first page system after the second page is embedded into the first page system;
and if the route parameter represents that the route is in a route isolation closing state, controlling the route of the second page according to the route information of the first page system, 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.
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, comprising:
taking the page address of the second page as a parameter of the self-defined page embedded tag; or
And performing resource analysis according to the page address of the second page to obtain a structured data address of which the resource analysis is completed, and taking the structured data address as a parameter of the self-defined page embedded tag.
Example 6 provides the method of example 1 or 2, further comprising, in accordance with one or more embodiments of the present disclosure:
obtaining a user-defined display parameter aiming at the second page, and transmitting the user-defined display parameter into the page module example to obtain a target page module example;
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 instance.
Example 7 provides the method of example 1 or 2, according to the page module instance, embedding the second page into the first page system, comprising:
determining to place the instance of the page module in a target display location of the first page system;
and after the page module instance finishes resource loading and initialization operation, displaying the second page at the target display position of the first page system.
Example 8 provides, in accordance with one or more embodiments of the present disclosure, a page embedding apparatus, the apparatus comprising:
the installation module is used for 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 by a self-defined page embedding tag;
the acquisition module is used for acquiring the page address of the second page to be embedded;
the calling module is used for determining the parameters of the self-defined page embedded tag according to the page address of the second page and calling the front-end function package through the self-defined page embedded tag after the parameters are transmitted so as to obtain a page module example, wherein a message interface of the page module example supports message transmission in a non-character string mode;
an embedding module to embed the second page into the first page system by the page module instance.
Example 9 provides a non-transitory computer-readable storage medium having stored thereon, a computer program that, when executed by a processing device, implements 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, in accordance with one or more embodiments of the present disclosure, 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 carry out the steps of the method of any of examples 1-7.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while 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. Under 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 limitations on the scope of the 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 disclosed as example forms of implementing the claims. 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.

Claims (10)

1. A method for page embedding, the method comprising:
installing a front-end function packet in a first page system, wherein the front-end function packet is provided with a function which is required in a page embedding process and is called by a self-defined page embedding tag;
acquiring a page address of a second page to be embedded;
determining parameters of the self-defined page embedded tag according to the page address of the second page, and calling the front-end function package through the self-defined page embedded tag after the parameters are transmitted to obtain a page module example, wherein a message interface of the page module example supports message transmission in a non-character string mode;
embedding, by the page module instance, the second page into the first page system.
2. The method of claim 1, wherein after obtaining the instance of the page module, the method further comprises:
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 obtain 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 can acquire the message event from the memory when receiving the event.
3. The method of claim 1 or 2, wherein after obtaining the instance of the page module, the method further comprises:
transmitting page messages except the message event 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 event is dispatched so that the second page can obtain the page messages from the memory;
monitoring page messages, except for a message event, transmitted by the second page through a fourth 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 second page dispatches the event, so that the first page system can obtain the page messages from the memory when receiving the event.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
obtaining 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;
if the route parameter represents that the route is in a route isolation starting state, determining self-defined route information of the second page, and controlling the route of the second page according to the self-defined route information, so that the route of the second page is different from the route of the first page system after the second page is embedded into the first page system;
and if the route parameter represents that the route is in a route isolation closing state, controlling the route of the second page according to the route information of the first page system, 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.
5. The method of claim 1 or 2, wherein determining the parameters of the custom page embedded tag according to the page address of the second page comprises:
taking the page address of the second page as a parameter of the self-defined page embedded tag; or
And performing resource analysis according to the page address of the second page to obtain a structured data address of which the resource analysis is completed, and taking the structured data address as a parameter of the self-defined page embedded tag.
6. The method according to claim 1 or 2, characterized in that the method further comprises:
obtaining a user-defined display parameter aiming at the second page, and transmitting the user-defined display parameter into the page module example to obtain a target page module example;
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 instance.
7. The method of claim 1 or 2, wherein embedding the second page into the first page system according to the page module instance comprises:
determining to place the instance of the page module in a target display location of the first page system;
and after the page module instance finishes resource loading and initialization operation, displaying the second page at the target display position of the first page system.
8. A page embedding apparatus, characterized in that the apparatus comprises:
the installation module is used for 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 by a self-defined page embedding tag;
the acquisition module is used for acquiring the page address of the second page to be embedded;
the calling module is used for determining the parameters of the self-defined page embedded tag according to the page address of the second page and calling the front-end function package through the self-defined page embedded tag after the parameters are transmitted so as to obtain a page module example, wherein a message interface of the page module example supports message transmission in a non-character string mode;
an embedding module to embed the second page into the first page system by the page module instance.
9. A non-transitory computer readable storage medium, having stored thereon a computer program, characterized in that the program, when executed by a processing device, implements the steps of the method of any one of claims 1-7.
10. 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 carry out the steps of the method according to any one of claims 1 to 7.
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 true CN113296762A (en) 2021-08-24
CN113296762B 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)

Cited By (1)

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

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064747A (en) * 2012-12-13 2013-04-24 郑州威科姆科技股份有限公司 Communication method for different WEB window pages in WES7 environment
CN103095762A (en) * 2011-11-02 2013-05-08 腾讯科技(深圳)有限公司 Web page cross-domain communication method and device
CN105574049A (en) * 2014-10-30 2016-05-11 阿里巴巴集团控股有限公司 Page processing method, device and system of mobile applications
CN107678820A (en) * 2017-09-29 2018-02-09 北京金山安全软件有限公司 Webpage processing method, device, server, terminal equipment and medium
US20180062916A1 (en) * 2016-08-23 2018-03-01 International Business Machines Corporation Assigning resources to a workload that utilizes embedded computing entities
CN108228181A (en) * 2017-12-29 2018-06-29 北京奇虎科技有限公司 The method and device of embedded html page in html page
CN109445775A (en) * 2018-10-12 2019-03-08 平安科技(深圳)有限公司 One key activity inline code method, apparatus 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
CN110300133A (en) * 2018-03-22 2019-10-01 财付通支付科技有限公司 Cross-domain data transmission method, apparatus, equipment and storage medium
CN111783004A (en) * 2020-07-06 2020-10-16 上海乾臻信息科技有限公司 Page embedding method, device and system
CN111930382A (en) * 2020-09-21 2020-11-13 浙江口碑网络技术有限公司 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
CN112818270A (en) * 2021-01-25 2021-05-18 上海哔哩哔哩科技有限公司 Data cross-domain transfer method and device and computer equipment
CN112925586A (en) * 2021-03-10 2021-06-08 深圳市活力天汇科技股份有限公司 Applet routing method, device, computer equipment and storage medium

Family Cites Families (5)

* 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
CN104714980B (en) * 2013-12-17 2018-04-06 阿里巴巴集团控股有限公司 Page nesting determining method of path and device
CN104573066B (en) * 2015-01-26 2017-11-03 中国工商银行股份有限公司 Page multiplexing method and device
US10884834B2 (en) * 2018-09-24 2021-01-05 Microsoft Technology Licensing, Llc Invoking application programming interfaces across isolated parts of a web application
CN113296762B (en) * 2021-06-21 2023-07-21 北京有竹居网络技术有限公司 Page embedding method and device, storage medium and electronic equipment

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095762A (en) * 2011-11-02 2013-05-08 腾讯科技(深圳)有限公司 Web page cross-domain communication method and device
CN103064747A (en) * 2012-12-13 2013-04-24 郑州威科姆科技股份有限公司 Communication method for different WEB window pages in WES7 environment
CN105574049A (en) * 2014-10-30 2016-05-11 阿里巴巴集团控股有限公司 Page processing method, device and system of mobile applications
US20180062916A1 (en) * 2016-08-23 2018-03-01 International Business Machines Corporation Assigning resources to a workload that utilizes embedded computing entities
CN107678820A (en) * 2017-09-29 2018-02-09 北京金山安全软件有限公司 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
CN110300133A (en) * 2018-03-22 2019-10-01 财付通支付科技有限公司 Cross-domain data transmission method, apparatus, equipment and storage medium
CN109445775A (en) * 2018-10-12 2019-03-08 平安科技(深圳)有限公司 One key activity inline code method, apparatus 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
CN111783004A (en) * 2020-07-06 2020-10-16 上海乾臻信息科技有限公司 Page embedding method, device and system
CN111930382A (en) * 2020-09-21 2020-11-13 浙江口碑网络技术有限公司 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
CN112818270A (en) * 2021-01-25 2021-05-18 上海哔哩哔哩科技有限公司 Data cross-domain transfer method and device and computer equipment
CN112925586A (en) * 2021-03-10 2021-06-08 深圳市活力天汇科技股份有限公司 Applet routing method, device, computer equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
MOHAMMAD RAJI ET AL.: "Scalable web-embedded volume rendering" *
孔令发;徐纪康;贾森;: "CBTC综合维护管理系统中基于Web的实时通信方法", no. 04 *
李安东;王余旺;: "JSP页面启动Java应用程序的原理与实现", no. 16 *

Cited By (1)

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

Also Published As

Publication number Publication date
WO2022267809A1 (en) 2022-12-29
CN113296762B (en) 2023-07-21

Similar Documents

Publication Publication Date Title
CN110489101B (en) Interface simulation method, system, medium and electronic equipment
US11016716B2 (en) Picture interface display method and apparatus according to jump protocol
CN109710870A (en) Loading method, device, electronic equipment and the readable storage medium storing program for executing of the H5 page
CN110069308B (en) Page starting method and device, electronic equipment and storage medium
CN105718313A (en) Application operation method and device
CN111443909B (en) Method and device for generating page
CN111581555B (en) Document loading method, device, equipment and storage medium
CN111857658A (en) Method, device, medium and electronic equipment for rendering dynamic component
CN110471709A (en) A kind of method, apparatus, medium and electronic equipment accelerating webpage opening speed
WO2022267809A1 (en) Page embedding method and apparatus, storage medium and electronic device
US20120084630A1 (en) Generating Behavior Information For a Link
CN109981546B (en) Method and device for acquiring remote call relation between application modules
CN110442416B (en) Method, electronic device and computer-readable medium for presenting information
CN112905281A (en) View display method and device, electronic equipment and storage medium
CN110069186B (en) Method and equipment for displaying operation interface of application
CN109491687B (en) Hot updating method and device of application software, terminal and readable medium
CN111177634A (en) Multi-language supporting file content loading method, device, equipment and medium
CN110619101A (en) Method and apparatus for processing information
CN110827037A (en) Data interaction method and device based on block chain
CN113835790B (en) Paging page display method and device based on Android
CN113568695A (en) Corner mark processing method and device for boarder application
CN113312572A (en) Resource processing method and device, storage medium and electronic equipment
CN113448578A (en) Page data processing method, processing system, electronic device and readable storage medium
CN114995690A (en) Document creation method, device, equipment and storage medium
CN110099122B (en) Method and apparatus for sending network request

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