Application program processing method and device

By identifying application information and configuring applications, the problem of relying on technicians in the application construction process is solved, the application availability and construction efficiency are improved, and the application quality and convenience are ensured.

CN119248341APending Publication Date: 2025-01-03CHINA MOBILE INTERNET CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411314616.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

In the prior art, the application construction process relies too much on technicians, resulting in insufficient convenience and the quality and effectiveness of the application cannot be guaranteed.

Method used

By identifying the application information submitted by the user, determining the application type, obtaining the matching application to be configured, querying the application page, filtering the adapted application code, performing event code search, configuring the application to be configured based on the application page and code, and performing initialization processing, Generate target application.

Benefits of technology

It improves the usability and construction efficiency of the application, shortens the development cycle, ensures that the target application front-end page meets user needs, and improves the construction efficiency and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119248341A_ABST
    Figure CN119248341A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an application program processing method and device.The method comprises the steps that in the application program processing process, application information submitted by a user is recognized, an application type corresponding to application operation data is determined, and a to-be-configured application matched with the application type is obtained; the method comprises the steps of obtaining application operation data of an application type, querying an application page matched with the application operation data under the application type, screening out an application code matched with the application page from an application code library, performing event code retrieval corresponding to the application page and the application code to obtain the event code, and configuring a to-be-configured application based on the application page, the application code and the event code. And the configured application is initialized to obtain the target application, so that the application construction efficiency is improved, and the usability of the constructed application program is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This document relates to the field of data processing technology, and in particular to an application processing method and device. Background Art

[0002] With the continuous development of software technology and the continuous improvement of data processing speed, the development speed of application programs is also gradually accelerating. Through applications, various resources and data can be integrated and processed better and more conveniently. Applications have become an important part of users' lives. With the continuous update of user needs, various newly developed applications are also constantly emerging.

[0003] In the existing technology, people with a certain technical foundation are usually allowed to build applications by themselves based on design tools. Due to the influence of various factors, the quality and usage effect of the obtained applications cannot be guaranteed. How to provide better applications has become the focus of attention of all parties. Summary of the invention

[0004] The purpose of one embodiment of the present specification is to provide an application processing method and device to solve the problem that the application construction process in the application processing process is too dependent on technical personnel and lacks convenience.

[0005] To solve the above technical problems, an embodiment of this specification is implemented as follows:

[0006] In a first aspect, an embodiment of the present specification provides an application processing method, including:

[0007] Identify the application information submitted by the user and determine the application type corresponding to the application operation data in the application information;

[0008] Acquire an application to be configured that matches the application type, and query an application page under the application type that matches the application operation data;

[0009] Filtering out application codes adapted to the application page in an application code library, and performing event code retrieval corresponding to the application page and the application code to obtain an event code;

[0010] The application to be configured is configured based on the application page, the application code and the event code, and the configured application is initialized to obtain a target application.

[0011] In a second aspect, another embodiment of the present specification provides an application processing device, including:

[0012] An application type determination module, used to identify the application information submitted by the user and determine the application type corresponding to the application operation data in the application information;

[0013] An application page query module, used to obtain an application to be configured that matches the application type, and query an application page under the application type that matches the application operation data;

[0014] A code retrieval module, used to filter out application codes suitable for the application page in the application code library, and retrieve event codes corresponding to the application page and the application code to obtain event codes;

[0015] The target application acquisition module is used to configure the application to be configured based on the application page, the application code and the event code, and to initialize the configured application to obtain the target application.

[0016] In a third aspect, another embodiment of the present specification provides an application processing device, comprising: a memory, a processor, and computer executable instructions stored on the memory and executable on the processor, wherein the computer executable instructions, when executed by the processor, implement the steps of the application processing method as described in the first aspect above.

[0017] In a fourth aspect, another embodiment of the present specification provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the steps of the application processing method described in the first aspect above are implemented.

[0018] In a fifth aspect, another embodiment of the present specification provides a computer program product, wherein the computer program product includes an application processing program, and when the application processing program is executed by a processor, the steps of the application processing method described in the first aspect are implemented.

[0019] The application processing method provided in the present embodiment identifies the application submitted by the user during the application processing process, especially the application construction process, determines the application type corresponding to the application operation image and / or application operation video in the application information, obtains the application to be configured that matches the application type, queries the application page that matches the application operation data under the application type, filters out the application code that is adapted to the application page in the code library, retrieves the event code corresponding to the application page and the application code to obtain the event code, configures the application to be configured based on the application page, the event code and the application code, and initializes the configured application to obtain the target application. The present embodiment determines the application type of the constructed application based on the application information submitted by the user, and selects the application page that matches the application operation data, thereby ensuring that the front-end page of the constructed target application meets the needs of the user and improving the availability of the target application. At the same time, by filling the framework with pages and codes, the development cycle of the application is shortened, the construction efficiency of the target application is improved, and the efficiency is improved while ensuring the availability of the target application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate one or more embodiments of the present specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present specification. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 A processing flow chart of an application processing method provided for one or more embodiments of this specification;

