CN109901827A - Using exchange method, device, electronic equipment and readable storage medium storing program for executing - Google Patents

Using exchange method, device, electronic equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109901827A
CN109901827A CN201910190734.3A CN201910190734A CN109901827A CN 109901827 A CN109901827 A CN 109901827A CN 201910190734 A CN201910190734 A CN 201910190734A CN 109901827 A CN109901827 A CN 109901827A
Authority
CN
China
Prior art keywords
component
call
instruction
primary
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910190734.3A
Other languages
Chinese (zh)
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.)
Xiamen Meitu Technology Co Ltd
Original Assignee
Xiamen Meitu 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 Xiamen Meitu Technology Co Ltd filed Critical Xiamen Meitu Technology Co Ltd
Priority to CN201910190734.3A priority Critical patent/CN109901827A/en
Publication of CN109901827A publication Critical patent/CN109901827A/en
Pending legal-status Critical Current

Links

Abstract

The application relates to field of computer technology, provides a kind of application exchange method, device, electronic equipment and readable storage medium storing program for executing.By the way that the interaction logic of H5 Service Component and primary component to be encapsulated into invocation component, each H5 Service Component in electronic equipment is allowed to pass through invocation component and primary component interaction.On the one hand the code degree of coupling is reduced, on the other hand avoids the overlapping development to identical calling logic in different H5 Service Component, improves development efficiency, reduce maintenance cost.

Description

