CN110908711A - Control development method and device of application program and electronic equipment - Google Patents

Control development method and device of application program and electronic equipment Download PDF

Info

Publication number
CN110908711A
CN110908711A CN201911145333.2A CN201911145333A CN110908711A CN 110908711 A CN110908711 A CN 110908711A CN 201911145333 A CN201911145333 A CN 201911145333A CN 110908711 A CN110908711 A CN 110908711A
Authority
CN
China
Prior art keywords
calling
target control
control
target
client
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
CN201911145333.2A
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201911145333.2A priority Critical patent/CN110908711A/en
Publication of CN110908711A publication Critical patent/CN110908711A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • G06F9/45529Embedded in an application, e.g. JavaScript in a Web browser

Abstract

The embodiment of the disclosure provides a control development method and device of an application program and electronic equipment, belonging to the technical field of computer application, wherein the method comprises the following steps: determining a target control to be developed in an application program; developing the target control at a client by adopting a native development scheme, and determining a calling protocol about the target control between the client and a webpage end; and calling the target control according to the output operation received by the webpage end by using the calling protocol. Through the scheme disclosed by the invention, the space for developing the application program in the mixed development of the original development scheme and the webpage end is realized, the product experience can be improved, and the whole product requirements can be realized.

Description

Control development method and device of application program and electronic equipment
Technical Field
The present disclosure relates to the field of computer application technologies, and in particular, to a method and an apparatus for developing a control of an application program, and an electronic device.
Background
Cross-platform use of applications is becoming more common, and the same application may be used in different operating systems, thus requiring adaptation of devices of the mainstream mobile operating system. When an enterprise develops a cross-platform application program, each mobile operating system needs to set an independent development project and is developed independently aiming at each control of the application program. When an enterprise needs to develop a cross-platform application program in a short time, developers with strong capacity in each development project need to quickly build a native interface, the unification of the program interfaces also needs a large number of communication among developers of each platform project, the development efficiency is low, the cost of the enterprise is increased, and the problem that the program interfaces among different platforms are not uniform easily occurs.
Therefore, the existing control development scheme of the application program has the technical problems of high development difficulty and labor and time cost consumption.
Disclosure of Invention
In view of this, embodiments of the present disclosure provide a method and an apparatus for developing a control of an application program, and an electronic device, which at least partially solve the problems in the prior art.
In a first aspect, an embodiment of the present disclosure provides a control development method for an application program, including:
determining a target control to be developed in an application program;
developing the target control at the client by adopting a native development scheme;
determining a calling protocol about the target control between the client and the webpage end;
and calling the target control according to the output operation received by the webpage end by using the calling protocol.
According to a specific implementation manner of the embodiment of the present disclosure, the target control is a calendar scroll control.
According to a specific implementation manner of the embodiment of the present disclosure, the web page end is an H5 web page end.
According to a specific implementation manner of the embodiment of the disclosure, the calling protocol is a Js Bridge protocol.
According to a specific implementation manner of the embodiment of the present disclosure, the step of calling the target control according to the output operation received by the web page end by using the calling protocol includes:
receiving touch operation of a target button acting on the webpage end;
transmitting the touch operation acting on the target button to the client;
and modifying the display content of the target control according to the calling protocol and the touch operation.
According to a specific implementation manner of the embodiment of the present disclosure, the step of modifying the display content of the target control according to the calling protocol and the touch operation includes:
determining a target function which can be called and a modification parameter according to the calling protocol and the touch operation;
and calling the target function, and modifying the display content of the target control according to the modification parameters.
According to a specific implementation manner of the embodiment of the present disclosure, after the step of modifying the display content of the target control, the method further includes:
and controlling the client to call back a completion event to the webpage end.
According to a specific implementation manner of the embodiment of the present disclosure, the step of determining a target function that can be called and modifying a parameter according to the calling protocol and the touch operation includes:
according to the calling protocol and the touch operation, the webpage end generates a URL request;
and the client intercepts the URL request, and identifies a target function and modification parameters contained in the URL request.
According to a specific implementation manner of the embodiment of the present disclosure, the step of determining a target function that can be called and modifying a parameter according to the calling protocol and the touch operation includes:
obtaining a mapping table between the client and the webpage end according to the calling protocol;
and determining a target function and a modification parameter corresponding to the touch operation by using the mapping table.
According to a specific implementation manner of the embodiment of the present disclosure, the mobile operating system run by the application program is an IOS system or an Android system.
In a second aspect, an embodiment of the present disclosure provides an apparatus for developing a control of an application, including:
the first determination module is used for determining a target control to be developed in the application program;
the development module is used for developing the target control at the client by adopting a native development scheme;
the second determining module is used for determining a calling protocol related to the target control between the client and the webpage end;
and the calling module is used for calling the target control according to the output operation received by the webpage end by using the calling protocol.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, where the electronic device includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method for developing a control of an application program in the first aspect or any implementation manner of the first aspect.
In a fourth aspect, the embodiments of the present disclosure also provide a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the control development method of the application program in the first aspect or any implementation manner of the first aspect.
In a fifth aspect, the present disclosure also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions, which, when executed by a computer, cause the computer to execute the control development method of the application program in the foregoing first aspect or any implementation manner of the first aspect.
The control development scheme of the application program in the embodiment of the disclosure comprises the following steps: determining a target control to be developed in an application program; developing the target control at a client by adopting a native development scheme, and determining a calling protocol about the target control between the client and a webpage end; and calling the target control according to the output operation received by the webpage end by using the calling protocol. Through the scheme disclosed by the invention, the space for developing the application program in the mixed development of the original development scheme and the webpage end is realized, the product experience can be improved, and the whole product requirements can be realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings needed to be used in the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a control development method for an application according to an embodiment of the present disclosure;
fig. 2 is a partial flowchart of another control development method for an application according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a control development apparatus for an application according to an embodiment of the present disclosure;
fig. 4 is a schematic view of an electronic device provided in an embodiment of the present disclosure.
Detailed Description
The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
The embodiments of the present disclosure are described below with specific examples, and other advantages and effects of the present disclosure will be readily apparent to those skilled in the art from the disclosure in the specification. It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. The disclosure may be embodied or carried out in various other specific embodiments, and various modifications and changes may be made in the details within the description without departing from the spirit of the disclosure. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the disclosure, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present disclosure, and the drawings only show the components related to the present disclosure rather than the number, shape and size of the components in actual implementation, and the type, amount and ratio of the components in actual implementation may be changed arbitrarily, and the layout of the components may be more complicated.
In addition, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects may be practiced without these specific details.
The embodiment of the disclosure provides a control development method for an application program. The control development method of the application program provided by the embodiment can be executed by a computing device, the computing device can be implemented as software, or implemented as a combination of software and hardware, and the computing device can be integrally arranged in a server, a terminal device and the like.
Referring to fig. 1, a method for developing a control of an application provided by an embodiment of the present disclosure includes:
s101, determining a target control to be developed in an application program;
the method for developing the control of the application program provided by the embodiment is used for developing the control of the application program, such as a calendar scrolling control, a floating display control, a skin switching control, and the like. And taking the control to be developed currently in the application program as a target control. Optionally, in this embodiment, the target control is a calendar scroll control, and the target control is the calendar scroll control to explain a control development process.
Optionally, the mobile operating system run by the application program is an IOS system or an Android system.
S102, developing the target control at a client by adopting a primary development scheme;
after the target control to be developed is determined, a native development scheme is adopted to develop the target control at a client. The native development scheme is to develop an application program on a mobile platform such as Android and IOS by using an official development language, a development class library and a development tool. For example, Android is developed by using Java, Eclipse and Android studio, and IOS is developed by using Objective-C and X-code. The hardware equipment can be directly controlled by using official languages and tools, such as multi-touch, NFC, short message reading and the like, and great advantages are achieved in application performance and interaction experience.
S103, determining a calling protocol about the target control between the client and the webpage end;
after the client develops the target control, a calling protocol for calling the target control of the client through the webpage end can be determined. Optionally, the web page end may be an H5 web page end, and the calling protocol may be a Js Bridge protocol.
The term H5, HTML5, refers to the 5 th version of HTML, which refers to the standard language for describing web pages. The standard language describing the web page is actually the format of the web page file. H5 has the property of fast update iterations.
The Js Bridge protocol is a communication Bridge of Native codes and Js codes of a Native development Scheme, and can be used for capturing the URL Scheme by the Native after triggering the URL Scheme at a H5 webpage end, and further executing the purpose of calling H5 by the Native through Native analysis.
And S104, calling the target control according to the output operation received by the webpage end by using the calling protocol.
After the calling protocol between the client and the H5 webpage is determined according to the steps, the purpose of calling the target control of the client according to the user operation of the webpage can be achieved.
As shown in fig. 2, in a specific implementation manner of the embodiment of the present disclosure, the step of calling the target control according to the output operation received by the web page end by using the calling protocol may include:
s201, receiving touch operation of a target button acting on the webpage end;
s202, the touch operation acting on the target button is transmitted to the client;
s203, modifying the display content of the target control according to the calling protocol and the touch operation.
In this embodiment, the web page receives a touch operation applied to a target button corresponding to the target control, for example, a click operation applied to a calendar button on the H5 page, and the click event can be transmitted to the client. Then, the client can determine how to implement the responding operation content according to the content of the protocol, namely, the display content of the template control is modified.
Further, the step of modifying the display content of the target control according to the calling protocol and the touch operation may include:
determining a target function which can be called and a modification parameter according to the calling protocol and the touch operation;
and calling the target function, and modifying the display content of the target control according to the modification parameters.
The specific calling process comprises the steps of firstly determining a target function which can be called and modifying content, then calling the target function, and correspondingly modifying the display content of the target control by utilizing the modifying parameter. Two common calling approaches will be explained below.
In a specific implementation manner, the step of determining a callable target function and modifying a parameter according to the calling protocol and the touch operation may include:
according to the calling protocol and the touch operation, the webpage end generates a URL request;
and the client intercepts the URL request, and identifies a target function and modification parameters contained in the URL request.
In another specific implementation manner, the step of determining a callable target function and modifying parameters according to the calling protocol and the touch operation includes:
obtaining a mapping table between the client and the webpage end according to the calling protocol;
and determining a target function and a modification parameter corresponding to the touch operation by using the mapping table.
In addition, according to a specific implementation manner of the embodiment of the present disclosure, after the step of modifying the display content of the target control, the method may further include:
and controlling the client to call back a completion event to the webpage end.
A specific example will be provided below to explain the development process of the calendar scroll control.
Turning on a time selector;
the H5 web page is accessed by calling method:
appAD.app.showActionDatetimePicker(data).then(()=>{});
where showaondatetimemaker indicates which method the client should invoke,
parameters passed to the client:
Figure BDA0002282005190000071
when the calendar scroll control is clicked, a completion event is called back to the H5 page, and 'changePicker' is used for distinguishing which kind of call-back event
The following is the parameter format passed to the H5 page
Figure BDA0002282005190000072
Figure BDA0002282005190000081
In the method for developing the control of the application program provided by the embodiment of the disclosure, in the mixed development framework of the native development scheme and the H5, the calendar scroll control is developed by using the native development scheme for the business scene needing the calendar scroll control, and the interaction protocol between the calendar scroll control and the H5 is agreed, so that the calendar scroll control is called in the H5. The characteristics of H5 quick update iteration can be utilized while the shortcomings of H5 in some aspects can be solved.
Corresponding to the above method embodiment, referring to fig. 3, an embodiment of the present disclosure further provides a control development apparatus 30 for an application program, including:
the first determining module 301 is configured to determine a target control to be developed in an application.
The method for developing the control of the application program provided by the embodiment is used for developing the control of the application program, such as a calendar scrolling control, a floating display control, a skin switching control, and the like. And taking the control to be developed currently in the application program as a target control. Optionally, in this embodiment, the target control is a calendar scroll control, and the target control is the calendar scroll control to explain a control development process.
Optionally, the mobile operating system run by the application program is an IOS system or an Android system.
A development module 302, configured to develop the target control at the client by using a native development scheme.
After the target control to be developed is determined, a native development scheme is adopted to develop the target control at a client. The native development scheme is to develop an application program on a mobile platform such as Android and IOS by using an official development language, a development class library and a development tool. For example, Android is developed by using Java, Eclipse and Android studio, and IOS is developed by using Objective-C and X-code. The hardware equipment can be directly controlled by using official languages and tools, such as multi-touch, NFC, short message reading and the like, and great advantages are achieved in application performance and interaction experience.
A second determining module 303, configured to determine a calling protocol between the client and the web page end regarding the target control.
After the client develops the target control, a calling protocol for calling the target control of the client through the webpage end can be determined. Optionally, the web page end may be an H5 web page end, and the calling protocol may be a Js Bridge protocol.
The term H5, HTML5, refers to the 5 th version of HTML, which refers to the standard language for describing web pages. The standard language describing the web page is actually the format of the web page file. H5 has the property of fast update iterations.
The Js Bridge protocol is a communication Bridge of Native codes and Js codes of a Native development Scheme, and can be used for capturing the URL Scheme by the Native after triggering the URL Scheme at a H5 webpage end, and further executing the purpose of calling H5 by the Native through Native analysis.
And the calling module 304 is configured to call the target control according to the output operation received by the web page end by using the calling protocol.
After the calling protocol between the client and the H5 webpage is determined according to the scheme, the purpose of calling the target control of the client according to the user operation of the webpage can be achieved.
The apparatus shown in fig. 3 may correspondingly execute the content in the above method embodiment, and details of the part not described in detail in this embodiment refer to the content described in the above method embodiment, which is not described again here.
Referring to fig. 4, an embodiment of the present disclosure also provides an electronic device 40, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the control development method of the application program in the method embodiments described above.
The disclosed embodiments also provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the control development method of the application program in the foregoing method embodiments.
The disclosed embodiments also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the control development method of an application program in the aforementioned method embodiments.
Referring now to FIG. 4, a block diagram of an electronic device 40 suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, the electronic device 40 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus 40 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 40 to communicate wirelessly or by wire with other devices to exchange data. While the figures illustrate an electronic device 40 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device can execute the control development method of the application program provided by the above embodiment.
Alternatively, the computer readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device may execute the control development method of the application program provided in the above embodiment.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof.
The above description is only for the specific embodiments of the present disclosure, but the scope of the present disclosure is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present disclosure should be covered within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (13)

