CN116521285A - Application trial method and device, electronic equipment and storage medium - Google Patents

Application trial method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116521285A
CN116521285A CN202210071147.4A CN202210071147A CN116521285A CN 116521285 A CN116521285 A CN 116521285A CN 202210071147 A CN202210071147 A CN 202210071147A CN 116521285 A CN116521285 A CN 116521285A
Authority
CN
China
Prior art keywords
trial
control
interface
function
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210071147.4A
Other languages
Chinese (zh)
Inventor
宋法容
郎正熠
许庆
杨子翔
陈旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shanghai Co Ltd
Original Assignee
Tencent Technology Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shanghai Co Ltd filed Critical Tencent Technology Shanghai Co Ltd
Priority to CN202210071147.4A priority Critical patent/CN116521285A/en
Publication of CN116521285A publication Critical patent/CN116521285A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a trial method and device of an application program, electronic equipment and a storage medium, and relates to the technical field of clouds. The method comprises the following steps: displaying a use interface of the application program, wherein the use interface comprises a first control of the trial application program; responding to triggering operation aiming at a first control, displaying first prompt information of at least one function to be tried out and loading a preconfigured course component, wherein the course component comprises first interfaces respectively corresponding to the functions to be tried out; responding to the trial operation aiming at the target function in the functions to be tried, if the first interface corresponding to the target function is determined to be configured with the simulation data, generating and displaying a trial result according to the configured simulation data. According to the embodiment of the application, good trial experience can be provided for the user, and meanwhile, the non-invasive experience teaching of the full-service scene is realized in a loading component mode, so that the user is guided to experience the actual function of the product more quickly.

Description

