CN112015507A - Application guide method and device - Google Patents

Application guide method and device Download PDF

Info

Publication number
CN112015507A
CN112015507A CN202010844978.1A CN202010844978A CN112015507A CN 112015507 A CN112015507 A CN 112015507A CN 202010844978 A CN202010844978 A CN 202010844978A CN 112015507 A CN112015507 A CN 112015507A
Authority
CN
China
Prior art keywords
application
resource
target
target file
bootstrap
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
CN202010844978.1A
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202010844978.1A priority Critical patent/CN112015507A/en
Publication of CN112015507A publication Critical patent/CN112015507A/en
Pending legal-status Critical Current

Links

Images

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
    • G06F9/453Help systems

Abstract

The disclosure relates to an application guide method and device, relates to the field of application design, and aims to solve the problem that an application guide scheme in the prior art is poor in universality. The application guide method comprises the following steps: responding to the operation of starting the application, and acquiring a target file and a resource package of the application, wherein the target file comprises a resource identifier corresponding to each guiding step in the application; the resource package comprises resources used for guiding user operation in the application; calling a bootstrap program of the application to analyze the target file to obtain a target resource identifier corresponding to the current bootstrap step; determining a target resource from the resource packet; the target resource is the resource indicated by the target resource identifier; and displaying the target resource in the interface of the current guiding step so as to realize the application guiding function. Embodiments of the present disclosure are applied to providing application guidance for a user.

Description