1. A control development method of an application program is characterized by comprising the following steps:
determining a target control to be developed in an application program;
developing the target control at the client by adopting a native development scheme;
determining a calling protocol about the target control between the client and the webpage end;
and calling the target control according to the output operation received by the webpage end by using the calling protocol.
2. The method of claim 1, wherein the target control is a calendar scroll control.
3. The method of claim 2, wherein the web site is an H5 web site.
4. The method of claim 3, wherein the invoking protocol is a Js Bridge protocol.
5. The method according to any one of claims 1 to 4, wherein the step of calling the target control according to the output operation received by the webpage end by using the calling protocol comprises:
receiving touch operation of a target button acting on the webpage end;
transmitting the touch operation acting on the target button to the client;
and modifying the display content of the target control according to the calling protocol and the touch operation.
6. The method of claim 5, wherein the step of modifying the display content of the target control according to the calling protocol and the touch operation comprises:
determining a target function which can be called and a modification parameter according to the calling protocol and the touch operation;
and calling the target function, and modifying the display content of the target control according to the modification parameters.
7. The method of claim 5, wherein after the step of modifying the displayed content of the target control, the method further comprises:
and controlling the client to call back a completion event to the webpage end.
8. The method of claim 6, wherein the step of determining the callable target function and modifying the parameters according to the calling protocol and the touch operation comprises:
according to the calling protocol and the touch operation, the webpage end generates a URL request;
and the client intercepts the URL request, and identifies a target function and modification parameters contained in the URL request.
9. The method of claim 6, wherein the step of determining the callable target function and modifying the parameters according to the calling protocol and the touch operation comprises:
obtaining a mapping table between the client and the webpage end according to the calling protocol;
and determining a target function and a modification parameter corresponding to the touch operation by using the mapping table.
10. The method according to claim 1, wherein the mobile operating system on which the application program runs is an IOS system or an Android system.
11. An apparatus for developing a control of an application, comprising:
the first determination module is used for determining a target control to be developed in the application program;
the development module is used for developing the target control at the client by adopting a native development scheme;
the second determining module is used for determining a calling protocol related to the target control between the client and the webpage end;
and the calling module is used for calling the target control according to the output operation received by the webpage end by using the calling protocol.
12. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method for control development of an application program of any of the preceding claims 1-10.
13. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the control development method of an application program of any one of the preceding claims 1-10.
CN201911145333.2A 2019-11-21 2019-11-21 Control development method and device of application program and electronic equipment Pending CN110908711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911145333.2A CN110908711A (en) 2019-11-21 2019-11-21 Control development method and device of application program and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911145333.2A CN110908711A (en) 2019-11-21 2019-11-21 Control development method and device of application program and electronic equipment

