Website function guiding method, readable storage medium and computer program product
By decoupling website function guidance information and business views, dynamic management of guidance item indexes and view elements is achieved, which solves the problem of strong coupling between data models and business data in novice guidance implementation, improves scalability and user experience, and reduces development difficulty and cost.
Patent Information
- Application Number
- CN202111447862.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-29
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-11-29
AI Technical Summary
The existing novice guidance implementation method has strong coupling between the data model and business data, the guidance data cannot be dynamic, has poor scalability, and is difficult to perceive the user interaction process, resulting in high development costs and difficulty.
By detecting website function guidance triggering conditions, loading and decoupling website function guidance information and business views, independent storage and updating of guidance data and business data are achieved, allowing dynamic management of guidance item indexes and view elements in memory, and providing masked visual effects. to differentiate boot content.
It achieves the decoupling of guidance data and business data, improves the scalability of guidance data, reduces development difficulty and cost, and supports dynamic user guidance experience.
Smart Images

Figure CN114139035B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to a website function guiding method, a readable storage medium and a computer program product. Background Art
[0002] Newbie guide is a very common function in the front-end field. Through this function, users can intuitively understand the main functions of the website they are currently using. At the same time, the business attributes of newbie guide lead to its business characteristics that are different from other functions, such as: low frequency of demand (for example, a website will not make multiple revisions to the newbie guide in a short period of time), version differences (for example, once a revision is made, the difference between the previous and the next versions must be huge), and functional accuracy (for example, the location and content of the prompt must match the actual function). Therefore, although the newbie guide seems to have a relatively simple function, the workload of developing new requirements each time is not small.
[0003] The interactions of novice guidance are generally similar, that is, a guidance view appears, click Next to enter the next guidance view, and you can skip and end the entire guidance directly. The control of novice guidance is more suitable to be implemented using events or action models.
[0004] React is one of the two most popular frameworks in the front-end industry. It is data-driven (similar to updating data first, and then the framework automatically updates the view), which is a different design idea from action-driven. If you use react to implement novice guidance, the cost will be higher. Generally, you first declare the guidance-related data model (for example, process data, index data), and then control it in a way like currentIndex (current index) = oldIndex (previous index) + 1. At the same time, control the display according to the index data in the business logic (it is necessary to ensure that the prompt position corresponds to the actual business position).
[0005] The existing implementation methods of novice guidance have the following disadvantages:
[0006] 1. The guidance-related data model / data logic is strongly coupled with the business data model / data logic. When the guidance data or business data changes, the guidance data model and business data model must be redeveloped, which is not easy to expand. In addition, when the business is iterated, it is necessary to pay attention to whether it will affect the guidance logic.
[0007] 2. The boot data model cannot be dynamic. All users see the same boot process.
[0008] 3. During the entire guidance process, it is difficult for other business logics to perceive the specific interaction process between the user and the guidance, such as which item is currently being interacted with, what is the next item, whether it has ended, etc. If other business logics want to implement some special logic at a certain time node (such as triggering an action after the guidance ends), hard coding is required, which is difficult to develop, has high implementation costs, and has poor scalability. Summary of the invention
[0009] The embodiments of the present invention provide a web page function guidance method, a readable storage medium, and a computer program product to achieve decoupling of guidance data and business data and improve the scalability of guidance data.
[0010] The technical solution of the embodiment of the present invention is achieved as follows:
[0011] A website function guiding method, the method comprising:
[0012] A. When it is detected that a website function guidance triggering condition is currently met, website function guidance information of the website is searched in a designated first storage unit according to the address of the currently logged-in website, wherein the website function guidance information includes: at least one guidance item index and a view element identifier corresponding to each guidance item index; the website function guidance information is loaded into a memory; a minimum guidance item index is searched in the website function guidance information in the memory, and the minimum guidance item index is used as a current guidance item index;
[0013] B. searching the view element identifier corresponding to the current guide item index in the website function guide information in the memory; searching the business view and website function guide content corresponding to the view element identifier in the designated second storage unit according to the found view element identifier, superimposing the found website function guide content on the found business view to obtain the website function guide view; and updating the current interface view to the website function guide view;
[0014] Among them, in the process of website function guidance, the closer the website function guidance content is to the front, the smaller the corresponding guidance item index is.
[0015] After step B, the method further comprises:
[0016] C. When it is detected that the trigger condition for entering the next boot item is currently met, the view element identifier corresponding to the current boot item index is searched in the website function boot information in the memory; based on the found view element identifier, the business view corresponding to the view element identifier is searched in the designated second storage unit, and the current interface view is switched to the found business view; the boot item index larger than the current boot item index is searched in the website function boot information in the memory; if found, the smallest boot item index is selected from the boot item indexes larger than the current boot item index, the current boot item index is updated with the selected boot item index, and the process returns to step B; if not found, it is determined that the website function boot process is ended.
[0017] The step A of searching the website function guidance information of the website in the designated first storage unit according to the address of the currently logged-in website includes:
[0018] In the correspondence relationship between each website address, each user information and each guide item index list maintained in advance, the guide item index list corresponding to the website address currently logged in and the user information of the currently logged in user is found, and the view element identifier corresponding to each guide item index in the guide item index list corresponding to the website address currently logged in and the user information of the currently logged in user is found in the designated first storage unit;
[0019] Furthermore, step A of loading the website function guidance information into the memory includes:
[0020] Each guide item index in the guide item index list corresponding to the currently logged-in website address and the user information of the currently logged-in user, and the view element identifier corresponding to each guide item index are loaded into the memory.
[0021] The method further comprises:
[0022] When the website function guidance information of the website needs to be updated, the website function guidance information of the website is found in the designated first storage unit according to the address of the website, and the found website function guidance information is updated; or / and,
[0023] When the website function guide content of the website needs to be updated, the corresponding website function guide content in the second storage unit is updated; or / and,
[0024] When the business view of the website needs to be updated, the corresponding business view in the second storage unit is updated.
[0025] Step B of updating the current interface view to the website function guide view further includes:
[0026] Send a notification to the upper-level business unit that the website function guidance view has been loaded, carrying the current guidance item index.
[0027] The step C of detecting that the trigger condition for entering the next boot item is currently met further includes:
[0028] Sending a next boot item trigger notification carrying the current boot item index to the upper layer business unit;
[0029] Step C of switching the current interface view to the found business view further includes:
[0030] Send a website function guide view exit notification carrying the current guide item index to the upper-level business unit.
[0031] After step B, the method further comprises:
[0032] If it is detected that the trigger condition for skipping the guidance item is currently met, it is determined that the current website function guidance process is ended, and the view element identifier corresponding to the current guidance item index is searched in the website function guidance information in the memory; based on the found view element identifier, the business view corresponding to the view element identifier is searched in the designated second storage unit, and the current interface view is switched to the found business view.
[0033] The website function guiding content has a masking visual effect.
[0034] A non-transitory computer-readable storage medium stores instructions, which, when executed by a processor, cause the processor to perform the steps of the website function guiding method as described in any one of the above items.
[0035] A computer program product includes a computer program or instructions, which, when executed by a processor, implements the steps of the website function guiding method as described in any one of the above items.
[0036] In the embodiment of the present invention, the website function guidance information is stored independently from the business data, and the business view and the website function guidance content are maintained separately; when the guidance conditions are met, the website function guidance information is loaded into the memory, and the website function guidance content is superimposed on the business view, thereby achieving decoupling of the guidance data from the business data and improving the scalability of the guidance data. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0038] Figure 1A flow chart of a website function guiding method provided by an embodiment of the present invention;
[0039] Figure 2 A flow chart of a website function guiding method provided by another embodiment of the present invention;
[0040] Figure 3 A schematic diagram of the structure of a website function guiding device provided by an embodiment of the present invention;
[0041] Figure 4 An exemplary structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0043] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0044] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0045] An embodiment of the present invention proposes a website function guidance method, in which A. if it is detected that a website function guidance trigger condition is currently met, then according to the currently logged-in website address, the website function guidance information of the website is searched in a designated first storage unit, the website function guidance information including: at least one guidance item index and a view element identifier corresponding to each guidance item index; the website function guidance information is loaded into a memory; the minimum guidance item index is searched in the website function guidance information in the memory, and the minimum guidance item index is used as the current guidance item index; B. the view element identifier corresponding to the current guidance item index is searched in the website function guidance information in the memory; according to the found view element identifier, the business view and website function guidance content corresponding to the view element identifier are searched in a designated second storage unit, the found website function guidance content is superimposed on the found business view to obtain a website function guidance view; and the current interface view is updated to the website function guidance view. In the embodiment of the present invention, the website function guidance information is stored independently from the business data, and the business view and the website function guidance content are maintained separately; when the guidance conditions are met, the website function guidance information is loaded into the memory, and the website function guidance content is superimposed on the business view, thereby achieving decoupling of the guidance data from the business data and improving the scalability of the guidance data.
[0046] Figure 1 A flowchart of a website function guidance method provided by an embodiment of the present invention, wherein the specific steps are as follows:
[0047] Step 101: When it is detected that the website function guidance triggering condition is currently met, the website function guidance information of the website is searched in the designated first storage unit according to the currently logged-in website address. The website function guidance information includes: at least one guidance item index and a view element identifier (ID) corresponding to each guidance item index.
[0048] Step 102: Load the website function guidance information into the memory.
[0049] Step 103: Search for the smallest boot item index in the website function boot item information in the memory, and use the smallest boot item index as the current boot item index.
[0050] Step 104: Search the website function guide information in the memory for the view element ID corresponding to the current guide item index.
[0051] Step 105: According to the found view element ID, the business view and website function guidance content corresponding to the view element ID are searched in the designated second storage unit, and the found website function guidance content is superimposed on the found business view to obtain the website function guidance view.
[0052] Step 106: Update the current interface view to the website function guide view.
[0053] In the embodiment of the present invention, the website function guidance information is stored independently from the business data, and the business view and the website function guidance content are maintained separately; when the guidance conditions are met, the website function guidance information is loaded into the memory, and the website function guidance content is superimposed on the business view, thereby achieving decoupling of the guidance data from the business data and improving the scalability of the guidance data.
[0054] The memory, the first storage unit and the second storage unit are respectively the local memory and the local storage unit of the user equipment or the terminal.
[0055] In an optional embodiment, after step 106, the method further includes:
[0056] When it is detected that the trigger condition for entering the next boot item is currently met, the view element ID corresponding to the current boot item index is searched in the website function boot information in the memory; based on the found view element ID, the business view corresponding to the view element ID is searched in the designated second storage unit, and the current interface view is switched to the found business view; the website function boot information in the memory is searched for a boot item index larger than the current boot item index, and if found, the smallest boot item index is selected from the boot item indexes larger than the current boot item index, and the current boot item index is updated with the selected boot item index, and the process returns to step 104; if not found, it is determined that the website function boot process is ended.
[0057] It should be noted that, although the business view corresponding to the view element ID has been found in the designated second storage unit in step 105, here, when it is detected that the trigger condition for entering the next guide item is currently met, the view element ID corresponding to the current guide item index must be searched again in the website function guide information in the memory, and then the business view corresponding to the view element ID is searched in the designated second storage unit according to the found view element ID. The reason is that after executing step 105, it is not necessarily to enter the "satisfying the trigger condition for entering the next guide item" here, and it is also possible that after executing step 105, the entire guide process is directly ended (for example, the user clicks the skip button, etc.). Therefore, after finding the business view corresponding to the view element ID in step 105, the business view is usually not cached specifically for use in subsequent steps. When the business view needs to be used in the subsequent steps, it needs to be searched again in the memory according to the view element ID.
[0058] In addition, if a guide item index larger than the current guide item index is not found in the website function guide information in the memory, it means that the current guide item is the last guide item of this website function guide process, and the website function guide process ends. Since the current interface view has been switched to the business view, no further operations are required.
[0059] Through the above embodiment, the switching of the boot items is achieved.
[0060] Considering that different users have different guidance requirements in actual applications, the following solutions are given to meet these requirements:
[0061] In step 101, according to the address of the currently logged-in website, the website function guidance information of the website is searched in the designated first storage unit, including:
[0062] According to the currently logged-in website address and the user information of the currently logged-in user, in the correspondence relationship between each website address, each user information and each boot item index list maintained in advance, the boot item index list corresponding to the currently logged-in website address and the user information of the currently logged-in user is searched, and the view element ID corresponding to each boot item index in the boot item index list corresponding to the currently logged-in website address and the user information of the currently logged-in user is searched in the designated first storage unit;
[0063] Furthermore, in step 102, the website function guidance information is loaded into the memory, including:
[0064] Each guide item index in the guide item index list corresponding to the currently logged-in website address and the user information of the currently logged-in user, and the view element ID corresponding to each guide item index are loaded into the memory.
[0065] The user information includes: user type identification, user name, etc.
[0066] Through the above embodiments, different guidance processes are displayed to users according to different guidance needs of different users. For example, the website function guidance of a website X includes at most 6 guidance items, that is, the guidance item indexes 1 to 6 of the 6 guidance items of the website X and the view element IDs corresponding to the guidance item indexes 1 to 6 are stored in the first storage unit. Among them, only guidance items 1, 2, 4, and 5 need to be displayed to user A. When it is detected that user A has triggered the website function guidance process, only the guidance item indexes 1, 2, 4, and 5 and the view element IDs corresponding to the guidance item indexes 1, 2, 4, and 5 need to be loaded into the memory.
[0067] In an optional embodiment, when it is necessary to update the website function guidance information of the website, the website function guidance information of the website is found in the designated first storage unit according to the address of the website, and the found website function guidance information is updated; or / and, when it is necessary to update the website function guidance content of the website, the corresponding website function guidance content in the second storage unit is updated; or / and, when it is necessary to update the business view of the website, the corresponding business view in the second storage unit is updated.
[0068] The above embodiment realizes the update of the website function guidance information, the website function guidance content and the business view. It can be seen that the updates of the website function guidance data and the business data are independent of each other and do not affect each other.
[0069] Considering that in actual applications, the upper-level business unit has the need to know the progress of the website function guidance process so as to perform a certain action at a certain node in the website function guidance process, the embodiment of the present invention provides the following solution to this need:
[0070] In step 106, updating the current interface view to the website function guide view further includes: sending a notification that the website function guide view has been loaded and carries the current guide item index to the upper-level business unit.
[0071] After step 106, it is detected that the trigger condition for entering the next guidance item is currently met, further comprising: sending a next guidance item trigger notification carrying the current guidance item index to the upper layer service unit;
[0072] After step 106, the current interface view is switched to the found business view, which further includes: sending a website function guide view exit notification carrying the current guide item index to the upper-level business unit.
[0073] In practical applications, the upper layer service unit usually refers to a local data reporting unit of a user device or terminal, because: the user device or terminal needs to report the execution status of the boot process to the server, and the reporting process is completed by the data reporting unit on the user device or terminal.
[0074] In an optional embodiment, after step 106, it further includes: if it is detected that the trigger condition for skipping the guide item is currently met, it is determined that the current website function guide process is ended, and the view element ID corresponding to the current guide item index is searched in the website function guide information in the memory; based on the found view element ID, the business view corresponding to the view element ID is searched in the designated second storage unit, and the current interface view is switched to the found business view.
[0075] If the triggering conditions for skipping the guidance item are met, it means that the website function guidance process is over, and you need to switch the current interface view back to the business view.
[0076] In actual applications, in order to prevent the website function guidance content from being superimposed on the business view and affecting the display effect of the business view, in an optional embodiment, the website function guidance content has a masking visual effect.
[0077] In order to distinguish the website function guidance content from the business view, the edge of the website function guidance content has an opaque visual effect.
[0078] Figure 2 A flowchart of a website function guiding method provided by another embodiment of the present invention, wherein the specific steps are as follows:
[0079] Step 201: When it is detected that the website function guidance triggering condition is currently met, the website function guidance information of the website is searched in the designated first storage unit according to the currently logged-in website address. The website function guidance information includes: at least one guidance item index (Index) and the view element ID corresponding to each guidance item Index.
[0080] The website function guiding triggering condition is such as: receiving an access request for the website input by a user.
[0081] The website function guidance process of each website includes multiple guidance items, and each guidance item has a unique guidance item Index.
[0082] It should be noted that the website function guidance information of the website stored in the first storage unit includes all possible guidance items in the website function guidance process of the website. Because: for website X, the website function guidance process of the website displayed to different users may be different, such as: for user A, 4 guidance items need to be displayed, and for user B, 5 guidance items need to be displayed. Therefore, the first storage unit needs to store all possible guidance items in the website function guidance process of website X to meet the website function guidance needs of all users.
[0083] Step 202: Load the found website function guidance information into the memory.
[0084] Step 203: Search for the smallest guide item Index in the website function guide information in the memory, and use the smallest guide item Index as the current guide item Index.
[0085] The smaller the Index is, the earlier the corresponding guide item appears in the website function guidance process.
[0086] Step 204: Search the website function guide information in the memory for the view element ID corresponding to the current guide item Index.
[0087] Step 205: According to the view element ID found in step 204, the corresponding business view and website function guidance content are found in the designated second storage unit.
[0088] It can be seen that although the business view and website function guidance content correspond to the same view element ID, they are maintained separately.
[0089] Step 206: Overlay the found website function guidance content onto the found business view to obtain a website function guidance view.
[0090] Step 207: Update the current interface view to the website function guide view, and send a website function guide view loading notification carrying the current guide item Index to the upper-level business unit.
[0091] Step 208: Detect that the trigger condition for entering the next guide item is currently met, and send a next guide item trigger notification carrying the current guide item Index to the upper-level business unit, and search for the view element ID corresponding to the current guide item Index in the website function guidance information in the memory, and search for the business view corresponding to the view element ID in the designated second storage unit based on the found view element ID, switch the current interface view to the found business view, and send a website function guidance view exit notification carrying the current guide item Index to the upper-level business unit.
[0092] The triggering condition for entering the next guidance item is, for example: detecting that the user clicks on the website function guidance content on the website function guidance view, or detecting that the user clicks on the next button in the website function guidance content on the website function guidance view.
[0093] Step 209: Search the website function guidance information in the memory for a guidance item Index that is larger than the current guidance item Index, and determine whether it is found. If so, execute step 210; otherwise, determine that the website function guidance process is terminated.
[0094] Step 210 : Select the smallest boot item Index from the boot item Indexes that are larger than the current boot item Index, update the current boot item Index with the selected boot item Index, and return to step 204 .
[0095] When it is detected that the trigger condition for skipping the guidance item is currently met, the view element ID corresponding to the current guidance item Index is searched in the website function guidance information in the memory; based on the found view element ID, the business view corresponding to the view element ID is searched in the designated second storage unit, the current interface view is switched to the found business view, and a website function guidance view exit notification carrying the current guidance item Index is sent to the upper-level business unit, and the website function guidance process ends.
[0096] Figure 3 This is a schematic diagram of the structure of a website function guiding device provided by an embodiment of the present invention. The device mainly includes: a website function guiding information loading module 31 and a guiding module 32, wherein:
[0097] The website function guidance information loading module 31 is used to detect that the website function guidance triggering condition is currently met, and then, according to the currently logged-in website address, find the website function guidance information of the website in the designated first storage unit, the website function guidance information includes: at least one guidance item index and the view element ID corresponding to each guidance item index; load the website function guidance information into the memory; search for the smallest guidance item index in the website function guidance information in the memory, use the smallest guidance item index as the current guidance item index, and send the current guidance item index to the guidance module 32.
[0098] The guidance module 32 is used to receive the current guidance item index sent by the website function guidance information loading module 31, and search for the view element ID corresponding to the current guidance item index in the website function guidance information in the memory; according to the found view element ID, search for the business view and website function guidance content corresponding to the view element ID in the designated second storage unit, superimpose the found website function guidance content on the found business view to obtain the website function guidance view; and update the current interface view to the website function guidance view.
[0099] In an optional embodiment, after the guidance module 32 updates the current interface view to the website function guidance view, it is further used to: detect that the trigger condition for entering the next guidance item is currently met, then search the website function guidance information in the memory for the view element ID corresponding to the current guidance item index; according to the found view element ID, search the business view corresponding to the view element ID in the designated second storage unit, and switch the current interface view to the found business view; search the website function guidance information in the memory for a guidance item index larger than the current guidance item index, if found, select the smallest guidance item index among the guidance item indexes larger than the current guidance item index, update the current guidance item index with the selected guidance item index, return to the action of searching the website function guidance information in the memory for the view element ID corresponding to the current guidance item index, until a new website function guidance view is obtained, and update the current interface view to the new website function guidance view, if not found, determine that the website function guidance process is over.
[0100] In an optional embodiment, the website function guide information loading module 31 searches for the website function guide information of the website in the designated first storage unit according to the website address currently logged in, including: searching for the guide item index list corresponding to the website address currently logged in and the user information of the currently logged in user in the correspondence relationship between each website address, each user information and each guide item index list maintained in advance, and searching for the view element ID corresponding to each guide item index in the guide item index list corresponding to the website address currently logged in and the user information of the currently logged in user in the designated first storage unit;
[0101] Moreover, the website function guidance information loading module 31 loads the website function guidance information into the memory, including: loading each guidance item index in the guidance item index list corresponding to the currently logged-in website address and the user information of the currently logged-in user, and the view element ID corresponding to each guidance item index into the memory.
[0102] In an optional embodiment, the device further includes: a website data maintenance module 33, which is used to: when it is necessary to update the website function guidance information of the website, according to the address of the website, find the website function guidance information of the website in the designated first storage unit, and update the found website function guidance information; or / and, when it is necessary to update the website function guidance content of the website, update the corresponding website function guidance content in the second storage unit; or / and, when it is necessary to update the business view of the website, update the corresponding business view in the second storage unit.
[0103] In an optional embodiment, the guiding module 32 updates the current interface view to the website function guiding view, and is further used to: send a notification that the website function guiding view has been loaded and carries the current guiding item index to the upper-level business unit.
[0104] In an optional embodiment, the guiding module 32 detects that the trigger condition for entering the next guiding item is currently met, and is further used to: send a next guiding item trigger notification carrying the current guiding item index to the upper layer service unit;
[0105] The guiding module 32 switches the current interface view to the found business view, and is further used to: send a website function guiding view exit notification carrying the current guiding item index to the upper-level business unit.
[0106] In an optional embodiment, the guidance module 32 is further used to: detect that the trigger condition for skipping the guidance item is currently met, determine that the current website function guidance process is ended, and search for the view element ID corresponding to the current guidance item index in the website function guidance information in the memory; based on the found view element ID, search for the business view corresponding to the view element ID in the designated second storage unit, and switch the current interface view to the found business view.
[0107] An embodiment of the present application also provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the steps of the website function guiding method described in any of the above embodiments.
[0108] The embodiment of the present application also provides a computer-readable storage medium, which stores instructions, and the instructions can execute the steps in the website function boot method as described above when executed by a processor. In practical applications, the computer-readable medium can be included in each device / apparatus / system in the above embodiments, or it can exist independently without being assembled into the device / apparatus / system. Among them, the instructions are stored in the computer-readable storage medium, and the instructions stored therein can execute the steps in the website function boot method as described above when executed by a processor.
[0109] According to the embodiments disclosed in the present application, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof, but it is not used to limit the scope of protection of the present application. In the embodiments disclosed in the present application, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.
[0110] like Figure 4 As shown, an embodiment of the present invention also provides an electronic device. Figure 4As shown, it shows a schematic diagram of the structure of an electronic device involved in an embodiment of the present invention, specifically:
[0111] The electronic device may include a processor 41 with one or more processing cores, a memory 42 with one or more computer-readable storage media, and a computer program stored in the memory and executable on the processor. When executing the program in the memory 42, the above-mentioned website function guiding method may be implemented.
[0112] Specifically, in practical applications, the electronic device may further include components such as a power supply 43, an input / output unit 44, etc. Those skilled in the art may understand that Figure 4 The structure of the electronic device shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0113] The processor 41 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the server and processes data by running or executing software programs and / or modules stored in the memory 42 and calling data stored in the memory 42, thereby monitoring the electronic device as a whole.
[0114] The memory 42 can be used to store software programs and modules, that is, the above-mentioned computer-readable storage medium. The processor 41 executes various functional applications and data processing by running the software programs and modules stored in the memory 42. The memory 42 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the server, etc. In addition, the memory 42 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 42 may also include a memory controller to provide the processor 41 with access to the memory 42.
[0115] The electronic device also includes a power supply 43 for supplying power to various components, which can be logically connected to the processor 41 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system. The power supply 43 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, etc.
[0116] The electronic device may also include an input and output unit 44, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. The input unit output 44 may also be used to display information input by the user or information provided to the user and various graphical user interfaces, which may be composed of graphics, text, icons, videos and any combination thereof.
[0117] The flow chart and block diagram in the accompanying drawings of the present application show the possible architecture, function and operation of the system, method and computer program product according to the various embodiments disclosed in the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the box can also occur in the order of the standards in different figures. For example, the boxes represented by two connections can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0118] Those skilled in the art will appreciate that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations or combinations are not explicitly described in the present application. In particular, without departing from the spirit and teachings of the present application, the features described in the various embodiments and / or claims of the present application may be combined and / or combined in a variety of ways, and all of these combinations and / or combinations fall within the scope disclosed in the present application.
[0119] Specific embodiments are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core ideas, and is not used to limit the present application. For those skilled in the art, changes can be made in the specific implementation methods and application scopes according to the ideas, spirits and principles of the present invention, and any modifications, equivalent substitutions, improvements, etc. made therein should be included in the scope of protection of this application.
Claims
1. A website function guiding method, characterized in that: The method includes: A. When it is detected that a website function guidance triggering condition is currently met, website function guidance information of the website is searched in a designated first storage unit according to the address of the currently logged-in website, wherein the website function guidance information includes: at least one guidance item index and a view element identifier corresponding to each guidance item index; the website function guidance information is loaded into a memory; a minimum guidance item index is searched in the website function guidance information in the memory, and the minimum guidance item index is used as a current guidance item index; B. searching the view element identifier corresponding to the current guide item index in the website function guide information in the memory; searching the business view and website function guide content corresponding to the view element identifier in the designated second storage unit according to the found view element identifier, superimposing the found website function guide content on the found business view to obtain the website function guide view; and updating the current interface view to the website function guide view; Among them, in the process of website function guidance, the closer the website function guidance content is to the front, the smaller the corresponding guidance item index is.
2. The method according to claim 1, characterized in that After step B, the method further comprises: C. When it is detected that the trigger condition for entering the next boot item is currently met, the view element identifier corresponding to the current boot item index is searched in the website function boot information in the memory; based on the found view element identifier, the business view corresponding to the view element identifier is searched in the designated second storage unit, and the current interface view is switched to the found business view; the boot item index larger than the current boot item index is searched in the website function boot information in the memory; if found, the smallest boot item index is selected from the boot item indexes larger than the current boot item index, the current boot item index is updated with the selected boot item index, and the process returns to step B; if not found, it is determined that the website function boot process is ended.
3. The method according to claim 1, characterized in that The step A of searching the website function guidance information of the website in the designated first storage unit according to the address of the currently logged-in website includes: In the correspondence relationship between each website address, each user information and each guide item index list maintained in advance, the guide item index list corresponding to the website address currently logged in and the user information of the currently logged in user is found, and the view element identifier corresponding to each guide item index in the guide item index list corresponding to the website address currently logged in and the user information of the currently logged in user is found in the designated first storage unit; Furthermore, step A of loading the website function guidance information into the memory includes: Each guide item index in the guide item index list corresponding to the currently logged-in website address and the user information of the currently logged-in user, and the view element identifier corresponding to each guide item index are loaded into the memory.
4. The method according to claim 1, characterized in that: The method further comprises: When the website function guidance information of the website needs to be updated, the website function guidance information of the website is found in the designated first storage unit according to the address of the website, and the found website function guidance information is updated; or / and, When the website function guide content of the website needs to be updated, the corresponding website function guide content in the second storage unit is updated; or / and, When the business view of the website needs to be updated, the corresponding business view in the second storage unit is updated.
5. The method according to claim 1, characterized in that The step B of updating the current interface view to the website function guide view further includes: Send a notification to the upper-level business unit that the website function guidance view has been loaded, carrying the current guidance item index.
6. The method according to claim 2, characterized in that When the trigger condition for entering the next boot item is detected to be met at the current time in step C, the method further includes: Sending a next boot item trigger notification carrying the current boot item index to the upper layer business unit; Step C of switching the current interface view to the found business view further includes: Send a website function guide view exit notification carrying the current guide item index to the upper-level business unit.
7. The method according to claim 1, characterized in that After step B, the method further comprises: If it is detected that the trigger condition for skipping the guidance item is currently met, it is determined that the current website function guidance process is ended, and the view element identifier corresponding to the current guidance item index is searched in the website function guidance information in the memory; based on the found view element identifier, the business view corresponding to the view element identifier is searched in the designated second storage unit, and the current interface view is switched to the found business view.
8. The method according to claim 1, characterized in that The website function guiding content has a masking visual effect.
9. A non-transitory computer-readable storage medium storing instructions, characterized in that: When the instructions are executed by a processor, the processor is caused to perform the steps of the website function guiding method according to any one of claims 1 to 8.
10. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps of the website function guiding method as described in any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Operation guide method and device, computer device and storage medium
CN109885365A
Guide information display method and device
CN110362352A
Data processing method and device
CN110704760A
Method and device for displaying operation guide information, terminal and storage medium
CN111752442A
Information guiding method and device, electronic equipment and storage medium
CN112199135A
