CN112579959A - Application program processing method, device, equipment, storage medium and product - Google Patents

Application program processing method, device, equipment, storage medium and product Download PDF

Info

Publication number
CN112579959A
CN112579959A CN202011552250.8A CN202011552250A CN112579959A CN 112579959 A CN112579959 A CN 112579959A CN 202011552250 A CN202011552250 A CN 202011552250A CN 112579959 A CN112579959 A CN 112579959A
Authority
CN
China
Prior art keywords
application
native
application program
instruction
tool
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
CN202011552250.8A
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.)
JD Digital Technology Holdings Co Ltd
Original Assignee
JD Digital Technology Holdings 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 JD Digital Technology Holdings Co Ltd filed Critical JD Digital Technology Holdings Co Ltd
Priority to CN202011552250.8A priority Critical patent/CN112579959A/en
Publication of CN112579959A publication Critical patent/CN112579959A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • 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/451Execution arrangements for user interfaces

Abstract

The application provides a processing method, a device, equipment, a storage medium and a product of an application program, wherein the method comprises the following steps: the method comprises the steps of obtaining a hypertext markup language development instruction, laying out an application interface of an application program according to the laying out instruction, determining the application interface of the application program, obtaining a native tool, packaging the native tool to obtain a native tool library, and calling the native tool in the native tool library according to calling parameters to determine the application function of the application program. According to the technical scheme, the application interface of the application program is laid out through the hypertext markup language, the application function of the application program is realized by directly calling the native tool from the native tool library, the business realization of writing the application program through the hypertext markup language is not needed, the development requirements on developers can be reduced, and the development efficiency of the application program is effectively improved.

Description