Publications (1)

Publication Number Publication Date
CN110908711A true CN110908711A (en) 2020-03-24

Family

ID=69818258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911145333.2A Pending CN110908711A (en) 2019-11-21 2019-11-21 Control development method and device of application program and electronic equipment

Country Status (1)

Country Link
CN (1) CN110908711A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116346913A (en) * 2023-02-16 2023-06-27 南京时祺科技有限公司 Block chain network method capable of dividing regions based on big data information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109101228A (en) * 2018-08-10 2018-12-28 百度在线网络技术(北京)有限公司 The execution method and apparatus of application program
CN109901827A (en) * 2019-03-13 2019-06-18 厦门美图之家科技有限公司 Using exchange method, device, electronic equipment and readable storage medium storing program for executing
CN110399578A (en) * 2018-04-17 2019-11-01 腾讯科技(深圳)有限公司 Page access method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399578A (en) * 2018-04-17 2019-11-01 腾讯科技(深圳)有限公司 Page access method and device
CN109101228A (en) * 2018-08-10 2018-12-28 百度在线网络技术(北京)有限公司 The execution method and apparatus of application program
CN109901827A (en) * 2019-03-13 2019-06-18 厦门美图之家科技有限公司 Using exchange method, device, electronic equipment and readable storage medium storing program for executing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116346913A (en) * 2023-02-16 2023-06-27 南京时祺科技有限公司 Block chain network method capable of dividing regions based on big data information

