Application generation method and device, electronic equipment and computer readable storage medium
By analyzing user behavior data and generating applications that automatically execute responses, the problem of inefficient user operations under traditional methods is solved and more efficient response processing is achieved.
Patent Information
- Application Number
- CN202311386308.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-24
- Publication Date
- 2025-04-25
AI Technical Summary
In traditional ways, users need to open the application to operate, resulting in inefficiency.
By analyzing the user's target behavior data, determining user habits, and determining target services based on these habits, calling target services for orchestration, and generating target applications. The application automatically performs target response when the target conditions that are met by the user's habits.
The processing efficiency of target responses corresponding to target behavior data is improved, and the user needs to manually open the application for operations is avoided.
Smart Images

Figure CN119883436A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of software interaction, and in particular to an application generation method, device, electronic device and computer-readable storage medium. Background Art
[0002] At present, smart devices are very popular, and many of the users' daily behaviors are completed based on smart devices such as smart phones, smart watches, etc. For example, the user is an office worker who arrives at the company at 9:00 am every weekday and clocks in.
[0003] However, the traditional method is that users open the application they need to use to perform operations, which has the problem of low efficiency. Summary of the invention
[0004] Embodiments of the present application provide an application generation method, device, electronic device, computer-readable storage medium, and computer program product, which can improve the processing efficiency of target responses corresponding to target behavior data.
[0005] In a first aspect, the present application provides an application generation method. The method comprises:
[0006] Determine user habits based on user target behavior data;
[0007] Based on the user habits, determining a target service; the target service is a service required to realize the user habits;
[0008] The target service is called for orchestration to generate a target application; the target application is used to execute a target response corresponding to the target behavior data through the target service in the target application when the target condition corresponding to the user habit is met.
[0009] In a second aspect, the present application also provides an application generation device. The device comprises:
[0010] A user habit determination module, used to determine user habits based on the user's target behavior data;
[0011] A target service determination module, used to determine a target service based on the user habits; the target service is a service required to realize the user habits;
[0012] An application generation module is used to call the target service for orchestration and generate a target application; the target application is used to execute the target response corresponding to the target behavior data through the target service in the target application when the target condition corresponding to the user habit is met.
[0013] In a third aspect, the present application further provides an electronic device. The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0014] Determine user habits based on user target behavior data;
[0015] Based on the user habits, determining a target service; the target service is a service required to realize the user habits;
[0016] The target service is called for orchestration to generate a target application; the target application is used to execute a target response corresponding to the target behavior data through the target service in the target application when the target condition corresponding to the user habit is met.
[0017] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0018] Determine user habits based on user target behavior data;
[0019] Based on the user habits, determining a target service; the target service is a service required to realize the user habits;
[0020] The target service is called for orchestration to generate a target application; the target application is used to execute a target response corresponding to the target behavior data through the target service in the target application when the target condition corresponding to the user habit is met.
[0021] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0022] Determine user habits based on user target behavior data;
[0023] Based on the user habits, determining a target service; the target service is a service required to realize the user habits;
[0024] The target service is called for orchestration to generate a target application; the target application is used to execute a target response corresponding to the target behavior data through the target service in the target application when the target condition corresponding to the user habit is met.
[0025] The above-mentioned application generation method, device, electronic device, computer-readable storage medium and computer program product determine the user habits according to the user's target behavior data, and determine the target service based on the user habits, and the target service is used to achieve the service required by the user habits; then, the target service is called for orchestration to generate a target application, and the target application is used to execute the target response corresponding to the target behavior data through the target service in the target application when the target conditions corresponding to the user habits are met. That is, the target application can be generated according to the analysis of the user behavior data, and the target application can execute the target response corresponding to the target behavior data, thereby avoiding the user opening the application to perform operations, thereby improving the processing efficiency of the target response corresponding to the target behavior data. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0027] Figure 1 A flowchart of an application generation method in one embodiment;
[0028] Figure 2 A flowchart of an application generation method in another embodiment;
[0029] Figure 3 is a structural block diagram of an application generating device in one embodiment;
[0030] Figure 4 FIG. 4 is a diagram showing the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0032] In one embodiment, Figure 1As shown, an application generation method is provided. This embodiment uses the method applied to an electronic device as an example. The electronic device can be a terminal or a server. It can be understood that the method can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. Among them, the terminal can be but not limited to various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, smart cars, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server can be implemented as an independent server or a server cluster consisting of multiple servers.
[0033] In this embodiment, the application generation method includes the following steps:
[0034] Step S102, determining user habits based on the user's target behavior data.
[0035] Among them, the target behavior data is the target behavior data generated by the user's operation of the electronic device. Exemplarily, the user's operation of the electronic device may be to sign in on an office application, and the target behavior data generated by this behavior is at least one of the sign-in time, sign-in location, sign-in account, sign-in application ID, sign-in content, and sign-in method; the user's operation of the electronic device may be to listen to music using a music application, and the target behavior data generated by this behavior is at least one of the time period for listening to music, the length of time for listening to music, the music application ID, and the music ID listened to. The collection source of the user's target behavior data is not limited here.
[0036] User habits are features that indicate that user operations have inertia. User habits can be represented by vectors. For example, if the user's daily target behavior data indicates that the user arrives at the company to sign in at 9:00 a.m. on weekdays, then the user habit can be signing in at the company at 9:00 a.m. on weekdays; if the user's daily target behavior data indicates that the user listens to music between 3 and 4 p.m. on weekends, then the user habit can be listening to music between 3 and 4 p.m. on weekends.
[0037] Optionally, the electronic device obtains the user's target behavior data from the behavior database and identifies the user's habits from the target behavior data. In the process of the user operating the electronic device, the electronic device obtains the target behavior data generated by the user's behavior and stores the target behavior data in the behavior database.
[0038] Optionally, after the electronic device obtains each target behavior data, it stores each target behavior data in a behavior database in chronological order. The target behavior data can be represented by a behavior sequence. For example, target behavior data 1: id: 1223343, time: 2023 / 09 / 01 09:00:01, source: office application, content: {"key":"Attendance check-in"};
[0039] Target behavior data 2: id:1223343, time:2023 / 09 / 02 09:15:01, source:office application, content:{“key”:“Attendance check-in”};
[0040] Target behavior data 3: id:1223343, time:2023 / 09 / 05 09:10:01, source:office application, content:{“key”:“Attendance check-in”};
[0041] Target behavior data 4: id:1223343, time:2023 / 09 / 06 08:55:01, source:office application, content:{“key”:“Attendance check-in”};
[0042] Target behavior data 5: id:1223343, time:2023 / 09 / 07 08:45:01, source:office application, content:{“key”:“Attendance check-in”};
[0043] Then, based on target behavior data 1 to target behavior data 5, the electronic device can determine the user habits: action: "Attendance check-in", time: "Workdays: 08:30-9:30", address: "Company: within 50 meters".
[0044] Optionally, the electronic device uses a user habit algorithm to identify user habits from the target behavior data. The user habit algorithm may include an inference algorithm based on preset rules, or other user habit algorithms, which are not limited here.
[0045] Step S104, determining a target service based on the user's habits; the target service is a service required to realize the user's habits.
[0046] Among them, the target service is a service required to realize the user's habit. For example, if the user's habit is to sign in at the company, the services required to realize the company's sign in are attendance punching service, time acquisition service and location acquisition service. For example, if the user's habit is to listen to music, the services required to realize the listening to music are microphone activation service and music playback service, etc.
[0047] Optionally, the electronic device determines the target service corresponding to the user habit from the correspondence between the user habit and the service. The electronic device pre-sets the correspondence between the user habit and the service.
[0048] Optionally, the electronic device analyzes the user's habits to obtain the target service required in the process of realizing the user's habits. The characteristics of the user's habits can describe the behavior data corresponding to the target service, and the target service corresponding to the behavior data can be determined from the user's habit characteristics.
[0049] Step S106, calling the target service for orchestration to generate a target application; the target application is used to execute the target response corresponding to the target behavior data through the target service in the target application when the target condition corresponding to the user habit is met.
[0050] The target application is an application for automatically executing the target response corresponding to the target behavior data. The target condition can be set as needed. Optionally, the target condition can include that the current time is in the target time period, the current geographical location is within the target geographical location range, etc.
[0051] The target response is a response to the target application executing when the target condition is met. For example, when the current geographic location of the electronic device is within 50 meters of the company's location, the current time is obtained. If the current time is between 8:30 and 9:30 on a weekday, it means that the target condition is met, and the target application executes the target response of signing in.
[0052] Optionally, the electronic device searches for the target service from the service database, calls the target service in the service database for orchestration, and generates a target application. The service database is a database for storing services (capabilities). The target service is provided by the service providing application, meets the capability specification and is registered in the application generation system. The type of capability providing application is not limited here.
[0053] Optionally, the electronic device describes each target service through an orchestration syntax to generate a target application, wherein the target application is an orchestration script file.
[0054] Optionally, when the electronic device detects that the target condition corresponding to the user habit is satisfied, the target response corresponding to the target behavior data is executed through the target service in the target application.
[0055] Optionally, the electronic device detects each object data corresponding to the target condition and determines whether each object data satisfies the corresponding target condition; if each object data satisfies the corresponding target condition, a target response corresponding to the target behavior data is executed through a target service in a target application.
[0056] The object data is the data to be detected by the target condition. For example, if the target condition is that the current moment is in the target time period, the object data corresponding to the target condition is the current moment; if the target condition is that the current geographical location is within the target geographical location range, the object data corresponding to the target condition is the current geographical location; if the target condition is a screen-on operation, the object data corresponding to the target condition is the screen status.
[0057] The above-mentioned application generation method determines the user habits according to the user's target behavior data, and determines the target service based on the user habits. The target service is a service required to realize the user habits. Then, the target service is called for orchestration to generate a target application. The target application is used to execute the target response corresponding to the target behavior data through the target service in the target application when the target conditions corresponding to the user habits are met. That is, the target application can be generated according to the analysis of the user behavior data, and the target application can execute the target response corresponding to the target behavior data, thereby avoiding the user opening the application to perform operations, thereby improving the processing efficiency of the target response corresponding to the target behavior data.
[0058] In one embodiment, before determining the user's habits based on the user's target behavior data, the method further includes: obtaining the user's candidate behavior data during the use of the electronic device; if the candidate behavior data meets the behavior specifications in the application generation system, determining the candidate behavior data as the target behavior data.
[0059] The candidate behavior data is the user's behavior data generated during the use of the electronic device. The application generation system is a system for generating a target application program, and the application generation system may include a behavior database, a service database, and an application execution engine.
[0060] It is understandable that the candidate behavior data may or may not satisfy the behavior specification in the application generation system, wherein the behavior specification may be set as required and is not limited here.
[0061] Optionally, during the use of the electronic device, candidate behavior data of the user generated by the electronic device is obtained; the candidate behavior data is matched with the behavior specifications in the application generation system; if the candidate behavior data and the behavior specifications match, the candidate behavior data is determined as the target behavior data; if the candidate behavior data does not meet the behavior specifications in the application generation system, the candidate behavior data is discarded.
[0062] Optionally, the data source type of the behavior is not constrained, and all candidate behavior data that meet the behavior specification can be used as target behavior data.
[0063] Optionally, if the candidate behavior data satisfies the behavior specifications, before determining the candidate behavior data as the target behavior data, it also includes: generating behavior definition data in response to a definition operation on the user behavior; registering the behavior definition data in the application generation system in response to a registration operation on the behavior definition data, and obtaining the behavior specifications in the application generation system.
[0064] Among them, behavior definition data is data that standardizes the definition of user behavior. There are many data sources for behavior data, such as the operating system of electronic devices and third-party applications. The behavior data that the operating system of electronic devices can obtain includes power on and off, charging, turning on wifi, etc. The behavior data that third-party applications can obtain includes ordering takeout, checking the weather, clocking in for office applications, checking emails, etc.
[0065] Optionally, the electronic device generates behavior definition data for the user behavior in response to a definition operation for the user behavior; in response to a registration operation for the behavior definition data, registers the behavior definition data to a data acquisition module of the application generation system to obtain behavior specifications in the application generation system.
[0066] It is understandable that the electronic device obtains the definition data for user behavior in advance and registers it in the data acquisition module of the application generation system. Then the data acquisition module can obtain the target behavior data that conforms to the standardized definition, standardize the method of collecting behavior data, and ensure the privacy and security of the user.
[0067] In this embodiment, the electronic device obtains candidate behavior data of the user during the use of the electronic device. If the candidate behavior data meets the behavior specifications in the application generation system, the candidate behavior data is determined as the target behavior data. The target behavior data can be obtained more accurately, avoiding using some irrelevant or erroneous behavior data as target behavior data, thereby improving the accuracy of the generated target application.
[0068] In one embodiment, after calling the target service for orchestration and generating the target application, it also includes: when the target conditions corresponding to the user habits are met, deploying the orchestration script file corresponding to the target application to the application execution engine, and calling the target service through the application execution engine to execute the target response corresponding to the target behavior data.
[0069] Among them, the application execution engine (Engine) is the core component of developing programs or systems on electronic platforms; using the application execution engine, developers can quickly build and lay out the functions required by the program, or use it to assist the operation of the program. The application execution engine is responsible for parsing and executing the target application.
[0070] Optionally, the electronic device detects each object data corresponding to the target condition and determines whether each object data satisfies the corresponding target condition; if each object data satisfies the corresponding target condition, the orchestration script file corresponding to the target application is deployed to the application execution engine, and the target service is called through the application execution engine to execute the target response corresponding to the target behavior data.
[0071] Optionally, calling the target service to execute the target response corresponding to the target behavior data through the application execution engine includes: determining the service providing application that generates the target behavior data through the application execution engine; and calling the target service to execute the target response corresponding to the target behavior data in the service providing application.
[0072] The service providing application is an application that provides the target service. For example, the clock-in service is provided by an office application, which is a service providing application; the current moment is provided by a time application, which is a service providing application.
[0073] Among them, the target services provided by the service provider application and the capabilities also have their own definition specifications, which also need to be registered in this system before they can be orchestrated and called.
[0074] Optionally, the orchestration script file is parsed by the application execution engine to determine the service providing application that generates the target behavior data, and the target service of the service providing application is called to execute a target response corresponding to the target behavior data.
[0075] Optionally, the target service of the service providing application called by the electronic device satisfies a service specification. The service specification is obtained by registering the service definition data into the application generation system in response to a registration operation for the service definition data, and the service definition data is obtained in response to a definition operation for the service.
[0076] Optionally, the electronic device obtains service definition data in response to a service definition operation; and registers the service definition data in an application generation system in response to a registration operation on the service definition data to obtain a service specification.
[0077] In this embodiment, when the target conditions corresponding to the user's habits are met, the orchestration script file corresponding to the target application is deployed to the application execution engine, and the target service is called by the application execution engine to execute the target response corresponding to the target behavior data, that is, the newly generated target application in the electronic device can automatically perform the target response, thereby improving the efficiency of the target response. Furthermore, by determining the service providing application through the application execution engine and then calling the service providing application, the target response can be executed more accurately.
[0078] In one embodiment, when the target conditions corresponding to the user habits are met, the orchestration script file corresponding to the target application is deployed to the application execution engine, including: displaying the subscription page of the target application and displaying the subscription element in the subscription page; obtaining the subscribed target application in response to the trigger operation of the subscription element; when the target conditions corresponding to the user habits are met, the orchestration script file corresponding to the subscribed target application is deployed to the application execution engine.
[0079] The subscription page of the target application is a page for subscribing to the target application. The subscription element is an element for subscribing to the target application. The subscription element can be displayed in the form of a button, a link, etc.
[0080] Optionally, the electronic device opens the target application, displays a subscription page in the target application, and displays a subscription element in the subscription page; in response to a trigger operation on the subscription element, the target application is subscribed to obtain the subscribed target application.
[0081] Optionally, if the electronic device has not subscribed to the target application, the subscription page of the target application is pushed to the screen for display, and the user is asked whether he needs to subscribe to the target application.
[0082] Optionally, if the electronic device is not subscribed to the target application, the subscription page of the target application is pushed to the screen for display under the specified conditions. The specified conditions can be set as needed, such as the electronic device is idle, the electronic device is in a specified time period, etc.
[0083] In this embodiment, the electronic device displays the subscription page of the target application and displays the subscription element in the subscription page. In response to the triggering operation of the subscription element, the subscribed target application is obtained. Then, when the target conditions corresponding to the user's habits are met, the orchestration script file corresponding to the subscribed target application is deployed to the application execution engine, which can improve the accuracy of the target application's execution target response.
[0084] In one embodiment, the method further includes: in response to a sharing operation on the target application, sending the target application to a server to instruct the server to publish the target application in an application market.
[0085] The server may be a cloud server.
[0086] Optionally, after the server publishes the target application in the application market, the server sends the target application to other devices in response to subscription operations of other devices.
[0087] It is understandable that the electronic device, in response to the sharing operation of the target application, sends the target application to the server to instruct the server to publish the target application in the application market. If other users have the same user habits, they can directly download the target application from the application market for use, thereby realizing the sharing of the target application.
[0088] Exemplarily, a user generates a target application based on the user habit of signing in at work, and the electronic device sends the target application to the server to instruct the server to publish the target application in the application market. Then, the user's colleagues can directly download the target application from the application market to sign in at work.
[0089] In one embodiment, Figure 2As shown, the electronic device executes step (1) to obtain target behavior data that meets the behavior specification from the behavior data provider, and the behavior specification is obtained by pre-defining the behavior; executes step (2) to store the target behavior data in the behavior database; executes step (3) to obtain the target behavior data from the behavior database for habit mining to determine the user habits; executes steps (4) and (5) to determine the target service from the service database based on the user habits, and to perform service orchestration on the target service to generate a target application; executes step (6) to perform local application management on the target application, that is, to manage the target application local to the electronic device, and the target application can be stored in the application database; executes step (7) to deploy the orchestration script file corresponding to the target application to the application execution engine when the target condition corresponding to the user habit is met; executes step (8) to call the target service from the service provider application through the application execution engine to execute the target response corresponding to the target behavior data; executes step (9) to perform cloud application management on the target application, that is, to send the target application to the server to instruct the server to publish the target application in the application market; electronic devices of other users can execute step (10) to download the target application from the application market.
[0090] In one embodiment, another application generation method is provided, which is applied to an electronic device, and the application generation method includes the following steps:
[0091] Step A1, in response to a definition operation of a user behavior, generating behavior definition data; in response to a registration operation for the behavior definition data, registering the behavior definition data into an application generation system, and obtaining a behavior specification in the application generation system.
[0092] Step A2, during the use of the electronic device, obtaining candidate behavior data of the user; if the candidate behavior data meets the behavior specification in the application generation system, determining the candidate behavior data as target behavior data.
[0093] Step A3, determine the user habits according to the user's target behavior data; determine the target service based on the user habits; the target service is the service required to realize the user habits; call the target service for orchestration and generate the target application.
[0094] Step A4, display the subscription page of the target application and display the subscription element in the subscription page; in response to the trigger operation of the subscription element, obtain the subscribed target application; when the target conditions corresponding to the user's habits are met, deploy the orchestration script file corresponding to the subscribed target application to the application execution engine.
[0095] Step A5, determining the service providing application that generates the target behavior data through the application execution engine; in the service providing application, calling the target service to execute the target response corresponding to the target behavior data.
[0096] Step A6, in response to the sharing operation on the target application, the target application is sent to the server to instruct the server to publish the target application in the application market.
[0097] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0098] Based on the same inventive concept, the embodiment of the present application also provides an application generation device for implementing the above-mentioned application generation method. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above-mentioned method, so the specific limitations in one or more application generation device embodiments provided below can refer to the limitations on the application generation method above, and will not be repeated here.
[0099] In one embodiment, Figure 3 As shown, an application generation device is provided, including: a user habit determination module 302, a target service determination module 304 and an application generation module 306, wherein:
[0100] The user habit determination module 302 is used to determine the user habit according to the user's target behavior data.
[0101] The target service determination module 304 is used to determine the target service based on the user's habits; the target service is a service required to achieve the user's habits.
[0102] The application generation module 306 is used to call the target service for orchestration and generate a target application; the target application is used to execute the target response corresponding to the target behavior data through the target service in the target application when the target condition corresponding to the user habit is met.
[0103] The above-mentioned application generation device determines the user habits according to the user's target behavior data, and determines the target service based on the user habits. The target service is a service required to realize the user habits. Then, the target service is called for orchestration to generate a target application. The target application is used to execute the target response corresponding to the target behavior data through the target service in the target application when the target conditions corresponding to the user habits are met. That is, the target application can be generated according to the analysis of the user behavior data, and the target application can execute the target response corresponding to the target behavior data, thereby avoiding the user opening the application to perform operations, thereby improving the processing efficiency of the target response corresponding to the target behavior data.
[0104] In one embodiment, the above-mentioned device also includes a target behavior data determination module, which is used to obtain candidate behavior data of the user during the use of the electronic device; if the candidate behavior data meets the behavior specifications in the application generation system, the candidate behavior data is determined as the target behavior data.
[0105] In one embodiment, the above-mentioned device also includes a behavior specification determination module, which is used to generate behavior definition data in response to a definition operation of user behavior; in response to a registration operation on the behavior definition data, the behavior definition data is registered in the application generation system to obtain the behavior specification in the application generation system.
[0106] In one embodiment, the above-mentioned device also includes a target response execution module; the target response execution module is used to deploy the orchestration script file corresponding to the target application to the application execution engine when the target conditions corresponding to the user habits are met, and call the target service through the application execution engine to execute the target response corresponding to the target behavior data.
[0107] In one embodiment, the above-mentioned device also includes a display module; the display module is used to display the subscription page of the target application and display the subscription element in the subscription page; the above-mentioned target response execution module is also used to respond to the trigger operation of the subscription element to obtain the subscribed target application; when the target conditions corresponding to the user's habits are met, the orchestration script file corresponding to the subscribed target application is deployed to the application execution engine.
[0108] In one embodiment, the target response execution module is further used to determine the service providing application that generates the target behavior data through the application execution engine; in the service providing application, the target service is called to execute the target response corresponding to the target behavior data.
[0109] In one embodiment, the above-mentioned device further includes a sharing module; the sharing module is used to send the target application to the server in response to a sharing operation on the target application, so as to instruct the server to publish the target application in the application market.
[0110] Each module in the above application generation device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in an electronic device in the form of hardware, or can be stored in a memory in an electronic device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0111] In one embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as follows: Figure 4 As shown. The electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and an external device. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, an application generation method is implemented. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the electronic device casing, or an external keyboard, touchpad or mouse.
[0112] Those skilled in the art will understand that Figure 4 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0113] The embodiment of the present application also provides a computer-readable storage medium, one or more non-volatile computer-readable storage media containing computer-executable instructions, which, when executed by one or more processors, enable the processors to perform the steps of the application generation method.
[0114] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the application generation method.
[0115] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0116] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0117] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0118] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. An application generation method, characterized in that: include: Determine user habits based on user target behavior data; Determining target services based on the user habits; The target service is a service required to realize the user's habit; Calling the target service for orchestration to generate a target application; The target application is used to execute the target response corresponding to the target behavior data through the target service in the target application when the target condition corresponding to the user habit is met.
2. The method according to claim 1, characterized in that: Before determining the user habits according to the user's target behavior data, the method further includes: Acquiring candidate behavior data of the user during use of the electronic device; If the candidate behavior data meets the behavior specification in the application generation system, the candidate behavior data is determined as the target behavior data.
3. The method according to claim 2, characterized in that If the candidate behavior data meets the behavior specification, before determining the candidate behavior data as the target behavior data, the method further includes: In response to a definition operation of a user behavior, generating behavior definition data; In response to a registration operation on the behavior definition data, the behavior definition data is registered in an application generation system to obtain a behavior specification in the application generation system.
4. The method according to claim 1, characterized in that: After calling the target service to perform orchestration and generating the target application, the process further includes: When the target condition corresponding to the user habit is met, the orchestration script file corresponding to the target application is deployed to the application execution engine, and the target service is called by the application execution engine to execute the target response corresponding to the target behavior data.
5. The method according to claim 4, characterized in that When the target condition corresponding to the user habit is met, deploying the orchestration script file corresponding to the target application to the application execution engine includes: Displaying a subscription page of the target application and displaying a subscription element in the subscription page; In response to a trigger operation on the subscription element, obtaining a subscribed target application; When the target condition corresponding to the user habit is met, the orchestration script file corresponding to the subscribed target application is deployed to the application execution engine.
6. The method according to claim 4, characterized in that The step of calling the target service by the application execution engine to execute a target response corresponding to the target behavior data includes: Determining, by the application execution engine, a service providing application program that generates the target behavior data; In the service providing application, the target service is called to execute a target response corresponding to the target behavior data.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: In response to the sharing operation on the target application, the target application is sent to a server to instruct the server to publish the target application in an application market.
8. An application generating device, characterized in that: include: A user habit determination module, used to determine user habits based on the user's target behavior data; A target service determination module, used to determine a target service based on the user habits; The target service is a service required to realize the user's habit; An application generation module is used to call the target service for orchestration and generate a target application; the target application is used to execute the target response corresponding to the target behavior data through the target service in the target application when the target condition corresponding to the user habit is met.
9. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the computer program is executed by the processor, the processor is caused to perform the steps of the application generation method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.