Application program processing method, device, equipment, storage medium and product
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, a storage medium, and a product for processing an application program.
Background
With the development of internet technology, various intelligent terminals are widely applied to daily life, various Applications (APP) can be installed on the intelligent terminals, users can more conveniently use the APP on the intelligent terminals for daily life, for example, shopping through shopping APP, ordering through takeout APP, buying tickets through traveling APP, and the like, but the interface and the functions of each APP require developers to invest a large amount of development time to develop.
In the prior art, development of APP mainly includes Hybrid development (Hybrid APP development), which is an APP development mode between native development (native) and World Wide Web development (World Wide Web), and an APP shell is first constructed through native development, then a service implementation of APP is compiled by using hypertext Markup Language (HTML), and the APP is embedded into the APP shell to obtain a usable APP.
The existing hybrid development mode needs to be subjected to primary development and web development, namely the business implementation of compiling the APP by using an HTML language is needed, so that developers need to master two APP development modes skillfully, the requirements on the developers are too high, and the development efficiency of the APP is very low.
Disclosure of Invention
The application provides a processing method, a processing device, processing equipment, a storage medium and a product of an application program, and is used for solving the problem that the existing APP mixed development mode is low in efficiency.
In a first aspect, an embodiment of the present application provides an application processing method, including:
acquiring a hypertext markup language development instruction, wherein the hypertext markup language development instruction comprises a layout instruction and a calling parameter;
according to the layout instruction, laying out an application interface of the application program, and determining the application interface of the application program;
acquiring a native tool, and packaging the native tool to obtain a native tool library, wherein the native tool library comprises page skipping, a data request, caching, message sharing and message notification;
and calling the native tool in the native tool library according to the calling parameter to determine the application function of the application program, wherein the application program comprises an application interface and the application function.
In one possible design of the first aspect, the obtaining hypertext markup language development instructions includes:
and acquiring the hypertext markup language development instruction through a preset development frame, wherein the preset development frame comprises a webpage view.
In another possible design of the first aspect, the laying out an application interface of an application according to the layout instruction includes:
according to the layout instruction, each page in the application interface is laid out, and the page comprises one or more of the following pages: aggregation pages, list pages, content detail pages, publication pages, and function pages.
In yet another possible design of the first aspect, the laying out the application interface of the application according to the layout instruction includes:
acquiring position information according to the layout instruction;
and according to the position information, laying out interactive components of each page in the application interface, and determining the position of the information components in the page, wherein the interactive components comprise one or more of buttons, characters and pictures.
In yet another possible design of the first aspect, the obtaining a native tool includes:
and acquiring a native development instruction, and generating a native tool according to the native development instruction, or calling the native tool from a preset native database.
In yet another possible design of the first aspect, the native development instructions include encryption instructions, the obtaining native development instructions from which to generate native tools includes:
obtaining an encryption instruction, generating a data request security encryption tool according to the encryption instruction,
and taking the data request security encryption tool as a native tool, wherein the data request security encryption tool is used for encrypting data when an application program makes a data request.
In yet another possible design of the first aspect, the invoking parameter includes application-side information, and the invoking a native tool in a native tool library to determine an application function of the application program according to the invoking parameter includes:
acquiring application operating system information of an application program;
and calling a native tool matched with the application operating system of the application program in the native tool library according to the application operating system information of the application program to determine the application function of the application program.
In a second aspect, an embodiment of the present application provides an apparatus for processing an application program, including:
the instruction acquisition module is used for acquiring a hypertext markup language development instruction, and the hypertext markup language development instruction comprises a layout instruction and a calling parameter;
the interface layout module is used for laying out the application interface of the application program according to the layout instruction and determining the application interface of the application program;
the system comprises an encapsulation module, a data processing module and a message processing module, wherein the encapsulation module is used for acquiring a native tool and encapsulating the native tool to obtain a native tool library, and the native tool library comprises page skipping, a data request, caching, message sharing and message notification;
and the function determining module is used for calling the native tool in the native tool library according to the calling parameter so as to determine the application function of the application program, and the application program comprises an application interface and the application function.
In a third aspect, an embodiment of the present application provides a computer device, including a memory and at least one processor;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored by the memory, causing the at least one processor to perform the method as described above.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and computer instructions stored in the computer-readable storage medium, when executed by a processor, are used to implement the method described above.
In a fourth aspect, the present application provides a computer program product comprising computer programs/instructions, which when executed by a processor, implement the method described above.
According to the processing method, device, equipment, storage medium and product of the application program, the application interface of the application program is arranged through the hypertext markup language, the application function of the application program is realized by directly calling the native tool from the native tool library, the business realization of writing the application program through the hypertext markup language is not needed, the development requirements on developers can be reduced, and the development efficiency of the application program is effectively improved.
Drawings
Fig. 1 is an application scenario of a processing method of an application program according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a first embodiment of a processing method of an application program according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a second embodiment of a processing method of an application program according to the present application;
fig. 4 is a schematic flowchart of a third embodiment of a processing method of an application program according to the present application;
fig. 5 is a schematic flowchart of a fourth embodiment of a processing method of an application program according to the present application;
fig. 6 is a schematic structural diagram of a processing device of an application according to an embodiment of the present application;
fig. 7 is a computer device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Due to the fact that a large number of intelligent terminals are used, the number of applications which can be installed and used on the intelligent terminals is more and more abundant, different types of applications have corresponding functions and interfaces, when the applications are constructed, the interfaces and the functions of the finally obtained APPs are different according to different construction methods, in the prior art, in the process of constructing the APPs, the first method is Native development (Native APPs), specifically, the first method can be divided into Android APP Native development and IOS APP Native development, the Native development is conducted on Android, IOS and other mobile platforms by using provided development languages, development class libraries and development tools, for example, Android develops voices by using Java, Eclipse, Android studio and other development languages, and IOS is developed by using Objective-C, Xcode and other development languages; the second is Web development, which is App development by using Web technology, and the Web technology itself needs the support of a browser to display and interact with users, so the mainly used technologies are HTML5, Javascript, CSS and the like; the third is the existing hybrid development, which is between the native development and the Web development.
For example, fig. 1 is an application scenario of the processing method of the application program provided in the embodiment of the present application, as shown in fig. 1, a weather forecast APP may be installed in an intelligent terminal 11, and after a user opens the weather forecast APP, some weather conditions, such as text descriptions of temperature, wind power, and pollution level, a small icon for identifying current weather, and a related return operation button, may be displayed on an interface of the weather forecast APP.
For example, a sharing function may be further set on the interface of the weather forecast APP, for example, a user may share the weather condition of the day to other friends.
Optionally, an inquiry function for inquiring weather conditions of a subsequent week can be further set on the interface of the weather forecast APP, it should be noted that, according to the difference of the method for constructing the weather forecast APP, the inquiry function is also different in user experience, specifically, if the weather forecast APP constructed in the manner of native APP development, the user does not need to load through a webpage when using the inquiry function, weather conditions of the subsequent week can be directly called locally and displayed on the interface of the weather forecast APP, and if the weather forecast APP constructed in the manner of Web development, when using the inquiry function, the user has conditions of webpage loading and bar reading and blocking, which is specifically similar to the condition that the user uses a browser to inquire weather, because weather conditions of the subsequent week can be obtained by accessing the server, data is called from the server side. Native development and Web development have respective advantages and disadvantages, aiming at the advantages and disadvantages of the native development and the Web development, mixed development in the prior art appears, the mixed development is between the native development and the Web development, a native code part of the mixed development utilizes a Web View plug-in or other frames to provide a container for HTML5, main service realization and interface display of a program are realized by utilizing Web technologies related to HTML5, for example, the existing APPs such as Jingdong, Taobao, today's first item and the like are constructed by utilizing the mixed development, the mixed development also has disadvantages, on one hand, the requirement on developers is too high, on the other hand, in the using process of the APP obtained by the mixed development, APP data still needs to be all called from a server, each page needs to be downloaded again, the opening speed is slow, the network occupation is high, the buffering time is long, the experience of a user is poor, and is relatively complex to maintain.
In view of the foregoing problems, embodiments of the present application provide a method, an apparatus, a device, a storage medium, and a product for processing an application program, and the specific concepts are as follows: when the APP is constructed, developers carry out layout on the interface of the APP through the HTML language, the interface of the APP is determined, and the functions of the APP are realized, all the APP are developed through a native development mode, a native tool obtained through the native development is packaged into a native tool library, when the developers need to realize the related functions of the APP, the APP is directly called from the native tool library, so that the development requirements of the developers can be reduced on the one hand, the APP obtained through the development is used by the users in the process, various functions are realized through the native tool, data transmission does not need to be called from a server, the data transmission can be directly obtained from a local cache, the loading speed of each page in the APP is improved, the network occupation amount and the cache time are reduced, and the use experience of the users is improved.
The technical solution of the present application will be described in detail below with reference to specific examples. It should be noted that the following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 2 is a schematic flowchart of a first embodiment of a processing method of an application program according to an embodiment of the present application, and as shown in fig. 2, the method may be applied to a computer or a personal computer, taking an execution subject of the method as a computer as an example, and includes the following steps:
s201, acquiring a hypertext markup language development instruction.
The hypertext markup language development instruction comprises a layout instruction and a calling parameter.
Specifically, hypertext markup language is HTML language, exemplarily, the hypertext markup language may be HTML5, a developer develops an instruction to a computer by inputting the hypertext markup language, the computer determines whether the instruction is a layout instruction or a call parameter, different operations are correspondingly performed, the layout instruction is an instruction for laying out an interface of an APP application, the call parameter is a function for determining the APP application, the call parameter is used for calling a native tool in a native tool library, and the computer calls different native tools according to different call parameters to realize the function of the APP application.
For example, the native tool library may include native tools such as data encryption transmission and message sharing, a call parameter corresponding to the data encryption transmission may be a "data protect" program instruction, a call parameter corresponding to the message sharing may be a "message share" program instruction, and when the computer receives the call parameter "data protect", the data encryption transmission native tool is called from the native tool library to implement the data encryption transmission function of the APP application program.
For example, the layout instruction may be an instruction for laying out each page in the interface of the APP application, or may be an instruction for laying out each interactive component in the interface of the APP application, where the interactive component may be a button, a character, and a picture.
Optionally, the layout instruction may be to layout the shape, size, and position of the page, or may be to layout the shape, size, and position of each interactive component, and the computer determines the shape, size, and position of the page and the interactive component by obtaining the layout instruction.
S202, according to the layout instruction, the application interface of the application program is laid out, and the application interface of the application program is determined.
Specifically, the application interface of the APP application program at least includes a main interface, the main interface includes various pages, interactive components, and the like, and the position of each page on the main interface and the position of each interactive component on the main interface need to be determined by a layout instruction input by a developer.
Illustratively, after the developer inputs a layout instruction to the computer, the computer moves various pages and interactive components to corresponding positions according to the layout instruction, and feeds back the result for the developer to view, for example, a display interface of the computer displays at which position of an application interface of the APP application the interactive component is currently located.
S203, acquiring a native tool, and packaging the native tool to obtain a native tool library.
The native tool library comprises page jumping, data request, caching, message sharing and message notification.
Specifically, the native tool is obtained through native development, and the native tool includes an interface request, a page jump, a message push, a message notification, a message share, an input control, a date check, data encryption, data decryption, a third party login, a native widget, a cache, and the like.
Exemplary native gadgets include pop-up boxes, date controls, address selection controls, picture preview controls, and the like.
For example, the native tool library may be Javascript bridge, and by encapsulating the native tool into Javascript bridge, interaction with different application ends may be achieved, for example, interaction with an IOS end, an android end, or a Web end may be performed, the IOS end may call the native tool in the Javascript bridge, the android end may call the native tool in the Javascript bridge, or the Web end may call the native tool in the Javascript bridge.
In this embodiment, the native tools may be obtained by a developer through native development, and then the developer inputs the native tools into a computer, and the computer completes encapsulation.
And S204, calling the native tool in the native tool library according to the calling parameter to determine the application function of the application program.
The application program comprises an application interface and application functions.
Specifically, the calling parameters are input into the computer by a developer, and the developer can correspondingly call different native tools according to project requirements of the APP application, for example, when the APP application needs a data encryption function, the developer inputs the corresponding calling parameters to call a data encryption tool and a data decryption tool in a native tool library.
The embodiment of the application arranges the interface of the APP application program by adopting the HTML language, and encapsulates the native tool library, so that a developer only needs to call the corresponding native tool from the native tool library through the HTML language to realize the function of the APP application program, the development of the APP application program is completed, the requirements on the developer are effectively reduced, the native tool library can be repeatedly utilized, and the development efficiency can be obviously improved.
On the basis of the foregoing embodiments, for example, in some embodiments, the foregoing step S201 may be specifically implemented by the following steps:
and acquiring a hypertext markup language development instruction through a preset development frame, wherein the preset development frame comprises a webpage view.
Specifically, a preset development frame of the APP application program can be built in the computer, a webpage view (Webview) is used at the bottom layer of the preset development frame, so that a Web developer can conveniently and directly develop the APP application program on Web by using a browser, the layout of the page of the APP application program is carried out, and when the APP application program is laid out, a native tool in a native tool library is called through an HTML language to realize some application functions of the APP application program.
Based on the foregoing embodiments, for example, in some embodiments, the application interface of the application program includes a plurality of pages, and the step S202 "layout the application interface of the application program according to the layout instruction" may specifically be implemented by the following steps:
and according to the layout instruction, laying out each page in the application interface.
The pages comprise a gathering page, a list page, a content detail page, a release page and a function page. Illustratively, taking the main interface of the application as an example, the main interface at least includes an aggregation page, and the user can further browse the content detail page by clicking the content in the aggregation page.
Specifically, the position, size, and the like of each page in the application interface need to be laid out, and a developer can input an HTML language into a computer to lay out the position, size, and the like of each page.
In the embodiment, each page in the application interface is laid out through the layout instruction, so that a developer can directly adopt an HTML language to realize the interface layout of the APP application program, the developer does not need to have native development knowledge, and the development requirement on the developer is reduced.
For example, on the basis of the foregoing embodiments, fig. 3 is a flowchart illustrating a second embodiment of a processing method of an application program according to an embodiment of the present application, and as shown in fig. 3, in the step S202, "layout an application interface of the application program according to a layout instruction," specifically, the following steps are implemented:
s301, acquiring position information according to the layout instruction.
S302, according to the position information, layout is carried out on the interactive components of all the pages in the application interface, and the positions of the information components in the pages are determined.
The interactive components comprise buttons, characters and pictures.
Specifically, the position information includes various positions, such as the position of a button, the position of a text, and the position of a picture, and the interactive components of the page are laid out through the position information.
For example, a two-dimensional plane coordinate system may be established according to an application interface or a page of an APP application, and a developer inputs a layout instruction, where the layout instruction includes location information, specifically, the location information may be a location coordinate range, and a location of the interactive component on the application interface or a location on the page is determined through the location coordinate range.
According to the method and the device for the layout of the interactive components of the page, the layout instruction is used for the interactive components of the page, developers can directly perform layout development on the application interface of the application program through the HTML language, the native development skills do not need to be mastered, the development requirements of the application program are reduced, and the development efficiency of the application program is improved.
For example, in some embodiments, the "obtaining a native tool" in step S203 may specifically be implemented by:
and acquiring a native development instruction, and generating a native tool according to the native development instruction, or calling the native tool from a preset native database.
Specifically, the native tool can be obtained by a developer through native development, that is, the developer obtains the native tool through a native development instruction through development, when the developer develops an APP application program, if a certain native tool only needs to be used once, the native tool is not used in a subsequent development process, the developer can directly obtain the native tool through native development, if the native tool needs to be used in the subsequent development process, the native tool obtained by the developer through native development can be stored in a preset native database, and if the native tool needs to be used in the subsequent development process, the native tool can be directly called from the preset native database.
The native tool is obtained through native development instruction development in this embodiment, can save earlier in predetermineeing native database, when the developer need use this native tool, can seek and predetermine native database and obtain this native tool, so only need develop native tool once, follow-up promptly can reuse, improves APP application's development efficiency.
For example, on the basis of the above embodiment, fig. 4 is a flowchart illustrating a third embodiment of a processing method of an application program according to the present embodiment, as shown in fig. 4, if a native development instruction includes an encryption instruction, the "acquiring a native development instruction and generating a native tool according to the native development instruction" may specifically include the following steps:
s401, acquiring an encryption instruction, and generating a data request security encryption tool according to the encryption instruction;
s402, taking the data request security encryption tool as a native tool.
The data request security encryption tool is used for encrypting data when an application program requests the data.
Specifically, a developer can develop and obtain a data request security encryption tool through native development, the computer obtains an encryption instruction input by the developer, and the data request security encryption tool is generated through a native development framework and serves as a native tool.
In this embodiment, when the application function of the application program includes a data request encryption function, if the application program needs to perform a data request, for example, a third party login request, the data request security encryption tool may be invoked to encrypt the data, so as to ensure security during the data request process. ,
in the embodiment of the application, a developer can input an encryption instruction to a computer through an HTML language to develop and obtain a data request security encryption tool, the data request security encryption tool is packaged into a native tool library as a native tool, and if an application program developed by the developer has a requirement on data encryption, the data request security encryption tool can be called to realize data encryption.
For example, on the basis of the foregoing embodiment, fig. 5 is a flowchart illustrating a fourth embodiment of a processing method of an application program according to the present application embodiment, and as shown in fig. 5, if the call parameter includes application end information, the step S204 may specifically include the following steps:
s501, acquiring application operating system information of an application program;
s502, according to the application operating system information of the application program, calling a native tool matched with the application operating system of the application program in a native tool library to determine the application function of the application program.
The application end information comprises an IOS end, an android end and a Web end.
Specifically, the application program can be used for an IOS end, an android end or a Web end, when a developer develops the application program, the application end information of the application program can be input into the computer, and after the computer determines which end the application program is specifically applied to, the native tool matched with the end is called from the native tool library, so that the application function of the application program finally developed can be normally realized at the end.
In the embodiment of the application, through encapsulating the native tool library, for an application end which is not used, the native tool matched with the application end can be called so that the application program can realize the corresponding application function at the application end, and therefore developers can have stronger flexibility and improve the development efficiency when developing.
In summary, the developer only needs to develop the native tools once, and package the native tools into the native tool library, and when the application program is subsequently developed, the developer can firstly lay out the interface of the application program through the HTML language to determine the application interface, and the application function of the application program can be directly called from the native tool library, so that the development is not needed any more, the development requirement of the developer is reduced, and meanwhile, the native tools in the native tool library can be reused, thereby improving the development efficiency.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 6 is a schematic structural diagram of a processing device of an application program according to an embodiment of the present application, and as shown in fig. 6, the processing device 60 of the application program may be integrated in a computer, or may be independent of the computer and cooperate with the computer to implement the technical solution of the present application.
Illustratively, as shown in fig. 6, the processing device includes an instruction acquisition module 61, an interface layout module 62, an encapsulation module 63, and a function determination module 64, wherein,
the instruction acquisition module 61 is used for acquiring a hypertext markup language development instruction;
the interface layout module 62 is configured to perform layout on the application interface of the application program according to the layout instruction, and determine the application interface of the application program;
the packaging module 63 is configured to obtain a native tool, and package the native tool to obtain a native tool library;
and the function determining module 64 is used for calling the native tool in the native tool library according to the calling parameter to determine the application function of the application program.
The hypertext markup language development instruction comprises a layout instruction and a calling parameter, the native tool library comprises page jump, a data request, cache, message sharing and message notification, and the application program comprises an application interface and an application function.
For example, on the basis of the above embodiment, as an example, the instruction obtaining module 61 may be specifically configured to obtain the hypertext markup language development instruction through a preset development framework, where the preset development framework includes a web page view.
For example, in some embodiments, the interface layout module 62 may be specifically configured to layout each page in the application interface according to the layout instruction, where the page includes an aggregation page, a list page, a content detail page, a release page, and a function page.
Optionally, in some embodiments, the interface layout module 62 may be specifically configured to obtain the position information according to the layout instruction, and perform layout on the interactive components of each page in the application interface according to the position information, to determine the position of the information component in the page.
The interactive components comprise buttons, characters and pictures.
For example, in some embodiments, the encapsulation module 63 may be specifically configured to obtain a native development instruction, generate a native tool according to the native development instruction, or retrieve the native tool from a preset native database.
Based on the foregoing embodiment, as a further example, the encapsulation module 63 may be specifically configured to obtain an encryption instruction, generate a data request security encryption tool according to the encryption instruction, and use the data request security encryption tool as a native tool, where the data request security encryption tool is used to perform an encryption operation on data when an application performs a data request.
For example, in some embodiments, if the call parameter includes application-side information, the function determining module 64 may be specifically configured to obtain application operating system information of the application program; and calling the native tool matched with the application operating system of the application program in the native tool library according to the application operating system information of the application program to determine the application function of the application program.
The application end information comprises an IOS end, an android end and a Web end.
The apparatus provided in the embodiment of the present application may be used to execute the method in the embodiments shown in fig. 2 to fig. 5, and the implementation principle and the technical effect are similar, which are not described herein again.
It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the package module may be a processing element separately set up, or may be implemented by being integrated in a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and a processing element of the apparatus calls and executes the functions of the package module. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element here may be an integrated circuit with signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when some of the above modules are implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor that can call program code. As another example, these modules may be integrated together, implemented in the form of a system-on-a-chip (SOC).
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Fig. 7 is a computer device provided in an embodiment of the present application, which includes a memory 71 and at least one processor 72;
the memory 71 stores computer-executable instructions;
the at least one processor 72 executes computer-executable instructions stored by the memory 71 to cause the at least one processor 72 to perform the steps of the method described above.
Alternatively, the memory 71 may be separate or integrated with the processor 72, and when the memory 71 is separately provided, the display device further includes a bus 73 for connecting the memory 71 and the processor 72.
Optionally, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and computer instructions stored in the computer-readable storage medium, where the computer instructions, when executed by a processor, are used to implement the steps of the method as described above.
Optionally, an embodiment of the present application further provides a computer program product, which includes a computer program/instruction, and when the computer program/instruction is executed by a processor, the computer program/instruction implements the steps of the method described above.
In the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship; in the formula, the character "/" indicates that the preceding and following related objects are in a relationship of "division". "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
It is to be understood that the various numerical references referred to in the embodiments of the present application are merely for convenience of description and distinction and are not intended to limit the scope of the embodiments of the present application. In the embodiment of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiment of the present application.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (11)

