Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
The embodiment of the present disclosure provides a method for generating a user guide, as shown in fig. 1, the method includes:
step S110: displaying a user guide development interface, wherein the user guide development interface is loaded with a plurality of guide composition attributes for generating user guide;
step S120: acquiring configuration information for each guide composition attribute;
step S130: and integrating the configuration information of each guide composition attribute to generate user guide.
In the embodiment of the disclosure, in order to realize a flexible user guidance development mode, the user guidance is considered to be formed by combining a plurality of components. Particularly, the user guide can be divided in a reasonable dividing mode, and in the process, the user guide can be quickly assembled and developed only by configuring each component and integrating in a reasonable integrating mode.
In the embodiment of the disclosure, the division manner and the integration manner of the user guidance can be defined by a preset user guidance framework.
Specifically, in step S110, each guidance composition attribute (i.e., each component of the user guidance divided by the user guidance framework) is determined based on the user guidance framework and displayed through the user guidance development interface. That is, the user guidance development interface carries a plurality of guidance composition attributes for generating user guidance, so that each guidance composition attribute can be presented to the developer, so that the developer configures each guidance composition attribute. The display mode of each guide component attribute is not limited in the embodiment of the present disclosure, for example, characters, lists, or graphics may be displayed on a display interface of the terminal, or a display mode such as a broadcast mode may also be adopted.
In practical applications, a person skilled in the art can set the user guidance framework according to practical situations to reasonably divide the various guidance composition attributes. The embodiment of the present disclosure provides a feasible implementation manner, and the guidance composition attributes may mainly include an entry effect, an exit effect, and a screen configuration. Wherein the screen configuration further may include: a guide icon, a guide area, and a guide animation, and in addition, the screen configuration may further include priority management. In practical applications, the entry effect may be an entry animation, a direct entry or other entry effect, and the exit effect may be an exit animation, a direct exit or other exit effect.
An example is provided in the embodiment of the present disclosure, as shown in fig. 2, the guidance composition attribute defined by the user guidance framework includes: entry animation, guide icon, guide area, guide animation, exit animation, and priority management (corresponding to conflict management in fig. 2). Wherein:
the entry effect refers to a display effect when a user guides to enter a screen, wherein the entry animation refers to an animation style adopted when the user guides to enter the screen;
the exit animation is an animation style adopted when the user guides to exit the screen, and may be a reverse animation of the entry animation, for example, the entry animation sliding in from the bottom of the screen may correspond to the exit animation sliding out from the bottom of the screen;
the screen configuration refers to the relevant configuration of the user guide screen, and is used for configuring the guide information guided by the user. For the picture configuration provided by the embodiment of the present disclosure:
the guide icon is used for guiding the user to clearly guide the content indicated by the icon, and generally, the guide icon can be an icon with directivity, such as a gesture and an arrow;
the guide area refers to an area indicated by the guide icon;
the guide animation refers to an animation style of the guide icon;
priority management, which may also be referred to as conflict management. In some scenarios, multiple guide contents (hereinafter referred to as sub-guides for convenience of description) may need to be presented in one user guide. If more than one child boot is presented at the same time, page clutter may result, causing confusion to the user. For such scenarios that require multiple sub-boots to be exposed, the sub-boots may be prioritized such that they are exposed one-by-one in order.
Further, after the developer completes configuration for each guidance component attribute, in step S120, configuration information of the developer for each guidance component attribute is obtained. The configuration information of each guide component attribute corresponds to the execution mode of each guide component attribute.
Then, in step S130, the configuration information of each guidance component attribute is integrated, and specifically, the configuration information of each guidance component attribute may be integrated by combining with the corresponding guidance component attribute according to the integration manner of each guidance component attribute defined in the user guidance framework, so that the user guidance required by the developer may be developed and completed.
In the embodiment of the disclosure, the user guidance is realized based on the configurable and assemblable user guidance framework, and developers can develop different user guidance according to different configuration information of each guidance composition attribute, so that the user guidance framework has strong reusability, the research and development efficiency can be greatly improved, and the cost is reduced.
In addition, in the embodiment of the present disclosure, the user guidance framework can be developed for various types of user guidance such as full-screen guidance or local guidance, and thus, the user guidance framework has strong flexibility.
In the embodiment of the present disclosure, in order to further improve the efficiency of user guided development, a feasible implementation manner is provided for configuring each guided composition attribute for the developer in step S120, and specifically, step S120 may include any one of the following manners:
the first method is as follows: displaying the pre-defined alternative items for configuring the guide composition attribute, and obtaining the configuration information of the guide composition attribute according to the selection of a developer on the alternative items;
in the embodiment of the present disclosure, the alternative of configuring the boot composition attribute may also be defined in the user boot framework and provided to the developer for selection. That is, for each boot component attribute defined by the user boot framework, some common components may also be provided in the user boot framework for each boot component attribute as alternatives. When configuring each guide composition attribute, a developer can directly select the components to generate configuration information.
By way of example, as shown in fig. 3, the user guidance framework may provide the following general components (alternatives to configure guidance composition attributes) for each guidance composition attribute:
1. and (4) entering animation:
(1) the transparency (alpha) is gradually entered, i.e., a change in transparency is set so that the picture gradually appears. The parameters of initial transparency, final transparency, gradual-in time and the like of the picture display can directly adopt default values set by a user guide frame, can also set a plurality of values for a developer to select, and can also be directly set to be input by the developer;
(2) and entering from the right side of the screen, namely moving the setting picture from the right side of the screen to the screen. The parameters such as the moving speed, the moving distance and the like can directly adopt default values set by a user guide frame, can also set a plurality of values for a developer to select, can also be directly set to be input by the developer and the like;
(3) the lower side of the screen enters, namely the setting picture moves from the bottom side of the screen to the screen. Similarly, the parameters such as the moving speed, the moving distance and the like can directly adopt default values set by the user guide frame, can also set a plurality of values for a developer to select, can also be directly set to be input by the developer and the like;
(4) there is no entry animation (not shown in fig. 3), i.e., the entry animation is not executed, and the screen is directly displayed.
2. A guide icon:
the user guide framework may provide a library of icons for guide icons, such as arrow icons, finger icons, etc., for the developer to choose freely. The parameters such as the display size of the icon can directly adopt default values set by a user guide frame, can also set a plurality of values for a developer to select, and can also be directly set to be input by the developer.
3. A guide area:
the screen may be divided into areas for the developer to select, above the screen, below the screen, in the center of the screen, above the left of the screen, below the left of the screen, above the right of the screen, below the right of the screen, and so on.
4. And (3) guiding animation:
(1) and (4) rotating the animation, namely setting the guide icon to rotate around the rotation center. The parameters of the rotation center position, the rotation direction, the rotation angle and the like can directly adopt default values set by the user guide frame, can also set a plurality of values for a developer to select, and can also be directly set to be input by the developer.
(2) Zooming animation, i.e. setting the guide icon to zoom out or in. The parameters such as the scaling and the like can directly adopt default values set by a user guide frame, can also set a plurality of values for a developer to select, can also be directly set to be input by the developer and the like.
(3) And (4) sliding animation, namely setting a guide icon to slide. The parameters such as the sliding direction, the sliding distance, the sliding speed and the like can directly adopt default values set by the user guide frame, can also set a plurality of values for a developer to select, and can also be directly set to be input by the developer and the like.
(4) A transparency change animation (corresponding to the transparency animation in fig. 3), that is, a change occurs in the transparency of the set guide icon. The parameters of the initial transparency, the final transparency, the change time and the like of the change can directly adopt default values set by a user guide frame, can also set a plurality of values for a developer to select, can also be directly set to be input by the developer and the like.
(5) No guide animation (not shown in fig. 3), i.e. setting the guide icon without performing an animation effect.
5. Exiting the animation:
(1) the transparency gradually fades out, namely the change of the transparency is set to gradually disappear the picture. The parameters of initial transparency, final transparency, disappearance time and the like of the lost picture can directly adopt default values set by a user guide frame, can also set a plurality of values for a developer to select, and can also be directly set to be input by the developer;
(2) and (4) exiting from the right side of the screen, namely moving the setting picture from the screen to the right side of the screen until exiting from the screen. The parameters such as the moving speed, the moving distance and the like can directly adopt default values set by a user guide frame, can also set a plurality of values for a developer to select, can also be directly set to be input by the developer and the like;
(3) and (4) exiting from the lower side of the screen, namely moving the setting picture from the screen to the bottom of the screen until exiting from the screen. Similarly, the parameters such as the moving speed, the moving distance and the like can directly adopt default values set by the user guide frame, can also set a plurality of values for a developer to select, can also be directly set to be input by the developer and the like;
(4) there is no exit animation (not shown in fig. 3), i.e., the exit animation need not be executed, and the screen disappears directly.
6. Priority management:
(1) when there are at least two child boots, the respective child boots are prioritized. The priority order of each sub-guide can directly adopt a default order set by a user guide frame, can also set multiple orders for a developer to select, can also be directly set to be input by the developer, and the like;
(2) no priority configuration. I.e. when there is only one boot, the option to not need priority configuration can be chosen directly. In other embodiments, a boot may be given a priority option or a default priority configuration if there is one.
In the embodiment of the present disclosure, the option for configuring the guide composition attribute defined in the user guide framework may be presented to the developer, the developer selects the option, and the configuration information of each guide composition attribute is generated according to the selection of the developer on the option.
It is understood by those skilled in the art that the above alternatives to the guide composition attributes are merely examples, and in practical applications, the present disclosure can be extended based on the above examples and shall fall within the spirit and scope of the present disclosure.
The second method comprises the following steps: acquiring configuration information of a guide composition attribute customized by a developer;
in the disclosed embodiment, the developer may also configure one or more of the boot component properties by implementing new components by itself, rather than selecting the alternative for configuring the boot component properties provided in the boot framework. In this case, the configuration information of the guide composition attribute customized by the developer may be directly acquired.
The third method comprises the following steps: default configuration information for the bootstrap composition attributes is obtained.
In the embodiment of the present disclosure, for the guidance composition attribute that is not configured by the developer, the default configuration of the developer may be understood, and at this time, default configuration information may be directly adopted. The default configuration information may be obtained according to any general component provided by the user guidance framework, or may be other configuration information, and a person skilled in the art may set the configuration information according to an actual situation, which is not limited herein in the embodiments of the present disclosure.
Through the three ways, each guide composition attribute can obtain corresponding configuration information, and the corresponding configuration information is combined together to complete the development of user guide.
In the embodiment of the present disclosure, a feasible implementation manner is provided for the integration manner provided by the user guidance framework in step S130, and specifically, the method may include the following steps:
step S1301: determining the time relationship and the position relationship of each guide composition attribute;
step S1302: and integrating the configuration information of the guide composition attributes according to the time relationship and the position relationship to generate the user guide.
It is understood that the individual bootstrap composition attributes have a certain temporal relationship. As an example, for the guidance composition attributes entry animation, guidance icon, guidance area, guidance animation, exit animation, and priority management of the above examples, the chronological order relationship may be entry animation, priority management, guidance area, guidance icon, guidance animation, exit animation, and the like in turn, and in other embodiments, other temporal relationship may also be used. The technical field can be set according to practical situations and is not limited herein. In practical application, the time relationship of each guide composition attribute can be directly defined by a user guide framework, and can also be obtained by combining the configuration of a developer.
Similarly, each guide composition attribute has a certain positional relationship. By way of example, the locations may be the same or different for the entry animation and the exit animation of the above example. For another example, the positional relationship of guidance composition attributes such as an entry animation, a guidance area, and an exit animation may not be the same for a full-screen guidance type user guidance and a local guidance type user guidance. Wherein, the position of each guide composition attribute can be represented by the position relationship between the guide composition attribute and other guide composition attributes, and also can be represented by the position relationship between the guide composition attribute and the screen. With regard to the latter representation, the position of the guidance composition attribute may also be directly represented as position information, such as coordinate information or the like. The technical field can be set according to practical situations and is not limited herein. In practical application, the position relationship of each guide composition attribute can be directly defined by a user guide framework, and can also be obtained by combining the configuration of a developer.
In the embodiment of the present disclosure, the user guide framework may define each guide component attribute, and set the time relationship and the position relationship of each guide component attribute, and further, may determine the time relationship and the position relationship of each guide component attribute by combining the setting of the user guide framework and the configuration of a developer, so as to facilitate obtaining the configuration information corresponding to each guide component attribute and then integrating the configuration information.
The embodiment of the present disclosure provides an example of user guidance, and describes the use of the user guidance framework from the viewpoint of codes, specifically as follows:
user guide () is used to show each guide component attribute to developer
In this example, the user guidance implemented by the user guidance framework mainly includes:
a. and (4) entering animation: gradual transparency
b. A guide area: screen center
c. A guide icon: finger, arrow head
d. And (3) guiding animation: rotate and translate
e. Priority management: is free of
f. Exiting the animation: the transparency gradually comes out
For the configuration of the guide composition attributes, the general components in the user guide framework are provided, so that the corresponding general components can be directly selected from the user guide framework, no additional code needs to be written for implementation, and finally, the complete user guide can be obtained by simply configuring the user guide framework by adopting the codes in the above example.
In the embodiment of the present disclosure, after the configuration information of each guidance component attribute is integrated in step S130, whether to generate a full-screen guidance or a local guidance may be determined according to the configuration of the developer. If the local guide is generated, the configuration of the developer may further include location information of the user guide, may set a plurality of values for the developer to select, may directly set the values to be input by the developer, and the like. For the case where the developer is not configured, the default values set by the user guidance framework can be directly employed to directly generate a full screen or local guidance.
In the embodiment of the present disclosure, after the development of the user guide is completed, the developer may also modify the generated user guide as needed, specifically, when a modification instruction of the user guide is received, determine a guide component attribute to be modified corresponding to the modification instruction, and obtain configuration information of the developer for the guide component attribute to be modified; and modifying the user guide according to the configuration information of the guide composition attribute to be modified.
In the disclosed embodiments, the user guidance framework may provide user-guided modification functionality. The developer can directly send out a modification instruction guided by the user through a specific command, the modification instruction carries the guide component attribute to be modified, namely, the direct reading of the command can determine the guide component attribute to be modified corresponding to the modification instruction. Further, the configuration information of the developer for the guide composition attribute to be modified is obtained, and the specific execution manner of this step may refer to the description of step S120, which is not described herein again. And then, modifying the user guide according to the configuration information of the guide composition attribute to be modified. For example, the configuration information of the guide component attribute to be modified can directly replace the original configuration information, and the new modified user guide can be regenerated by keeping other configurations unchanged.
Therefore, according to the method for generating the user guide provided by the embodiment of the disclosure, each guide component attribute is provided through the user guide framework which is flexible and high in reusability, and is displayed to the developer, so that the developer can configure each guide component attribute, and the user guide can be generated by integrating the configuration information of the developer for each guide component attribute, so that the developer can complete the development and modification of the user guide only by performing simple configuration, the research and development efficiency is greatly improved, and the cost is reduced.
An embodiment of the present disclosure further provides a device for generating a user guide, as shown in fig. 4, the device 40 may include: a determination and presentation module 401, an acquisition module 402, and an integration module 403, wherein,
the display module 401 is configured to display a user guidance development interface, where the user guidance development interface carries multiple guidance composition attributes for generating user guidance;
the obtaining module 402 is configured to obtain configuration information for each guidance composition attribute;
the integration module 403 is configured to integrate the configuration information of each guide component attribute to generate a user guide.
In an alternative implementation, the bootstrap composition attribute includes:
entering effect, exiting effect and picture configuration;
the screen configuration includes:
a guide icon, a guide area, and a guide animation.
In an optional implementation manner, for each guidance component attribute, when the obtaining module 402 is configured to obtain the configuration information of the guidance component attribute, it is specifically configured to:
displaying the pre-defined alternative items for configuring the guide composition attribute, and obtaining the configuration information of the guide composition attribute according to the selection of a developer on the alternative items;
acquiring configuration information of a guide composition attribute customized by a developer;
default configuration information for the bootstrap composition attributes is obtained.
In an alternative implementation, the entry effect includes an entry animation; if the guide composition attribute is to enter the animation, configuring an alternative of the guide composition attribute, which comprises at least one of the following items:
transparency fade-in, screen right side entry, screen lower side entry, no entry animation.
In an alternative implementation manner, if the guidance component attribute is a guidance icon, configuring an alternative of the guidance component attribute includes:
and each icon in a preset icon library.
In an alternative implementation manner, if the guidance component attribute is a guidance area, configuring an alternative of the guidance component attribute includes at least one of the following:
the screen comprises a screen upper part, a screen lower part, a screen center, a screen upper left part, a screen lower left part, a screen upper right part and a screen lower right part.
In an alternative implementation, if the guidance composition attribute is a guidance animation, configuring an alternative of the guidance composition attribute includes at least one of:
rotation animation, zoom animation, slide animation, transparency change animation, no-boot animation.
In an alternative implementation, the exit effect includes an exit animation; if the guide composition attribute is an exit animation, configuring an alternative of the guide composition attribute, which comprises at least one of the following:
transparency gradually comes out, screen right side exits, screen lower side exits, and no exit animation.
In an optional implementation manner, the integration module 403, when configured to integrate the configuration information of each guidance composition attribute and generate the user guidance, is specifically configured to:
determining the time relationship and the position relationship of each guide composition attribute;
and integrating the configuration information of the guide composition attributes according to the time relationship and the position relationship to generate the user guide.
In an alternative implementation, the integration module 403 is further configured to:
when a modification instruction guided by a user is received, determining a guide component attribute to be modified corresponding to the modification instruction, and acquiring configuration information of a developer aiming at the guide component attribute to be modified;
and modifying the user guide according to the configuration information of the guide composition attribute to be modified.
The user guidance generating apparatus provided in the embodiment of the present disclosure may be specific hardware on the device, or software or firmware installed on the device, and the implementation principle and the generated technical effect are the same as those of the foregoing method embodiment, and for brief description, no part of the embodiment of the device is mentioned, and reference may be made to corresponding contents in the foregoing method embodiment, and details are not repeated here.
The device for generating the user guide provided by the embodiment of the disclosure provides each guide component attribute through a flexible and highly reusable user guide framework, and displays the guide component attributes to a developer, so that the developer can configure each guide component attribute, and after acquiring configuration information of the developer for each guide component attribute, the developer can generate the user guide by integrating the configuration information, so that the developer can complete development of the user guide by only performing simple configuration, thereby greatly improving research and development efficiency and reducing cost.
Based on the same principle as the method for generating the user guidance in the embodiment of the present disclosure, an embodiment of the present disclosure further provides an electronic device, which includes a memory and a processor, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded by the processor and executes the method shown in any one of the above embodiments of the present disclosure.
Based on the same principle as the generation of user guidance in the embodiments of the present disclosure, a computer-readable medium for storing computer instructions, programs, code sets, or instruction sets, which, when run on a computer, cause the computer to perform the method shown in any of the above embodiments of the present disclosure is also provided in the embodiments of the present disclosure.
Referring now to FIG. 5, a schematic diagram of an electronic device 50 suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
The electronic device includes: a memory and a processor, wherein the processor may be referred to as the processing device 501 hereinafter, and the memory may include at least one of a Read Only Memory (ROM)502, a Random Access Memory (RAM)503 and a storage device 508 hereinafter, which are specifically shown as follows:
as shown in fig. 5, electronic device 50 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 50 are also stored. The processing device 501, the ROM502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
In general, input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc., output devices 507 including, for example, a liquid crystal display (L CD), speaker, vibrator, etc., storage devices 508 including, for example, magnetic tape, hard disk, etc., and communication devices 509. communication devices 509 may allow electronic device 50 to communicate wirelessly or wiredly with other devices to exchange data.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 501.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText transfer protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communications network). examples of communications networks include local area networks ("L AN"), wide area networks ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs, which when executed by the electronic device, cause the electronic device to perform the method for generating a user guidance shown in any of the above embodiments of the present disclosure.
Computer program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including AN object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules or units described in the embodiments of the present disclosure may be implemented by software or hardware. Wherein the designation of a module or unit does not in some cases constitute a limitation of the unit itself.
For example, without limitation, exemplary types of hardware logic that may be used include Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CP L D), and so forth.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Example 1 provides a method of generating a user guidance, the method comprising:
displaying a user guide development interface, wherein the user guide development interface is loaded with a plurality of guide composition attributes for generating user guide;
acquiring configuration information for each guide composition attribute;
and integrating the configuration information of each guide composition attribute to generate user guide.
In an alternative implementation, the bootstrap composition attribute includes:
entering effect, exiting effect and picture configuration;
in an alternative implementation, the screen configuration includes:
a guide icon, a guide area, and a guide animation.
In an optional implementation manner, for each guidance component attribute, obtaining configuration information of the guidance component attribute includes any one of the following manners:
displaying the pre-defined alternative items for configuring the guide composition attribute, and obtaining the configuration information of the guide composition attribute according to the selection of a developer on the alternative items;
acquiring configuration information of a guide composition attribute customized by a developer;
default configuration information for the bootstrap composition attributes is obtained.
In an alternative implementation, the entry effect includes an entry animation; if the guide composition attribute is to enter the animation, configuring an alternative of the guide composition attribute, which comprises at least one of the following items:
transparency fade-in, screen right side entry, screen lower side entry, no entry animation.
In an alternative implementation manner, if the guidance component attribute is a guidance icon, configuring an alternative of the guidance component attribute includes:
and each icon in a preset icon library.
In an alternative implementation manner, if the guidance component attribute is a guidance area, configuring an alternative of the guidance component attribute includes at least one of the following:
the screen comprises a screen upper part, a screen lower part, a screen center, a screen upper left part, a screen lower left part, a screen upper right part and a screen lower right part.
In an alternative implementation, if the guidance composition attribute is a guidance animation, configuring an alternative of the guidance composition attribute includes at least one of:
rotation animation, zoom animation, slide animation, transparency change animation, no-boot animation.
In an alternative implementation, the exit effect includes an exit animation; if the guide composition attribute is an exit animation, configuring an alternative of the guide composition attribute, which comprises at least one of the following:
transparency gradually comes out, screen right side exits, screen lower side exits, and no exit animation.
In an optional implementation manner, integrating configuration information of each guide component attribute to generate a user guide includes:
determining the time relationship and the position relationship of each guide composition attribute;
and integrating the configuration information of the guide composition attributes according to the time relationship and the position relationship to generate the user guide.
In an optional implementation manner, after generating the user guidance, the method further includes:
when a modification instruction guided by a user is received, determining a guide component attribute to be modified corresponding to the modification instruction, and acquiring configuration information of a developer aiming at the guide component attribute to be modified;
and modifying the user guide according to the configuration information of the guide composition attribute to be modified.
Example 2 provides an apparatus for generating user guidance of example 1, the apparatus comprising:
the display module is used for displaying a user guide development interface, and the user guide development interface is loaded with various guide composition attributes for generating user guide;
an acquisition module for acquiring configuration information for each guide composition attribute;
and the integration module is used for integrating the configuration information of the guide composition attributes to generate the user guide.
In an alternative implementation, the bootstrap composition attribute includes:
entering effect, exiting effect and picture configuration;
in an alternative implementation, the screen configuration includes:
a guide icon, a guide area, and a guide animation.
In an optional implementation manner, for each guidance component attribute, when the obtaining module is configured to obtain the configuration information of the guidance component attribute, specifically, the obtaining module is configured to:
displaying the pre-defined alternative items for configuring the guide composition attribute, and obtaining the configuration information of the guide composition attribute according to the selection of a developer on the alternative items;
acquiring configuration information of a guide composition attribute customized by a developer;
default configuration information for the bootstrap composition attributes is obtained.
In an alternative implementation, the entry effect includes an entry animation; if the guide composition attribute is to enter the animation, configuring an alternative of the guide composition attribute, which comprises at least one of the following items:
transparency fade-in, screen right side entry, screen lower side entry, no entry animation.
In an alternative implementation manner, if the guidance component attribute is a guidance icon, configuring an alternative of the guidance component attribute includes:
and each icon in a preset icon library.
In an alternative implementation manner, if the guidance component attribute is a guidance area, configuring an alternative of the guidance component attribute includes at least one of the following:
the screen comprises a screen upper part, a screen lower part, a screen center, a screen upper left part, a screen lower left part, a screen upper right part and a screen lower right part.
In an alternative implementation, if the guidance composition attribute is a guidance animation, configuring an alternative of the guidance composition attribute includes at least one of:
rotation animation, zoom animation, slide animation, transparency change animation, no-boot animation.
In an alternative implementation, the exit effect includes an exit animation; if the guide composition attribute is an exit animation, configuring an alternative of the guide composition attribute, which comprises at least one of the following:
transparency gradually comes out, screen right side exits, screen lower side exits, and no exit animation.
In an optional implementation manner, the integration module is specifically configured to, when integrating configuration information of attributes of guide components according to a user guide framework and generating a user guide, perform:
determining the time relation and the position relation of each guide composition attribute according to the user guide frame;
and according to the time relation and the position relation and the user guide frame, integrating the configuration information of the guide composition attributes to generate the user guide.
In an alternative implementation, the integration module is further configured to:
when a modification instruction guided by a user is received, determining a guide component attribute to be modified corresponding to the modification instruction, and acquiring configuration information of a developer aiming at the guide component attribute to be modified;
and modifying the user guide according to the configuration information of the guide composition attribute to be modified.
Example 3 provides, in accordance with one or more embodiments of the present disclosure, an electronic device comprising:
a processor and a memory storing at least one instruction, at least one program, set of codes, or set of instructions that is loaded and executed by the processor to implement a method as shown in example 1 of the present disclosure.
Example 4 provides a computer readable medium for storing a computer instruction, program, set of codes or set of instructions which, when run on a computer, causes the computer to perform the method as shown in example 1 of the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.