[0022] Figure 2 A schematic diagram of the architecture of an application to be configured corresponding to an application type provided in one or more embodiments of this specification;

[0023] Figure 3 A schematic diagram of a page template provided for one or more embodiments of this specification;

[0024] Figure 4 A schematic diagram of a set of components and styles provided for one or more embodiments of the present specification;

[0025] Figure 5 A processing flow chart of an application processing method applied to an application construction scenario provided by one or more embodiments of this specification;

[0026] Figure 6 A schematic diagram of an application processing device provided for one or more embodiments of this specification;

[0027] Figure 7 A schematic diagram of the structure of an application processing device provided for one or more embodiments of this specification. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the following will be combined with the drawings in one or more embodiments of this specification to clearly and completely describe the technical solutions in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.

[0029] This specification provides an application processing method embodiment:

[0030] Reference Figure 1 , which shows a processing flow chart of an application processing method provided by this embodiment, referring to Figure 5 , which shows a processing flow chart of an application processing method applied to an application construction scenario provided by this embodiment.

[0031] Reference Figure 1 The application processing method provided in this embodiment specifically includes the following steps S102 to S108.

[0032] Step S102: Identify the application information submitted by the user and determine the application type corresponding to the application operation data in the application information.

[0033] In this embodiment, the application information submitted by the user includes: the application type of the application that the user expects to build, the user's description information of the application that the user expects to build, and the user's application operation data in other applications, such as: the user's application operation images and / or application operation videos in the same type of applications, that is, the application information includes: application type, application description information and / or application operation data; optionally, the application operation data includes: application operation videos and / or application operation images.

[0034] It should be noted that the application type contained in the application information is the application type input by the user, and the application type corresponding to the following application operation data is the identified application type. In order to distinguish the two and avoid confusion, in this embodiment, the application type contained in the application information can be referred to as the first application type, and the application type corresponding to the application operation data can be referred to as the second application type. The above description is only used to distinguish the two and does not cause any limitation. This embodiment will not be repeated here.

[0035] In specific implementation, the application information submitted by the user is obtained, the various data contained in the application information is identified, and the application type corresponding to the application operation data is determined based on the identification result. Specifically, the application operation data in the application information can be extracted, the application operation image and / or application operation video can be identified, and the application type matching the feature information can be determined based on the feature information obtained by identification.

[0036] During the specific execution process, feature recognition may be performed on the application operation image and / or the application operation video by image recognition processing, and the application type may be determined according to the feature recognition result, thereby improving the accuracy of application type recognition; in an optional implementation manner provided in this embodiment, determining the application type includes:

[0037] Extracting the application operation image and / or application operation video contained in the application information, and performing feature recognition on the application operation image and / or application operation video;

[0038] A target application type matching the feature recognition result is selected from the candidate application types as the application type.

[0039] Specifically, image features and / or text features contained in the application operation image can be identified. With respect to image features, feature comparison can be performed with preset candidate features of each candidate application type to determine similarity, and the candidate application type with the greatest similarity can be selected as the application type. With respect to text features, keywords in the text features can be extracted and compared with a preset set of candidate keywords for each back-end application type to perform similarity calculation, and the candidate application type with the greatest similarity can be selected as the application type.

[0040] It should be noted that, for the processing of the application operation video, feature recognition may be performed on each video frame of the application operation video. The specific feature recognition process may be performed using the above-mentioned application operation image as an example, which will not be described in detail in this embodiment.

[0041] In actual applications, there are many systems that can carry applications, and there are also many terminal devices that can install applications. The application construction process for each system and / or each terminal device may not be the same, such as: web applications, Android applications, applications installed on smartphones, and applications installed on smart wearable devices; in this regard, the system adaptation information and / or terminal adaptation information of the application type can be preset to simultaneously build applications that are adapted to multiple systems and / or terminals during the application construction process, thereby improving the efficiency of application construction. In an optional implementation provided by this embodiment, after confirming the application type, it also includes: querying the system adaptation information and / or terminal adaptation information corresponding to the application type.

[0042] For example, if the application type is a shopping application, the adaptation information corresponding to the shopping application is determined to be: Android application, iOS application, web (World Wide Web) application (i.e., web application accessed through a personal computer), wap (Wireless Application Protocol) application (i.e., web application accessed through a personal smartphone), and mini-program application, and finally 5 target applications are generated; if the application type is a reading application, the adaptation information corresponding to the reading application is determined to be: Android application, iOS application, web application, wap application, and mini-program application, and finally 5 target applications are generated; if the application type is a social application, the adaptation information corresponding to the social application is determined to be: Android application, iOS application, and personal computer application, and finally 3 target applications are generated.

[0043] Furthermore, each application type and the corresponding system adaptation information and / or terminal adaptation information may be recorded in a data table to improve query convenience.

[0044] Step S104, obtaining an application to be configured that matches the application type, and querying an application page under the application type that matches the application operation data.

[0045] This embodiment pre-stores the application framework of each application type, writes the basic functions, basic pages and basic codes of the application into the application framework in advance, and the application framework can be called the application to be configured. According to the application type determined above, the application to be configured that matches the application type is obtained, and the pages and codes obtained later are used to configure the application to be configured, thereby improving the efficiency of application construction. Figure 2 As shown, multiple application frameworks are pre-stored for each application type.