Using exchange method, device, electronic equipment and readable storage medium storing program for executing
Technical field
This application involves field of computer technology, in particular to application exchange method, device, electronic equipment and can Read storage medium.
Background technique
APP (Application, application program) generally comprises the multiple business modules for realizing different business function at present. In order to reduce the volume of APP, improve the performance of APP, generally use in the related technology H ybirdAPP (mixing application) frame into The exploitation of row APP.Wherein, HybirdAPP uses H5 (Hy perText Markup Language 5.0, HyperText Markup Language 5.0) Service Component is as business module.However, the code degree of coupling of the APP obtained using HybirdAPP Development of Framework Still higher, there are redundant codes between each H5 Service Component, influence APP performance.
Summary of the invention
In view of this, the first purpose of the application is to provide a kind of application exchange method, device, electronic equipment and readable Storage medium, at least partly to improve the above problem.
To achieve the goals above, the embodiment of the present application the technical solution adopted is as follows:
In a first aspect, the embodiment of the present application provides a kind of using exchange method, it is applied to electronic equipment, the electronic equipment Including H5 Service Component, invocation component and primary component, the invocation component includes JSBridge component and bridge joint component; The described method includes:
It is loaded into the H5 Service Component, the H5 Service Component responds user's operation, executes corresponding with the user's operation Call instruction, and send the JSBridge component for the call instruction;
The JSBridge component generates jump instruction according to the call instruction, and sends institute for the jump instruction State bridge joint component;
The bridge joint component generates primary component call according to the jump instruction and requests, and by the primary component call Request is sent to the primary component;
The primary component generates return data according to the primary component call request, and will by the bridge joint component The return data is sent to the H5 Service Component.
Optionally, the step of loading H5 Service Component, comprising:
According to the load configuration information of the H5 Service Component, the H5 service groups are chosen from the JSBridge component The JS global variable that part needs, and the JS global variable is loaded into the H5 Service Component.
Optionally, before the step of loading H5 Service Component, the method also includes:
The load configuration information of the H5 Service Component is generated according to the call instruction for being preset in the H5 Service Component.
Optionally, the bridge joint component includes JS layers, WebView layers and primary layer;The jump instruction includes jumping Protocol name, calls path and call parameters at address field;The bridge joint component generates primary component tune according to the jump instruction Include: with the step of request
Described JS layers obtains the jump instruction that the JSBridge component is sent, and sends the jump instruction to described WebView layers;
Described WebView layers obtains the calling object of the address field instruction, obtains the calling for calling path instruction Method, and generate the primary component call according to the calling object, the call method and the call parameters and request, The primary layer is sent by the primary component call request again;
The primary component call request is sent the primary component by the primary layer.
Second aspect, the embodiment of the present application provide a kind of using interactive device, are applied to electronic equipment, the application interaction Device includes:
It is loaded into component, for being loaded into H5 Service Component;
The H5 Service Component executes and the user for responding user's operation after being loaded into the H5 Service Component Corresponding call instruction is operated, and sends JSBridge component for the call instruction;
Invocation component, the invocation component include JSBridge component and bridge joint component, and the JSBridg e component is used for Jump instruction is generated according to the call instruction, and sends the bridge joint component for the jump instruction;The bridge joint component, It is requested for generating primary component call according to the jump instruction, and sends the original for the primary component call request Raw component;
And primary component, for generating return data according to the primary component call request, and pass through the bridge joint The return data is sent H5 Service Component by component.
Optionally, the loading component is specifically used for:
According to the load configuration information of the H5 Service Component, the H5 Service Component is chosen from the JSBridge component The JS global variable needed, and the JS global variable is loaded into the H5 Service Component.
Optionally, the component that is loaded into specifically is also used to according to each call instruction life for being preset in the H5 Service Component At the load configuration information of the H5 Service Component.
Optionally, the jump instruction includes jumping protocol name, address field, calling path and call parameters;The bridge Connected components include:
JS layers, the jump instruction sent for obtaining the JSBridge component, and send the jump instruction to WebView layers;
WebView layers, for obtaining the calling object of the address field instruction, obtain the calling for calling path instruction Method, and generate the primary component call according to the calling object, the call method and the call parameters and request, Primary layer is sent by the primary component call request again;
Primary layer, for sending the primary component for the primary component call request.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, and the electronic equipment includes processor and readable deposits Storage media is stored with machine-executable instruction on the readable storage medium storing program for executing, and the machine-executable instruction, which is performed, to be promoted Processor, which is realized, applies exchange method described in first aspect.
Fourth aspect, the embodiment of the present application provide a kind of readable storage medium storing program for executing, store in the readable storage medium storing program for executing organic Device executable instruction, the machine-executable instruction, which is performed, to be realized described in first aspect using exchange method.
In terms of existing technologies, the application has the advantages that
Application exchange method, device, electronic equipment and readable storage medium storing program for executing provided by the present application, by by H5 Service Component It is encapsulated into invocation component with the interaction logic of primary component, each H5 Service Component in electronic equipment is allowed to pass through calling Component and primary component interaction.On the one hand the code degree of coupling is reduced, on the other hand avoided in different H5 Service Component The overlapping development of identical calling logic, improves development efficiency, reduces maintenance cost.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of structural schematic block diagram of electronic equipment provided by the embodiments of the present application;
Fig. 2 is a kind of structural schematic block diagram provided by the embodiments of the present application using interactive device;
Fig. 3 is a kind of schematic process flow diagram provided by the embodiments of the present application using exchange method;
Fig. 4 is a kind of structural schematic block diagram of Fig. 2 jackshaft connected components.
Icon: 10- electronic equipment;100- processor;200- memory;300- application interactive device;310-H5 service groups Part;320- invocation component;330-JSBridge component;340- bridges component;S layers of 341-J;343-WebView layers;345- is former Generating layer;The primary component of 350-.
Specific embodiment
It has been investigated that H5 Service Component usually requires to interact with primary component in Hybird APP, in related skill In art, each H5 Service Component needs respectively to realize a set of JS (JavaScript) interaction protocol to realize the friendship with primary component Mutually.One H5 Service Component of every increase, it is necessary to add the JS interaction protocol of the H5 Service Component Yu primary component.Also, permitted More APP carry out secondary encapsulation on primary component, and the interaction between H5 Service Component and primary component is needed according to different APP's Primary component after secondary encapsulation does compatibility, and system gradually becomes difficult to maintenance and iterative development.Wherein, primary component refers to Application core, such as the browser kernel of intelligent operating system offer is provided.
At least partly to improve above-mentioned technical problem, the embodiment of the present application is by by H5 Service Component and primary component Interaction logic is encapsulated into invocation component, and each H5 Service Component in electronic equipment is allowed to pass through invocation component and primary group Part interaction.On the one hand the code degree of coupling is reduced, on the other hand avoided to identical calling logic in different H5 Service Component Overlapping development, improve development efficiency, reduce maintenance cost.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is implemented The component of example can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiments herein provided in the accompanying drawings is not intended to limit below claimed Scope of the present application, but be merely representative of the selected embodiment of the application.Based on the embodiment in the application, this field is common Technical staff's every other embodiment obtained without making creative work belongs to the model of the application protection It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
With reference to the accompanying drawing, it elaborates to some embodiments of the application.In the absence of conflict, following Key in embodiment and embodiment can be combined with each other.
Before application exchange method provided by the embodiments of the present application is described, it should be noted that the application provides For realizing application exchange method electronic equipment be the equipment that can run Hybird APP.For example, electronic equipment can be with For entity device, or operate in the virtual unit on entity device.
It should be further noted that electronic equipment provided by the embodiments of the present application can use Android operation system, IOS operating system can be used, the present embodiment is not limited system.
Referring to Fig. 1, being a kind of structural schematic block diagram of electronic equipment 10 provided by the embodiments of the present application.Electronic equipment 10 Including processor 100 and readable storage medium storing program for executing 200.Processor 100 can be connected with readable storage medium storing program for executing 200 by bus communication It connects.Several machine-executable instructions are stored in readable storage medium storing program for executing 200, machine-executable instruction is performed, and promotes to handle Device 100 is realized provided by the embodiments of the present application using exchange method.
Referring to figure 2., the embodiment of the present application also provides a kind of application interactive device 300, and the application interactive device 300 wraps Include at least one functional unit that can be stored in readable storage medium storing program for executing 120 in a software form.In detail, using interactive device 300 include H5 Service Component 310, invocation component 320 and the primary component 350 successively communicated to connect.Wherein, invocation component 320 include JSBridge component 330 and bridge joint component 340.
Referring to Fig. 3, being a kind of schematic process flow diagram provided by the embodiments of the present application using exchange method.The present embodiment In, it executes, application exchange method is carried out below with reference to Fig. 3 detailed using exchange method electronic equipment 10 as shown in Fig. 1 It illustrates.It should be noted that method provided by the embodiments of the present application is not limitation with Fig. 3 and specific order below.Method Detailed process is as follows.
Step S110 is loaded into H5 Service Component 310, and H5 Service Component 310 responds user's operation, executes and user's operation pair The call instruction answered, and JSBridge component 330 is sent by call instruction.
It optionally, can also include being loaded into component using interactive device 300, electronic equipment 10 can pass through the loading component It is loaded into H5 Service Component 310.
In the present embodiment, H5 Service Component 310 can be preset with call instruction collection corresponding with different user operation (responseCallbacks).H5 Service Component 310, can be by H5 Service Component 310 when detecting user's operation Portion's frame is concentrated from the call instruction chooses call instruction corresponding with user's operation detected, and corresponding calling is referred to Order is sent to JSBridge component 330.
Consider that H5 Service Component 310 may need to be loaded into SBridge component 330, but not turning off with APP at work It sends out, the exchange method (that is: for realizing the instruction set of interaction logic) stored in JSBridge component 330 is more and more, will Whole JS global variables in JSBridge component 330 will affect the response speed of APP when being loaded into H5 Service Component 310.Therefore, It when implementing, can need to be loaded into according to the interaction of H5 Service Component 310, choose H5 Service Component from JSBridge component 330 The 310 part JS global variables needed are loaded into, to improve the response speed of APP.
Specifically, the step of above-mentioned loading component loading H5 Service Component 310 can be realized by following procedure:
According to the load configuration information of H5 Service Component 310, H5 Service Component 310 is chosen from JSBridge component 330 Then JS global variable is loaded into H5 Service Component 310 by the JS global variable needed.
Wherein, multiple JS global variables are packaged in JSBridge component 330.
As an implementation, the load configuration information of above-mentioned H5 Service Component 310 can be by H5 Service Component 310 analyzed is obtained.For example, H5 service groups can be generated according to call instruction collection preset in H5 Service Component 310 The load configuration information of part 310.
Specifically, when being loaded into H5 Service Component 310, which can be obtained according to the call instruction collection of the H5 Service Component It is global with the corresponding JS global variable of each call instruction in instruction set, then by the corresponding JS of each call instruction Variable is loaded into the H5 Service Component.
Optionally, the call instruction collection may include the call instruction for realizing following functions: call primary login, calling The primary binding mobile phone page closes current browser, page access stack rollback, obtains current device information, uses primary toast Display reminding information, configuration, which are shared parameter and is arranged, shares button open and close, the primary sharing component of triggering, setting browser page Face title is shown loading state using primary dialog box, opens new browser, obtains cell phone network state, calling mobile phone Camera takes pictures and obtains photo, calling mobile phone photograph album obtains picture, obtains mobile phone location information, intercepts return push-button event and hand over By H5 Service Component control, intercept close button event and transfer to H5 Service Component control, configure primary dialog box style and Show dialog box.
Step S120, JSBridge component 330 generates jump instruction according to call instruction, and sends bridge for jump instruction Connected components 340.
In one embodiment, H5 Service Component 310 needs to be loaded into JSBridge component 330.At this point, above-mentioned steps S120 is executed in H5 Service Component 310.Specifically, it is concentrated in the inner frame of H5 Service Component 310 from the call instruction After choosing corresponding with user's operation detected call instruction, JSBridge component 330 is according to the calling of H5 Service Component 310 Instruction carries out parameter conversion, by the call method indicated in call instruction, object and call parameters is called to be spliced into and jump finger It enables.
In yet another embodiment, H5 Service Component 310 and JSBridge component 330 can work independently, i.e. H5 industry Be engaged in component 310 inner frame concentrated from the call instruction and choose corresponding with user's operation detected call instruction after, Call instruction is sent JSBridge component 330 by H5 Service Component 310.JSBridge component 330 is according to H5 Service Component 310 Call instruction carry out parameter conversion, by the call method indicated in call instruction, object and call parameters is called to be spliced into Jump instruction.In above process, JSBridge component 330 is that each H5 Service Component 310 provides unified business interface, is kept away Exempt to be needed when different H5 Service Component has identical business to need for different H5 Service Component overlapping development interactions The case where method, reduces the amount of redundancy of code, improves the speed of service of application.
Step S130, bridge joint component 340 generate primary component call according to jump instruction and request, and by primary component call Request is sent to primary component 350.
In further explanation before step S130, referring to Fig. 4, Fig. 4 is the structural schematic block diagram for bridging component 340.Bridge joint Component 340 may include JS layer 341, WebView layer 343 and primary layer 345.
It has been investigated that when jump instruction use url scheme jump instruction when, H5 Service Component 310 can directly with The primary interaction of component 350 avoids APP from carrying out H5 Service Component 310 caused by secondary encapsulation to primary component 350 and is moving to not It is carried out according to different APP with suitable situation with needs when APP.Specifically, when jump instruction uses url scheme jump instruction When, jump instruction may include jumping protocol name, address field, calling path and call parameters.
Above-mentioned steps S130 can be realized by following three sub-steps:
First, JS layer 341 obtains the jump instruction that JSBridge component 330 is sent, and sends jump instruction to WebView layer 343.
In implementation process, JS layer 341 can obtain the jump instruction that JSBridge component 330 is sent by JS interface.
Second, WebView layer 343 obtains the calling object of address field instruction, obtains the call method for calling path instruction, And it is requested according to calling object, call method and call parameters to generate primary component call, then primary component call is requested It is sent to primary layer 345.
Can wherein, the format of jump instruction be scheme: //host/path? params.Wherein, sche me field can With serve as it is above-mentioned jump protocol name, host field can serve as address above mentioned domain, path field can serve as above-mentioned calling path, Params field can serve as above-mentioned call parameters, other symbols are decollator.
Illustratively, scheme field can be set to " mtec ", and host field can be " mtui ", call for indicating Object is general browser.Path field is used to distinguish specific instruction.For example, can be indicated when path field is " web " Primary component 350 jumps to the specific H5 page, at this point, params field can be written into the url of the specific page, needs to illustrate , params field can be written into multiple call parameters, such as params field can be " url={ url } Share } &close={ close } ", to indicate whether to close current page and whether develop sharing function.
Path field generally may include: " web " instruction for being used to indicate primary component 350 and jumping to the specific H5 page, It is used to indicate " mwp " instruction that primary component 350 opens the H5 page that multiple tab can horizontally slip, is used to open designated user Personal homepage " user " instruction and be used to open other scheme " openurl " instruction.Wherein, if necessary to control Primary component 350 opens the specified landing page in specified APP, can be by " openurl " instruction execution, and in params field Write-in will open the address scheme of APP.
WebView layer 343 can parse jump instruction according to above-mentioned instruction content, obtain primary component call and ask It asks.
Wherein, if the operation of electronic equipment 10 is Android operation system, WebView layer 343 can operate for Android The browser kernel WebView of system.If what electronic equipment 10 was run is i OS operating system, WebView layer 343 can be with For the browser kernel UIWe bView of iOS operating system.
The request of primary component call is sent primary component 350 by third, primary layer 345.
Wherein, primary layer 345 can send primary component for the request of primary component call by its 345 interface of primary layer 350。
Step S140, primary component 350 requests to generate return data according to primary component call, and passes through bridge joint component Return data is sent H5 Service Component 310 by 340.
In step S140, primary component 350 can send original for return data by its 345 callback interface of primary layer Generating layer 345;Return data is sent WebView layer 343 by primary layer 345;The JS layer that W ebView layer 343 passes through JS layer 341 Return data is sent JS layer 341 by 341 callback interfaces;Return data is sent H5 Service Component 310 by JS layer 341.
The application also provides a kind of readable storage medium storing program for executing.Computer program, computer journey are stored in readable storage medium storing program for executing It is above-mentioned using exchange method that sequence is performed realization.
In conclusion by the way that the interaction logic of H5 Service Component 310 and primary component 350 is encapsulated into invocation component 320 In, each H5 Service Component 310 in electronic equipment 10 is interacted by invocation component 320 with primary component 350.One side Face has standardized H5 Service Component 310 to the method for calling of primary component 350, reduces the code degree of coupling.On the other hand it avoids Overlapping development to identical calling logic in different H5 Service Component 310, improves development efficiency, reduces maintenance cost. In addition, using url scheme as jump instruction in the embodiment of the present application, allow H5 Service Component 310 directly with it is primary The interaction of component 350, needs when H5 Service Component 310 caused by secondary encapsulation of the APP to primary component 350 being avoided to migrate according to not It carries out reducing the development cost of APP with suitable situation with APP.
In embodiment provided herein, it should be understood that disclosed device and method, it can also be by other Mode realize.The apparatus embodiments described above are merely exemplary, for example, the flow chart and block diagram in attached drawing are shown According to device, the architectural framework in the cards of method and computer program product, function of multiple embodiments of the application And operation.In this regard, each box in flowchart or block diagram can represent one of a module, section or code Point, a part of the module, section or code includes one or more for implementing the specified logical function executable Instruction.It should also be noted that function marked in the box can also be attached to be different from some implementations as replacement The sequence marked in figure occurs.For example, two continuous boxes can actually be basically executed in parallel, they sometimes may be used To execute in the opposite order, this depends on the function involved.It is also noted that each of block diagram and or flow chart The combination of box in box and block diagram and or flow chart can be based on the defined function of execution or the dedicated of movement The system of hardware is realized, or can be realized using a combination of dedicated hardware and computer instructions.
More than, the only various embodiments of the application, but the protection scope of the application is not limited thereto, and it is any to be familiar with Those skilled in the art within the technical scope of the present application, can easily think of the change or the replacement, and should all cover Within the protection scope of the application.Therefore, the protection scope of the application should be subject to the protection scope in claims.