Application guide method and device
Technical Field
The present disclosure relates to the field of application design, and in particular, to an application guiding method and apparatus.
Background
The application guide can help the user to be familiar with the application rules quickly, and good application experience is provided for the user. For example, the game guide can guide the user to know the basic environment and basic operation of the game, so that the user can quickly invest in the game. In the prior art, an application bootstrap program corresponds to one application, cannot be applied to other applications, and is poor in universality.
Disclosure of Invention
The present disclosure provides an application guide method and apparatus, so as to at least solve the problem of poor universality of an application guide scheme in the prior art. The technical scheme of the disclosure is as follows:
according to a first aspect of the present disclosure, there is provided an application booting method, including:
responding to the operation of starting the application, and acquiring a target file and a resource package of the application, wherein the target file comprises a resource identifier corresponding to each guiding step in the application; the resource package comprises resources used for guiding user operation in the application;
calling a bootstrap program of the application to analyze the target file to obtain a target resource identifier corresponding to the current bootstrap step;
determining a target resource from the resource packet; the target resource is the resource indicated by the target resource identifier;
and displaying the target resource in the interface of the current guiding step so as to realize the application guiding function.
Optionally, the obtaining the target file and the resource package of the application includes:
sending a guide resource request, wherein the guide resource request comprises an application identifier;
a target file and a resource package are received.
Optionally, in the interface of the current guidance step, the target resource is displayed, including:
responding to a first event, and displaying a target resource in the interface of the current guiding step; the first event is any one of the operation of analyzing a target file, clicking a control and overtime display time of the current guiding step by the guiding program; the target resource includes a control.
Optionally, in the interface of the current guidance step, the target resource is displayed, including:
and in the interface of the current guiding step, displaying the target resources according to the target resource identifiers in the target file and the corresponding target resource sequence.
Optionally, the target file further includes a resource attribute corresponding to each booting step in the application, and the application booting method further includes:
calling a bootstrap program of the application to analyze the target file to obtain a target resource attribute corresponding to the current bootstrap step; the target resource attribute comprises at least one of the position of the target resource, the color of the target resource, the transparency of the target resource and the display time of the target resource;
and in the interface of the current guiding step, displaying the target resource according to the target resource attribute so as to realize the application guiding function.
Optionally, the target resource includes at least one of text, picture, music, control, animation, and video.
Optionally, the target file is a text file or a binary file.
According to a second aspect of the present disclosure, there is provided an application booting method including:
receiving a bootstrap resource request, wherein the bootstrap resource request comprises an application identifier;
reading a target file and a resource package corresponding to the application identifier from a preset mapping relation, wherein the target file comprises the resource identifier corresponding to each guiding step in the application; the resource package comprises resources used for guiding user operation in the application;
and transmitting the target file and the resource packet.
According to a third aspect of the present disclosure, there is provided an application guide apparatus applied to a terminal, including:
the acquisition module is configured to respond to the operation of starting the application and acquire a target file and a resource package of the application, wherein the target file comprises a resource identifier corresponding to each guide step in the application; the resource package comprises resources used for guiding user operation in the application;
the processing module is configured to call a bootstrap program of the application to analyze the target file acquired by the acquisition module to obtain a target resource identifier corresponding to the current bootstrap step;
the determining module is configured to determine the target resource from the resource package acquired by the acquiring module; the target resource is the resource indicated by the target resource identifier;
and the display module is configured to display the target resource determined by the determination module in the interface of the current guiding step so as to realize the application guiding function.
Optionally, the obtaining module is specifically configured to:
sending a guide resource request, wherein the guide resource request comprises an application identifier;
a target file and a resource package are received.
Optionally, the display module is specifically configured to:
responding to a first event, and displaying a target resource in the interface of the current guiding step; the first event is any one of the operation of analyzing a target file, clicking a control and overtime display time of the current guiding step by the guiding program; the target resource includes a control.
Optionally, the display module is specifically configured to:
and in the interface of the current guiding step, displaying the target resources according to the target resource identifiers in the target file and the corresponding target resource sequence.
Optionally, the target file further includes a resource attribute corresponding to each boot step in the application;
the processing module is also configured to call a bootstrap program of the application to analyze the target file to obtain a target resource attribute corresponding to the current bootstrap step; the target resource attribute comprises at least one of the position of the target resource, the color of the target resource, the transparency of the target resource and the display time of the target resource;
and the display module is also configured to display the target resource according to the target resource attribute in the interface of the current guiding step so as to realize the application guiding function.
Optionally, the target resource includes at least one of text, picture, music, control, animation, and video.
Optionally, the target file is a text file or a binary file.
According to a fourth aspect of the present disclosure, there is provided an application guide apparatus applied to a server, including:
a receiving module configured to receive a bootstrap resource request, the bootstrap resource request including an application identification;
the processing module is configured to read a target file and a resource package corresponding to the application identifier received by the receiving module from a preset mapping relation, wherein the target file comprises a resource identifier corresponding to each guiding step in the application; the resource package comprises resources used for guiding user operation in the application;
and the sending module is configured to send the target file and the resource package obtained by the processing module.
According to a fifth aspect of the present disclosure, there is provided a terminal comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the optional application bootstrapping method as any one of the first aspects.
According to a sixth aspect of the present disclosure, there is provided a server comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the application bootstrapping method as described in the second aspect above.
According to a seventh aspect of the present disclosure, there is provided a computer-readable storage medium having instructions stored thereon, which, when executed by a processor of a terminal, enable the terminal to perform the application bootstrapping method as optional in any one of the above first aspects.
According to an eighth aspect of the present disclosure, there is provided a computer-readable storage medium having instructions stored thereon, which, when executed by a processor of a server, enable the server to perform the application booting method as in the second aspect described above.
According to a ninth aspect of the present disclosure, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the optional application bootstrapping method as any one of the first aspects.
According to a tenth aspect of the present disclosure, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the application bootstrapping method as in the second aspect.
The technical scheme provided by the embodiment of the disclosure at least has the following beneficial effects: and responding to the operation of starting the application, and acquiring a target file and a resource package of the application. And then, calling the bootstrap program of the application to analyze the target file to obtain the target resource identifier corresponding to the current bootstrap step. And then, determining the target resource from the resource package, and displaying the target resource in the interface of the current guiding step to realize the application guiding function. Thus, the target file and the resource package are independent of the application bootstrap program, and when the bootstrap scheme of a certain application is determined, the application bootstrap scheme can be determined by only configuring the required target file and the required resource package and utilizing the general bootstrap program. The method avoids the independent development of the corresponding bootstrap program for each application, and improves the universality of the application bootstrap scheme.
In addition, when the application needs to be updated, the application guide scheme can be updated only by updating the resource package and the target file corresponding to the application, so that the universality of the application guide scheme is further improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic diagram illustrating an application guidance system in accordance with an exemplary embodiment.
FIG. 2 is one of the flow diagrams illustrating an application boot method according to an example embodiment.
FIG. 3 is one of the interface diagrams illustrating a boot step according to an exemplary embodiment.
FIG. 4 is a second interface diagram illustrating a guidance step according to an exemplary embodiment.
FIG. 5 is a third interface diagram illustrating a guidance step according to an exemplary embodiment.
FIG. 6 is a fourth interface diagram illustrating a directing step according to an exemplary embodiment.
FIG. 7 is a fifth interface diagram illustrating a boot step according to an exemplary embodiment.
Fig. 8 is a second flowchart illustrating another method of application booting according to an example embodiment.
Fig. 9 is a third flowchart illustrating another method of application booting according to an example embodiment.
Fig. 10 is one of schematic structural diagrams illustrating an application guide apparatus according to an exemplary embodiment.
Fig. 11 is a second schematic structural diagram of an application guide device according to an exemplary embodiment.
Fig. 12 is a diagram illustrating a hardware structure of a terminal according to an exemplary embodiment.
Fig. 13 is a diagram illustrating a hardware configuration of a server according to an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
First, an application scenario of the embodiment of the present disclosure is described. The application guide method of the embodiment of the disclosure is applied to a scene that a user uses a certain application for the first time, for example, when a game player user installs and uses a certain game for the first time, the game play is guided. Application boot is typically an application boot program that is developed separately for a certain application. The principle is generally as follows: judging whether the current application guide step is a preset step or not at each position where application guide is likely to occur in the application; and if the current application guide step is a preset step, executing the logic of the corresponding guide part. Therefore, the application bootstrap program corresponds to one application, cannot be applied to other applications, and is poor in universality.
In view of the above problems, embodiments of the present disclosure provide an application guidance method and apparatus, where a target file and a resource package are independent of an application guidance program, and when a guidance scheme of an application is determined, only the target file and the resource package required by the application need to be configured, and a guidance scheme of the application can be determined by using a general application guidance program, so that the universality of the application guidance scheme is improved.
Next, an implementation environment of the embodiments of the present disclosure will be described.
Fig. 1 is a schematic diagram illustrating an application guide system to which an application guide method provided by an embodiment of the present disclosure may be applied, according to an exemplary embodiment. As shown in fig. 1, the application guidance system may include: a terminal 11 and a server 12. The terminal 11 communicates with the server 12 in a wired communication manner or a wireless communication manner.
The terminal 11 is mainly used for interacting with the server 12 in response to an operation of starting an application, and acquiring a target file and a resource package of the application from the server 12. Further, the terminal 11 is further configured to invoke a bootstrap program of the application to analyze the target file, obtain a target resource identifier corresponding to the current bootstrap step, determine the target resource from the resource package, and then display the target resource in the interface of the current bootstrap step to implement the application bootstrap function.
In some embodiments, the terminal 11 may be a mobile phone, a tablet computer, a notebook computer, a desktop computer, a portable computer, etc., which is not limited by this disclosure. Fig. 1 illustrates the terminal 11 as a mobile phone.
The server 12 is mainly configured to interact with the terminal 11, receive a resource guiding request of the terminal 11, and read a target file and a resource package corresponding to the application identifier from a preset mapping relationship. Further, the server 12 is also configured to send the target file and the resource package to the terminal 11.
In some embodiments, the server 12 may be a single server or a server cluster composed of multiple servers, which is not limited in this disclosure.
FIG. 2 is a flow diagram illustrating a method of application booting in accordance with an example embodiment. When the method is applied to a terminal, as shown in fig. 2, the method may include the following steps.
201. The application guide device responds to the operation of starting the application and acquires the target file and the resource package of the application.
The target file comprises a resource identifier corresponding to each boot step in the application. The resource package includes resources in the application for directing user operations. Optionally, the target file further includes a resource attribute corresponding to each boot step in the application. Such as the location, color, transparency, display time, etc. of the asset.
Illustratively, FIG. 3 is an interface diagram illustrating a guidance step according to an exemplary embodiment. Referring to fig. 3, the interface includes resources for guiding the user to operate, and the resources include a picture 301 and a control 302 for providing application guidance for the user. Controls 302 include, among others, a prepare control, a next (countdown) control, and a skip control. One for each control 402. For example, fig. 4-7 are interface diagrams illustrating a guidance step according to an exemplary embodiment. When the user clicks the prepare control in fig. 4, the interface shown in fig. 5 is entered. When the user clicks the exit control in fig. 5, the interface shown in fig. 6 is entered. When the user clicks on the next (countdown) control in fig. 6, the interface shown in fig. 7 is entered.
First, the application booting apparatus determines an operation of starting an application, wherein the case of starting the operation of the application includes: a user installs the application for the first time and starts the application operation; updating the application, and starting the operation of the application when a new guiding step exists; after the user empties the application data, the application operation is started for the first time; and when the user starts the application, logging in a new account, and the like.
Then, the application guide device acquires the target file and the resource package of the application. Specifically, the obtaining of the target file and the resource package of the application includes: the application guide device sends a guide resource request to the server and receives the target file and the resource packet from the server. The guide resource request comprises an application identifier, so that the server can match the corresponding target file and the corresponding resource package according to the application identifier. The server stores the mapping relation between the application identification and the target file and the resource package.
202. And the application guide device calls a guide program of the application to analyze the target file, obtain a target resource identifier corresponding to the current guide step and determine the target resource from the resource packet.
And the target resource is the resource indicated by the target resource identifier.
Specifically, the target file uses a key-value pair (key-value) to implement association of the guidance step, the resource identifier, and the resource in the resource package. Wherein the key is defined in the bootstrap of the application. When the application guide device runs the guide program of the application, the target file can be analyzed to read the value corresponding to the key, and then the resource corresponding to the value is obtained in the resource packet.
Alternatively, the target file may be a text file, such as a lightweight object notation (JSON) file (suffixed with JSON), a text document (text) (suffixed with txt), an extensible markup language (XML) (suffixed with XML), a comma-separated value (CSV) (suffixed with CSV); it may also be a binary file, such as microsoft's office document (suffix. doc, or. docx). The target resource comprises at least one of text, pictures, music, controls, animations and videos.
For example, json file 1 described below is a target file corresponding to the current guidance step, and json file 1 includes a resource identifier corresponding to the current guidance step. The resource package 1 described below includes resources corresponding to the json file 1.
json document 1:
Figure BDA0002642727710000091
resource package 1:
png, xxxx. mp3, next, skip.
Thus, in the case where the bootstrap of the application runs and json file 1 is parsed: when the key is bg _ name, if the corresponding target resource identifier is xxxx.png, loading the resource identified as xxxx.png in the resource package 1; when the key is audio _ name, if the corresponding target resource identifier is xxxx. mp3, loading the resource identified as xxxx. mp3 in the resource package 1; when the key is the type and the type corresponds to the next, the corresponding target resource identifier is the next step, and then the resource identified as the next step is loaded in the resource package 1; and when the key is type and the type corresponds to skip, loading the resource marked as skip in the resource package 1 if the corresponding target resource mark is skip.
Optionally, when the target file further includes a resource attribute corresponding to each guidance step in the application, the application guidance device may also obtain the target resource attribute corresponding to the current guidance step when calling the guidance program of the application and analyzing the target file. The target resource attribute comprises at least one of the position of the target resource, the color of the target resource, the transparency of the target resource and the display time of the target resource. For example, in the above json file 1, the display time of the target resource is configured to be: 10, namely the display time of the target resource is 10 s; the position of the control is configured to be "position" [0.2, 0.5, 0.1, 0.1], that is, the positions of the left, upper, right and lower four sides of the control are respectively located at the positions of 0.2 × width, 0.5 × height, 0.2 × width and 0.5 × height of the current guidance interface, wherein the width and the height are the width and the height of the current guidance interface of the display screen.
203. And the application guide device displays the target resource in the interface of the current guide step so as to realize the application guide function.
Specifically, after the application guidance device obtains the target resource corresponding to the current guidance step, the target resource is displayed in the interface. For example, fig. 4-7 are interface diagrams illustrating different guidance steps according to exemplary embodiments.
Optionally, the application guidance device displays the target resources in the interface of the current guidance step according to the target resource identifiers in the target file and the corresponding target resource sequence. For example, in the json file 1, if the target resource identifiers in the target file correspond to the target resources in the order xxxx.png and xxxx.mp3, the target resources are displayed in the order xxxx.png → xxxx.mp3 when actually called.
Optionally, when the target file further includes a resource attribute corresponding to each guidance step in the application, the application guidance device displays the target resource according to the target resource attribute in the interface of the current guidance step, so as to implement the application guidance function.
Optionally, the application guidance device responds to the first event, and displays the target resource in the interface of the current guidance step. Specifically, the first event is any one of the operation of the bootstrap program for analyzing the target file, the operation of clicking the control, and the display time timeout of the current bootstrap step. Wherein the target resource comprises a control.
In addition, since the number of the booting steps corresponding to each application may be different, in the present disclosure, different target files may be configured for different applications to implement different booting schemes.
For example, an application corresponding to json file 2 described below includes two boot steps, and an application corresponding to json file 3 includes 3 boot steps.
json file 2:
Figure BDA0002642727710000111
Figure BDA0002642727710000121
Figure BDA0002642727710000131
Figure BDA0002642727710000141
the technical scheme provided by the embodiment of the disclosure at least has the following beneficial effects: and responding to the operation of starting the application, and acquiring a target file and a resource package of the application. And then, calling the bootstrap program of the application to analyze the target file to obtain the target resource identifier corresponding to the current bootstrap step. And then, determining the target resource from the resource package, and displaying the target resource in the interface of the current guiding step to realize the application guiding function. Thus, the target file and the resource package are independent of the application bootstrap program, and when the bootstrap scheme of a certain application is determined, the application bootstrap scheme can be determined by only configuring the required target file and the required resource package and utilizing the general bootstrap program. The method avoids the independent development of the corresponding bootstrap program for each application, and improves the universality of the application bootstrap scheme.
FIG. 8 is a flow diagram illustrating a method of application booting in accordance with an example embodiment. When the method is applied to a server, as shown in fig. 8, the method may include the following steps.
801. The application bootstrapping means receives a bootstrap resource request.
Wherein the bootstrap resource request includes an application identification.
802. And the application guide device reads the target file and the resource packet corresponding to the application identifier from the preset mapping relation.
The target file comprises a resource identifier corresponding to each boot step in the application. The resource package includes resources in the application for directing user operations.
Specifically, the preset mapping relationship may be defined manually by the relevant developer, or may be pre-stored. The preset mapping relation comprises the corresponding relation between the application identifier and the target file and between the application identifier and the resource package.
803. The application guide device sends the target file and the resource package.
In the above scheme, the preset mapping relationship stored in the server may be defined manually by the relevant developer, or may be pre-stored. Therefore, when a new guiding step occurs after the application is updated, the application guiding scheme can be updated only by updating the resource package and the target file corresponding to the application, and thus, the universality of the application guiding scheme is further improved.
FIG. 9 is a flow diagram illustrating a method of application booting in accordance with an example embodiment. When the method is applied to the application guide system as shown in fig. 1, the method may include the following steps as shown in fig. 9.
901. The terminal sends a request for booting resources to the server in response to an operation for starting the application.
Wherein the bootstrap resource request includes an application identification.
902. And the server reads the target file and the resource packet corresponding to the application identifier from the preset mapping relation.
The target file comprises a resource identifier corresponding to each boot step in the application. The resource package includes resources in the application for directing user operations.
Step 902 is the same as step 802 in another embodiment, and the detailed description may refer to the related description in step 802, which is not repeated herein.
903. And the server sends the target file and the resource packet to the terminal.
904. And the terminal calls the applied bootstrap program to analyze the target file, obtain a target resource identifier corresponding to the current bootstrap step and determine the target resource from the resource packet.
905. And the terminal displays the target resource in the interface of the current guiding step so as to realize the application guiding function.
And the target resource is the resource indicated by the target resource identifier.
Steps 904 to 905 are similar to steps 202 to 203 in another embodiment, and the detailed description may refer to the related descriptions in steps 202 to 203, which are not repeated herein.
In the scheme, the target file and the resource package are separately arranged from the application bootstrap program, and when the bootstrap scheme is determined for a certain application, the application bootstrap scheme can be determined only by configuring the target file and the resource package corresponding to the application, so that the condition that the corresponding bootstrap program is independently developed for each application is avoided, and the universality of the application bootstrap scheme is improved. In addition, when the application needs to be updated, the application guidance scheme can be updated only by changing the target file and the resource package corresponding to the application, so that the universality of the application guidance scheme is further improved.
Fig. 10 is a schematic structural diagram illustrating an application guide apparatus according to an exemplary embodiment. The application guide device is applied to the terminal. Referring to fig. 10, the application guide apparatus includes: an acquisition module 1001, a processing module 1002, a determination module 1003 and a display module 1004.
The obtaining module 1001 is configured to, in response to an operation of starting an application, obtain a target file and a resource package of the application, where the target file includes a resource identifier corresponding to each boot step in the application. The resource package includes resources in the application for directing user operations.
The processing module 1002 is configured to invoke a bootstrap program of the application, so as to analyze the target file acquired by the acquisition module 1001, and obtain a target resource identifier corresponding to the current boot step.
A determining module 1003 configured to determine the target resource from the resource package acquired by the acquiring module 1001. The target resource is the resource indicated by the target resource identifier.
A display module 1004 configured to display the target resource determined by the determination module 1003 in the interface of the current guidance step to implement the application guidance function.
Optionally, the obtaining module 1001 is specifically configured to:
and sending a guide resource request, wherein the guide resource request comprises an application identification.
A target file and a resource package are received.
Optionally, the display module 1004 is specifically configured to:
responding to a first event, and displaying a target resource in the interface of the current guiding step; the first event is any one of the operation of analyzing a target file, clicking a control and overtime display time of the current guiding step by the guiding program; the target resource includes a control.
Optionally, the display module 1004 is specifically configured to:
and in the interface of the current guiding step, displaying the target resources according to the target resource identifiers in the target file and the corresponding target resource sequence.
Optionally, the target file further includes a resource attribute corresponding to each boot step in the application;
the processing module 1002 is further configured to invoke a bootstrap program of the application to analyze the target file to obtain a target resource attribute corresponding to the current bootstrap step; the target resource attribute comprises at least one of the position of the target resource, the color of the target resource, the transparency of the target resource and the display time of the target resource;
the display module 1004 is further configured to display the target resource according to the target resource attribute in the interface of the current guidance step, so as to implement the application guidance function.
Optionally, the target resource includes at least one of text, picture, music, control, animation, and video.
Optionally, the target file is a text file or a binary file.
Another embodiment of the present disclosure also provides a computer-readable storage medium, which stores instructions that, when executed on an application booting apparatus, execute the application booting method according to the embodiment shown in fig. 2, or execute the steps executed by the terminal according to the embodiment shown in fig. 9.
In another embodiment of the present disclosure, there is also provided a computer program product comprising computer executable instructions stored in a computer readable storage medium. The processor of the application booting apparatus may read the computer executable instructions from the computer readable storage medium, and the processor executes the computer executable instructions to cause the application booting apparatus to perform the application booting method of the embodiment shown in fig. 2, or to perform the steps performed by the terminal in the embodiment shown in fig. 9.
Fig. 11 is a schematic structural diagram illustrating an application guide apparatus according to an exemplary embodiment. The application guide device is applied to a server. Referring to fig. 11, the application guide apparatus includes: a receiving module 1101, a processing module 1102 and a sending module 1103.
A receiving module 1101 configured to receive a bootstrap resource request, the bootstrap resource request including an application identification.
The processing module 1102 is configured to read, from a preset mapping relationship, a target file and a resource package corresponding to the application identifier received by the receiving module 1101, where the target file includes a resource identifier corresponding to each guidance step in the application. The resource package includes resources in the application for directing user operations.
A sending module 1103 configured to send the target file and the resource package obtained by the processing module 1102.
Another embodiment of the present disclosure also provides a computer-readable storage medium, which stores instructions that, when executed on an application booting apparatus, execute the application booting method of the embodiment shown in fig. 8, or execute the steps performed by the server in the embodiment shown in fig. 9.
In another embodiment of the present disclosure, there is also provided a computer program product comprising computer executable instructions stored in a computer readable storage medium. The processor of the application booting device may read the computer executable instructions from the computer readable storage medium, and the processor executes the computer executable instructions to cause the application booting device to perform the application booting method of the embodiment shown in fig. 8, or to perform the steps performed by the server of the embodiment shown in fig. 9.
Fig. 12 is a block diagram of a terminal according to an example embodiment. The terminal may be an application bootstrapping apparatus, which may be: a smartphone, a tablet, a laptop, or a desktop computer.
The application booting apparatus may include a processor 122, and the processor 122 is configured to execute the application program code, thereby implementing the application booting method in the present disclosure.
The processor 122 may be a Central Processing Unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more ics for controlling the execution of programs in accordance with the present disclosure.
As shown in fig. 12, the application guide apparatus may further include a memory 123. The memory 123 is used for storing application program codes for executing the disclosed solution, and is controlled by the processor 122 to execute.
The memory 123 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 123 may be separate and coupled to the processor 122 via a bus 124. The memory 123 may also be integrated with the processor 122.
As shown in fig. 12, the application booting device may further include a communication interface 121, wherein the communication interface 121, the processor 122 and the memory 123 may be coupled to each other, for example, via a bus 1124. The communication interface 121 is used for information interaction with other devices, for example, information interaction between the application guide apparatus and other devices is supported.
It is noted that the device configuration shown in fig. 12 does not constitute a limitation of the application guide, and that the application guide may comprise more or less components than those shown in fig. 12, or some components may be combined, or a different arrangement of components than those shown in fig. 12.
Fig. 13 is a schematic diagram illustrating a structure of a server, which may be an application booting device, according to an example embodiment. The server may vary significantly depending on configuration or performance, and may include one or more processors 131 and one or more memories 132. The memory 132 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 131 to implement the display method of the buried point data provided by the above method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. An application guide method is applied to a terminal and comprises the following steps:
responding to the operation of starting the application, and acquiring a target file and a resource package of the application, wherein the target file comprises a resource identifier corresponding to each guiding step in the application; the resource package comprises resources used for guiding user operation in the application;
calling the bootstrap program of the application to analyze the target file to obtain a target resource identifier corresponding to the current bootstrap step;
determining a target resource from the resource packet; the target resource is the resource indicated by the target resource identifier;
and displaying the target resource in the interface of the current guiding step so as to realize the application guiding function.
2. The application boot method according to claim 1, wherein the obtaining the target file and the resource package of the application comprises:
sending a bootstrap resource request, the bootstrap resource request including an application identification;
and receiving the target file and the resource package.
3. The application bootstrapping method according to claim 1 or 2,
the target resource comprises at least one of characters, pictures, music, controls, animations and videos.
4. The application bootstrapping method according to claim 1 or 2,
the target file is a text file or a binary file.
5. An application boot method, applied to a server, includes:
receiving a bootstrap resource request, the bootstrap resource request including an application identification;
reading a target file and a resource package corresponding to the application identifier from a preset mapping relation, wherein the target file comprises the resource identifier corresponding to each guiding step in the application; the resource package comprises resources used for guiding user operation in the application;
and sending the target file and the resource package.
6. An application guide apparatus applied to a terminal, comprising:
the acquisition module is configured to respond to an operation of starting an application, and acquire a target file and a resource package of the application, wherein the target file comprises a resource identifier corresponding to each guiding step in the application; the resource package comprises resources used for guiding user operation in the application;
the processing module is configured to call a bootstrap program of the application to analyze the target file acquired by the acquisition module to obtain a target resource identifier corresponding to the current bootstrap step;
the determining module is configured to determine a target resource from the resource package acquired by the acquiring module; the target resource is the resource indicated by the target resource identifier;
and the display module is configured to display the target resource determined by the determination module in the interface of the current guiding step so as to realize an application guiding function.
7. An application guide apparatus applied to a server, comprising:
a receiving module configured to receive a bootstrap resource request, the bootstrap resource request including an application identification;
the processing module is configured to read a target file and a resource package corresponding to the application identifier received by the receiving module from a preset mapping relation, wherein the target file comprises a resource identifier corresponding to each guiding step in the application; the resource package comprises resources used for guiding user operation in the application;
and the sending module is configured to send the target file and the resource package obtained by the processing module.
8. A terminal, comprising:
a processor;
a memory for storing instructions executable by the processor;
wherein the processor is configured to execute the instructions to implement the application bootstrapping method as claimed in any one of claims 1-4.
9. A server, comprising:
a processor;
a memory for storing instructions executable by the processor;
wherein the processor is configured to execute the instructions to implement the application bootstrapping method as claimed in claim 5.
10. A computer-readable storage medium having instructions stored thereon, wherein the instructions in the computer-readable storage medium, when executed by a processor of a terminal, enable the terminal to perform the application bootstrapping method according to any one of claims 1-4; alternatively, the instructions in the computer readable storage medium, when executed by a processor of a server, enable the server to perform the application bootstrapping method as recited in claim 5.
CN202010844978.1A 2020-08-20 2020-08-20 Application guide method and device Pending CN112015507A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010844978.1A CN112015507A (en) 2020-08-20 2020-08-20 Application guide method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010844978.1A CN112015507A (en) 2020-08-20 2020-08-20 Application guide method and device