[0046] In specific implementation, the application to be configured that matches the application type is obtained according to the application type determined above, and the application page that matches the application operation data under the application type is queried in the database, that is, the application page that matches the application page corresponding to the application operation data is queried in the database.

[0047] In actual applications, the application to be configured may be composed of multiple application function modules, that is: the application framework may include an application main framework corresponding to the basic functions of the application, and may also include an application sub-frame corresponding to the extended functions and / or sub-functions of the application. The extended functions and / or sub-function modules in the application to be configured may be determined according to the application operation data, that is: the extended functions and / or sub-function modules in the application to be configured are determined according to the function modules of the application corresponding to the application operation data;

[0048] In view of this, the main function module of the application to be configured under the application type may be first obtained, the sub-function module may be determined based on the main function module according to the application operation data, and the application to be configured may be constructed based on the main function module and the sub-function module; in an optional implementation manner provided by this embodiment, obtaining the application to be configured includes:

[0049] Searching the application template library for a main function module to be configured that matches the application type;

[0050] Extracting feature information of the application operation image and / or the application operation video in the application information, and searching the application template library for a sub-function module to be configured that matches the feature information;

[0051] The application to be configured is constructed based on the main function module to be configured and the sub-function module to be configured.

[0052] Specifically, the main function module may include the basic elements, basic codes and / or basic pages of the application, and the sub-function module may include the extended elements, extended codes and / or extended pages of the application. For example, the main function module of a shopping application may include basic elements such as a shopping cart, price, payment / payment / settlement, order, and delivery address, a homepage including a search box, product classification information, a product card list including product name, price and other information, a shopping cart page including multiple product information (product name, price, quantity, etc.) and a settlement button, an order page including an order number, order price, and a list of order products, a payment page including a payment price, payment method, and a payment button, and other basic pages, as well as corresponding basic codes; the chat function module may include extended elements such as contacts, messages, unread, and friends, an address book page including multiple related user information, a message list page including multiple messages, a send message page including contacts, historical chat records, and an input box, and other extended pages, as well as corresponding extended codes.

[0053] In the specific query process of the sub-function module to be configured, the text features of the application operation image and / or the application operation video can be extracted, and the sub-function module to be configured can be queried in the application template library based on the text features; in an optional implementation method provided in this embodiment, querying the sub-function module to be configured includes:

[0054] Acquire a first text feature preset in the main function module to be configured, and a second text feature preset in the sub-function module to be configured;

[0055] Detecting whether the text features in the feature information include the first text feature and the second text feature;

[0056] If not, no action is required;

[0057] If so, constructing the application to be configured based on the main function module to be configured and the sub-function module to be configured.

[0058] Specifically, image processing and / or feature extraction can be performed on the application operation image and / or application operation video to obtain text features and determine the corresponding text set, and detect whether there is a subset of the text set in the preset word set of each sub-function module to be configured. If so, the sub-function module to be configured corresponding to the target word set is used as the sub-function module of the application to be configured; wherein the sub-function module obtained by the query can be one, multiple, or zero, that is, no sub-function module to be configured that matches the feature information is found.

[0059] For example, the application operation data submitted by the user is analyzed, and the text features are extracted through image processing and feature extraction methods (such as edge detection, color histogram, texture features), and the text features are matched. The OCR (Optical Character Recognition) technology is used to extract the text information. After the text features on the application operation data are extracted, the sub-function modules to be configured that match the text features are searched in the application template library, and the subset matching method is used to determine whether the frame feature word set of each sub-function module to be configured is a subset of the text word set corresponding to the text features, that is: the frame feature word set The text word set constructs the application to be configured based on the main function module to be configured and the sub-function modules to be configured.

[0060] It should be noted that the above method of determining the sub-function module to be configured by text features and / or text sets can also be used to determine the main function module to be configured. Specifically, the main function module to be configured that matches the first application type can be queried in the application template library, and the text features and / or text sets can be used to determine whether the main function module to be configured meets the user's needs. In another optional implementation provided by this embodiment, obtaining the application to be configured that matches the application type includes:

[0061] Acquire a first text feature of a main function module to be configured of a first application type, and detect whether a second text feature included in the application operation data includes the first text feature;

[0062] If not, obtain the second application operation data submitted by the user for the second time;

[0063] If yes, obtain the third text features of each to-be-configured sub-function module of the first application type, and detect whether there is a text feature included in the second text feature in the third text features;

[0064] If so, select the target sub-function module to be configured and the main function module to be configured to build the application to be configured.

[0065] Furthermore, the relevant semantic set of the application to be configured may be used to perform semantic analysis on the text of the image content and replace the corresponding content to prepare for subsequent page matching and / or code matching.

[0066] In actual applications, pages with the same function may have different page structures. For example, the product list page of a shopping application can display products in a waterfall flow layout or in a single column. The card can have an upper image and lower text, or a left image and right text layout. The page template required for building the application can be determined.