Claims (10)

1. it is a kind of apply exchange method, which is characterized in that be applied to electronic equipment, the electronic equipment include H5 Service Component, Invocation component and primary component, the invocation component include JSBridge component and bridge joint component;The described method includes:
It is loaded into the H5 Service Component, the H5 Service Component responds user's operation, executes tune corresponding with the user's operation With instruction, and the JSBridge component is sent by the call instruction;
The JSBridge component generates jump instruction according to the call instruction, and sends the bridge for the jump instruction Connected components;
The bridge joint component generates primary component call according to the jump instruction and requests, and the primary component call is requested It is sent to the primary component;
The primary component generates return data according to the primary component call request, and will be described by the bridge joint component Return data is sent to the H5 Service Component.
2. according to claim 1 apply exchange method, which is characterized in that the step for being loaded into the H5 Service Component Suddenly, comprising:
According to the load configuration information of the H5 Service Component, the H5 Service Component is chosen from the JSBridge component to be needed The JS global variable wanted, and the JS global variable is loaded into the H5 Service Component.
3. according to claim 2 apply exchange method, which is characterized in that the step of the loading H5 Service Component Before, the method also includes:
The load configuration information of the H5 Service Component is generated according to the call instruction for being preset in the H5 Service Component.
4. exchange method is applied described in any one of -3 according to claim 1, which is characterized in that the bridge joint component includes JS layers, WebView layers and primary layer;The jump instruction includes jumping protocol name, address field, call path and calling ginseng Number;The bridge joint component generates the step of primary component call is requested according to the jump instruction
Described JS layers obtains the jump instruction that the JSBridge component is sent, and sends the jump instruction to described WebView layers;
Described WebView layers obtains the calling object of the address field instruction, obtains the call method for calling path instruction, And the primary component call is generated according to the calling object, the call method and the call parameters and is requested, then will The primary component call request is sent to the primary layer;
The primary component call request is sent the primary component by the primary layer.
5. a kind of apply interactive device, which is characterized in that be applied to electronic equipment, the application interactive device includes:
It is loaded into component, for being loaded into H5 Service Component;
The H5 Service Component executes call instruction corresponding with the user's operation, and will be described for responding user's operation Call instruction is sent to JSBridge component;
Invocation component, the invocation component include JSBridge component and bridge joint component, and the JSBridge component is used for basis The call instruction generates jump instruction, and sends the bridge joint component for the jump instruction;The bridge joint component, is used for Primary component call request is generated according to the jump instruction, and sends described primary group for the primary component call request Part;And
Primary component for generating return data according to the primary component call request, and passes through the bridge joint component for institute It states return data and is sent to H5 Service Component.
6. according to claim 5 apply interactive device, which is characterized in that the loading component is specifically used for:
According to the load configuration information of the H5 Service Component, the H5 Service Component is chosen from the JSBridge component and is needed JS global variable, and the JS global variable is loaded into the H5 Service Component.
7. according to claim 6 apply interactive device, which is characterized in that the loading component is specifically also used to according to pre- The each call instruction for being located at the H5 Service Component generates the load configuration information of the H5 Service Component.
8. it is according to claim 5 apply interactive device, which is characterized in that the jump instruction include jump protocol name, Address field calls path and call parameters;The bridge joint component includes:
JS layers, the jump instruction sent for obtaining the JSBridge component, and WebView is sent by the jump instruction Layer;
WebView layers, for obtaining the calling object of the address field instruction, obtain the called side for calling path instruction Method, and generate the primary component call according to the calling object, the call method and the call parameters and request, then Primary layer is sent by the primary component call request;
Primary layer, for sending the primary component for the primary component call request.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes processor and readable storage medium storing program for executing, described readable to deposit Machine-executable instruction is stored on storage media, the machine-executable instruction, which is performed, promotes processor to realize claim Exchange method is applied described in any one of 1-4.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with machine-executable instruction, institute in the readable storage medium storing program for executing Machine-executable instruction is stated to be performed described in any one of realization claim 1-4 using exchange method.
CN201910190734.3A 2019-03-13 2019-03-13 Using exchange method, device, electronic equipment and readable storage medium storing program for executing Pending CN109901827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910190734.3A CN109901827A (en) 2019-03-13 2019-03-13 Using exchange method, device, electronic equipment and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910190734.3A CN109901827A (en) 2019-03-13 2019-03-13 Using exchange method, device, electronic equipment and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN109901827A true CN109901827A (en) 2019-06-18