Publications (1)

Publication Number Publication Date
CN112015507A true CN112015507A (en) 2020-12-01

Family

ID=73504371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010844978.1A Pending CN112015507A (en) 2020-08-20 2020-08-20 Application guide method and device

Country Status (1)

Country Link
CN (1) CN112015507A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113577760A (en) * 2021-08-17 2021-11-02 网易(杭州)网络有限公司 Game operation guiding method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257897A (en) * 2013-06-03 2013-08-21 贝壳网际(北京)安全技术有限公司 Starting method and device of mobile terminal browser and mobile terminal
CN106250158A (en) * 2016-08-01 2016-12-21 广州优视网络科技有限公司 The layout method of a kind of client end interface, device and mobile device
CN107885540A (en) * 2016-09-28 2018-04-06 腾讯科技(深圳)有限公司 A kind of method, apparatus and terminal of loading application programs static resource
CN109213551A (en) * 2017-07-06 2019-01-15 阿里巴巴集团控股有限公司 A kind of user interface process method and device
CN109885365A (en) * 2019-01-25 2019-06-14 平安科技(深圳)有限公司 Guiding method of operating, device, computer equipment and storage medium
CN110020278A (en) * 2017-09-08 2019-07-16 阿里巴巴集团控股有限公司 Displaying, providing method, client and the server of page data
CN110968312A (en) * 2018-09-30 2020-04-07 北京奇虎科技有限公司 Method and device for changing interface layout of application program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257897A (en) * 2013-06-03 2013-08-21 贝壳网际(北京)安全技术有限公司 Starting method and device of mobile terminal browser and mobile terminal
CN106250158A (en) * 2016-08-01 2016-12-21 广州优视网络科技有限公司 The layout method of a kind of client end interface, device and mobile device
CN107885540A (en) * 2016-09-28 2018-04-06 腾讯科技(深圳)有限公司 A kind of method, apparatus and terminal of loading application programs static resource
CN109213551A (en) * 2017-07-06 2019-01-15 阿里巴巴集团控股有限公司 A kind of user interface process method and device
CN110020278A (en) * 2017-09-08 2019-07-16 阿里巴巴集团控股有限公司 Displaying, providing method, client and the server of page data
CN110968312A (en) * 2018-09-30 2020-04-07 北京奇虎科技有限公司 Method and device for changing interface layout of application program
CN109885365A (en) * 2019-01-25 2019-06-14 平安科技(深圳)有限公司 Guiding method of operating, device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113577760A (en) * 2021-08-17 2021-11-02 网易(杭州)网络有限公司 Game operation guiding method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
EP3876116B1 (en) Method and apparatus for running mini program, electronic device, and storage medium
US9342321B2 (en) System and method for cross-platform applications on a wireless phone
US8495617B2 (en) Interworking system between user terminal and smart card for executing widget, and method thereof
CN109684573B (en) Target picture display method and device, storage medium and electronic equipment
CN105955833B (en) Engine calling method and device
US10908948B2 (en) Multiple application instances in operating systems that utilize a single process for application execution
CN108776587B (en) Data acquisition method and device, computer equipment and storage medium
CN111881019A (en) User interface testing method and device
CN111880813B (en) Method for realizing android card UI (user interface) and storage medium
CN111367518A (en) Page layout method and device, computing equipment and computer storage medium
CN108170430B (en) Interface display method and system
CN112965690A (en) UI resource dynamic updating method and device, storage medium and electronic equipment
CN106681767B (en) Light application adding method and device
CN112015507A (en) Application guide method and device
US9471299B1 (en) Updating code within an application
US10732941B2 (en) Visual facet components
US20140304690A1 (en) Systems and Methods for Outputting an Application to Another Environment
CN111142990A (en) WeChat applet page display method and device and storage medium
CN108156534B (en) Method and device for generating demonstration application and computer readable storage medium
US20180088930A1 (en) Updating code within an application
WO2018083679A1 (en) System and method for providing personalized solutions using bots
CN112068895B (en) Code configuration method, device, video playing equipment and storage medium
CN113282328A (en) Application program updating method, computer device and computer storage medium
CN113157348A (en) Game starting method and device, computer equipment and storage medium
US10657312B2 (en) Deploying new font technologies to legacy operating systems

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