[0067] To this end, you can search for application pages that match the application operation data in the application page library. Specifically, you can filter out page templates that match the images in the application operation data as application pages. Alternatively, you can write image elements in the application operation data into page templates and use the configured page templates as application pages to improve the pertinence of the built application. For example, if the application operation data corresponds to a waterfall card with a left-right layout, select Figure 3 In an optional implementation manner provided by this embodiment, querying an application page includes:

[0068] Filtering candidate page templates corresponding to the application type in the application page library;

[0069] Calculating a vector distance between a feature vector of an application operation image and / or an application operation video in the application information and a feature vector of each candidate page template;

[0070] According to the calculated vector distance, a target page template corresponding to the target vector distance is selected from the candidate page templates as the application page.

[0071] Specifically, at least one candidate page template for each application type is configured in the application page library. First, the candidate page template corresponding to the application type is screened out in the application page library, and the feature vector of the application operation image and / or the application operation video is obtained. The vector distance between the feature vector of the application operation image and / or the application operation video and the feature vector of the candidate page template is calculated. The similarity between the application operation image and / or the application operation video and the candidate page template is determined based on the calculated vector distance, and the page template corresponding to the target similarity is used as the application page.

[0072] For example, the cosine similarity between the feature vector of the application operation image and / or the application operation video and the candidate page template is calculated using the following formula:

[0073] cosine_similarity(A,Bn)=dot_product(A,Bn) / (norm(A)*norm(Bn));

[0074] Select the page template with the highest matching degree, that is, the page template used when the cosine_similarity(A,B) value is closest to 1; wherein A is the feature vector of the application operation image and / or application operation video, and Bn represents the feature vector of the candidate page template.

[0075] In the specific execution process, after the application page is queried, the image element in the application operation data can be configured in the target page template to obtain the application page of the configuration page information. For example, the purpose of building an application can be to build an application in another system, and the content of the application needs to be copied into the newly built application to improve the construction efficiency of the application. In an optional implementation manner provided by this embodiment, the application page is obtained in the following manner:

[0076] Filtering out a target page template under the application type in the application page library that matches the application operation image in the application information;

[0077] Extracting image elements in a target video frame of the application operation image;

[0078] The image element is configured in the target area of ​​the target page template, and the configured target page template is used as the application page.

[0079] Specifically, the target page template can be filtered by referring to the above-mentioned method of calculating the feature vector, and the specific execution steps can be performed by referring to the above-mentioned operations. This embodiment will not be repeated here. The pixel points of the image elements in the application operation image are replaced with the pixel values ​​of the corresponding positions according to their positions and the materials of the image area in the target page template image to obtain the application page.

[0080] For example, obtain application operation images and / or application operation videos and target page templates, traverse the application operation images and / or application operation videos, pre-process the application operation images and / or application operation videos, eliminate interference elements, perform edge detection on the application operation images and / or application operation videos, obtain image edge information, replace pixel points of target objects in the application operation images and / or application operation videos according to their positions and the pixel values ​​of the corresponding positions of preset replacement materials, and obtain the application page.

[0081] Furthermore, the application page after replacing the image element can also be similar to the page in the application operation image and / or the application operation video. If the calculation result reaches the threshold, the subsequent operation is performed based on the application page. If the calculation result does not reach the threshold, the application page is reacquired. For example, the feature vectors of the application operation data and the application page are extracted, the image features are extracted and encoded using SIFT (Scale-invariant feature transform), the encoded features are converted into numerical vectors, and the feature vector similarity between the application operation image and / or the application operation video and the application page is calculated. The specific steps can be referred to the above formula, which will not be repeated in this embodiment. If the calculation result reaches the set threshold, the application page can be used for subsequent steps. If the calculation result does not reach the set threshold, the page template is continued to be queried.

[0082] In actual applications, the page information configured in the application page needs to be obtained by calling the database interface; in this regard, after determining the application page, the database interface template can be obtained based on the page information in the application page to improve the adaptability of the application page and the database and improve the availability of the application; an optional implementation provided by this embodiment also includes: based on the page information in the application page, obtaining a database interface template containing fields corresponding to the page information.

[0083] Specifically, after confirming the application and application page to be configured, you can associate it to the corresponding database template and the basic database interface template (add, delete, modify and query interface template) according to the preset; further, you can also determine the information required for the application page, for example: the information of the product card in the page template of the shopping application includes the product image, product price, product name, and product details, then the product list page query product list interface template returns the product information including the above four information corresponding fields.

[0084] Step S106: Filter out application codes that are suitable for the application page in the application code library, and perform event code retrieval corresponding to the application page and the application code to obtain event codes.

[0085] In specific implementation, according to the mapping relationship between the page template library and the application code library, the application code adapted to the application page can be screened out in the application code library, and the event code and / or component code can be retrieved according to the obtained application code and application page to obtain the event code and / or component code. Specifically, the application code may include the page code for controlling the application page, and may also include the interface call code for the data. Optionally, the application code includes the page code and / or the interface call code.

[0086] In this embodiment, the event code is a code used to control the jump of each page in the application, that is, a code that controls the execution of a configured event; wherein the event code may be a plurality of event codes adapted to each system.