1. A processing method of an application program is characterized by comprising the following steps:
acquiring a hypertext markup language development instruction, wherein the hypertext markup language development instruction comprises a layout instruction and a calling parameter;
according to the layout instruction, laying out an application interface of the application program, and determining the application interface of the application program;
acquiring a native tool, and packaging the native tool to obtain a native tool library, wherein the native tool library comprises page skipping, a data request, caching, message sharing and message notification;
and calling the native tool in the native tool library according to the calling parameter to determine the application function of the application program, wherein the application program comprises an application interface and the application function.
2. The method of claim 1, wherein obtaining hypertext markup language development instructions comprises:
and acquiring the hypertext markup language development instruction through a preset development frame, wherein the preset development frame comprises a webpage view.
3. The method of claim 1, wherein the laying out an application interface of an application according to the layout instruction comprises:
according to the layout instruction, each page in the application interface is laid out, and the page comprises one or more of the following pages: aggregation pages, list pages, content detail pages, publication pages, and function pages.
4. The method of claim 1, wherein the laying out an application interface of an application according to the layout instruction comprises:
acquiring position information according to the layout instruction;
and according to the position information, laying out interactive components of each page in the application interface, and determining the position of the information components in the page, wherein the interactive components comprise one or more of buttons, characters and pictures.
5. The method of claim 1, wherein the obtaining a native tool comprises:
and acquiring a native development instruction, and generating a native tool according to the native development instruction, or calling the native tool from a preset native database.
6. The method of claim 5, wherein the native development instructions comprise encryption instructions, wherein obtaining native development instructions from which to generate native tools comprises:
acquiring an encryption instruction, and generating a data request security encryption tool according to the encryption instruction;
and taking the data request security encryption tool as a native tool, wherein the data request security encryption tool is used for encrypting data when an application program makes a data request.
7. The method of claim 1, wherein the call parameter comprises application-side information, and wherein calling a native tool in a native tool library to determine an application function of an application according to the call parameter comprises:
acquiring application operating system information of an application program;
and calling a native tool matched with the application operating system of the application program in the native tool library according to the application operating system information of the application program to determine the application function of the application program.
8. An apparatus for processing an application program, comprising:
the instruction acquisition module is used for acquiring a hypertext markup language development instruction, and the hypertext markup language development instruction comprises a layout instruction and a calling parameter;
the interface layout module is used for laying out the application interface of the application program according to the layout instruction and determining the application interface of the application program;
the system comprises an encapsulation module, a data processing module and a message processing module, wherein the encapsulation module is used for acquiring a native tool and encapsulating the native tool to obtain a native tool library, and the native tool library comprises page skipping, a data request, caching, message sharing and message notification;
and the function determining module is used for calling the native tool in the native tool library according to the calling parameter so as to determine the application function of the application program, and the application program comprises an application interface and the application function.
9. A computer device comprising a memory and at least one processor;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the method of any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that computer instructions are stored which, when executed by a processor, are adapted to carry out the method according to any one of claims 1-7.
11. A computer program product comprising computer programs/instructions, characterized in that the computer programs/instructions, when executed by a processor, implement the method of claims 1-7.
CN202011552250.8A 2020-12-24 2020-12-24 Application program processing method, device, equipment, storage medium and product Pending CN112579959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011552250.8A CN112579959A (en) 2020-12-24 2020-12-24 Application program processing method, device, equipment, storage medium and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011552250.8A CN112579959A (en) 2020-12-24 2020-12-24 Application program processing method, device, equipment, storage medium and product