Similar Documents

Publication Publication Date Title
CN110489101B (en) Interface simulation method, system, medium and electronic equipment
CN111290737B (en) Method and device for application program development and electronic equipment
CN109460233B (en) Method, device, terminal equipment and medium for updating native interface display of page
CN111338623B (en) Method, device, medium and electronic equipment for developing user interface
CN109753622B (en) Static resource management method and device, storage medium and electronic equipment
CN111581555B (en) Document loading method, device, equipment and storage medium
CN111367516B (en) Application interface generation method and device and electronic equipment
CN110960855B (en) Communication protocol code updating method and device, electronic equipment and storage medium
CN113127361A (en) Application program development method and device, electronic equipment and storage medium
CN110489162B (en) Method, device, medium and equipment for simplifying installation package SO (storage and retrieval) file
CN110333843B (en) Method and device for realizing high-precision timer of virtual machine and electronic equipment
CN109800020B (en) Automatic code adjusting method, device, equipment and medium for program development
CN111324834A (en) Image-text mixed arranging method and device, electronic equipment and computer readable medium
CN107168738A (en) A kind of management method of application tool, device, equipment and storage medium
CN111324376B (en) Function configuration method, device, electronic equipment and computer readable medium
CN111625291B (en) Automatic iteration method and device for data processing model and electronic equipment
CN110618811B (en) Information presentation method and device
CN110908711A (en) Control development method and device of application program and electronic equipment
CN111273967A (en) Remote hook setting method and device suitable for Android system and electronic equipment
CN111309406A (en) Event processing method and device of application program and electronic equipment
CN111177634A (en) Multi-language supporting file content loading method, device, equipment and medium
CN111290812B (en) Display method, device, terminal and storage medium of application control
CN109857503B (en) Page interaction effect self-adaption method and device and electronic equipment
CN111309323B (en) Parameter initialization method and device and electronic equipment
CN111291090B (en) Method, device, electronic equipment and medium for acquiring time period based on time control

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