[0087] In actual applications, the application to be configured can configure the basic framework code, which can include basic configuration and composition code content, such as routing, navigation logic, and general tools. It is also necessary to obtain the corresponding code of the application page and the database interface code;

[0088] In view of this, the page code corresponding to the application page can be screened out in the application code library, and the interface call code matching the database interface template can be screened out, and the page code and the interface call code can be assembled into the application code to improve the adaptability of the page and the code, thereby improving the availability of the application program; in an optional implementation manner provided by this embodiment, the application code adapted to the application page is screened out in the application code library, including:

[0089] Filtering out the page code corresponding to the application page in the application code library, and filtering out the interface call code matching the database interface template;

[0090] The page code and the interface calling code are assembled to obtain the application code.

[0091] Specifically, the matching addition, deletion, modification and query code can be selected as the interface calling code according to the database interface template determined above.

[0092] Furthermore, in order to improve the compatibility between the framework code and the application code and improve the usability of the application, the component sets used by the framework code and the application page, as well as the style sets used by both, can be calculated, and the union between the two component sets and style sets can be calculated and imported to ensure that the component and style references are correct. For example, refer to Figure 4 The collection styles shown introduce component sets and style sets.

[0093] In actual applications, the application needs to jump to the page according to the events configured in each space in the page during use. For example, in a shopping application, triggering the purchase button triggers the payment event and jumps to the payment page. In view of this, in the application construction process, it is also necessary to obtain the event code that is compatible with the application page and application code to improve the availability of the application and improve the efficiency of application construction.

[0094] During the specific execution process, event code retrieval can be performed in the application knowledge base to obtain the component code and / or event code that the application code and application page depend on, so as to build the client of the application. In addition, since different systems have different application construction methods, they can be mapped through a multi-terminal adapter, and the component code and / or event code in the application knowledge base can be mapped with the language of the corresponding terminal, so that the constructed application is more diversified and the construction efficiency of the application is improved. That is, step S106 can be replaced by: filtering out the application code that is suitable for the application page in the application code library, and performing event code retrieval corresponding to the application page and the application code to obtain the event code under each system.

[0095] Step S108: configuring the application to be configured based on the application page, the application code and the event code, and initializing the configured application to obtain a target application.

[0096] This embodiment automatically builds an application program that matches the application corresponding to the application operation data based on the application operation data submitted by the user, ensures the basic functions of the application program through the application to be configured, obtains a front-end page that matches the application corresponding to the application operation data by screening the application operation data, writes the front-end page and the corresponding code into the application to be configured, and ensures the customizability of the constructed application program while ensuring the availability of the application program.

[0097] In specific implementation, the application page, application code and event code are configured into the application to be configured, the configured application is obtained, and the configured application is initialized based on the initialization data corresponding to the application type to obtain the target application, so as to send the installation package of the target application to the user. Optionally, the target application includes a client application and / or a server application.

[0098] In actual applications, the target application usually needs to build two applications, the client and the server. For the client application and the server application, joint debugging is also required to achieve efficient interaction between the client and the server to improve the availability of the application. In this regard, the interface addresses of the client and the server can be debugged to ensure that the two are consistent, thereby improving the availability of the application. In an optional implementation manner provided in this embodiment, after the application configuration is completed, before initialization, it also includes:

[0099] Determine a mapping relationship between a preset interface in the application code and the interface address according to the interface address of the server in the configured application;

[0100] According to the mapping relationship, the preset interface of the client in the configured application is replaced with the interface address to obtain a target application including a client application and a server application.

[0101] Specifically, after the server is deployed, an actual interface request address corresponding to the original preset interface will be generated. The mapping relationship between the original preset interface and the actual server interface is recorded, and the preset interface for obtaining information is found in the client code and replaced with the actual interface request address. According to the actual client application dependency field, the calling interface interaction protocol in the client is further adjusted to achieve efficient interaction between the client and the server.

[0102] During the specific initialization process, you can first determine the data type of the data required by the application to be configured, and determine the corresponding application initial data based on the data type to improve initialization efficiency and application building efficiency. For example, shopping applications require application resources to include product names, product prices, product descriptions, payment accounts, institutional information, sales certificates, etc. Reading applications require information such as e-book lists and complete e-book content. Financial applications require information such as product lists, revenue, institutional information, and relevant qualifications.

[0103] During the specific execution process, initialization data acquisition can also be performed for text information in the application information submitted by the user, and the data corresponding to the application operation data can be determined through semantic analysis; in an optional implementation manner provided by this embodiment, initialization processing is performed to obtain the target application, including:

[0104] Determining a first data type that matches the application page;

[0105] Performing information recognition on the application operation image and / or the application operation video in the application information, and determining a second data type matching the application operation image and / or the application operation video;

[0106] The application initial data matching the first data type and the second data type is retrieved from the application knowledge base, and the application initial data is written into the configured application to obtain a target application.

[0107] Specifically, a first data type that matches the application page is determined based on page information of the application page, text information in the application operation image and / or application operation video is extracted through feature recognition and / or image processing, a second data type that matches the application operation image and / or application operation video is determined through semantic recognition, application initial data that matches the first data type and the second data type is retrieved from the application knowledge base, and written into the database of the configured application to obtain the target application.