Publications (1)

Publication Number Publication Date
CN112579959A true CN112579959A (en) 2021-03-30

Family

ID=75139572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011552250.8A Pending CN112579959A (en) 2020-12-24 2020-12-24 Application program processing method, device, equipment, storage medium and product

Country Status (1)

Country Link
CN (1) CN112579959A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120137211A1 (en) * 2010-05-26 2012-05-31 Nokia Corporation Method and Apparatus for Specifying Mapping Parameters for User Interface Element Presentation in an Application
US9367415B1 (en) * 2014-01-20 2016-06-14 Google Inc. System for testing markup language applications on a device
CN105760162A (en) * 2016-02-04 2016-07-13 四川长虹电器股份有限公司 Development method for hybrid APP software
CN107632869A (en) * 2017-09-15 2018-01-26 百富计算机技术(深圳)有限公司 A kind of method and apparatus of the user interface of loading POS applications
CN107870821A (en) * 2016-09-26 2018-04-03 平安科技(深圳)有限公司 The cross-platform call method and system of application program
CN109032606A (en) * 2018-07-10 2018-12-18 北京小米移动软件有限公司 The process of compilation method, apparatus and terminal of native applications program
CN110908712A (en) * 2019-12-04 2020-03-24 北京中启智源数字信息技术有限责任公司 Data processing method and equipment for cross-platform mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120137211A1 (en) * 2010-05-26 2012-05-31 Nokia Corporation Method and Apparatus for Specifying Mapping Parameters for User Interface Element Presentation in an Application
US9367415B1 (en) * 2014-01-20 2016-06-14 Google Inc. System for testing markup language applications on a device
CN105760162A (en) * 2016-02-04 2016-07-13 四川长虹电器股份有限公司 Development method for hybrid APP software
CN107870821A (en) * 2016-09-26 2018-04-03 平安科技(深圳)有限公司 The cross-platform call method and system of application program
CN107632869A (en) * 2017-09-15 2018-01-26 百富计算机技术(深圳)有限公司 A kind of method and apparatus of the user interface of loading POS applications
CN109032606A (en) * 2018-07-10 2018-12-18 北京小米移动软件有限公司 The process of compilation method, apparatus and terminal of native applications program
CN110908712A (en) * 2019-12-04 2020-03-24 北京中启智源数字信息技术有限责任公司 Data processing method and equipment for cross-platform mobile terminal