Application trial method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of cloud services, in particular to a trial method and device of an application program, electronic equipment and a storage medium.
Background
To guide users to purchase/use applications, developers typically provide users with experiential tutorials through which users are given opportunities to try out and learn about applications, thereby better promoting applications.
The existing experience teaching for application programs is simple in capability of displaying each service module to an experienter through text, pictures and videos in series connection, and the mode is simple, scattered and boring, and the participation feeling of the experienter is weak.
The other is to let the developer add a brand new business logic code, and from zero, the capability of realizing each business module to be experienced according to the need is finally obtained, and the application program specially used for trial is finally obtained, and the application program and the formally used application program are two independent application programs, so that the development workload is large, and the follow-up continuous function iteration is not facilitated.
Disclosure of Invention
The embodiment of the application provides a trial method and device of an application program, electronic equipment and a storage medium. The technical scheme is as follows:
according to a first aspect of embodiments of the present application, there is provided a trial method of an application program, the method including:
displaying a use interface of the application program, wherein the use interface comprises a first control of the trial application program;
Responding to triggering operation aiming at a first control, displaying first prompt information of at least one function to be tried out and loading a preconfigured course component, wherein the course component comprises at least one first interface corresponding to each function to be tried out;
responding to the trial operation aiming at the target function in at least one function to be tried, if the fact that the first interface corresponding to the target function is configured with the simulation data is determined, generating and displaying a trial result according to the configured simulation data.
As an alternative embodiment, the response to the trial of the target function of the at least one function to be tried includes:
responding to trial operation aiming at a target function, and displaying an operation course and an initial operation page corresponding to the target function;
the initial operation page is an operation page corresponding to the first step in the operation course, and the initial operation page comprises a second control corresponding to the first step.
As an optional embodiment, if it is determined that the first interface corresponding to the target function has been configured with analog data, generating and displaying a test result according to the configured analog data includes:
Responding to trial operation of a third control in an operation page corresponding to the current step, if determining that the target first interface corresponding to the current step in the course component configures simulation data, jumping to an operation page corresponding to the next step, and displaying a trial result generated according to the simulation data in the operation page corresponding to the next step;
when the operation page corresponding to the current step is the initial operation page, the third control is the second control.
As an optional embodiment, in response to the trial operation for the third control in the operation page corresponding to the current step, the method further includes:
if the course component comprises the target first interface corresponding to the current step and is not configured with the simulation data, jumping to an operation page corresponding to the next step, and displaying a trial result generated according to the real data in the operation page corresponding to the next step;
wherein the real data is requested from the server by calling a second interface pre-configured in the application.
As an optional embodiment, in response to the trial operation for the third control in the operation page corresponding to the current step, the method further includes:
And highlighting the third control, and displaying third prompt information of the third control.
As an optional embodiment, the course component further includes configuration information of the target function, where the configuration information includes a target DOM node related to the third control in an operation page corresponding to each step;
highlighting the third control, including:
and obtaining a target DOM node related to the third control from the configuration information, and highlighting a display area corresponding to the third control in the operation interface according to the target DOM node.
As an alternative embodiment, the configuration information further comprises one or more of the following:
routing information, initialization operation, display position of prompt information and check rule before executing the next step.
As an alternative embodiment, the method further comprises the steps of displaying the corresponding operation result according to the configured simulation data, and then:
the tutorial component is removed in response to a trial end operation for the application.
According to a second aspect of embodiments of the present application, there is provided a trial device for an application, the device comprising:
the application program comprises a user interface display module, a user interface display module and a user interface display module, wherein the user interface display module is used for displaying a user interface of an application program, and the user interface comprises a first control of a trial application program;
The component loading module is used for responding to the triggering operation of the first control, displaying first prompt information of at least one function to be tested and loading a preconfigured course component, wherein the course component comprises at least one first interface corresponding to each function to be tested;
and the trial response module is used for responding to the trial operation of the target function in the at least one function to be tried, and if the first interface corresponding to the target function is determined to be configured with the simulation data, the trial result is generated and displayed according to the configured simulation data.
As an alternative embodiment, the trial response module includes:
the initial interface unit is used for responding to trial operation aiming at the target function and displaying an operation course and an initial operation page corresponding to the target function;
the initial operation page is an operation page corresponding to the first step in the operation course, and the initial operation page comprises a second control corresponding to the execution of the first step
As an alternative embodiment, the trial response module further includes:
the first interface calling unit is used for responding to trial operation of a third control in an operation page corresponding to the current step, if the fact that simulation data are configured by a target first interface corresponding to the current step in the course component is determined, the first interface is jumped to an operation page corresponding to the next step, and trial results generated according to the simulation data are displayed in the operation page corresponding to the next step;
When the operation page corresponding to the current step is the initial operation page, the third control is the second control.
As an alternative embodiment, the trial response module further includes:
the second interface calling unit is used for jumping to an operation page corresponding to the next step if the course component comprises the target first interface which corresponds to the current step and is not configured with the simulation data, and displaying a trial result generated according to the real data in the operation page corresponding to the next step;
wherein the real data is requested from the server by calling a second interface pre-configured in the application.
As an alternative embodiment, the trial response module further includes:
and the highlighting module is used for highlighting the third control before responding to the trial operation of the third control in the operation page corresponding to the current step and displaying the third prompt information of the third control.
As an optional embodiment, the course component further includes configuration information of the target function, where the configuration information includes a target DOM node related to the third control in an operation page corresponding to each step;
the highlighting module is specifically configured to: and obtaining a target DOM node related to the third control from the configuration information, and highlighting a display area corresponding to the third control in the operation interface according to the target DOM node.
As an alternative embodiment, the configuration information further comprises one or more of the following:
routing information, initialization operation, display position of prompt information and check rule before executing the next step.
As an alternative embodiment, the trial device further comprises:
and the component removing module is used for removing the course component in response to the trial ending operation for the application program.
According to another aspect of embodiments of the present application, there is provided an electronic device comprising a memory, a processor and a computer program stored on the memory, the processor executing the computer program to implement the steps of the trial method of the application of the first aspect
According to a further aspect of embodiments of the present application, there is provided a computer readable storage medium having a computer program which, when executed by a processor, implements the steps of the trial method of the application of the first aspect.
According to an aspect of embodiments of the present application, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the steps of the trial method of the application of the first aspect.
The beneficial effects that technical scheme that this application embodiment provided brought are:
By displaying the application program using interface, the first control of the application program is included in the using interface, namely, the user can provide the user with a trial opportunity on the application program using interface capable of actually using the application program, instead of separately providing the user with an additional trial interface or a special trial version application program, a foundation is laid for obtaining the actual use experience of the application program for the user from a source, the trust of the application program of the user is improved, the first prompt information of at least one function to be used is displayed in response to the starting operation of the first control, the user is helped to know the function possessed by the application program, a foundation is laid for providing the function teaching/trial for the user in a targeted manner, the preconfigured course component is loaded while the first prompt information is displayed, the course component comprises at least one first interface corresponding to each function to be used respectively, the user can obtain the preconfigured simulation data by calling the first interface corresponding to the target function in the function to be used, and the result is generated and displayed according to the simulation data, the user can provide a good experience, and meanwhile, the full-invasion type full-scale instruction system is realized by the user, and the full-invasion type teaching experience is realized. The non-invasive configurable scheme prompts development efficiency and facilitates continuous function iteration.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that are required to be used in the description of the embodiments of the present application will be briefly described below.
FIG. 1 is a schematic diagram of an implementation environment according to an embodiment of the present application;
fig. 2 is a flowchart of a trial method of an application according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a user interface of an application according to an embodiment of the present application;
fig. 4 is an interface of prompt information of a function to be tested of an application provided in an embodiment of the present application;
fig. 5 is a schematic diagram of an initial operation page of a test product package ordering function according to an embodiment of the present application;
fig. 6 is a schematic diagram of an operation page corresponding to a second step of a trial product combination package ordering function according to an embodiment of the present application;
fig. 7 is a schematic diagram of an operation page corresponding to a third step of a trial product combination package ordering function according to an embodiment of the present application;
FIG. 8 is a flowchart of a trial method of an application according to another embodiment of the present application;
FIG. 9 is a schematic diagram of a DOM tree according to an embodiment of the present disclosure;
FIG. 10 is a flowchart of a trial method of an application according to another embodiment of the present application;
FIG. 11 is a schematic structural diagram of a test device for an application according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described below with reference to the drawings in the present application. It should be understood that the embodiments described below with reference to the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application, and the technical solutions of the embodiments of the present application are not limited.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and "comprising," when used in this application, specify the presence of stated features, information, data, steps, operations, elements, and/or components, but do not preclude the presence or addition of other features, information, data, steps, operations, elements, components, and/or groups thereof, all of which may be included in the present application. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein indicates that at least one of the items defined by the term, e.g., "a and/or B" may be implemented as "a", or as "B", or as "a and B".
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Several terms which are referred to in this application are first introduced and explained:
mock data, i.e., analog data, often encounters such problems during the development of projects: after the front end is developed, the back end joint debugging test needs to be waited, and the back end does not reach the joint debugging state for some reasons, and for the project with strong dependence on the front end and the back end, the front end can create mock data for testing, so that the real response is not required to be given by waiting for the back end.
An interface (software class interface) refers to a reference type that defines an agreement. Other types implement interfaces to ensure that they support certain operations. The interface specifies the members that must be provided by the class or other interfaces that implement it. Similar to classes, interfaces may contain methods, attributes, indexers, and events as members.
The application program trial method, device, electronic equipment, computer readable storage medium and computer program product provided by the application program aim to solve the technical problems in the prior art.
The technical solutions of the embodiments of the present application and technical effects produced by the technical solutions of the present application are described below by describing several exemplary embodiments. It should be noted that the following embodiments may be referred to, or combined with each other, and the description will not be repeated for the same terms, similar features, similar implementation steps, and the like in different embodiments.
Referring to fig. 1, fig. 1 schematically illustrates an implementation environment according to an embodiment of the present application, where, as shown in fig. 1, the implementation environment 100 may include one or more of terminal devices 110, 120, 130, a network 140, and a server 150.
Network 140 is the medium used to provide communications links between terminal devices 110, 120, 130 and server 150. The network 140 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, the server 150 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud computing services.
The execution method of the server in the embodiment of the application can be completed in a form of cloud computing (cloud computing), wherein the cloud computing is a computing mode, and computing tasks are distributed on a resource pool formed by a large number of computers, so that various application systems can acquire computing power, storage space and information service according to requirements. The network that provides the resources is referred to as the "cloud". Resources in the cloud are infinitely expandable in the sense of users, and can be acquired at any time, used as needed, expanded at any time and paid for use as needed.
As a basic capability provider of cloud computing, a cloud computing resource pool (cloud platform for short, generally referred to as IaaS (Infrastructure as a Service, infrastructure as a service) platform) is established, in which multiple types of virtual resources are deployed for external clients to select for use.
According to the logic function division, a PaaS (Platform as a Service ) layer can be deployed on an IaaS (Infrastructure as a Service ) layer, and a SaaS (Software as a Service, software as a service) layer can be deployed above the PaaS layer, or the SaaS can be directly deployed on the IaaS. PaaS is a platform on which software runs, such as a database, web container, etc. SaaS is a wide variety of business software such as web portals, sms mass senders, etc. Generally, saaS and PaaS are upper layers relative to IaaS.
A user may interact with the server 150 via the network 140 using the terminal devices 110, 120, 130 to receive or send messages, etc. The terminal devices 110, 120, 130 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, portable computers, desktop computers, wearable devices, virtual reality devices, smart homes, in-vehicle devices, and the like.
The terminal is provided with a target application program for providing services by the server 150, the target application program can be an application program or an operating system, for example, the target application program can be chat, navigation, search, browsing and the like, and the trial service of the application program can be realized based on the target application program. For another example, the target application may be an Android (Android) operating system, and the trial service of the application may be implemented based on a fast application of the target application, where the target application provides an operating environment for the fast application for providing trial of the application.
The server 150 may be a server providing various services, and in particular, a server providing trial services for applications. The method of the embodiment of the application can be executed locally at the terminal or can be completed by the server. When completed by the server, the server 150 sends the trial results to the terminal.
An embodiment of the present application provides a method for testing an application program, as shown in fig. 2, where the method includes:
s101, displaying a use interface of the application program, wherein the use interface comprises a first control of the trial application program.
According to the trial method, an application program used for trial alone does not need to be developed, and a first control used for trial is set on a trial interface of the application program, so that a user directly starts trial teaching of the application program by triggering the control. The application program of the embodiment of the application program can be a certain cloud upper system.
Referring to FIG. 3, a schematic diagram of a use interface of an application of an embodiment of the present application is schematically shown, and as shown, the application is used to provide services to users regarding integrated energy product ecology, applicable scenarios include, but are not limited to, energy enterprise energy management, campus energy management platform, local energy big data platform, local energy industry platform, and so on.
Information selectable by a user in use, such as industry information, field information, product type information, and suppliers, is shown in the figure. When a user wishes to build a platform for managing energy management in a campus through the application, the industry may be selected: electric power; domain: electricity is used; product type: all (i.e., including software, hardware and service products); the product functional manufacturer can select the owned products of the system on the cloud, namely the owned products, namely the public templates which are created by application program developers in order to help the users to improve the use efficiency.
The right side of the interface shown in fig. 3 shows a first control 301 using an application program, if the user issues the control, the application program can be tried out, and if the control is not triggered, after logging in the application program, a product meeting the user's own needs can be created based on various information shown in the interface. Triggering operations of embodiments of the present application include, but are not limited to, single-clicking, double-clicking, sliding with a particular gesture, and the like.
S102, responding to triggering operation for the first control, displaying first prompt information of at least one function to be tried out and loading a preconfigured course component.
And if the user triggers the first control, indicating that the user wishes to try out the application product. In order to help a user to know the advantages of an application program in a shorter time, the embodiment of the application program displays prompt information of a plurality of common functions or core functions, namely first prompt information, which can be realized by the application program.
Referring to fig. 4, an interface of prompt information of a function to be tried out of an application program is exemplarily shown, and still a cloud system is taken as an example for explanation, after clicking a first control in fig. 3, a right area 401 of the interface shown in fig. 3 displays a plurality of functions for a user to try out, so as to form the interface shown in fig. 4. The embodiment of the application provides 7 functions in total, including product combination package ordering, workbench project overview, digital twin design, data authorization, data tandem API, data asset and project cockpit. The hint information for each of the functions can include the meaning of the function, the steps involved in performing, the time required, and so forth. For example, the function of ordering the product combination package is meant to include the process from creation to submission of the product combination package, and the method has 3 steps, takes 3 minutes, and when the user tries, the user selects the function to be tried out by combining the first prompt information of each function to be used and the actual requirement (such as time) of the user.
When the first prompt information is displayed, a course component (NoviceTutor) is needed to be loaded, the course component can be stored in a server after being configured by a developer in advance, when a user triggers the first control, the server sends the course component to the terminal, the course component comprises version information of the course component, and it is understood that the version of the course component is synchronously updated along with the version of the application program. The terminal can store the course component locally after receiving the course component, so that when a user tries on the terminal, the terminal firstly sends an authentication request to the server, the authentication request comprises version information of the course component, the server compares the version information in the authentication request with the version information of the course component stored by the server, if the version of the course component stored by the server is higher, the terminal sends the course component with higher version to the terminal, and after downloading the course component with higher version, the terminal deletes the originally stored course component, and loads the course component with higher version; if the versions of the two course components are the same, the server informs the terminal that no update is needed, and the terminal directly loads the locally stored course components. By loading the local course component, the terminal does not depend on a back-end server for most operation data in the trial process, and does not need to enter (data) into a database for operation results.
The teaching path component comprises a first interface corresponding to each function to be tested, non-invasive experience teaching is realized by loading the teaching path component, and all experience teaching services are borne by the independent and preconfigured teaching path component without adding codes to each service module of the application program. When the application program is updated, a new experience course can be rapidly configured only by adding data according to a business scene according to a Schema.
According to the embodiment of the application, the simulation data of each step of each trial function is predefined in the teaching component, the simulation data are simulated and respond to the operation result of the trial function, and the mapping relation between the control triggering the trial function and the simulation data is established through the first interface.
The code for loading the course component in this embodiment of the present application is as follows:
{/*NoviceTutor*/}
<>{!isTutor||isLazy?”:<NoviceTutor/>}</>
the first interface in the embodiment of the application may be an Axios interface, axios is a promiscuous HTTP library, and may be used in a browser and nodes.
S103, responding to the trial operation aiming at the target function in at least one function to be tried, and if the fact that the first interface corresponding to the target function is configured with the simulation data is determined, generating and displaying a trial result according to the configured simulation data.
When a user selects a target function from the functions to be used, the terminal displays a trial interface corresponding to the target function, the trial interface is identical to an interface normally used after the user pays or registers, and the page display control is identical. However, since the course component is already loaded in the above steps, when the user clicks the control in the page, the simulation data can be obtained through the first interface corresponding to the control in the course component, and it can be understood that the simulation of the simulation data, that is, the simulation of the real data after the control is triggered when the application program is actually used. And generating and displaying a trial result according to the simulation data, wherein the trial result is consistent with the actual use result, and helping a user to know the actual use flow of the application program.
According to the application program trial method, through the use interface of the application program, the use interface comprises the first control of the trial application program, namely, the user can provide a trial opportunity for the user on the use interface of the application program which can be actually used, instead of independently providing an additional trial interface or a special trial version application program for the user, a foundation is laid for obtaining the actual use experience of the application program for the user, the trust of the application program of the user is improved, the first prompt information of at least one function to be used is displayed in response to the starting operation aiming at the first control, the user is helped to know the function of the application program, a function teaching/trial basis is provided for the user in a targeted manner, a preconfigured course component is loaded while the first prompt information is displayed, the course component comprises at least one first interface corresponding to each function to be used, the first interface corresponding to the target function in the function to be used is called, the first interface corresponding to the target function to be used is called, the simulation data is obtained in advance, the simulation data is generated and displayed according to the simulation data, the starting operation aiming at the target function is displayed, the result is displayed, and the user experience is provided for the user to be more effectively used, and a full-test experience is realized by the user, and a full-invasion type is realized, and a full-test experience is realized by the user experience is realized, and a full-oriented experience is realized, and a full-test experience is realized. The non-invasive configurable scheme prompts development efficiency and facilitates continuous function iteration.
On the basis of the above embodiments, as an optional embodiment, the trial of the target function of the at least one function to be tried includes:
and responding to the trial operation aiming at the target function, and displaying an operation course and an initial operation page corresponding to the target function.
After the user determines the target function from the plurality of functions to be tried, the terminal further displays an operation course and an initial operation interface corresponding to the target function. It should be appreciated that there may be differences in the initial operational page presented when trying on different target functions.
The operation course of the embodiment of the application may include second prompt information of at least one step corresponding to the function, where the second prompt information may be a step name of the step and an executing purpose, so as to help a user understand a use process of the application program more quickly.
The initial operation page is an operation page corresponding to the first step in the operation course of the target function, and the initial operation page comprises a second control corresponding to the first step.
Referring to fig. 5, an initial operation page of the trial product combination package ordering function provided in the embodiment of the present application is exemplarily shown, where the initial operation page is a user trial target function: the initial operation page of the product package ordering shows the names of the steps of the function on the right side of the page as shown, and further sub-steps are provided in the figure for different steps, for example, for the step of creating a package, including finding a creation entry, creating a new package, naming and completing the creation, 3 sub-steps in total, and for the step (sub-step) currently being executed, the steps that have been executed, the steps that are being executed and the steps that have not been executed can be distinguished with different colors in the presentation style, in particular, in the implementation. The page includes and executes the first steps: a second control 501 related to creation of the entry is found, the name of the second control 501 in the drawing is management combination package, and prompt information 502 of the control is further displayed, so that a user is helped to know the meaning of trying the control. According to the embodiment of the application, the display interfaces corresponding to each step and the jump relation between each step and each display interface can be preconfigured in the course component, so that the jump relation can be adjusted to the corresponding interface when a user operates each step.
On the basis of the foregoing embodiments, as an optional embodiment, if it is determined that the first interface corresponding to the target function has been configured with analog data, generating and displaying a test result according to the configured analog data, where the test result includes:
if the target first interface configuration simulation data corresponding to the current step in the course component is determined, jumping to an operation page corresponding to the next step, and displaying a trial result generated according to the simulation data in the operation page corresponding to the next step.
It should be understood that when the operation page corresponding to the current step is the initial operation page, the third control is the second control. Moreover, the operation page corresponding to the current step may be the same operation page as the operation page corresponding to the next step, or may be different operation pages.
On the basis of fig. 5, after the user triggers the second control "manage composition package", the step will be skipped to: the interface of the newly built package is shown in fig. 6, and the interface is two different interfaces from the interface shown in fig. 5, and the interface shown in fig. 6 includes a third control 601: creating a combination package, and clicking the control by the user to execute the following steps: naming and completing creation, as shown in fig. 7, the page is not changed at this time, but a new popup window 701 appears in the page shown in fig. 6, that is, a control corresponding to the third step is shown in a popup window form, so that the user can input the name of the combined package in the popup window.
When the user inputs a name in the pop-up window 701, the name can be used for the simulation data configured in advance: naming the combination package, and displaying the named combination package to a user. It should be appreciated that there may be different simulation data depending on the function experienced, and that there may be differences in the combination of the simulation data with the user's input operations. For example, in addition to the naming operation, the common user operation may further include a selection operation, such as providing a plurality of preset demonstration products to the user, selecting a part of the demonstration products as target data by the user, and performing data processing on the target data and the simulation data to obtain an output result of the corresponding scene. It should be understood that, the specific data processing process is related to the actual experience function, and the embodiment of the application may pre-configure the corresponding data processing logic according to the processing logic in the actual application.
When each step is tried out by the user, the embodiment of the application judges whether the first interface (the target first interface) corresponding to the step which is tried out currently in the course component is configured with the simulation data, if the first interface is configured with the simulation data, the application result generated according to the simulation data is displayed in the operation page corresponding to the next step, and it can be understood that the trial result is for each step which is tried out.
On the basis of the above embodiments, as an optional embodiment, responding to the trial operation for the third control in the operation page corresponding to the current step, and then further includes:
if the course component comprises the target first interface corresponding to the current step and is not configured with the simulation data, jumping to an operation page corresponding to the next step, and displaying a trial result generated according to the real data in the operation page corresponding to the next step;
the real data is obtained by calling a second interface preset in the application program from a server;
it should be noted that, the execution result of some steps must depend on the real data, that is, the server data of the back end, so in this case, the application may use a mode of not configuring the analog data for the first interface, and if it is found that the analog data is not configured for the first interface, the server data corresponding to the current step, that is, the real data, is requested from the server through the second interface.
According to the embodiment of the application program, the second interface is packaged in the application program, interaction between the front end and the rear end server can be achieved during normal use, server data are obtained from the rear end server and returned to the front end for display, meanwhile, the first interface is packaged in the course component, pre-configured analog data can be returned to the front end for display when the application program is tried out, and aiming at the situation that certain steps are required to depend on real data, the first interface is not configured with the analog data in advance, so that the real data are obtained by utilizing the second interface instead. It can be seen that the embodiments of the present application also do not require invasive modification of the application.
In the embodiment of the present application, whether the first interface configures analog data is determined, and if the analog data is configured, the code for returning the analog data may be:
as can be seen from the above code, in the embodiment of the present application, the resource address (url) of the analog data may be obtained through the preset instanceAxios interface, if the data in the resource address is not null, virtual data is obtained, otherwise, server data (real data) is obtained from the server.
Referring to fig. 8, a flowchart of a trial method of an application program according to another embodiment of the present application is shown, and as shown in the drawing, the method includes:
s201, displaying a use interface of an application program, wherein the use interface comprises a first control of a trial application program;
s202, judging whether a user clicks a first control, if so, executing a step S203; if not, executing according to the normal business flow;
s203, displaying first prompt information of at least one function to be tried out, and loading a course component;
s204, responding to trial operation aiming at least one function to be tried, and displaying an operation course corresponding to the target function and a current operation page; the operation interface comprises second prompt information of at least one step, and the current operation page is an operation page corresponding to the current step of the user;
S205, responding to trial operation of a third control in an operation page corresponding to the current step, judging whether the target first interface corresponding to the current step is configured with simulation data, if so, executing a step S206, and if not, executing a step S207;
s206, jumping to an operation page corresponding to the next step, displaying a trial result generated according to the simulation data in the operation page corresponding to the next step, and executing the step S208;
s207, calling a second interface preset in the application program to request real data from the server, jumping to an operation page corresponding to the next step, displaying a trial result generated according to the real data in the operation page corresponding to the next step, and executing the step S208;
s208, judging whether to continue to execute the subsequent steps of the target application, if so, returning to the step S205, and if not, executing the step S203.
That is, when the user does not want to experience the target application, the user can jump to the interface for displaying the first prompt information of at least one function to be tested again, so that the user can reselect other functions to be tested.
Based on the foregoing embodiments, as an optional embodiment, in response to a trial operation for the third control in the operation page corresponding to the current step, the method further includes:
And highlighting the third control, and displaying third prompt information of the third control.
In order to help a user to quickly find a control to be triggered when a certain function is tried, the third control to be operated currently is highlighted, and the highlighting can be specifically that only the area where the third control is located in the page is displayed with normal brightness, and other areas in the page are displayed with darker brightness. Further, for the area except the third control in the page, the embodiment of the application sets the effect of no response in operation, so that the user can only operate the third control highlighted in the page, and the trial function is ensured to be carried out according to the normal flow.
When the third control is highlighted, third prompt information of the third control is further displayed, and the third prompt information can be used for prompting the action of clicking the third control.
For example, in the system-on-cloud experience teaching, for the function of ordering a product package, the last sub-step of creating the package in the first step is naming and completing creation, and the third control displayed in the page of the sub-step is a control which requires the user to name the created package, and the corresponding third prompt information is: "fill out the package name of the combination (which may be this item name), call" demonstrate item "bar, then click submit", help the user intuitively know what and how this step needs to be done.
Based on the foregoing embodiments, as an alternative embodiment, the course component may further include configuration information of at least one trial function (including a target function of course) in addition to the interface. The Schema comprises target DOM nodes related to the third control in operation pages corresponding to the steps.
DOM (document object model) is a way to refer to nodes (e.g., XML or HTML) as objects, which is a platform-independent and language-independent standard object model for representing HTML or XML and related formats. The logical structure of a document is defined by a DOM tree. The portion of the DOM tree is called a node. In other words, the DOM gives a document as a tree structure (node tree), defining elements, attributes, and text as nodes. The DOM tree can thus be seen as a collection of nodes, each node corresponding to a subset of the language script files of the markup file (one node can include or correspond to a script/program, a fragment of a script/program, or any other object that includes displayable nodes such as images).
In the DOM tree, the top node is called the root, and each node except the root has only one parent node. A node may have any number of child nodes. A leaf is a node without child nodes. Sibling nodes are nodes that have the same parent node. Each node has a name, value, and type (element, attribute, text, annotation, document). From a given node, other relevant nodes (child nodes), parent nodes (parentNode) are available.
In the example shown in fig. 9, node (3000) is the root node. The nodes (3100, 3200, 3300, 3400) are children of the root node (3000). Node (3310, 3320) is a child node of node (3300). The nodes (3321, 3322) are child nodes of the node (3320). The nodes (3100, 3200, 3300, 3400) are sibling nodes. The nodes (3310, 3320) are sibling nodes. The nodes (3321, 3322) are sibling nodes.
Therefore, the page can comprise a plurality of nodes, and different nodes are used for loading and displaying different information, so that when the third control is displayed on the page, the node corresponding to the third control, namely the target DOM node, is necessarily needed.
The embodiment of the application highlights the third control, which comprises the following steps:
and obtaining a target DOM node related to the third control from the configuration information, and highlighting a display area corresponding to the third control in the operation interface according to the target DOM node.
It should be understood that the positions of the nodes in the display area are pre-stored in the DOM tree of the page, so that after the target DOM node is determined, the position of the target DOM node in the display area is obtained from the DOM tree, and the pixel point of the position is highlighted.
On the basis of the above embodiments, as an optional embodiment, the configuration information further includes one or more of the following:
Routing information, initialization operation, display position of prompt information and check rule before executing the next step.
Taking the interface shown in fig. 5 as an example, the pseudo code of the configuration information in the embodiment of the present application may include:
/>
in combination with the pseudo code, since different target functions correspond to different DOM nodes in the page, when the user triggers the corresponding DOM node, the target function used by the user can be determined, so that the use operation of the target function is responded.
Further, a code segment related to the unique identifier of the target function is determined from the configuration information, the code segment can further include DOM information of an interface corresponding to each (sub) step in addition to the information recorded in the pseudo code, the target DOM node corresponding to the second control corresponding to each (sub) step is also recorded in the DOM information, that is, after the code segment corresponding to the target function is determined, the corresponding DOM information is further determined according to the (sub) step to be executed by the user, a display interface is generated according to the DOM information, and highlight processing is performed on the target DOM node of the second control corresponding to the (sub) step, so that the user can intuitively see the control needing to be operated in the interface, and only the highlighted DOM node is provided with corresponding feedback after clicking, and the area not highlighted in the interface is clicked without response.
It should be noted that, the routing information of each step in the configuration information is used to characterize the sequence relationship of the corresponding step, and further, according to the routing information of each step, the embodiment of the application may preload the interface corresponding to at least one step to be executed next, so as to improve the loading speed of the page. Each time a user performs a step, the display of the next step is checked based on the check rule in the configuration information, for example, whether the information (such as naming, selected sample) input by the user meets the requirements can be checked, and only if the check is passed, the control and the interface corresponding to the next step are displayed.
The method and the device can acquire the name of the currently executed step, the corresponding DOM node of each prompt message to be displayed in the page, the position of the DOM node, the specific content of the prompt message and the next step to be executed from the configuration information, so that the display is orderly performed.
On the basis of the above embodiments, as an optional embodiment, the displaying the corresponding operation result according to the configured simulation data further includes:
the tutorial component is removed in response to a trial end operation for the application.
Specifically, the embodiment of the application may display a fourth control for ending the trial in a page corresponding to each operation, respond to the operation of the fourth control, return to the initial use interface, and remove the course component, after removing the course component, if the user is allowed to use normally (for example, the user has been confirmed to purchase the use right of the application), when the user uses any function, obtain real data from the server through the second interface of each step of the function.
Referring to fig. 10, a method for testing an application program according to still another embodiment of the present application is schematically shown, and includes:
s301, displaying a use interface of an application program, wherein the use interface comprises a first control of a trial application program;
s302, judging whether a user clicks a first control, if so, executing S303; if not, executing S30x;
s303, displaying first prompt information of at least one function to be tested, and loading a course component;
s304, if a trial operation aiming at least one function to be tried exists, executing a step S305, and if an operation ending the trial exists, executing a step S311;
s305, responding to trial operation aiming at least one function to be tried out, and displaying an operation course corresponding to the target function and a current operation page; the operation interface comprises at least one step of second prompt information;
S306, highlighting a third control in the operation page of the current step, and displaying third prompt information of the third control;
s307, responding to trial operation of a third control in an operation page corresponding to the current step, judging whether the target first interface corresponding to the current step is configured with simulation data, if so, executing a step S308, and if not, executing a step S309;
s308, jumping to an operation page corresponding to the next step, displaying a trial result generated according to the simulation data in the operation page corresponding to the next step, and executing the step S310;
s309, calling a second interface preset in the application program to request real data from the server, jumping to an operation page corresponding to the next step, displaying a trial result generated according to the real data in the operation page corresponding to the next step, and executing the step S310;
s310, judging whether to continue to execute the subsequent steps of the target application, if so, returning to the step S307, and if not, returning to the step S303.
S311, responding to the operation of ending the trial, and ending the trial;
s312, removing the course component;
s313, executing according to the normal business flow.
An embodiment of the present application provides a test device for an application, as shown in fig. 11, where the test device may include: an interface presentation module 1001, a component loading module 1002, and a trial response module 1003 are used, wherein,
the use interface display module 1001 is configured to display a use interface of an application program, where the use interface includes a first control of a trial application program;
the component loading module 1002 is configured to respond to a triggering operation for the first control, display first prompt information of at least one function to be tested, and load a preconfigured course component, where the course component includes at least one first interface corresponding to each function to be tested;
and the trial response module 1003 is configured to respond to a trial operation for a target function in the at least one function to be tried, and if it is determined that the first interface corresponding to the target function has been configured with the simulation data, generate and display a trial result according to the configured simulation data.
The apparatus of the embodiments of the present application may perform the method provided by the embodiments of the present application, and implementation principles of the method are similar, and actions performed by each module in the apparatus of each embodiment of the present application correspond to steps in the method of each embodiment of the present application, and detailed functional descriptions of each module of the apparatus may be referred to in the corresponding method shown in the foregoing, which is not repeated herein.
The application program trial device of the embodiment of the application program lays a foundation for obtaining the actual use experience of the application program for a user by displaying the use interface of the application program, wherein the use interface comprises the first control of the trial application program, namely, the user can provide the user with a trial opportunity on the use interface of the application program which can be actually used, instead of independently providing the user with an additional trial interface or a special trial version application program, the user can obtain the true use experience of the application program, the trust of the user on the application program is improved, the user can respond to the starting operation aiming at the first control, at least one first prompt information of the function to be used is displayed, the user is helped to know the function possessed by the application program, a preconfigured course component is loaded while the first prompt information is displayed, the course component comprises at least one first interface corresponding to each function to be used, the user can acquire the pre-configured simulation data by calling the first interface corresponding to the target function in the function to be used, the simulation data is generated and displayed according to the simulation data, the result is displayed, and the user can realize a full-invasion type of the experience of the user experience is realized by the user through the method, and the full-invasion type of the practical experience is realized, and the full-automatic experience is realized by the user experience is realized.
Based on the above embodiments, as an alternative embodiment, the trial response module includes:
the initial interface unit is used for responding to trial operation aiming at the target function and displaying an operation course and an initial operation page corresponding to the target function;
the initial operation page is an operation page corresponding to the first step in the operation course, and the initial operation page comprises a second control corresponding to the execution of the first step
Based on the foregoing embodiments, as an optional embodiment, the trial response module further includes:
the first interface calling unit is used for responding to trial operation of a third control in an operation page corresponding to the current step, if the fact that simulation data are configured by a target first interface corresponding to the current step in the course component is determined, the first interface is jumped to an operation page corresponding to the next step, and trial results generated according to the simulation data are displayed in the operation page corresponding to the next step;
when the operation page corresponding to the current step is the initial operation page, the third control is the second control.
Based on the foregoing embodiments, as an optional embodiment, the trial response module further includes:
The second interface calling unit is used for jumping to an operation page corresponding to the next step if the course component comprises the target first interface which corresponds to the current step and is not configured with the simulation data, and displaying a trial result generated according to the real data in the operation page corresponding to the next step;
wherein the real data is requested from the server by calling a second interface pre-configured in the application.
Based on the foregoing embodiments, as an optional embodiment, the trial response module further includes:
and the highlighting module is used for highlighting the third control before responding to the trial operation of the third control in the operation page corresponding to the current step and displaying the third prompt information of the third control.
On the basis of the above embodiments, as an optional embodiment, the course component further includes configuration information of the target function, where the configuration information includes a target DOM node related to the third control in an operation page corresponding to each step;
the highlighting module is specifically configured to: and obtaining a target DOM node related to the third control from the configuration information, and highlighting a display area corresponding to the third control in the operation interface according to the target DOM node.
On the basis of the above embodiments, as an optional embodiment, the configuration information further includes one or more of the following:
routing information, initialization operation, display position of prompt information and check rule before executing the next step.
On the basis of the above embodiments, as an alternative embodiment, the test device further includes:
and the component removing module is used for removing the course component in response to the trial ending operation for the application program.
According to another aspect of embodiments of the present application, there is provided an electronic device comprising a memory, a processor and a computer program stored on the memory, the processor executing the computer program to implement the steps of the trial method of the application of the first aspect
According to a further aspect of embodiments of the present application, there is provided a computer readable storage medium having a computer program which, when executed by a processor, implements the steps of the trial method of the application of the first aspect.
According to an aspect of embodiments of the present application, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the steps of the trial method of the application of the first aspect. Compared with the related art, the method can realize: by displaying the application program using interface, the first control of the application program is included in the using interface, namely, the user can provide the user with a trial opportunity on the application program using interface capable of actually using the application program, instead of separately providing the user with an additional trial interface or a special trial version application program, a foundation is laid for obtaining the actual use experience of the application program for the user from a source, the trust of the application program of the user is improved, the first prompt information of at least one function to be used is displayed in response to the starting operation of the first control, the user is helped to know the function possessed by the application program, a foundation is laid for providing the function teaching/trial for the user in a targeted manner, the preconfigured course component is loaded while the first prompt information is displayed, the course component comprises at least one first interface corresponding to each function to be used respectively, the user can obtain the preconfigured simulation data by calling the first interface corresponding to the target function in the function to be used, and the result is generated and displayed according to the simulation data, the user can provide a good experience, and meanwhile, the full-invasion type full-scale instruction system is realized by the user, and the full-invasion type teaching experience is realized.
The embodiment of the application provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory, wherein the processor executes the computer program to realize the steps of a trial method of an application program, and compared with the related art, the method can realize the following steps: by displaying the application program using interface, the first control of the application program is included in the using interface, namely, the user can provide the user with a trial opportunity on the application program using interface capable of actually using the application program, instead of separately providing the user with an additional trial interface or a special trial version application program, a foundation is laid for obtaining the actual use experience of the application program for the user from a source, the trust of the application program of the user is improved, the first prompt information of at least one function to be used is displayed in response to the starting operation of the first control, the user is helped to know the function possessed by the application program, a foundation is laid for providing the function teaching/trial for the user in a targeted manner, the preconfigured course component is loaded while the first prompt information is displayed, the course component comprises at least one first interface corresponding to each function to be used respectively, the user can obtain the preconfigured simulation data by calling the first interface corresponding to the target function in the function to be used, and the result is generated and displayed according to the simulation data, the user can provide a good experience, and meanwhile, the full-invasion type full-scale instruction system is realized by the user, and the full-invasion type teaching experience is realized.
In an alternative embodiment, there is provided an electronic device, as shown in fig. 12, the electronic device 4000 shown in fig. 12 includes: a processor 4001 and a memory 4003. Wherein the processor 4001 is coupled to the memory 4003, such as via a bus 4002. Optionally, the electronic device 4000 may further comprise a transceiver 4004, the transceiver 4004 may be used for data interaction between the electronic device and other electronic devices, such as transmission of data and/or reception of data, etc. It should be noted that, in practical applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 is not limited to the embodiment of the present application.
The processor 4001 may be a CPU (Central Processing Unit ), general purpose processor, DSP (Digital Signal Processor, data signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic device, transistor logic device, hardware components, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. The processor 4001 may also be a combination that implements computing functionality, e.g., comprising one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
Bus 4002 may include a path to transfer information between the aforementioned components. Bus 4002 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture ) bus, or the like. The bus 4002 can be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 12, but not only one bus or one type of bus.
Memory 4003 may be, but is not limited to, ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, RAM (Random Access Memory ) or other type of dynamic storage device that can store information and instructions, EEPROM (Electrically Erasable Programmable Read Only Memory ), CD-ROM (Compact Disc Read Only Memory, compact disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media, other magnetic storage devices, or any other medium that can be used to carry or store a computer program and that can be Read by a computer.
The memory 4003 is used for storing a computer program that executes an embodiment of the present application, and is controlled to be executed by the processor 4001. The processor 4001 is configured to execute a computer program stored in the memory 4003 to realize the steps shown in the foregoing method embodiment.
The embodiment of the application provides a computer readable storage medium, the computer readable storage medium is stored with a computer program, when the computer program is executed by a processor, the steps and corresponding contents of the method embodiment can be realized, through a use interface for displaying an application program, a first control of the application program is included in the use interface, namely, a user can provide a user with a chance of trying on the use interface for actually using the application program, rather than providing an additional try interface or an application program of a special try version for the user alone, a foundation is laid for the user to obtain the actual use experience of the application program from the source, trust of the application program is improved, first prompt information of at least one function to be used is displayed in response to the starting operation of the first control, the user is helped to understand the functions possessed by the application program, a preconfigured course component is loaded while the first prompt information is displayed, at least one first interface corresponding to each function to be used is included in the course component, a good-to-be-used function experience is responded to the user, the user can obtain the real-to-use experience by the target function, the user can be better-to the aim-use experience through the target function, the full-use experience is provided by the corresponding to the user, and the full-test data is loaded by the real-test data can be realized, and the full-test experience is realized.
The embodiment of the application also provides a computer program product, which comprises a computer program, wherein the computer program can realize the steps and corresponding contents of the embodiment of the method when being executed by a processor, the first control of the application program is tried out by the application program on the application interface, namely, the application program is provided for a user to try out on the application interface capable of actually using the application program, instead of independently providing an extra trial interface or a special trial version of the application program for the user, the basis is laid for the user to obtain the actual use feeling of the application program from the source, the trust of the application program of the user is improved, the first prompt information of at least one function to be used is displayed in response to the starting operation aiming at the first control, the method and the system help the user to know the functions of the application program, lay a foundation for providing function teaching/trial for the user in a targeted manner, display first prompt information and load a preconfigured course component at the same time, wherein the course component comprises at least one first interface corresponding to each function to be used, the preconfigured simulation data can be obtained by calling the first interface corresponding to the target function in the functions to be used in response to trial operation of the target function in the functions to be used, and trial results are generated and displayed according to the simulation data, so that good trial experience can be provided for the user, and meanwhile, the user is guided to experience the actual functions of the product more rapidly by realizing non-invasive full-service scene experience teaching through a loading component.
The terms "first," "second," "third," "fourth," "1," "2," and the like in the description and in the claims of this application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the present application described herein may be implemented in other sequences than those illustrated or otherwise described.
It should be understood that, although the flowcharts of the embodiments of the present application indicate the respective operation steps by arrows, the order of implementation of these steps is not limited to the order indicated by the arrows. In some implementations of embodiments of the present application, the implementation steps in the flowcharts may be performed in other orders as desired, unless explicitly stated herein. Furthermore, some or all of the steps in the flowcharts may include multiple sub-steps or multiple stages based on the actual implementation scenario. Some or all of these sub-steps or phases may be performed at the same time, or each of these sub-steps or phases may be performed at different times, respectively. In the case of different execution time, the execution sequence of the sub-steps or stages may be flexibly configured according to the requirement, which is not limited in the embodiment of the present application.
The foregoing is merely an optional implementation manner of the implementation scenario of the application, and it should be noted that, for those skilled in the art, other similar implementation manners based on the technical ideas of the application are adopted without departing from the technical ideas of the application, and also belong to the protection scope of the embodiments of the application.

Claims (12)

1. A method for trial application programs, comprising:
displaying a use interface of an application program, wherein the use interface comprises a first control for trying out the application program;
responding to triggering operation of the first control, displaying first prompt information of at least one function to be tried out, and loading a preconfigured course component, wherein the course component comprises at least one first interface corresponding to each function to be tried out;
responding to the trial operation aiming at the target function in the at least one function to be tried, if the fact that the first interface corresponding to the target function is configured with the simulation data is determined, generating and displaying a trial result according to the configured simulation data.
2. A trial method according to claim 1, wherein the response to trial a target function of the at least one function to be tried comprises:
Responding to trial operation aiming at the target function, and displaying an operation course and an initial operation page corresponding to the target function;
the operation course comprises second prompt information of at least one step, the initial operation page is an operation page corresponding to the first step in the operation course, and the initial operation page comprises a second control corresponding to the first step.
3. The trial method according to claim 2, wherein if it is determined that the first interface corresponding to the target function has been configured with the simulation data, generating and displaying a trial result according to the configured simulation data includes:
responding to trial operation of a third control in an operation page corresponding to a current step, if determining that simulation data is configured on a target first interface corresponding to the current step in the course component, jumping to an operation page corresponding to a next step, and displaying a trial result generated according to the simulation data in the operation page corresponding to the next step;
when the operation page corresponding to the current step is the initial operation page, the third control is the second control.
4. A trial method according to claim 3, wherein in response to a trial operation for a third control in the operation page corresponding to the current step, further comprising:
if the course component comprises the target first interface corresponding to the current step and is not configured with the simulation data, jumping to an operation page corresponding to the next step, and displaying a trial result generated according to the real data in the operation page corresponding to the next step;
the real data is requested from the server by calling a second interface which is preconfigured in the application program.
5. A trial method according to claim 3, wherein in response to a trial operation for a third control in the operation page corresponding to the current step, the method further comprises:
and highlighting the third control, and displaying third prompt information of the third control.
6. The trial method of claim 5, wherein the course component further includes configuration information for the target function, the configuration information including a target DOM node associated with the third control in an operation page corresponding to each step;
Highlighting the third control, including:
and obtaining a target DOM node related to the third control from the configuration information, and highlighting a display area corresponding to the third control in the operation interface according to the target DOM node.
7. The trial method of claim 6, wherein the configuration information further includes one or more of:
routing information, initialization operation, display position of prompt information and check rule before executing the next step.
8. The trial method of claim 1, wherein the presenting the corresponding operation result according to the configured simulation data further comprises:
in response to a trial end operation for the application, the course component is removed.
9. A trial device for an application program, comprising:
the application program comprises a user interface display module, a user interface display module and a user interface display module, wherein the user interface display module is used for displaying a user interface of an application program, and the user interface comprises a first control for trying out the application program;
the component loading module is used for responding to the triggering operation of the first control, displaying first prompt information of at least one function to be tested and loading a preconfigured course component, wherein the course component comprises at least one first interface corresponding to each function to be tested;
And the trial response module is used for responding to the trial operation of the target function in the at least one function to be tried, and if the first interface corresponding to the target function is determined to be configured with the simulation data, the trial result is generated and displayed according to the configured simulation data.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory, characterized in that the processor executes the computer program to carry out the steps of the trial method of an application of any one of claims 1-8.
11. A computer readable storage medium having stored thereon a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the trial method of an application of any of claims 1-8.
12. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the trial method of an application program according to any one of claims 1-8.
CN202210071147.4A 2022-01-21 2022-01-21 Application trial method and device, electronic equipment and storage medium Pending CN116521285A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210071147.4A CN116521285A (en) 2022-01-21 2022-01-21 Application trial method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210071147.4A CN116521285A (en) 2022-01-21 2022-01-21 Application trial method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116521285A true CN116521285A (en) 2023-08-01

Family

ID=87403404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210071147.4A Pending CN116521285A (en) 2022-01-21 2022-01-21 Application trial method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116521285A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117827252A (en) * 2024-03-06 2024-04-05 杭州大远智控技术有限公司 Function demonstration method, server and storage medium for system update

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117827252A (en) * 2024-03-06 2024-04-05 杭州大远智控技术有限公司 Function demonstration method, server and storage medium for system update
CN117827252B (en) * 2024-03-06 2024-05-28 杭州大远智控技术有限公司 Function demonstration method, server and storage medium for system update

Similar Documents

Publication Publication Date Title
CN110795195B (en) Webpage rendering method and device, electronic equipment and storage medium
CN108984714B (en) Page rendering method and device, electronic equipment and computer readable medium
Xanthopoulos et al. A comparative analysis of cross-platform development approaches for mobile applications
US20140096014A1 (en) Method for enabling dynamic client user interfaces on multiple platforms from a common server application via metadata
CN113296856B (en) Page jump and route configuration method, equipment, system and storage medium
Wen et al. A model-service deployment strategy for collaboratively sharing geo-analysis models in an open web environment
Colombo-Mendoza et al. MobiCloUP!: a PaaS for cloud services-based mobile applications
CN112685036A (en) Front-end code generation method and device, computer equipment and storage medium
CN111045653B (en) System generation method and device, computer readable medium and electronic equipment
Tanna et al. Serverless Web Applications with React and Firebase: Develop real-time applications for web and mobile platforms
CN113849156B (en) Codeless intelligent development system applied to OpenHarmony operating system and application method thereof
CN113204341A (en) Page generation method, device and medium
CN116521285A (en) Application trial method and device, electronic equipment and storage medium
Miravet et al. Framework for the declarative implementation of native mobile applications
EP3819760A1 (en) Methods and apparatus for generating a platform-agnostic mobile application configuration data structure with a dynamic quiz
Fujima Building a meme media platform with a JavaScript MVC framework and HTML5
Khanna et al. Ionic: Hybrid Mobile App Development
US20140304690A1 (en) Systems and Methods for Outputting an Application to Another Environment
CN113239328B (en) Service function acquisition method and device, electronic equipment and storage medium
CN111158684B (en) System creation method, device, electronic equipment and readable storage medium
CN111522578A (en) Branch management method and device
Yu et al. Developing a web-based symbolic circuit analysis tool for learning and design aid
US20160078008A1 (en) Integrating user interface experiences from multiple applications
CN113918152B (en) Low-code application development method and equipment in page building process
CN111367517B (en) Information generation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40091915

Country of ref document: HK