[0108] In the specific writing process, the database table type corresponding to the application to be configured can be obtained, and the initial application data obtained from the application knowledge base is converted into a data table and then written into the database of the configured application to obtain the target application, which saves the time of manual data entry and improves the efficiency of application construction; in an optional implementation manner provided by this embodiment, writing the initial application data into the configured application to obtain the target application includes:

[0109] Converting the initial data of the page into a data table adapted to the application page, and establishing a database of the configured application to be configured;

[0110] The data table is written into the database and data is cleaned to obtain the target application.

[0111] For example, for a reading application, obtain the database table type corresponding to the application to be configured, such as an e-book information table including basic fields such as e-book name, author, introduction, publication date, publisher, chapter, insertion time, update time, and logical deletion status. Generate and execute database execution statements through a script in reverse based on the table structure and the initial application data, establish a corresponding database, store the initial application data in the database, and perform data cleaning to remove empty and illegal data. Dynamically adjust the interface return based on the cleaned data and the fields required in the application page template.

[0112] Furthermore, data can be retrieved in the database. For example, an e-book application needs to include an e-book list and complete e-book content information. If the resource only contains the complete content of multiple e-books, the e-book content information can be extracted to obtain the names, authors and other information of all e-books and integrate them as an e-book list. It should be noted that in order to improve the efficiency of application construction and application initialization, key data can be preset and further data retrieval and / or data processing can be performed on the key data.

[0113] In summary, the one or more application processing methods provided in this embodiment, during the application processing process, especially the application construction process, identify the application submitted by the user, determine the application type corresponding to the application operation image and / or application operation video in the application information, obtain the application to be configured that matches the application type, query the application page that matches the application operation data under the application type, filter out the application code adapted to the application page in the code library, and retrieve the event code corresponding to the application page and the application code to obtain the event code, configure the application to be configured based on the application page, event code and application code, and initialize the configured application to obtain the target application. This embodiment determines the application type of the constructed application based on the application information submitted by the user, and selects the application page that matches the application operation data, thereby ensuring that the front-end page of the constructed target application meets the user's needs and improves the availability of the target application. At the same time, by filling the framework with pages and codes, the application development cycle is shortened, the construction efficiency of the target application is improved, and the efficiency is improved while ensuring the availability of the target application.

[0114] The following combination Figure 5 , taking the application processing method provided by this embodiment in the application construction scenario as an example, the application processing method provided by this embodiment is further explained. Figure 5 The application processing method applied to the application construction scenario specifically includes steps S502 to S516.

[0115] Step S502: Identify the application information submitted by the user and determine the application type corresponding to the application operation data in the application information.

[0116] Optionally, the application operation data includes: application operation images and / or application operation videos.

[0117] Step S504: search the application template library for a main function module to be configured that matches the application type.

[0118] Step S506: extract feature information of the application operation image in the application information, and search the application template library for a sub-function module to be configured that matches the feature information.

[0119] Step S508: construct the application to be configured based on the main function module to be configured and the sub-function module to be configured, and select candidate page templates corresponding to the application type in the application page library.

[0120] Step S510: calculating the vector distance between the feature vector of the application operation data and the feature vector of each candidate page template.

[0121] Step S512 : According to the calculated vector distance, a target page template corresponding to the target vector distance is selected from each candidate page template as an application page.

[0122] Step S514: according to the page information in the application page, obtain a database interface template containing fields corresponding to the page information.

[0123] Step S516, screen out the page code corresponding to the application page in the application code library, and screen out the interface call code matching the database interface template.

[0124] Step S518: assemble the page code and the interface calling code to obtain the application code, and retrieve the event code corresponding to the application page and the application code to obtain the event code.

[0125] Step S520: configuring the application to be configured based on the application page, the application code and the event code, and initializing the configured application to obtain a target application.

[0126] It should be noted that any one of steps S502 to S520 or any combination of multiple steps can be selected from steps S102 to S108 to form a new implementation method according to the needs of implementation deployment; and any one or multiple technical features in the technical scheme composed of steps S502 to S520 can be selected from steps S102 to S108 to form a new implementation method according to the needs of actual deployment, or the technical features in one or more optional implementation methods provided by steps S102 to S108 can be selected to combine into a new implementation method, which will not be elaborated here one by one.

[0127] Figure 6 A schematic diagram of an application processing device provided by an embodiment of the present invention is shown in FIG. Figure 6 As shown, the device comprises:

[0128] An application type determination module 602, configured to identify the application information submitted by the user and determine the application type corresponding to the application operation data in the application information;

[0129] The application page query module 604 is used to obtain the to-be-configured application that matches the application type, and query the application page that matches the application operation data under the application type;

[0130] A code retrieval module 606 is used to filter out application codes suitable for the application page in the application code library, and retrieve event codes corresponding to the application page and the application code to obtain event codes;

[0131] The target application acquisition module 608 is used to configure the application to be configured based on the application page, the application code and the event code, and initialize the configured application to obtain the target application.