Family

ID=66953288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910190734.3A Pending CN109901827A (en) 2019-03-13 2019-03-13 Using exchange method, device, electronic equipment and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN109901827A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110309006A (en) * 2019-06-28 2019-10-08 百度在线网络技术(北京)有限公司 A kind of funcall method, apparatus, terminal device and storage medium
CN110362371A (en) * 2019-06-19 2019-10-22 北京百度网讯科技有限公司 Control method and system, the computer equipment and readable medium of view level
CN110543372A (en) * 2019-09-10 2019-12-06 北京百度网讯科技有限公司 Method and device for interaction between mobile terminal native terminal and H5 terminal
CN110704783A (en) * 2019-10-09 2020-01-17 叮当快药科技集团有限公司 Interaction method and device of H5 page and native APP based on custom protocol
CN110719262A (en) * 2019-09-16 2020-01-21 贝壳技术有限公司 Data processing method, device and storage medium
CN110908711A (en) * 2019-11-21 2020-03-24 北京字节跳动网络技术有限公司 Control development method and device of application program and electronic equipment
CN111240672A (en) * 2020-01-02 2020-06-05 广州虎牙科技有限公司 List implementation method and device, electronic equipment and readable storage medium
CN111259287A (en) * 2020-01-14 2020-06-09 北京字节跳动网络技术有限公司 Page content display method and device, electronic equipment and storage medium
CN111324834A (en) * 2020-01-20 2020-06-23 北京无限光场科技有限公司 Image-text mixed arranging method and device, electronic equipment and computer readable medium
CN111641606A (en) * 2020-05-16 2020-09-08 中信银行股份有限公司 Data processing method, device, equipment and storage medium based on pseudo protocol
CN112035112A (en) * 2020-09-02 2020-12-04 北京思明启创科技有限公司 Application program development method, system, medium and electronic device
CN112559225A (en) * 2020-12-24 2021-03-26 南方电网深圳数字电网研究院有限公司 Native capability interaction method and device based on HTML (Hypertext markup language) and storage medium
CN112818265A (en) * 2021-02-22 2021-05-18 北京拉勾网络技术有限公司 Interaction method and mobile terminal
CN112929447A (en) * 2021-03-05 2021-06-08 深圳市联软科技股份有限公司 WKWebview component network request takeover method and system
CN116301759A (en) * 2023-05-12 2023-06-23 国网信息通信产业集团有限公司 Mobile component sharing method, system, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930467A (en) * 2016-04-22 2016-09-07 联想(北京)有限公司 Information processing method and electronic device
CN106951233A (en) * 2017-03-02 2017-07-14 广州天高软件科技有限公司 Mixed mode smart mobile phone application development framework
CN106990966A (en) * 2017-03-31 2017-07-28 中国科学技术大学苏州研究院 Mobile terminal cross-platform Development Framework and development approach based on front end frame
CN108228155A (en) * 2017-12-26 2018-06-29 江苏润和软件股份有限公司 EasyApp Mobile Developments platform and development approach
CN108234399A (en) * 2016-12-15 2018-06-29 腾讯科技(深圳)有限公司 A kind of interface communication method and terminal
CN108804082A (en) * 2018-05-10 2018-11-13 北京酷我科技有限公司 A kind of implementation method of plug-in unit JSBridge
US20190026383A1 (en) * 2016-03-25 2019-01-24 Alibaba Group Holding Limited Method and device for jumping between pages
CN109271213A (en) * 2018-08-20 2019-01-25 平安普惠企业管理有限公司 Loading method, device, computer equipment and the storage medium of the HTML5 page

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190026383A1 (en) * 2016-03-25 2019-01-24 Alibaba Group Holding Limited Method and device for jumping between pages
CN105930467A (en) * 2016-04-22 2016-09-07 联想(北京)有限公司 Information processing method and electronic device
CN108234399A (en) * 2016-12-15 2018-06-29 腾讯科技(深圳)有限公司 A kind of interface communication method and terminal
CN106951233A (en) * 2017-03-02 2017-07-14 广州天高软件科技有限公司 Mixed mode smart mobile phone application development framework
CN106990966A (en) * 2017-03-31 2017-07-28 中国科学技术大学苏州研究院 Mobile terminal cross-platform Development Framework and development approach based on front end frame
CN108228155A (en) * 2017-12-26 2018-06-29 江苏润和软件股份有限公司 EasyApp Mobile Developments platform and development approach
CN108804082A (en) * 2018-05-10 2018-11-13 北京酷我科技有限公司 A kind of implementation method of plug-in unit JSBridge
CN109271213A (en) * 2018-08-20 2019-01-25 平安普惠企业管理有限公司 Loading method, device, computer equipment and the storage medium of the HTML5 page

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
XIANGZHIHONG: "JSBridge深度剖析", 《HTTPS://CLOUD.TENCENT.COM/DEVELOPER/ARTICLE/1038398?FROM=ARTICLE.DETAIL.1176025》 *

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362371A (en) * 2019-06-19 2019-10-22 北京百度网讯科技有限公司 Control method and system, the computer equipment and readable medium of view level
CN110362371B (en) * 2019-06-19 2022-07-22 北京百度网讯科技有限公司 View level control method, device and system, computer equipment and medium
CN110309006A (en) * 2019-06-28 2019-10-08 百度在线网络技术(北京)有限公司 A kind of funcall method, apparatus, terminal device and storage medium
CN110543372A (en) * 2019-09-10 2019-12-06 北京百度网讯科技有限公司 Method and device for interaction between mobile terminal native terminal and H5 terminal
CN110719262A (en) * 2019-09-16 2020-01-21 贝壳技术有限公司 Data processing method, device and storage medium
CN110719262B (en) * 2019-09-16 2022-06-24 贝壳技术有限公司 Data processing method, device and storage medium
CN110704783B (en) * 2019-10-09 2021-11-16 叮当快药科技集团有限公司 Interaction method and device of H5 page and native APP based on custom protocol
CN110704783A (en) * 2019-10-09 2020-01-17 叮当快药科技集团有限公司 Interaction method and device of H5 page and native APP based on custom protocol
CN110908711A (en) * 2019-11-21 2020-03-24 北京字节跳动网络技术有限公司 Control development method and device of application program and electronic equipment
CN111240672A (en) * 2020-01-02 2020-06-05 广州虎牙科技有限公司 List implementation method and device, electronic equipment and readable storage medium
CN111259287A (en) * 2020-01-14 2020-06-09 北京字节跳动网络技术有限公司 Page content display method and device, electronic equipment and storage medium
CN111324834B (en) * 2020-01-20 2024-01-16 北京有竹居网络技术有限公司 Method, device, electronic equipment and computer readable medium for image-text mixed arrangement
CN111324834A (en) * 2020-01-20 2020-06-23 北京无限光场科技有限公司 Image-text mixed arranging method and device, electronic equipment and computer readable medium
CN111641606A (en) * 2020-05-16 2020-09-08 中信银行股份有限公司 Data processing method, device, equipment and storage medium based on pseudo protocol
CN112035112A (en) * 2020-09-02 2020-12-04 北京思明启创科技有限公司 Application program development method, system, medium and electronic device
CN112035112B (en) * 2020-09-02 2024-04-05 北京思明启创科技有限公司 Application program development method, system, medium and electronic equipment
CN112559225A (en) * 2020-12-24 2021-03-26 南方电网深圳数字电网研究院有限公司 Native capability interaction method and device based on HTML (Hypertext markup language) and storage medium
CN112818265A (en) * 2021-02-22 2021-05-18 北京拉勾网络技术有限公司 Interaction method and mobile terminal
CN112818265B (en) * 2021-02-22 2023-11-10 北京拉勾网络技术有限公司 Interaction method and mobile terminal
CN112929447A (en) * 2021-03-05 2021-06-08 深圳市联软科技股份有限公司 WKWebview component network request takeover method and system
CN116301759B (en) * 2023-05-12 2023-11-03 国网信息通信产业集团有限公司 Mobile component sharing method, system, equipment and storage medium
CN116301759A (en) * 2023-05-12 2023-06-23 国网信息通信产业集团有限公司 Mobile component sharing method, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109901827A (en) Using exchange method, device, electronic equipment and readable storage medium storing program for executing
JP7013466B2 (en) Application data processing methods, equipment, and computer programs
JP6740373B2 (en) Page component dynamic layout
CA2557111C (en) System and method for building mixed mode execution environment for component applications
CN105930467B (en) A kind of information processing method and electronic equipment
CN104572293B (en) The implementation method of medical image diagosis system based on BS structures
CN102855142B (en) A kind of client framework structure based on RIA and its implementation
CN110806934A (en) RPA technology-based intelligent all-in-one machine development and multi-service rapid processing method
CN112235357B (en) Cross-platform application development system
CN109542427A (en) A kind of system customization method, apparatus and electronic equipment and storage medium
CN111158690B (en) Desktop application framework, construction method, desktop application running method and storage medium
CN105812421A (en) Remote control method based on Android platform and device thereof
CN104054050A (en) Improved configuration of a user interface for a mobile communications terminal
CN104506941B (en) The processing method and processing device of key-press event in intelligent television
CN111124391A (en) Desktop end software pendant window management method and system
CN109240697A (en) Calling processing method and device, storage medium
CN104615670A (en) Method for supporting multiple rendering engines in android browser and browser
CN110069247A (en) A kind of development approach and device, application method and device of application program
CN110858242A (en) Page skipping method and device
KR20130068564A (en) Terminal apparatus having operating system based on web and method for providing service using thereof
CN112527424A (en) Control method and device for popup window
CN105681903B (en) A kind of method and device that user interface is presented
CN112235628B (en) Multi-window opening method, device, equipment and medium for television operating system
CN114037503A (en) Order processing method and device
CN105389355B (en) Data processing method and terminal

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190618

RJ01 Rejection of invention patent application after publication