CN104461491B - The operation method and system of a kind of Hybrid components - Google Patents

The operation method and system of a kind of Hybrid components Download PDF

Info

Publication number
CN104461491B
CN104461491B CN201310439613.0A CN201310439613A CN104461491B CN 104461491 B CN104461491 B CN 104461491B CN 201310439613 A CN201310439613 A CN 201310439613A CN 104461491 B CN104461491 B CN 104461491B
Authority
CN
China
Prior art keywords
field
component
hybrid component
resource
cache
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
CN201310439613.0A
Other languages
Chinese (zh)
Other versions
CN104461491A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201310439613.0A priority Critical patent/CN104461491B/en
Publication of CN104461491A publication Critical patent/CN104461491A/en
Priority to HK15105195.5A priority patent/HK1204696A1/en
Application granted granted Critical
Publication of CN104461491B publication Critical patent/CN104461491B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Storage Device Security (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present application provides a kind of operation method of Hybrid components, including:Generation obtains the request of Hybrid components;The request includes the configuration address of the Hybrid components, and the configuration address includes Hybrid components and identified and corresponding required parameter;Corresponding module configuration information is obtained according to Hybrid components mark;The module configuration information includes the address template field and caching process rule field for the component flag;The required parameter is configured into the address template field, the reference address of the Hybrid components is generated;The Hybrid components are loaded from the reference address, and obtain the page resource required for the operation Hybrid components;And, resource is stated for institute's page using the caching process rule field and carries out corresponding caching process.The data of conflicting are effectively isolated between the multiple Hybrid components of the application guarantee.

Description

Running method and system of Hybrid component
Technical Field
The embodiment of the application relates to the technical field of mobile equipment, in particular to a running method and a running system of a Hybrid component.
Background
In the prior art, wap (Wireless Application Protocol) sites run some service functions. Regardless of whether these business functions are webapp (Web-based systems and applications) implementations, the business function points can be extracted from the wap site. For example, the wap component of the detail page can be extracted from the detail page of the goods in Electronic Commerce (EC), and the client can be embedded in the detail page, that is, all or part of elements of the user interface run in the embedded browser component, and has the capability of showing the goods information by using the wap mode. This scenario, which is called Hybrid, refers to a mode of client software development, and usually adopts a web view (webview) plug-in as a carrier to embed wap or web pages into client software to provide service functions.
For example, a component packaged with a certain wap service function may be packaged in an SDK (software development library, which provides an external approval service in a manner of packaging a general function into a general library) in a Native (local, referring to a conventional client software development mode, that is, a manner of developing client software using a specific platform language and tools). Then any client can have the wap service function as long as it invokes this component. Such a component is called a Hybrid component.
Some components need to be called by the security module processing in advance. For example, a transaction component cannot be called directly by a request address because the security module of the server fails to pass the check. Therefore, for this type of component, pre-processing actions need to be done in the client local SDK in order for the caller to use it directly.
In the prior art, an online request address of a wap page wrapped by a Hybrid component is specified in a client terminal in a hard coding mode. Dynamic data for assisting the run of the Hybrid component is generally formulated in a unified manner through global configuration.
However, for wap pages wrapped by Hybrid components, when the request address changes, the hard-coded manner of the client cannot be dynamically upgraded, so that the old version is not available. In addition, dynamic data is needed when the Hybrid components run, and specific data needed by each component cannot be distinguished in detail, so that one global configuration can be compatible with all component information, which can greatly affect memory and performance, and meanwhile, isolation cannot be effectively guaranteed for conflicting data among multiple components. Some wap components with pre-positioned behavior cannot be called directly in the client. Also, with some new behavior in the component upgrade process, functionality will not be available in the old version of the client due to the inability to dynamically upgrade.
Therefore, one technical problem that needs to be urgently solved by those skilled in the art is: the running mechanism of the Hybrid component is provided for solving the problems that a client cannot cooperate with simultaneous upgrade when a wap component changes, so that function errors are caused, dynamic data required by the wap component running in the client cannot be dynamically switched according to different wap components, and the wap component with a preposed behavior cannot be directly called in the client.
Disclosure of Invention
The technical problem to be solved by the embodiment of the application is to provide an operation method of a Hybrid component, so as to solve the problem that a client cannot cooperate with simultaneous upgrade when a wap component is changed, so that a function is wrong.
Correspondingly, the embodiment of the application also provides an operating system of the Hybrid component, so as to ensure the implementation and application of the method.
In order to solve the above problem, an embodiment of the present application discloses an operation method of a Hybrid component, including:
generating a request for acquiring a Hybrid component; the request comprises a configuration address of the Hybrid component, and the configuration address comprises a Hybrid component identifier and corresponding request parameters;
acquiring corresponding component configuration information according to the Hybrid component identifier; the component configuration information comprises an address template field and a cache processing rule field which are set for the component identification;
configuring the request parameters into the address template field to generate an access address of the Hybrid component;
loading the Hybrid component from the access address, and acquiring page resources required by running the Hybrid component; and the number of the first and second groups,
and performing corresponding cache processing on the page resource by adopting the cache processing rule field.
Preferably, the step of obtaining the corresponding component configuration information according to the Hybrid component identifier includes:
searching corresponding component configuration information locally by adopting the Hybrid component identifier;
when the component configuration information is searched, judging whether the component configuration information is expired; if yes, acquiring component configuration information from the server; if not, extracting the component configuration information from the local;
and when the component configuration information is not searched, acquiring the corresponding component configuration information from the server.
Preferably, the configuration information includes a secure pre-processing interface field, and before the step of loading the Hybrid component from the access address and acquiring the page resource required by running the Hybrid component, the method further includes:
encrypting access addresses indicated by the field of the secure preprocessing interface; the server is used for executing corresponding security preprocessing according to the security preprocessing interface field;
or,
encrypting access addresses indicated by the field of the secure preprocessing interface;
receiving encryption information returned by the server aiming at the safety preprocessing interface field;
executing the encrypted information after decrypting the encrypted information;
or,
encrypting access addresses indicated by the field of the secure preprocessing interface; the server is used for executing corresponding security preprocessing according to the security preprocessing interface field;
receiving encryption information returned by the server aiming at the safety preprocessing interface field;
and executing the encrypted information after decrypting the encrypted information.
Preferably, the configuration information includes an auxiliary behavior configuration, and further includes:
and executing the auxiliary behavior indicated by the auxiliary behavior configuration.
Preferably, the step of obtaining page resources required for running the Hybrid component includes:
judging whether page resources required by running the Hybrid component exist in a cache of a preset network view plug-in; if so, executing the step of performing corresponding cache processing on the page resource according to the cache processing rule field;
and/or the presence of a gas in the gas,
judging whether page resources required by running the Hybrid component exist in a memory of an application program to which a preset network view plug-in belongs; if so, loading the page resource in a cache of the network view plug-in;
and/or the presence of a gas in the gas,
when the page resource required by the running Hybrid component is found in a disk file corresponding to an application program to which a preset network view plugin belongs, reading the page resource, and loading the page resource in a cache of the network view plugin;
and/or the presence of a gas in the gas,
downloading the page resources required by the running Hybrid component from the network, and loading the page resources in the cache of the network view plug-in.
Preferably, the cache processing rule field comprises an inspection type field, an inspection resource category field and/or a resource version number field;
the checking type field is a cache processing rule field for marking whether the current cache rule is a regular expression rule or not;
the check resource type field is a cache processing rule field marking the resource corresponding to the current cache rule;
the resource version number field is a cache processing rule field that identifies the latest version number of the current resource.
The embodiment of the application also discloses an operating system of the Hybrid component, which comprises:
the request generation module is used for generating a request for acquiring the Hybrid component; the request comprises a configuration address of the Hybrid component, and the configuration address comprises a Hybrid component identifier and corresponding request parameters;
the configuration information acquisition module is used for acquiring corresponding component configuration information according to the Hybrid component identifier; the component configuration information comprises an address template field and a cache processing rule field which are set for the Hybrid component identifier;
the access address generation module is used for configuring the request parameters into the address template field and generating the access address of the Hybrid component;
the component request module is used for loading the Hybrid component from the access address;
the resource acquisition module is used for acquiring page resources required by running the Hybrid component;
and the cache processing module is used for performing corresponding cache processing on the page resource by adopting the cache processing rule field.
Preferably, the configuration information obtaining module includes:
the local search submodule is used for searching corresponding component configuration information locally by adopting the Hybrid component identifier; when the time is found out, the time limit judgment submodule is called; when the network is not found, calling a networking acquisition sub-module;
the time limit judging submodule is used for judging whether the component configuration information is overdue or not; if yes, calling a networking acquisition sub-module; if not, calling a local extraction submodule;
a local extraction submodule for locally extracting the component configuration information;
and the networking acquisition submodule is used for acquiring the corresponding component configuration information from the server.
Preferably, the configuration information includes a secure pre-processing interface field, and further includes:
the first encryption access module is used for encrypting and accessing the access address indicated by the safety preprocessing interface field; the server is used for executing corresponding security preprocessing according to the security preprocessing interface field;
or,
the second encryption access module is used for encrypting and accessing the access address indicated by the safety preprocessing interface field;
the first encryption information receiving module is used for receiving the encryption information returned by the server aiming at the security preprocessing interface field;
the first encrypted information execution module is used for executing the encrypted information after decrypting the encrypted information;
or,
the third encryption access module is used for encrypting and accessing the access address indicated by the safety preprocessing interface field; the server is used for executing corresponding security preprocessing according to the security preprocessing interface field;
the second encryption information receiving module is used for receiving the encryption information returned by the server aiming at the security preprocessing interface field;
and the second encrypted information execution module is used for executing the encrypted information after decrypting the encrypted information.
Preferably, the configuration information includes an auxiliary behavior configuration, and further includes:
and the auxiliary behavior execution module is used for executing the auxiliary behavior indicated by the auxiliary behavior configuration.
Preferably, the resource acquiring module includes:
the cache judgment sub-module is used for judging whether page resources required by the running of the Hybrid component exist in a cache of a preset network view plug-in; if yes, calling a cache processing module;
and/or the presence of a gas in the gas,
the first loading submodule is used for judging whether page resources required by running the Hybrid component exist in a memory of an application program to which a preset network view plug-in belongs; if so, loading the page resource in a cache of the network view plug-in;
and/or the presence of a gas in the gas,
the second loading submodule is used for reading the page resource required by the running Hybrid component when the page resource is found in the disk file corresponding to the application program to which the preset network view plugin belongs, and loading the page resource in the cache of the network view plugin;
and/or the presence of a gas in the gas,
and the third loading submodule is used for downloading whether the page resources required by the running of the Hybrid component exist or not from the network and loading the page resources into the cache of the network view plug-in.
Preferably, the cache processing rule field comprises an inspection type field, an inspection resource category field and/or a resource version number field;
the checking type field is a cache processing rule field for marking whether the current cache rule is a regular expression rule or not;
the check resource type field is a cache processing rule field marking the resource corresponding to the current cache rule;
the resource version number field is a cache processing rule field that identifies the latest version number of the current resource.
Compared with the background art, the embodiment of the application has the following advantages:
by designating the fixed access address in the component configuration information, the problem of function error caused by the fact that the client cannot be matched with and upgraded at the same time due to the fact that the request address is changed is solved.
According to the method and the device, specific operation configuration can be designated for different Hybrid components through component configuration information, dynamic data required by the wap component to operate in the client can be dynamically switched according to different wap components, meanwhile, the situation that configuration adopting overall situation is compatible with all component information is avoided, occupation of a memory is reduced, operation performance of the device is improved, effective isolation of conflicting data among a plurality of Hybrid components is guaranteed, and data conflict is avoided.
According to the method and the device, the configuration information of the components is set, so that some wap components with preposed behaviors can be directly called at a client.
The method and the device enable the Hybrid component at the client to be upgraded along with the upgrade of the Hybrid component by setting the component configuration information so as to adapt to the newly defined behavior in the upgrade.
Drawings
FIG. 1 is a flow chart of steps of an embodiment of a method for operating a Hybrid component of the present application;
FIG. 2 is a flow chart of a preferred example of acquiring resources according to an embodiment of the present application;
FIG. 3 is a block diagram of an embodiment of a running system of a Hybrid component according to the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the embodiments of the present application more comprehensible, embodiments of the present application are described in detail below with reference to the accompanying drawings and the detailed description.
The presentation of the Hybrid component is provided in the form of a wap page. Each wap page may be an atomic function, called a Hybrid component, for client software that is embedded for use through a Web view plug-in. Each wap page has an access address corresponding to the server, but the address is changed, and no specific address definition specification can be followed. For example, for the wap goods detail page, the access path may be: http:// a.m. taobao.com/i123456789. htm. For another example, for a wap store information page, the access path may be: http:// shop123456789.m. For the wap order details page, the access path may be: http:// m.taobao.com/orderdetail.htm. These access addresses are customized by the developer in the process of writing the code. In the existing mode, if the client side adopts a Hybrid mode to nest the wap pages, the wap pages are difficult to be referred to through a specification mode, and the path of the wap pages can only be written into the client side through a hard coding mode. And due to the randomness and the modification of the path definition, the client software can be unavailable.
One of the core concepts of the embodiments of the present application is to provide a standardized Hybrid component operating scheme, which is referred to in a protocol manner of a unified format, so as to solve the problem that wap page addresses nested in a Hybrid client do not have an explicit standard or specification.
The Hybrid component is one of standard components based on a client development platform and runs based on a web view (webview) plug-in. The main body carrying the function of the Hybrid component can be a Wap page running on the server, and can also be a WebApp. The Hybrid component is packaged into a Wap page or WebApp at the layer of a client development platform, and allows the client to access and shape independent runtime environment services and data services in the client in a standardized and agreed manner. The Wap page or WebApp itself can also run independently in the browser.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a method for running a Hybrid component according to the present application is shown, and the embodiment of the present application may include the following steps.
Step 101, generating a request for acquiring a Hybrid component; the request comprises a configuration address of the Hybrid component, and the configuration address comprises a Hybrid component identifier and corresponding request parameters.
The request is a protocol request and is generated according to a preset Hybrid component protocol. The Hybrid component protocol defines a unique configuration address for each Hybrid component. According to the Hybrid component protocol, the configuration address can be represented in the following format: wap in:// $ { h }. Wherein h represents a Hybrid component identifier. p1 is the parameter name of the requested parameter, with the corresponding parameter value. The Hybrid component identifier may be a component name of the Hybrid component, or may be other names, which is not limited in this embodiment of the present application.
When a plurality of request parameters are included in the configuration address, the configuration address may be represented in the following format: wap in:// $ { h }. Wherein p1, p2 and pn are parameter names of different request parameters respectively, and n is a natural number greater than or equal to 2. Which Hybrid component the client is to use is selected according to the specific demand scenario. After the Hybrid component is determined according to the demand scenario, the configuration address of the specific Hybrid component can be determined in the Hybrid component protocol. For example, if the user wishes to use the detail component of the commodity, the configuration address of the detail component of the commodity is as follows according to the Hybrid component protocol: wap in:// detail.
Different Hybrid components have different required request parameters and parameter values, which are determined according to the service requirements behind the Hybrid components. For example, for a commodity detail service, the request parameter is a commodity ID; for store detail services, the request parameter is the store number ID; for shopping cart services, the request parameter is the shopping cart ID; for the user homepage service, the request parameter is the user ID.
In a specific implementation, the request parameters and parameter values corresponding to the Hybrid component may be predefined in the Hybrid component protocol. The Hybrid component identification, request parameters, and/or parameter values for the request parameters may be indicated in the form of placeholders. For example, for an online product detail service component, the configuration address may be: wap in:// detail. And the $ { product _ id } is a placeholder and is used for outputting a parameter value corresponding to the request parameter of the product _ id. For example, for an online store business component, its configuration address may be: wap in:// shop. For a particular store, the configuration address may be wap in:// shop.
Of course, the application manner of the configuration address is only an example, and when the embodiment of the present application is implemented, other application manners of the configuration address may be set according to an actual situation, which is not limited in this embodiment of the present invention.
102, acquiring corresponding component configuration information according to the Hybrid component identifier; the component configuration information comprises an address template field and a cache processing rule field which are set for the Hybrid component identifier;
different run configuration requirements can be met for different Hybrid components. After the protocol analysis layer of the client receives the request for obtaining the Hybrid component, the corresponding component configuration information can be searched.
Wherein the address template field provides a generation template of an access address of the Hybrid component.
In a preferred embodiment of the present application, the step 102 may specifically include the following sub-steps:
substep S11, adopting the Hybrid component identifier to search the corresponding component configuration information locally; when found, perform substep S12; when not found, performing substep S14;
substep S12, determining whether the component configuration information is expired; if yes, go to substep S14; if not, go to substep S13;
a substep S13 of extracting the component configuration information from the local;
and a substep S14 of obtaining corresponding component configuration information from the server.
When the protocol analysis layer of the client receives the request for obtaining the Hybrid component, the protocol analysis layer analyzes the request to obtain the Hybrid component identification and the corresponding request parameters. And searching the component configuration information locally according to the Hybrid component identifier. If the available component configuration information is found locally, the local component configuration information is used. If the component configuration information is not found locally or is unavailable (such as the time stamp of the local configuration information is expired), the client calls an interface predetermined by the server to acquire the corresponding component configuration information from the server.
103, configuring the request parameters into the address template field to generate an access address of the Hybrid component;
and the address template field can be used for formulating the real access address of the wap page corresponding to the Hybrid component and appointing the configuration position of the request parameter in the form of a placeholder. For example, an example of the address template field included in the component configuration information corresponding to a certain Hybrid component identifier is represented as follows: http:// m.taobao.com/i $ { id }. htm. And the { id } represents a placeholder and is used for taking out a parameter value of the corresponding request parameter (id) from the configuration address, and the parameter value of the taken-out request parameter (id) replaces the placeholder to generate the access address of the Hybrid component.
Step 104, loading the Hybrid component from the access address, and acquiring page resources required by running the Hybrid component;
the Hybrid component can be packaged into the APP of the client by taking webview as a carrier, and the specific function of the Hybrid component can be displayed in a wap page mode, that is, the Hybrid component can be developed by using the front-end technology of the Html code. Therefore, the page resources include resources such as Javascript, css, pictures and/or font files in the Html page. And page resources such as Javascript, css, picture and/or font files and the like are used for rendering the page. To assist in running the Hybrid component, the page resources are cached when the Hybrid component is loaded.
It should be noted that the page resources required by the running of the Hybrid component may be defined in the configuration information of the component. In practical application, a field can be set in the configuration information to indicate the resource list required by the running of the Hybrid component.
When the Hybrid component is loaded, the page resources required by the running of the Hybrid component need to be loaded first in the process of starting running the Hybrid component, and at this time, corresponding cache processing is performed.
In a preferred embodiment of the present application, step 104 may specifically include the following sub-steps:
substep S21, judging whether the page resource required by the running Hybrid component exists in the cache of a preset network view (webview) plug-in; if yes, go to step 105;
and/or the presence of a gas in the gas,
step S22, judging whether the page resource needed by the running Hybrid component exists in the memory of the application program to which the preset network view (webview) plug-in belongs; if so, loading the page resource in a cache of the webview plug-in;
and/or the presence of a gas in the gas,
substep S23, when the page resource required by the running Hybrid component is found in the disk file corresponding to the application to which the preset web view (webview) plugin belongs, reading the page resource, and loading the page resource in the cache of the web view (webview) plugin;
and/or the presence of a gas in the gas,
and a substep S24, downloading the page resource required by the Hybrid component from the network, and loading the page resource in the cache of the web view (webview) plug-in.
When a request for a resource is intercepted, a cache of a web view plug-in may be used by default.
Of course, the above-mentioned manner of loading the page resources required for running the Hybrid component may be used singly or in combination.
Referring to fig. 2, a flow chart of a preferred example of acquiring resources according to an embodiment of the present application is shown. As shown in fig. 2, when a page resource already exists in a cache (Browser Memory Caches) of a web view plug-in, the cache may be directly used to perform corresponding caching processing; when the cache is not present in the network view, a lookup (File | Net) may be performed from a running memory of an APP (application) to which the network view plug-in belongs, and in order to increase a lookup speed, a Dictionary algorithm (Dictionary algorithm) may be used, where the Dictionary algorithm (Rule Checker) is: and all the rules indicated by the caching processing rule field are put into a hash table, the resource is quickly judged whether to be in the caching processing rule field or not by adopting a mode of directly matching the hash value, and if the resource is in the caching processing rule field, the caching is indicated to be required to be cached. If yes, reading from the running memory of the APP, and if not, searching (WindVane MemoryCaches (LRU)) from the disk File of the APP, wherein the File name format is 'MD 5 (fifth version of message digest algorithm) (resource address) _ version number' (File = MD5(requestUrl) _ version). When the disk file cannot be found, the disk file can be downloaded from the Network, the Network type can be judged through Network switch when the disk file is downloaded through the Network, if the disk file is a wifi (wireless) Network, the disk file can be downloaded in a synchronous mode, and if the disk file is a 2G Network, the disk file can be downloaded in an asynchronous mode (Network (syn | asyn)). And finally, loading the acquired resources into the cache of the webview, and performing corresponding cache processing.
And 105, performing corresponding caching processing on the page resource by using the caching processing rule field.
The cache processing rule field is used for configuring the resource cache, and may be a JSON (JavaScript object notation) object, and provides a plurality of cache rules corresponding to the Hybrid component in a list form.
In a preferred embodiment of the present application, the cache processing rule field may include a check type field, a check resource category field, and/or a resource version number field.
The check type field may be a cache processing rule field for marking whether the current cache rule is a regular expression rule; in practical application, the check type field may be used to mark whether the current caching rule is a regular expression rule, and if the field is "0", it represents that the current caching rule is a regular expression rule; if the field is not "0", such as "1", it represents that the current caching rule is a common name string matching rule.
The check resource type field may be a cache processing rule field labeling a resource for which a current cache rule is directed; in practical application, the check resource type field can be used to mark which resource the current caching rule is oriented to, whether the current caching rule is javascript, css, picture, or the like, and the format is arbitrarily specified as long as the corresponding client protocol parsing layer allows the value to be accepted.
The resource version number field may be a cache processing rule field that identifies the latest version number of the current resource; in practical applications, the resource version number field may be applicable to a case where the rule is an irregular expression, and when the rule is an access path of a specific resource, the resource version number field identifies the latest version number of the current resource. When the rule is a regular expression. In a preferred embodiment of the present invention, the configuration information may include a secure pre-processing interface field, and before step 104, the embodiment of the present application may further include the following steps:
step S1, encrypting and accessing the access address indicated by the safety preprocessing interface field; the server is used for executing corresponding security preprocessing according to the security preprocessing interface field;
or,
step S2, encrypting and accessing the access address indicated by the safety preprocessing interface field;
step S3, receiving the encryption information returned by the server aiming at the safety preprocessing interface field;
step S4, decrypting the encrypted information and then executing the encrypted information;
or,
step S1, encrypting and accessing the access address indicated by the safety preprocessing interface field; the server is used for executing corresponding security preprocessing according to the security preprocessing interface field;
step S3, receiving the encryption information returned by the server aiming at the safety preprocessing interface field;
step S4, the encrypted information is decrypted and executed.
The secure pre-processing interface field may be used to specify an access address, specifically a URL address, for processing the secure operation. The secure pre-processing interface field serves to load the Hybrid component that cannot directly use the generated access address, but needs to perform a piece of logical processing in advance. Http:// m.taobao.com/safe.htm.
In one case, it may be the server one-way encryption. The client sends a common Http or Http request to the server, and after receiving the request, the server can obtain required information from the cookie or corresponding request parameters, and then perform security logic processing.
In one case, client one-way encryption may be used. The client sends Http or Http request to the server, the server processes the URL (access address indicated by the security pre-processing interface field) of the request and then returns a section of encrypted script, and the client executes the script after receiving and decrypting the script.
In one case, it may be client and server bidirectional encryption. The client sends an Http or Http request to the server, after receiving the request, the server may obtain the required information from the cookie or the corresponding request parameter, then perform security logic processing, and return an encrypted script after processing the URL (access address indicated by the security pre-processing interface field) of the request, and after receiving and decrypting the script, the client executes the script.
For example, the Hybrid component is a placing transaction plug-in, and before a request for accessing a real placing URL is made, security processing is required for security considerations, and the logic thereof is as follows: the server checks the identity of the user, and inserts an anti-tampering field into the identity session after the user passes the check.
In a preferred embodiment of the present invention, the configuration information may include an auxiliary behavior configuration, and the embodiment of the present application may further include the following steps:
and step S5, executing the auxiliary behavior indicated by the auxiliary behavior configuration.
The auxiliary behavior configuration may be used to maintain runtime environment data of the Hybrid component, so that the wap page corresponding to the Hybrid component runs better in the client. The embodiment of the application provides an operating environment of a Hybrid component, which needs corresponding operating configuration data to provide for auxiliary functions.
For example, the cache rule data of the Hybrid component analyzes the configuration information in the running process of the wap page corresponding to the Hybrid component, and converts the configuration information into machine data in the running process. The cache configuration information of the resource depended by the Hybrid component is included to provide the customized cache function for the Hybrid component.
For another example, the auxiliary behavior configuration may execute the authority of the client local Native function interface;
for another example, when the Hybrid component is a detail component, the auxiliary behavior configuration allows local functions such as accessing a WeChat client, accessing an address list, sending short messages and the like to be executed.
For another example, when the Hybrid component is a refund component, the auxiliary behavior configuration allows local functions such as calling a camera and sending a short message to be executed.
The configuration of the auxiliary behavior configuration indication may be set by a person skilled in the art according to practical situations, and the embodiment of the present application is not limited thereto.
Of course, the configuration information is only used as an example, and when the embodiment of the present application is implemented, other configuration information may be set according to an actual situation, which is not limited in this embodiment of the present application.
For example, a request type field that can be used to specify whether the current request is in POST or GET mode to send an Http request.
As another example, a tamper-resistant field may be used to verify the integrity and legitimacy of the data configuration information and prevent the component configuration information from being tampered with. And when the client receives the request for obtaining the Hybrid component, checking the component configuration information, and judging whether the Hybrid component is tampered by the intermediate network. As a preferred example, the verification algorithm of the tamper resistant field may be: md5 ($ { t } + $ { pk } + $ { ttid } + encryption factor), where t is the address template field, pk is the secure pre-processing interface field, ttid is a data buried point field, and the encryption factor may be any string.
By designating the fixed access address in the component configuration information, the problem of function error caused by the fact that the client cannot be matched with and upgraded at the same time due to the fact that the request address is changed is solved.
According to the method and the device, specific operation configuration can be designated for different Hybrid components through component configuration information, dynamic data required by the wap component to operate in the client can be dynamically switched according to different wap components, meanwhile, the situation that configuration adopting overall situation is compatible with all component information is avoided, occupation of a memory is reduced, operation performance of the device is improved, effective isolation of conflicting data among a plurality of Hybrid components is guaranteed, and data conflict is avoided.
According to the method and the device, the configuration information of the components is set, so that some wap components with preposed behaviors can be directly called at a client.
The method and the device enable the Hybrid component at the client to be upgraded along with the upgrade of the Hybrid component by setting the component configuration information so as to adapt to the newly defined behavior in the upgrade.
To make the present application better understood by those skilled in the art, an example is provided below to illustrate the specific operation of the Hybrid component in the present application.
Assuming that the client needs to access the commodity information with the commodity ID of "1234", generating an acquisition request of a corresponding Hybrid component according to the access requirement. The configuration address of the Hybrid component contained in the request is as follows: wap in:// detail. When the protocol analysis layer of the client receives the request, the Hybrid component identification and the request parameter in the configuration address are analyzed, and the component configuration information corresponding to the Hybrid component identification is read. The component configuration information can be from a data interface provided by the operation and maintenance system of the server side, and can also be from a local file with a time stamp stored by the client side.
One example of the above-described component configuration information may be represented by the following form:
t (address template field) 'http:// a.m. taobao.com/i $ { id }. htm',
rt (request type field): GET ",
pk (secure pre-processing interface field) 'http:// a.m. taobao.com/precheck.htm',
tk (tamper-resistant field) '9790 f639bb5b1e5ba92562b148bbfb 20',
extracting an address template field through the component configuration information, wherein the access address format of the wap page of the server corresponding to the requested Hybrid component is as follows: http:// a.m. taobao.com/i $ { id }. htm, meaning: the access path for a real access address is a.m. taobao.com, requiring one $ { id } parameter, i.e. a parameter value with parameter name "id". And reading the parameter value of the parameter named 'id' from the configuration address in the request for acquiring the Hybrid component sent by the client. Then the parameter value of the "id" is obtained through analysis and is "1234", and the parameter value of the "id" is configured into the address template field, so that the access address http:// a.m.
The address may be accessed directly at this time, but the corresponding server page may have a requirement, such as "only if there is a cookie with a name isPermit and a value true in the user's mobile browser, access to the modified item is allowed. The requirements are specific service requirements, different service requirements are different, and a mobile phone browser is a network view plug-in client software. Then a pre-processing operation is required at this point in order to gain normal access to the item details: and carrying out corresponding safety preprocessing by adopting the pk field. The pk field specifies a secure access address, which is the URL for http. Assume that the value of the PK field is: http:// a.m.taobao.com/pk.htm. The sign is a signature field, and the generation of the value has privacy, namely the sign is bound with client software of a user, so that an interface can be prevented from being simulated and cracked. Then, before sending the address request of the wap page corresponding to the real Hybrid component, the pk interface needs to be accessed.
And after the address specified by the pk field is subjected to security processing at the server, the corresponding server returns a section of encrypted javascript, and the client decrypts the encrypted javascript by using a decryption password bound with the current software and executes the decrypted javascript.
With this secure pre-processing, the necessary cookie is already present in the user client software at this point: isPermit = true. Then, the client sends out the acquisition request of the wap page corresponding to the hybrid component again: http:// a.m.taobao.com/i1234. htm. At this time, the Hybrid component is loaded, js resources and css resources required by running the Hybrid component are obtained, and the js resources and the css resources required by running the Hybrid component are obtained by executing the cache processing rule indicated by the cache processing rule field (res), so that the Hybrid component can be run to show the details of the commodity with the commodity ID of "1234".
For simplicity of explanation, the method embodiments are described as a series of acts or combinations, but those skilled in the art will appreciate that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the embodiments of the invention. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Referring to fig. 3, a block diagram of an embodiment of an operating system of a Hybrid component according to the present application is shown, in this embodiment, the system may include the following modules:
a request generating module 301, configured to generate a request for acquiring a Hybrid component; the request comprises a configuration address of the Hybrid component, and the configuration address comprises a Hybrid component identifier and corresponding request parameters;
a configuration information obtaining module 302, configured to obtain corresponding component configuration information according to the Hybrid component identifier; the component configuration information comprises an address template field and a cache processing rule field which are set for the Hybrid component identifier;
an access address generating module 303, configured to configure the request parameter into the template field, and generate an access address of the Hybrid component;
a component request module 304, configured to load the Hybrid component from the access address;
a resource obtaining module 305, configured to obtain a page resource required for running the Hybrid component;
a cache processing module 306, configured to perform corresponding cache processing on the page resource by using the cache processing rule field.
In a preferred embodiment of the present application, the configuration information obtaining module may include the following sub-modules:
the local search submodule is used for searching corresponding component configuration information locally by adopting the Hybrid component identifier; when the time is found out, the time limit judgment submodule is called; when the network is not found, calling a networking acquisition sub-module;
the time limit judging submodule is used for judging whether the component configuration information is overdue or not; if yes, calling a networking acquisition sub-module; if not, calling a local extraction submodule;
a local extraction submodule for locally extracting the component configuration information;
and the networking acquisition submodule is used for acquiring the corresponding component configuration information from the server.
In a preferred embodiment of the present application, the configuration information may include a secure pre-processing interface field, and the system may further include:
the first encryption access module is used for encrypting and accessing the access address indicated by the safety preprocessing interface field; the server is used for executing corresponding security preprocessing according to the security preprocessing interface field;
or,
the second encryption access module is used for encrypting and accessing the access address indicated by the safety preprocessing interface field;
the first encryption information receiving module is used for receiving the encryption information returned by the server aiming at the security preprocessing interface field;
the first encrypted information execution module is used for executing the encrypted information after decrypting the encrypted information;
or,
the third encryption access module is used for encrypting and accessing the access address indicated by the safety preprocessing interface field; the server is used for executing corresponding security preprocessing according to the security preprocessing interface field;
the second encryption information receiving module is used for receiving the encryption information returned by the server aiming at the security preprocessing interface field;
and the second encrypted information execution module is used for executing the encrypted information after decrypting the encrypted information.
In a preferred embodiment of the present application, the configuration information may include an auxiliary behavior configuration, and the system may further include the following modules:
and the auxiliary behavior execution module is used for executing the auxiliary behavior indicated by the auxiliary behavior configuration.
In a preferred embodiment of the present application, the resource obtaining module may include the following sub-modules:
the cache judgment sub-module is used for judging whether page resources required by the running of the Hybrid component exist in a cache of a preset network view plug-in; if yes, calling a cache processing module;
and/or the presence of a gas in the gas,
the first loading submodule is used for judging whether page resources required by running the Hybrid component exist in a memory of an application program to which a preset network view plug-in belongs; if so, loading the page resource in a cache of the network view plug-in;
and/or the presence of a gas in the gas,
the second loading submodule is used for reading the page resource required by the running Hybrid component when the page resource is found in the disk file corresponding to the application program to which the preset network view plugin belongs, and loading the page resource in the cache of the network view plugin;
and/or the presence of a gas in the gas,
and the third loading submodule is used for downloading whether the page resources required by the running of the Hybrid component exist or not from the network and loading the page resources into the cache of the network view plug-in.
In a preferred embodiment of the present application, the cache processing rule field may include an inspection type field, an inspection resource category field, and/or a resource version number field;
the checking type field is a cache processing rule field for marking whether the current cache rule is a regular expression rule or not;
the check resource type field is a cache processing rule field marking the resource corresponding to the current cache rule;
the resource version number field is a cache processing rule field that identifies the latest version number of the current resource.
For the system embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
In a typical configuration, the computer device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium. Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (fransitory media), such as modulated data signals and carrier waves.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, mobile devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing mobile device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing mobile device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or mobile device that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or mobile device. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or mobile device that comprises the element.
The method for operating a Hybrid component and the system for operating a Hybrid component provided in the embodiments of the present application are described in detail above, and a specific example is applied in the description to explain the principle and the implementation manner of the embodiments of the present application, and the description of the embodiments is only used to help understand the method and the core idea of the embodiments of the present application; meanwhile, for a person skilled in the art, according to the idea of the embodiment of the present application, there may be a change in the specific implementation and application scope, and in summary, the content of the present specification should not be construed as a limitation to the embodiment of the present application.

Claims (12)

1. A method for running a Hybrid component is characterized by comprising the following steps:
generating a request for acquiring a Hybrid component; the request comprises a configuration address of the Hybrid component, and the configuration address comprises a Hybrid component identifier and corresponding request parameters;
acquiring corresponding component configuration information according to the Hybrid component identifier; the component configuration information comprises an address template field and a cache processing rule field which are set for the Hybrid component identifier;
configuring the request parameters into the address template field to generate an access address of the Hybrid component;
loading the Hybrid component from the access address, and acquiring page resources required by running the Hybrid component; and the number of the first and second groups,
and performing corresponding cache processing on the page resource by adopting the cache processing rule field.
2. The method according to claim 1, wherein the step of obtaining the corresponding component configuration information according to the Hybrid component identifier comprises:
searching corresponding component configuration information locally by adopting the Hybrid component identifier;
when the component configuration information is searched, judging whether the component configuration information is expired; if yes, acquiring component configuration information from the server; if not, extracting the component configuration information from the local;
and when the component configuration information is not searched, acquiring the corresponding component configuration information from the server.
3. The method according to claim 1, wherein the configuration information includes a secure pre-processing interface field, and further comprising, before the steps of loading the Hybrid component from the access address and obtaining page resources required for running the Hybrid component:
encrypting access addresses indicated by the field of the secure preprocessing interface; the server is used for executing corresponding security preprocessing according to the security preprocessing interface field;
or,
encrypting access addresses indicated by the field of the secure preprocessing interface;
receiving encryption information returned by the server aiming at the safety preprocessing interface field;
executing the encrypted information after decrypting the encrypted information;
or,
encrypting access addresses indicated by the field of the secure preprocessing interface; the server is used for executing corresponding security preprocessing according to the security preprocessing interface field;
receiving encryption information returned by the server aiming at the safety preprocessing interface field;
and executing the encrypted information after decrypting the encrypted information.
4. The method of claim 1, wherein the configuration information comprises an auxiliary behavior configuration, further comprising:
and executing the auxiliary behavior indicated by the auxiliary behavior configuration.
5. The method according to claim 1, wherein the step of obtaining page resources required for running the Hybrid component comprises:
judging whether page resources required by running the Hybrid component exist in a cache of a preset network view plug-in; if so, executing the step of performing corresponding cache processing on the page resource by adopting the cache processing rule field;
and/or the presence of a gas in the gas,
judging whether page resources required by running the Hybrid component exist in a memory of an application program to which a preset network view plug-in belongs; if so, loading the page resource in a cache of the network view plug-in;
and/or the presence of a gas in the gas,
when the page resource required by the running Hybrid component is found in a disk file corresponding to an application program to which a preset network view plugin belongs, reading the page resource, and loading the page resource in a cache of the network view plugin;
and/or the presence of a gas in the gas,
downloading the page resources required by the running Hybrid component from the network, and loading the page resources in the cache of the network view plug-in.
6. The method of claim 1, wherein the cache processing rule field comprises a check type field, a check resource category field, and/or a resource version number field;
the checking type field is a cache processing rule field for marking whether the current cache rule is a regular expression rule or not;
the check resource type field is a cache processing rule field marking the resource corresponding to the current cache rule;
the resource version number field is a cache processing rule field that identifies the latest version number of the current resource.
7. A running system of Hybrid components is characterized by comprising:
the request generation module is used for generating a request for acquiring the Hybrid component; the request comprises a configuration address of the Hybrid component, and the configuration address comprises a Hybrid component identifier and corresponding request parameters;
the configuration information acquisition module is used for acquiring corresponding component configuration information according to the Hybrid component identifier; the component configuration information comprises an address template field and a cache processing rule field which are set for the Hybrid component identifier;
the access address generation module is used for configuring the request parameters into the address template field and generating the access address of the Hybrid component;
the component request module is used for loading the Hybrid component from the access address;
the resource acquisition module is used for acquiring page resources required by running the Hybrid component;
and the cache processing module is used for performing corresponding cache processing on the page resource by adopting the cache processing rule field.
8. The system of claim 7, wherein the configuration information obtaining module comprises:
the local search submodule is used for searching corresponding component configuration information locally by adopting the Hybrid component identifier; when the time is found out, the time limit judgment submodule is called; when the network is not found, calling a networking acquisition sub-module;
the time limit judging submodule is used for judging whether the component configuration information is overdue or not; if yes, calling a networking acquisition sub-module; if not, calling a local extraction submodule;
a local extraction submodule for locally extracting the component configuration information;
and the networking acquisition submodule is used for acquiring the corresponding component configuration information from the server.
9. The system of claim 7, wherein the configuration information comprises a secure pre-processing interface field, further comprising:
the first encryption access module is used for encrypting and accessing the access address indicated by the safety preprocessing interface field; the server is used for executing corresponding security preprocessing according to the security preprocessing interface field;
or,
the second encryption access module is used for encrypting and accessing the access address indicated by the safety preprocessing interface field;
the first encryption information receiving module is used for receiving the encryption information returned by the server aiming at the security preprocessing interface field;
the first encrypted information execution module is used for executing the encrypted information after decrypting the encrypted information;
or,
the third encryption access module is used for encrypting and accessing the access address indicated by the safety preprocessing interface field; the server is used for executing corresponding security preprocessing according to the security preprocessing interface field;
the second encryption information receiving module is used for receiving the encryption information returned by the server aiming at the security preprocessing interface field;
and the second encrypted information execution module is used for executing the encrypted information after decrypting the encrypted information.
10. The system of claim 7, wherein the configuration information comprises an auxiliary behavior configuration, further comprising:
and the auxiliary behavior execution module is used for executing the auxiliary behavior indicated by the auxiliary behavior configuration.
11. The system of claim 7, wherein the resource acquisition module comprises:
the cache judgment sub-module is used for judging whether page resources required by the running of the Hybrid component exist in a cache of a preset network view plug-in; if yes, calling a cache processing module;
and/or the presence of a gas in the gas,
the first loading submodule is used for judging whether page resources required by running the Hybrid component exist in a memory of an application program to which a preset network view plug-in belongs; if so, loading the page resource in a cache of the network view plug-in;
and/or the presence of a gas in the gas,
the second loading submodule is used for reading the page resource required by the running Hybrid component when the page resource is found in the disk file corresponding to the application program to which the preset network view plugin belongs, and loading the page resource in the cache of the network view plugin;
and/or the presence of a gas in the gas,
and the third loading submodule is used for downloading the page resources required by the running of the Hybrid component from the network and loading the page resources in the cache of the network view plug-in.
12. The system of claim 7, wherein the cache processing rule field comprises a check type field, a check resource category field, and/or a resource version number field;
the checking type field is a cache processing rule field for marking whether the current cache rule is a regular expression rule or not;
the check resource type field is a cache processing rule field marking the resource corresponding to the current cache rule;
the resource version number field is a cache processing rule field that identifies the latest version number of the current resource.
CN201310439613.0A 2013-09-24 2013-09-24 The operation method and system of a kind of Hybrid components Active CN104461491B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310439613.0A CN104461491B (en) 2013-09-24 2013-09-24 The operation method and system of a kind of Hybrid components
HK15105195.5A HK1204696A1 (en) 2013-09-24 2015-06-01 Method for running hybrid component and system thereof hybrid

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310439613.0A CN104461491B (en) 2013-09-24 2013-09-24 The operation method and system of a kind of Hybrid components

Publications (2)

Publication Number Publication Date
CN104461491A CN104461491A (en) 2015-03-25
CN104461491B true CN104461491B (en) 2017-10-27

Family

ID=52907603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310439613.0A Active CN104461491B (en) 2013-09-24 2013-09-24 The operation method and system of a kind of Hybrid components

Country Status (2)

Country Link
CN (1) CN104461491B (en)
HK (1) HK1204696A1 (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224310A (en) * 2015-09-06 2016-01-06 浪潮软件股份有限公司 ANDROID-based multi-FRAGMENT-based method for improving HYBRID application experience
CN105279134B (en) * 2015-11-09 2018-10-19 北京齐尔布莱特科技有限公司 A kind of device and application server of dynamic configuration mobile application
CN106708498A (en) * 2015-11-18 2017-05-24 中兴通讯股份有限公司 Terminal for realizing multi-mode application page, method and system
CN106020906A (en) * 2016-05-31 2016-10-12 广东能龙教育股份有限公司 Client side hot updating method based on Cordova
CN107644038A (en) * 2016-07-20 2018-01-30 平安科技(深圳)有限公司 Page cache method and device
CN107678778B (en) * 2017-03-14 2019-12-13 平安科技(深圳)有限公司 Hybrid-based compatible method, adapter, operation device and system
CN107491320B (en) * 2017-06-26 2021-11-09 北京五八信息技术有限公司 Loading method and device based on mixed-mode mobile application
CN107463613A (en) * 2017-06-29 2017-12-12 北京五八信息技术有限公司 Page loading method and device
CN108958730B (en) * 2017-08-23 2022-04-19 北京五八信息技术有限公司 Application program component sharing method and device, terminal device and readable storage medium
CN110543305B (en) * 2018-05-29 2023-05-30 杭州海康威视系统技术有限公司 Method and device for replacing easy UI component
CN108897728B (en) * 2018-06-27 2023-04-07 平安科技(深圳)有限公司 Short message splicing processing method and device, computer equipment and storage medium
CN109743359B (en) * 2018-12-13 2022-10-25 平安普惠企业管理有限公司 Hybrid communication processing method and device, computer equipment and storage medium
CN109800369A (en) * 2018-12-14 2019-05-24 平安普惠企业管理有限公司 Hybrid app page loading method, device and computer equipment
CN110727478B (en) * 2019-10-16 2021-11-16 腾讯科技(深圳)有限公司 Method, device, equipment and medium for rendering page based on mixed mode
CN110874236B (en) * 2019-11-13 2023-04-07 中国建设银行股份有限公司 Cross-platform application device, terminal and storage medium
CN113468606A (en) * 2020-03-30 2021-10-01 华为技术有限公司 Application program access method and electronic equipment
CN112804246B (en) * 2021-01-27 2023-07-28 上海淇玥信息技术有限公司 Local capability authority opening and controlling method and device and electronic equipment
CN113190287A (en) * 2021-04-30 2021-07-30 平安壹钱包电子商务有限公司 External device docking method and device, computer device and readable storage medium
CN114070610B (en) * 2021-11-12 2024-07-23 上汽通用五菱汽车股份有限公司 API gateway authentication method, gateway equipment and readable storage medium
CN114924910B (en) * 2022-05-17 2023-11-03 江苏迈步信息科技有限公司 Processing method for super-fusion data management based on distributed storage system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7047411B1 (en) * 1999-12-17 2006-05-16 Microsoft Corporation Server for an electronic distribution system and method of operating same
CN102867053A (en) * 2012-09-12 2013-01-09 北京奇虎科技有限公司 Method, device and system for collecting effective information web pages in website information
CN102902780A (en) * 2012-09-28 2013-01-30 五八有限公司 Dynamic matching method and dynamic matching device of uniform resource locator (URL)

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7047411B1 (en) * 1999-12-17 2006-05-16 Microsoft Corporation Server for an electronic distribution system and method of operating same
CN102867053A (en) * 2012-09-12 2013-01-09 北京奇虎科技有限公司 Method, device and system for collecting effective information web pages in website information
CN102902780A (en) * 2012-09-28 2013-01-30 五八有限公司 Dynamic matching method and dynamic matching device of uniform resource locator (URL)

Also Published As

Publication number Publication date
CN104461491A (en) 2015-03-25
HK1204696A1 (en) 2015-11-27

Similar Documents

Publication Publication Date Title
CN104461491B (en) The operation method and system of a kind of Hybrid components
CN108984170B (en) H5 page multi-language rendering method and device
CN106897053B (en) Code publishing method and device
CN111143869B (en) Application package processing method and device, electronic equipment and storage medium
US8433906B2 (en) Method and system for microlocking web content
US9865008B2 (en) Determining a configuration of a content item display environment
US20160224530A1 (en) Mapping stored client data to requested data using metadata
EP2686817A1 (en) System, method, and computer program product for creation, transmission, and tracking of electronic document
US8966359B2 (en) Web application content mapping
CN107391535B (en) Method and device for searching document in document application
CN110321504B (en) Page processing method and device
CN109460546A (en) List generation method, device and electronic equipment
CN115225707A (en) Resource access method and device
CN110928571A (en) Business program development method and device
US8959426B1 (en) Loading customer-supplied network page generation code
CN112685105A (en) Front-end component sharing method and device, computer equipment and storage medium
CN107133036B (en) Module management method and device
CN115599386A (en) Code generation method, device, equipment and storage medium
CN112100689B (en) Trusted data processing method, device and equipment
CN112579694B (en) Digital resource processing method, device, storage medium and equipment
CN107239475B (en) File calling method and device
CN112579955A (en) Page access method, equipment, medium and electronic equipment
US10853057B1 (en) Software library versioning with caching
EP3547182A1 (en) Method and apparatus for publishing works on network
CN109740386A (en) A kind of detection method and device of static resource file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1204696

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1204696

Country of ref document: HK