[0132] The application processing device provided by the present embodiment, during the application processing process, especially during the application construction process, firstly runs the application type determination module 602 to identify the application submitted by the user, determines the application type corresponding to the application operation image and / or application operation video in the application information, runs the application page query module 604 to obtain the application to be configured that matches the application type, queries the application page that matches the application operation data under the application type, runs the code retrieval module 606 to filter out the application code adapted to the application page in the code library, and performs event code retrieval corresponding to the application page and the application code to obtain the event code, runs the target application acquisition module 608 to configure the application to be configured based on the application page, the event code and the application code, and performs initialization processing on the configured application to obtain the target application. The present embodiment determines the application type of the constructed application according to the application information submitted by the user, and selects the application page that matches the application operation data, so as to ensure that the front-end page of the constructed target application meets the needs of the user and improve the availability of the target application. At the same time, by filling the framework with pages and codes, the development cycle of the application is shortened, the construction efficiency of the target application is improved, and the efficiency is improved while ensuring the availability of the target application.

[0133] The application processing device provided in one embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.

[0134] Furthermore, an embodiment of the present specification also provides an application processing device, Figure 7 A schematic diagram of the structure of an application processing device provided in an embodiment of this specification, such as Figure 7 As shown, the device includes: a memory 701, a processor 702, a bus 703 and a communication interface 704. The memory 701, the processor 702 and the communication interface 704 communicate through the bus 703, and the communication interface 704 may include an input and output interface, which includes but is not limited to a keyboard, a mouse, a display, a microphone, a loudspeaker, etc.

[0135] Figure 7 In the embodiment, the memory 701 stores computer executable instructions that can be run on the processor 702, and when the computer executable instructions are executed by the processor 702, the following process is implemented:

[0136] Identify the application information submitted by the user and determine the application type corresponding to the application operation data in the application information;

[0137] Acquire an application to be configured that matches the application type, and query an application page under the application type that matches the application operation data;

[0138] Filtering out application codes adapted to the application page in an application code library, and performing event code retrieval corresponding to the application page and the application code to obtain an event code;

[0139] The application to be configured is configured based on the application page, the application code and the event code, and the configured application is initialized to obtain a target application.

[0140] The application processing device provided in this embodiment, through the cooperation of the memory 701, the processor 702, the bus 703 and the communication interface 704, identifies the application submitted by the user during the application processing process, especially the application construction process, determines the application type corresponding to the application operation image and / or the application operation video in the application information, obtains the application to be configured that matches the application type, queries the application page that matches the application operation data under the application type, screens out the application code adapted to the application page in the code library, and retrieves the event code corresponding to the application page and the application code to obtain the event code, configures the application to be configured based on the application page, the event code and the application code, and initializes the configured application to obtain the target application. This embodiment determines the application type of the constructed application according to the application information submitted by the user, and selects the application page that matches the application operation data, so as to ensure that the front-end page of the constructed target application meets the needs of the user and improve the availability of the target application. At the same time, by filling the framework with pages and codes, the development cycle of the application is shortened, the construction efficiency of the target application is improved, and the efficiency is improved while ensuring the availability of the target application.

[0141] The application processing device provided in an embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.

[0142] Furthermore, another embodiment of the present specification provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the following process is implemented:

[0143] Identify the application information submitted by the user and determine the application type corresponding to the application operation data in the application information;

[0144] Acquire an application to be configured that matches the application type, and query an application page under the application type that matches the application operation data;

[0145] Filtering out application codes adapted to the application page in an application code library, and performing event code retrieval corresponding to the application page and the application code to obtain an event code;

[0146] The application to be configured is configured based on the application page, the application code and the event code, and the configured application is initialized to obtain a target application.

[0147] The computer-readable storage medium provided in this embodiment identifies the application submitted by the user during the application processing process, especially the application construction process, determines the application type corresponding to the application operation image and / or application operation video in the application information, obtains the application to be configured that matches the application type, queries the application page that matches the application operation data under the application type, filters out the application code adapted to the application page in the code library, retrieves the event code corresponding to the application page and the application code to obtain the event code, configures the application to be configured based on the application page, the event code and the application code, and initializes the configured application to obtain the target application. This embodiment determines the application type of the constructed application based on the application information submitted by the user, and selects the application page that matches the application operation data, thereby ensuring that the front-end page of the constructed target application meets the user's needs and improves the availability of the target application. At the same time, by filling the framework with pages and codes, the development cycle of the application is shortened, the construction efficiency of the target application is improved, and the efficiency is improved while ensuring the availability of the target application.

[0148] The computer-readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0149] The computer-readable storage medium provided in an embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.

[0150] Furthermore, another embodiment of the present specification also provides a computer program product, which implements the following process when executed by a processor:

[0151] Identify the application information submitted by the user and determine the application type corresponding to the application operation data in the application information;

[0152] Acquire an application to be configured that matches the application type, and query an application page under the application type that matches the application operation data;

[0153] Filtering out application codes adapted to the application page in an application code library, and performing event code retrieval corresponding to the application page and the application code to obtain an event code;

