Interface generation method and device, equipment and storage medium thereof
Through the combination of interface automation generation programs and preset assembly information, semi-static and supplementary processing are generated into dynamic operation activity interfaces, solving the problems of complexity and high maintenance costs of operation systems in the existing technology, and achieving efficient interface generation and automation processing.
Patent Information
- Application Number
- CN202411907568.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-04-18
AI Technical Summary
The prior art increases the complexity and maintenance costs of the operation system in operation activities, and is not conducive to the automated generation of interfaces for different operation activities.
By receiving the interface to generate instructions, triggering the interface to automatically generate programs, accessing preset assembly information, generating semi-static operation activity interface, and adding processing through dynamic interaction and execution logical relationships to generate dynamic operation activity target interface.
Automatic interface generation is realized, reducing the complexity and maintenance costs of the operation system, and improving the interface generation efficiency for different operational activities.
Smart Images

Figure CN119847520A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of R&D and design technology, and is applied to interface template assembly scenarios, and in particular to an interface generation method, device, equipment and storage medium thereof. Background Art
[0002] The Internet has a huge user base. In order to increase the popularity of services and improve user stickiness, online operations are a common promotional behavior. Through online promotional activities, we can interact with customers well and provide customers with more accurate personalized services. Integrating the redemption of points, phone bills or goods after clocking in can motivate customers to participate in the long term, increase the exposure of related products, and thus improve customer conversion rates.
[0003] In actual operational activities, due to the rapid changes in the market, business scenarios will also become complex and changeable, which brings certain difficulties to the transformation of operational activities and requires a lot of manpower to develop and update system functions. At present, in order to reduce a certain amount of workload, new page element attribute fields are added to achieve specific content configuration for the display of different activities. However, this will increase the complexity and maintenance cost of the operating system, and is not conducive to the automatic generation of activity interfaces for different operational activities. Summary of the invention
[0004] The purpose of the embodiments of the present application is to propose an interface generation method, device, equipment and storage medium thereof to solve the problem that the existing processing method will increase the complexity and maintenance cost of the operation system and is not conducive to the automatic generation of activity interfaces for different operation activities.
[0005] In order to solve the above technical problems, the embodiment of the present application provides an interface generation method, which adopts the following technical solution:
[0006] A method for generating an interface comprises the following steps:
[0007] Receive interface generation instructions;
[0008] Based on the interface generation instruction, trigger the operation interface automatic generation program;
[0009] Accessing preset assembly information through the interface automatic generation program, wherein the assembly information includes task configuration information, activity configuration information, task and activity association configuration information, reward configuration information, and task and reward association configuration information;
[0010] Generate a semi-static operation activity interface according to the assembly information;
[0011] Obtaining the dynamic interaction relationships and execution logic relationships involved in the operation activities;
[0012] The semi-static operation activity interface is supplemented and processed through the dynamic interaction relationship and the execution logic relationship to generate a dynamic operation activity target interface.
[0013] Furthermore, after executing the step of automatically generating a program through the interface and accessing preset assembly information, the method further includes:
[0014] According to a preset recording component, recording the interface assembly templates and template grabbing addresses respectively corresponding to the task configuration information, activity configuration information, task and activity association configuration information, reward configuration information, and task and reward association configuration information in the assembly information;
[0015] Displaying the interface assembly template on a preset assembly selection interface;
[0016] Based on the user-defined assembly selection document, a target assembly template for the operation activity interface is screened out from the assembly selection interface;
[0017] Differentiate and record the template fetch addresses of all target assembly templates.
[0018] Furthermore, before executing the step of generating a semi-static operation activity interface according to the assembly information, the method further includes:
[0019] According to the template grabbing addresses of the difference records, all target assembly templates are obtained;
[0020] Initialize the states of all target assembly templates to be unassembled, and count the number of assemblies corresponding to all target assembly templates as the assembly number threshold;
[0021] According to the size of the operation activity interface, all target assembly templates that need to be resized are determined;
[0022] Add distinguishing marks to all target assembly templates that need to be resized.
[0023] Furthermore, the step of generating a semi-static operation activity interface according to the assembly information specifically includes:
[0024] According to the assembly information, all target assembly templates in an unassembled state are assembled to the target positions of the operation activity interface in sequence;
[0025] Until the status of all target assembly templates is set to the assembly completion status, the semi-static operation activity interface is obtained.
[0026] Furthermore, the step of sequentially assembling all target assembly templates in an unassembled state to target positions of the operation activity interface according to the assembly information includes:
[0027] Identify whether a distinguishing mark is added to the target assembly template currently being assembled;
[0028] If the target assembly template currently being assembled has not been marked with a distinguishing mark, assembling the next target assembly template according to the first assembly time interval;
[0029] If a distinguishing mark is added to the target assembly template currently being assembled, the next target assembly template is assembled according to the second assembly time interval, wherein the first assembly time interval is smaller than the second assembly time interval.
[0030] Furthermore, the step of sequentially assembling all target assembly templates in an unassembled state to target positions of the operation activity interface according to the assembly information further includes:
[0031] When the target assembly template currently being assembled is completed, the number of assembly times of the target assembly template is accumulated by one, and the total number of times the target assembly template is assembled is identified;
[0032] If the total number of times reaches the assembly number threshold of the target assembly template, the state of the target assembly template is set to an assembly completed state;
[0033] If the total number of times does not reach the assembly number threshold of the target assembly template, continue to assemble the next target assembly template.
[0034] Furthermore, the supplementary processing includes page animation supplementary processing and jump interactive supplementary processing, and the step of supplementing the semi-static operation activity interface through the dynamic interactive relationship and the execution logical relationship to generate a dynamic operation activity target interface specifically includes:
[0035] According to the dynamic interaction relationship, the semi-static operation activity interface is supplemented with page animation, wherein the dynamic interaction relationship includes the animation change relationship of graphics and text in the interface;
[0036] According to the execution logic relationship, the semi-static operation activity interface is supplemented with jump interactivity, wherein the execution logic relationship includes the jump interaction relationship of buttons in the interface.
[0037] In order to solve the above technical problems, the embodiment of the present application also provides an interface generation device, which adopts the following technical solution:
[0038] An interface generation device, comprising:
[0039] An instruction receiving module, used for receiving an interface generation instruction;
[0040] A triggering and running module, used for triggering and running an interface automatic generation program based on the interface generation instruction;
[0041] An assembly information access module, used to automatically generate a program through the interface to access preset assembly information, wherein the assembly information includes task configuration information, activity configuration information, task and activity association configuration information, reward configuration information, and task and reward association configuration information;
[0042] A first generating module, used to generate a semi-static operation activity interface according to the assembly information;
[0043] A dynamic information acquisition module, used to acquire the dynamic interaction relationship and execution logic relationship involved in the operation activity;
[0044] The second generating module is used to supplement the semi-static operation activity interface through the dynamic interaction relationship and the execution logic relationship to generate a dynamic operation activity target interface.
[0045] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:
[0046] A computer device includes a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the above-mentioned interface generation method when executing the computer-readable instructions.
[0047] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:
[0048] A computer-readable storage medium stores computer-readable instructions, which, when executed by a processor, implement the steps of the interface generation method as described above.
[0049] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0050] The interface generation method described in the embodiment of the present application receives an interface generation instruction; based on the interface generation instruction, triggers the operation interface automation generation program; through the interface automation generation program, accesses the preset assembly information; generates a semi-static operation activity interface according to the assembly information; obtains the dynamic interaction relationship and execution logic relationship involved in the operation activity; supplements the semi-static operation activity interface through the dynamic interaction relationship and the execution logic relationship to generate a dynamic operation activity target interface. The interface generation is automated, and the interface generation method described in this embodiment is applied to hospital insurance service planners for hospital insurance or hospital health care operation activities, avoiding the frequent dispatch of personnel to the hospital by the online operator of health care services due to the online generation of operation activities, thereby saving service costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0052] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;
[0053] Figure 2 is a flow chart of an embodiment of the interface generation method according to the present application;
[0054] Figure 3 It is a flowchart of a specific embodiment of obtaining information from a target assembly template in the interface generation method described in the present application;
[0055] Figure 4 It is a flowchart of a specific embodiment of preprocessing a target assembly template in the interface generation method described in the present application;
[0056] Figure 5 yes Figure 2 A flowchart of a specific embodiment of step 204 is shown;
[0057] Figure 6 yes Figure 5 A flowchart of a specific embodiment of reasonably converting the assembly time interval in step 501 is shown;
[0058] Figure 7 yes Figure 5 A flowchart of a specific embodiment of updating the assembly state of the target assembly template in step 501 is shown;
[0059] Figure 8 is a structural schematic diagram of an embodiment of an interface generating device according to the present application;
[0060] Fig. 9 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION
[0061] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0062] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0063] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0064] like Figure 1 As shown, the system architecture 100 may include a terminal device 101, a network 102 and a server 103. The terminal device 101 may be a laptop 1011, a tablet computer 1012 or a mobile phone 1013. The network 102 is used to provide a medium for a communication link between the terminal device 101 and the server 103. The network 102 may include various connection types, such as wired, wireless communication links or optical fiber cables.
[0065] The user can use the terminal device 101 to interact with the server 103 through the network 102 to receive or send messages, etc. Various communication client applications can be installed on the terminal device 101, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0066] The terminal device 101 can be any electronic device with a display screen and supporting web browsing. In addition to a laptop computer 1011, a tablet computer 1012 or a mobile phone 1013, the terminal device 101 can also be an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV), a laptop computer, a desktop computer, etc.
[0067] The server 103 may be a server that provides various services, such as a background server that provides support for a web page displayed on the terminal device 101 .
[0068] It should be noted that the interface generation method provided in the embodiment of the present application is generally executed by a server, and accordingly, the interface generation device is generally arranged in the server.
[0069] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.
[0070] Continue to refer Figure 2 , shows a flow chart of an embodiment of an interface generation method according to the present application. The interface generation method comprises the following steps:
[0071] Step 201, receiving an interface generation instruction.
[0072] In this embodiment, the interface generation instruction is an interface generation instruction issued by hospital insurance service planners for hospital insurance or hospital health care operation activities, such as: health insurance preferential operation activities, elderly health care preferential activities, infant health care preferential activities.
[0073] Step 202: triggering the automatic interface generation program based on the interface generation instruction.
[0074] In this embodiment, the interface automatic generation program is run through the instruction trigger mode, which avoids manual step-by-step interface generation, is more automated and intelligent, and saves manpower consumption to a certain extent. This method is applied to hospital insurance service planners for hospital insurance or hospital health care operation activities, avoiding the health care service provider from frequently dispatching personnel to the hospital due to the needs of operation activities, saving the cost of frequent manpower transportation.
[0075] Step 203, accessing preset assembly information through the interface automatic generation program, wherein the assembly information includes task configuration information, activity configuration information, task and activity association configuration information, reward configuration information, and task and reward association configuration information.
[0076] In this embodiment, the preset assembly information can be understood as a pre-arranged assembly template library with a wide range of styles and types used in multiple operation activities, which includes task configuration information, activity configuration information, task and activity association configuration information, reward configuration information, and task and reward association configuration information. Specifically, for example, the task configuration information includes specific task information, and the specific task information includes task template, task serial number, and the number of conditions for task completion; for example, the task template indicates that the current task is performed by signing in, punching in, etc., and the corresponding interface templates are respectively used. For example, if you sign in, then when you complete the task, you will use the template of the sign-in type to realize the flow of task status; the serial number of the task indicates how many tasks need to be completed to complete the entire activity in order to participate in the current activity; the number of conditions for task completion, for example, is set to 5, and the task template is sign-in, then it means that it takes 5 days to sign in to complete this task. Similarly, the activity configuration information, the task and activity association configuration information, the reward configuration information, and the task and reward association configuration information also include corresponding information content and templates required to realize the operation of the operation activity in the interface.
[0077] In this embodiment, the preset assembly information is accessed through the interface automatic generation program to clearly generate the interface generation template required for the target operation activity, so as to facilitate the subsequent generation of the target operation activity.
[0078] Step 204: Generate a semi-static operation activity interface according to the assembly information.
[0079] Specifically, a semi-static operation activity interface is generated based on the task configuration information, activity configuration information, task and activity association configuration information, reward configuration information, and the corresponding information content contained in the task and reward association configuration information, and the template required to implement the operation of the operation activity on the interface, wherein the semi-static refers to the combination of the task and activity association configuration information, and the combination of the task and reward association configuration information.
[0080] Step 205: Acquire the dynamic interaction relationship and execution logic relationship involved in the operation activity.
[0081] In this embodiment, the dynamic interaction relationship includes the animation change relationship of graphics and text in the interface, and the execution logic relationship includes the jump interaction relationship of buttons and the jump interaction relationship of links in the interface.
[0082] By acquiring the dynamic interaction relationship and execution logic relationship involved in the operation activity, the generation of the subsequent dynamic operation activity interface is realized.
[0083] Step 206: supplement the semi-static operation activity interface through the dynamic interaction relationship and the execution logic relationship to generate a dynamic operation activity target interface.
[0084] The interface generation method described in this embodiment is applied to hospital insurance service planners for hospital insurance or hospital health care operation activities, which avoids the health care service provider from frequently dispatching personnel to the hospital due to the needs of operation activities, saving the cost of frequent manpower transportation. By first combining the interface template corresponding to the configuration information to generate a semi-static interface, and then combining the dynamic interaction relationship and the execution logic relationship, the semi-static operation activity interface is supplemented to generate a dynamic operation activity target interface. The automatic interface generation is realized, which saves manpower and material resources and makes the automatic interface generation more lightweight.
[0085] In this embodiment, by receiving an interface generation instruction; based on the interface generation instruction, triggering the operation interface automatic generation program; accessing the preset assembly information through the interface automatic generation program; generating a semi-static operation activity interface according to the assembly information; obtaining the dynamic interaction relationship and execution logic relationship involved in the operation activity; supplementing the semi-static operation activity interface through the dynamic interaction relationship and the execution logic relationship to generate a dynamic operation activity target interface. The automatic interface generation is realized, and the interface generation method described in this embodiment is applied to hospital insurance service planners for hospital insurance or hospital health care operation activities, avoiding the frequent dispatch of personnel to the hospital by the online operator of health care services due to the online generation of operation activities, thereby saving service costs.
[0086] Continue to refer Figure 3 In some optional implementations, after step 203, a step of obtaining target assembly template information is also included. Figure 3 This is a flowchart of a specific embodiment of obtaining information from a target assembly template in the interface generation method described in the present application, comprising the following steps:
[0087] Step 301, recording the interface assembly templates and template grabbing addresses respectively corresponding to the task configuration information, activity configuration information, task and activity association configuration information, reward configuration information, and task and reward association configuration information in the assembly information according to a preset recording component;
[0088] Step 302, displaying the interface assembly template on a preset assembly selection interface;
[0089] Step 303, based on the user-defined assembly selection document, filter out a target assembly template for the operation activity interface from the assembly selection interface;
[0090] Step 304: Differentiate and record the template capture addresses of all target assembly templates.
[0091] By screening and distinguishing the records, the target assembly template of the operation activity interface and the template grabbing addresses of all target assembly templates are determined, so that the subsequent interface automatic generation program can automatically generate the operation activity interface.
[0092] Continue to refer Figure 4 In some optional implementations, a step of preprocessing the target assembly template is also included before step 204. Figure 4 It is a flowchart of a specific embodiment of preprocessing the target assembly template in the interface generation method described in the present application, comprising the following steps:
[0093] Step 401, obtaining all target assembly templates according to the template grabbing addresses of the difference records;
[0094] Step 402, initializing the states of all target assembly templates to an unassembled state, and counting the number of assemblies corresponding to all target assembly templates as an assembly number threshold;
[0095] Step 403, determining all target assembly templates that need to be resized according to the size of the operation activity interface;
[0096] Step 404: Add distinguishing marks to all target assembly templates that need to be resized.
[0097] By preprocessing the target assembly templates, including initializing the status of all target assembly templates to an unassembled state, counting the number of assemblies corresponding to all target assembly templates as the assembly number threshold, and adding distinguishing marks to all target assembly templates that need to be resized, the preprocessing results can be combined to automatically generate the operation activity interface.
[0098] Continue to refer Figure 5 , Figure 5 yes Figure 2 The flowchart of a specific embodiment of step 204 shown includes the following steps:
[0099] Step 501, according to the assembly information, assemble all target assembly templates in an unassembled state to the target positions of the operation activity interface in sequence;
[0100] Step 502 : until the status of all target assembly templates is set to the assembly completed status, the semi-static operation activity interface is obtained.
[0101] Continue to refer Figure 6 , Figure 6 yes Figure 5 The flowchart of a specific embodiment of reasonably converting the assembly time interval in step 501 includes the following steps:
[0102] Step 601, identifying whether a distinguishing mark is added to the target assembly template currently being assembled;
[0103] Step 602, if the target assembly template currently being assembled has not been marked with a distinguishing mark, assembling the next target assembly template according to the first assembly time interval;
[0104] Step 603: if the target assembly template currently being assembled is added with a distinguishing mark, assemble the next target assembly template according to a second assembly time interval, wherein the first assembly time interval is smaller than the second assembly time interval.
[0105] Specifically, by identifying whether a distinguishing mark is added to the target assembly template currently being assembled, if a distinguishing mark is added, it indicates that a size change process is required during assembly. Therefore, the next target assembly template is assembled according to the second assembly time interval; if a distinguishing mark is not added, it indicates that a size change process is not required during assembly. Then, the next target assembly template is assembled according to a first time interval shorter than the second time interval. This is more scientific and reasonable, and also avoids multiple assembly templates that require size changes continuously from being piled up on the assembly interface due to assembly time issues, thereby ensuring the stability of the interface automatic generation program.
[0106] Continue to refer Figure 7 , Figure 7 yes Figure 5 The flowchart of a specific embodiment of updating the assembly state of the target assembly template in step 501 includes the following steps:
[0107] Step 701, when the target assembly template currently being assembled is completed, the number of assembly times of the target assembly template is accumulated by one, and the total number of times the target assembly template is assembled is identified;
[0108] Step 702, if the total number of times reaches the assembly number threshold of the target assembly template, the state of the target assembly template is set to an assembly completed state;
[0109] Step 703: If the total number of times does not reach the assembly number threshold of the target assembly template, continue to assemble the next target assembly template.
[0110] Specifically, by identifying the total number of times the target assembly template is assembled and combining it with its corresponding assembly number threshold, if the total number reaches the corresponding assembly number threshold, it means that there is no need to use the target assembly template in the future. Therefore, its state is set to the assembly completed state, which is convenient for distinguishing it from the assembly template that is not assembled, which is convenient for calling during actual assembly, avoiding erroneous calling and ensuring assembly efficiency.
[0111] In this embodiment, the supplementary processing includes page animation supplementary processing and jump interactive supplementary processing. The step of supplementing the semi-static operation activity interface through the dynamic interactive relationship and the execution logical relationship to generate a dynamic operation activity target interface specifically includes: performing page animation supplementary processing on the semi-static operation activity interface according to the dynamic interactive relationship, wherein the dynamic interactive relationship includes the animation change relationship of graphics and text in the interface; performing jump interactive supplementary processing on the semi-static operation activity interface according to the execution logical relationship, wherein the execution logical relationship includes the jump interactive relationship of buttons in the interface.
[0112] By combining the dynamic interactive relationship and the execution logical relationship, that is, by combining the animation change relationship of graphics and text in the interface, the jump interactive relationship of buttons in the interface, and the link interactive relationship, the semi-static operation activity interface is supplemented with page animation and jump interactive processing to generate a dynamic operation activity target interface.
[0113] The present application receives an interface generation instruction; based on the interface generation instruction, triggers the operation interface automatic generation program; through the interface automatic generation program, accesses the preset assembly information; generates a semi-static operation activity interface according to the assembly information; obtains the dynamic interaction relationship and execution logic relationship involved in the operation activity; through the dynamic interaction relationship and the execution logic relationship, the semi-static operation activity interface is supplemented and processed to generate a dynamic operation activity target interface. The interface generation is realized automatically, and the interface generation method described in this embodiment is applied to hospital insurance service planners for hospital insurance or hospital health care operation activities, avoiding the frequent dispatch of personnel to the hospital due to the online generation of operation activities by the health care service online operator, saving service costs, and at the same time, combining the reasonable conversion of the assembly time interval, which is more scientific and reasonable, and also avoids multiple assembly templates that need to change size continuously, which are piled up on the assembly interface due to assembly time problems, ensuring the stability of the interface automatic generation program; and timely updating the assembly status of the target assembly template, which is convenient for distinguishing from the assembly template that has not been assembled, that is, convenient for the actual assembly call, avoiding the wrong call, and ensuring the assembly efficiency.
[0114] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0115] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0116] In an embodiment of the present application, an interface generation instruction is received; based on the interface generation instruction, an interface automation generation program is triggered; through the interface automation generation program, preset assembly information is accessed; a semi-static operation activity interface is generated according to the assembly information; the dynamic interaction relationship and execution logic relationship involved in the operation activity are obtained; and through the dynamic interaction relationship and the execution logic relationship, the semi-static operation activity interface is supplemented and processed to generate a dynamic operation activity target interface. The interface generation is automated, and the interface generation method described in this embodiment is applied to hospital insurance service planners for hospital insurance or hospital health care operation activities, which avoids the frequent dispatch of personnel to the hospital by the online operator of the health care service due to the online generation of operation activities, thereby saving service costs. At the same time, it is combined with a reasonable conversion of the assembly time interval, which is more scientific and reasonable, and also avoids multiple assembly templates that need to change size continuously from piling up on the assembly interface due to assembly time issues, thereby ensuring the stability of the interface automatic generation program; and timely updating the assembly status of the target assembly template to facilitate the distinction from the unassembled assembly template, which is convenient for the actual assembly call, avoids the wrong call, and ensures the assembly efficiency.
[0117] Further references Figure 8 , as a response to the above Figure 2 In order to realize the method shown in the figure, the present application provides an embodiment of an interface generation device, and the device embodiment is Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0118] like Figure 8 As shown, the interface generation device 800 described in this embodiment includes: an instruction receiving module 801, a triggering operation module 802, an assembly information access module 803, a first generation module 804, a dynamic information acquisition module 805, and a second generation module 806. Among them:
[0119] The instruction receiving module 801 is used to receive the interface generation instruction;
[0120] A triggering and running module 802 is used to trigger and run an automatic interface generation program based on the interface generation instruction;
[0121] The assembly information access module 803 is used to automatically generate a program through the interface to access the preset assembly information, wherein the assembly information includes task configuration information, activity configuration information, task and activity association configuration information, reward configuration information, and task and reward association configuration information;
[0122] A first generating module 804 is used to generate a semi-static operation activity interface according to the assembly information;
[0123] Dynamic information acquisition module 805, used to acquire dynamic interaction relationships and execution logic relationships involved in the operation activities;
[0124] The second generating module 806 is used to supplement the semi-static operation activity interface through the dynamic interaction relationship and the execution logic relationship to generate a dynamic operation activity target interface.
[0125] The present application receives an interface generation instruction; based on the interface generation instruction, triggers the operation interface automatic generation program; through the interface automatic generation program, accesses the preset assembly information; generates a semi-static operation activity interface according to the assembly information; obtains the dynamic interaction relationship and execution logic relationship involved in the operation activity; through the dynamic interaction relationship and the execution logic relationship, the semi-static operation activity interface is supplemented and processed to generate a dynamic operation activity target interface. The interface generation is realized automatically, and the interface generation method described in this embodiment is applied to hospital insurance service planners for hospital insurance or hospital health care operation activities, avoiding the frequent dispatch of personnel to the hospital due to the online generation of operation activities by the health care service online operator, saving service costs, and at the same time, combining the reasonable conversion of the assembly time interval, which is more scientific and reasonable, and also avoids multiple assembly templates that need to change size continuously, which are piled up on the assembly interface due to assembly time problems, ensuring the stability of the interface automatic generation program; and timely updating the assembly status of the target assembly template, which is convenient for distinguishing from the assembly template that has not been assembled, that is, convenient for the actual assembly call, avoiding the wrong call, and ensuring the assembly efficiency.
[0126] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0127] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0128] To solve the above technical problems, the present application also provides a computer device. Fig. 9 , Fig. 9 This is a basic structural block diagram of the computer device in this embodiment.
[0129] The computer device 9 includes a memory 9a, a processor 9b, and a network interface 9c which are interconnected through a system bus. It should be noted that: Fig. 9 Only a computer device 9 having a component memory 9a, a processor 9b, and a network interface 9c is shown, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to a microprocessor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital processor (DSP), an embedded device, etc.
[0130] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.
[0131] The memory 9a includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 9a can be an internal storage unit of the computer device 9, such as a hard disk or memory of the computer device 9. In other embodiments, the memory 9a can also be an external storage device of the computer device 9, such as a plug-in hard disk equipped on the computer device 9, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. Of course, the memory 9a can also include both the internal storage unit of the computer device 9 and its external storage device. In this embodiment, the memory 9a is generally used to store the operating system and various application software installed on the computer device 9, such as a computer-readable instruction of an interface generation method, etc. In addition, the memory 9a can also be used to temporarily store various types of data that have been output or are to be output.
[0132] The processor 9b may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 9b is generally used to control the overall operation of the computer device 9. In this embodiment, the processor 9b is used to run the computer-readable instructions stored in the memory 9a or process data, such as computer-readable instructions for running the interface generation method.
[0133] The network interface 9c may include a wireless network interface or a wired network interface. The network interface 9c is generally used to establish a communication connection between the computer device 9 and other electronic devices.
[0134] The computer device proposed in this embodiment belongs to the field of research and development design technology and is applied to interface template assembly scenarios. This application receives an interface generation instruction; based on the interface generation instruction, triggers the operation interface automation generation program; accesses the preset assembly information through the interface automation generation program; generates a semi-static operation activity interface according to the assembly information; obtains the dynamic interaction relationship and execution logic relationship involved in the operation activity; supplements the semi-static operation activity interface through the dynamic interaction relationship and the execution logic relationship to generate a dynamic operation activity target interface. The interface generation is automated, and the interface generation method described in this embodiment is applied to hospital insurance service planners for hospital insurance or hospital health care operation activities, which avoids the frequent dispatch of personnel to the hospital by the online operator of the health care service due to the online generation of operation activities, thereby saving service costs. At the same time, it is combined with a reasonable conversion of the assembly time interval, which is more scientific and reasonable, and also avoids multiple assembly templates that need to change size continuously from piling up on the assembly interface due to assembly time issues, thereby ensuring the stability of the interface automatic generation program; and timely updating the assembly status of the target assembly template to facilitate the distinction from the unassembled assembly template, which is convenient for the actual assembly call, avoids the wrong call, and ensures the assembly efficiency.
[0135] The present application also provides another implementation, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by a processor to enable the processor to perform the steps of the interface generation method as described above.
[0136] The computer-readable storage medium proposed in this embodiment belongs to the field of research and development design technology and is applied to interface template assembly scenarios. This application receives an interface generation instruction; based on the interface generation instruction, triggers the operation interface automation generation program; accesses the preset assembly information through the interface automation generation program; generates a semi-static operation activity interface according to the assembly information; obtains the dynamic interaction relationship and execution logic relationship involved in the operation activity; supplements the semi-static operation activity interface through the dynamic interaction relationship and the execution logic relationship to generate a dynamic operation activity target interface. The interface generation is automated, and the interface generation method described in this embodiment is applied to hospital insurance service planners for hospital insurance or hospital health care operation activities, which avoids the frequent dispatch of personnel to the hospital by the online operator of the health care service due to the online generation of operation activities, thereby saving service costs. At the same time, it is combined with a reasonable conversion of the assembly time interval, which is more scientific and reasonable, and also avoids multiple assembly templates that need to change size continuously from piling up on the assembly interface due to assembly time issues, thereby ensuring the stability of the interface automatic generation program; and timely updating the assembly status of the target assembly template to facilitate the distinction from the unassembled assembly template, which is convenient for the actual assembly call, avoids the wrong call, and ensures the assembly efficiency.
[0137] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0138] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.
Claims
1. A method for generating an interface, characterized in that: The steps include: Receive interface generation instructions; Based on the interface generation instruction, trigger the operation interface automatic generation program; Accessing preset assembly information through the interface automatic generation program, wherein the assembly information includes task configuration information, activity configuration information, task and activity association configuration information, reward configuration information, and task and reward association configuration information; Generate a semi-static operation activity interface according to the assembly information; Obtaining the dynamic interaction relationships and execution logic relationships involved in the operation activities; The semi-static operation activity interface is supplemented and processed through the dynamic interaction relationship and the execution logic relationship to generate a dynamic operation activity target interface.
2. The interface generation method according to claim 1, characterized in that: After executing the step of automatically generating a program through the interface and accessing preset assembly information, the method further includes: According to a preset recording component, recording the interface assembly templates and template grabbing addresses respectively corresponding to the task configuration information, activity configuration information, task and activity association configuration information, reward configuration information, and task and reward association configuration information in the assembly information; Displaying the interface assembly template on a preset assembly selection interface; Based on the user-defined assembly selection document, a target assembly template for the operation activity interface is screened out from the assembly selection interface; Differentiate and record the template fetch addresses of all target assembly templates.
3. The interface generation method according to claim 1 or 2, characterized in that: Before executing the step of generating a semi-static operation activity interface according to the assembly information, the method further includes: According to the template grabbing addresses of the difference records, all target assembly templates are obtained; Initialize the states of all target assembly templates to be unassembled, and count the number of assemblies corresponding to all target assembly templates as the assembly number threshold; According to the size of the operation activity interface, all target assembly templates that need to be resized are determined; Add distinguishing marks to all target assembly templates that need to be resized.
4. The interface generation method according to claim 3, characterized in that: The step of generating a semi-static operation activity interface according to the assembly information specifically includes: According to the assembly information, all target assembly templates in an unassembled state are assembled to the target positions of the operation activity interface in sequence; Until the status of all target assembly templates is set to the assembly completion status, the semi-static operation activity interface is obtained.
5. The interface generation method according to claim 4, characterized in that: The step of sequentially assembling all target assembly templates in an unassembled state to target positions of the operation activity interface according to the assembly information includes: Identify whether a distinguishing mark is added to the target assembly template currently being assembled; If the target assembly template currently being assembled has not been marked with a distinguishing mark, assembling the next target assembly template according to the first assembly time interval; If a distinguishing mark is added to the target assembly template currently being assembled, the next target assembly template is assembled according to the second assembly time interval, wherein the first assembly time interval is smaller than the second assembly time interval.
6. The interface generation method according to claim 4 or 5, characterized in that: The step of sequentially assembling all target assembly templates in an unassembled state to target positions of the operation activity interface according to the assembly information further includes: When the target assembly template currently being assembled is completed, the number of assembly times of the target assembly template is accumulated by one, and the total number of times the target assembly template is assembled is identified; If the total number of times reaches the assembly number threshold of the target assembly template, the state of the target assembly template is set to an assembly completed state; If the total number of times does not reach the assembly number threshold of the target assembly template, continue to assemble the next target assembly template.
7. The interface generation method according to claim 1, characterized in that: The supplementary processing includes page animation supplementary processing and jump interactive supplementary processing. The step of supplementing the semi-static operation activity interface through the dynamic interactive relationship and the execution logic relationship to generate a dynamic operation activity target interface specifically includes: According to the dynamic interaction relationship, the semi-static operation activity interface is supplemented with page animation, wherein the dynamic interaction relationship includes the animation change relationship of graphics and text in the interface; According to the execution logic relationship, the semi-static operation activity interface is supplemented with jump interactivity, wherein the execution logic relationship includes the jump interaction relationship of buttons in the interface.
8. An interface generation device, characterized in that: include: An instruction receiving module, used for receiving an interface generation instruction; A triggering and running module, used for triggering and running an interface automatic generation program based on the interface generation instruction; An assembly information access module, used to automatically generate a program through the interface to access preset assembly information, wherein the assembly information includes task configuration information, activity configuration information, task and activity association configuration information, reward configuration information, and task and reward association configuration information; A first generating module, used to generate a semi-static operation activity interface according to the assembly information; A dynamic information acquisition module, used to acquire the dynamic interaction relationship and execution logic relationship involved in the operation activity; The second generating module is used to supplement the semi-static operation activity interface through the dynamic interaction relationship and the execution logic relationship to generate a dynamic operation activity target interface.
9. A computer device, characterized in that: It comprises a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the interface generation method according to any one of claims 1 to 7 when executing the computer-readable instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the interface generation method according to any one of claims 1 to 7 are implemented.