Similar Documents

Publication Publication Date Title
US11119812B2 (en) Method and device for processing application program page according to a common interface container
JP6740373B2 (en) Page component dynamic layout
US10747890B2 (en) System and method of controlling access to content using an accessibility API
US11706331B2 (en) Information processing method and apparatus, storage medium, and electronic device
US10614155B2 (en) Single page application authoring in a content management system
CN111026490B (en) Page rendering method and device, electronic equipment and storage medium
CN111338623B (en) Method, device, medium and electronic equipment for developing user interface
CN107258072B (en) Method and system for managing conversation content of chat software and recording medium
US9749440B2 (en) Systems and methods for hosted application marketplaces
US9645814B1 (en) Generating and publishing applications for multiple platforms
CN111581555B (en) Document loading method, device, equipment and storage medium
US9558014B2 (en) System, method and apparatus for transparently enabling software applications with adaptive user interfaces
WO2017107851A1 (en) Method and device for releasing and updating desktop application component
CN109981719A (en) Information processing method and its system, computer system and computer readable medium
CN111459685A (en) Communication method, device, equipment and readable medium of page end and native end
CN110213105A (en) It is a kind of cross-platform micro- using creation method
US20150209680A1 (en) Game method and game system for sharing game scene
CN110865863B (en) Interface display method and device for fast application and storage medium
CN108319474B (en) Page information generation method, device and equipment
KR101892699B1 (en) Apparatus and method for authoring app of providing itergrated development environment
CN105518618B (en) The method and system of graphics frame will be routed to for the input of visual element
JP7459272B2 (en) Page operation processing method, device, equipment, and storage medium
CN110618811B (en) Information presentation method and device
CN112579959A (en) Application program processing method, device, equipment, storage medium and product
JP6279040B2 (en) Overlay control method and system

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Technology Holding Co.,Ltd.

Address before: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Beijing Economic and Technological Development Zone, 100176

Applicant before: Jingdong Digital Technology Holding Co., Ltd