[0154] The application to be configured is configured based on the application page, the application code and the event code, and the configured application is initialized to obtain a target application.

[0155] The computer product program provided in this embodiment identifies the application submitted by the user during the application processing process, especially the application construction process, determines the application type corresponding to the application operation image and / or application operation video in the application information, obtains the application to be configured that matches the application type, queries the application page that matches the application operation data under the application type, filters out the application code adapted to the application page in the code library, retrieves the event code corresponding to the application page and the application code to obtain the event code, configures the application to be configured based on the application page, the event code and the application code, and initializes the configured application to obtain the target application. This embodiment determines the application type of the constructed application based on the application information submitted by the user, and selects the application page that matches the application operation data, thereby ensuring that the front-end page of the constructed target application meets the user's needs and improves the availability of the target application. At the same time, by filling the framework with pages and codes, the development cycle of the application is shortened, the construction efficiency of the target application is improved, and the efficiency is improved while ensuring the availability of the target application.

[0156] The computer program product provided in one embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.

[0157] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0158] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0159] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0160] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0161] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0162] Memory may include non-permanent storage in a computer-readable storage medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable storage medium.

[0163] Computer-readable storage media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer-readable storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable storage media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0164] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0165] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0166] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. An application processing method, characterized in that: The method comprises: Identify the application information submitted by the user and determine the application type corresponding to the application operation data in the application information; Acquire an application to be configured that matches the application type, and query an application page under the application type that matches the application operation data; Filtering out application codes adapted to the application page in an application code library, and performing event code retrieval corresponding to the application page and the application code to obtain an event code; The application to be configured is configured based on the application page, the application code and the event code, and the configured application is initialized to obtain a target application.

2. The application processing method according to claim 1, characterized in that: The acquiring the to-be-configured application matching the application type includes: Searching the application template library for a main function module to be configured that matches the application type; Extracting feature information of the application operation image in the application information, and searching the application template library for a sub-function module to be configured that matches the feature information; The application to be configured is constructed based on the main function module to be configured and the sub-function module to be configured.

3. The application processing method according to claim 2, characterized in that: After extracting feature information of the application operation image in the application information, searching the application template library for a sub-function module to be configured that matches the feature information, and before constructing the application to be configured based on the main function module to be configured and the sub-function module to be configured, the method further includes: Acquire a first text feature preset in the main function module to be configured, and a second text feature preset in the sub-function module to be configured; Detecting whether the text features in the feature information include the first text feature and the second text feature; If so, constructing the application to be configured based on the main function module to be configured and the sub-function module to be configured.

4. The application processing method according to claim 1, characterized in that: The querying of the application page matching the application operation data under the application type includes: Filtering candidate page templates corresponding to the application type in the application page library; Calculating the vector distance between the feature vector of the application operation image in the application information and the feature vector of each candidate page template; According to the calculated vector distance, a target page template corresponding to the target vector distance is selected from the candidate page templates, so as to configure the application to be configured based on the target page template.

5. The application processing method according to claim 4, characterized in that: After selecting a target page template corresponding to the target vector distance to configure the application to be configured based on the target page template, the method further includes: Extracting image elements in a target video frame of the application operation image; The image element is configured in the target area of ​​the target page template, and the configured target page template is used as the application page.

6. The application processing method according to claim 1, characterized in that: After acquiring the application to be configured that matches the application type and searching for the application page that matches the application operation data under the application type, and before screening out the application code adapted to the application page in the application code library and performing event code retrieval corresponding to the application page and the application code to obtain the event code, the method further includes: According to the page information in the application page, obtaining a database interface template containing fields corresponding to the page information; Accordingly, the step of filtering out the application code adapted to the application page from the application code library includes: Filtering out the page code corresponding to the application page in the application code library, and filtering out the interface call code matching the database interface template; The page code and the interface calling code are assembled to obtain the application code.

7. The application processing method according to claim 1, characterized in that: The initializing the configured application to obtain the target application includes: Determining a first data type that matches the application page; Performing information recognition on the application operation image in the application information to determine a second data type matching the application operation image; The application initialization data matching the first data type and the second data type is retrieved from the application knowledge base, and the application initialization data is written into the configured application to obtain a target application.

8. The application processing method according to claim 7, characterized in that: Writing the initial application data into the configured application to obtain the target application comprises: Converting the initial data of the page into a data table adapted to the application page, and establishing a database of the configured application to be configured; The data table is written into the database and data cleaning is performed to obtain the target application.

9. The application processing method according to claim 1, characterized in that: The identifying the application information submitted by the user and determining the application type corresponding to the application operation data in the application information includes: Extracting an application operation image contained in the application information, and performing feature recognition on the application operation image; A target application type matching the feature recognition result is selected from the candidate application types as the application type.

10. The application processing method according to claim 1, characterized in that: After configuring the application to be configured based on the application page, the application code and the event code, and before initializing the configured application to obtain the target application, the method further includes: Determine a mapping relationship between a preset interface in the application code and the interface address according to the interface address of the server in the configured application; According to the mapping relationship, the preset interface of the client in the configured application is replaced with the interface address to obtain a target application including a client application and a server application.