Offline specification generation method, searching method, device and storage medium
By splitting and tagging the electronic manuals of smart devices to generate offline manuals, the problem of network dependence is solved, enabling convenient access even in poor network conditions and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- QINGDAO HAIER WASHING ELECTRIC APPLIANCES CO LTD
- Filing Date
- 2024-12-04
- Publication Date
- 2026-06-05
AI Technical Summary
The electronic manuals for smart devices rely on a network connection, making them inaccessible in situations with poor or no network access, thus reducing the convenience and practicality for users.
By analyzing the functional characteristics of smart devices, the electronic instruction manual is split into multiple text blocks, the numerical label and functional label of each text block are obtained, and the text blocks are processed according to the storage capacity threshold of the QR code to generate the target QR code, which is finally combined into an offline instruction manual.
This allows users to access offline manuals even when the network connection is poor, improving the usability of smart device manuals, reducing operational steps, and increasing user search efficiency and convenience.
Smart Images

Figure CN122153083A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of smart home appliance technology, specifically relating to an offline instruction manual generation method, a viewing method, a device, and a storage medium. Background Technology
[0002] As smart devices offer increasingly more features and programs, printed instruction manuals are becoming increasingly thick, making it difficult for users to quickly locate the information they need and increasing their search time. Therefore, to facilitate quick and accurate access to the instruction manuals for smart devices, electronic manuals are also provided. The access URL for the electronic manual is stored in a QR code, allowing users to view it directly.
[0003] However, this online access method is heavily reliant on a network connection. Without a network or with a poor network signal, users will be unable to access the electronic instruction manual webpage, reducing the usability of the electronic instruction manual for smart devices. Summary of the Invention
[0004] This application provides a method for generating and viewing offline instruction manuals, an apparatus, and a storage medium.
[0005] Firstly, this application provides an offline specification generation method, the method comprising:
[0006] Analyze the functional characteristics of the smart device and break down the electronic instruction manual of the smart device into multiple text blocks;
[0007] Obtain the numerical label and function label for each text block, wherein: the numerical label is used to indicate the positional order of the corresponding text block in the electronic manual, and the function label is used to indicate the functional introduction of the smart device described by the corresponding text block;
[0008] Each text block is processed based on a storage threshold of the QR code, and a corresponding target QR code is generated based on each processed text block. The target QR code is then marked with corresponding numerical labels and functional labels.
[0009] The offline instruction manual corresponding to the electronic instruction manual is generated by combining multiple target QR codes.
[0010] In one possible implementation, the QR code-based storage threshold process for each text block includes:
[0011] Obtain the historical usage count of each function program of the smart device within a first preset time period;
[0012] Query the user feedback information associated with the smart device, and obtain the number of feedback comments for each function program based on the user feedback information;
[0013] Based on the historical usage and feedback counts for each function, a score is determined for each text block, wherein the score is used to assess the likelihood of the corresponding text block being queried by a user.
[0014] Each text block is processed based on a storage threshold for the QR code and multiple indicator scores.
[0015] In one possible implementation, processing each text block based on a QR code storage threshold and multiple indicator scores includes:
[0016] If the index score corresponding to each text block is greater than or equal to the index score threshold, then no processing operation is performed on each text block;
[0017] If the index score corresponding to each text block is less than the index score threshold, then the data volume of each text block is obtained;
[0018] Determine whether the amount of data exceeds the storage threshold;
[0019] If so, then each text block is simplified according to the storage threshold;
[0020] If not, no processing operation will be performed on each of the text blocks.
[0021] In one possible implementation, obtaining the numeric label and function label for each text block includes:
[0022] Analyze each text block and extract keywords from each text block;
[0023] Determine the functional label of each text block based on the keywords;
[0024] Obtain the numerical label for each text block.
[0025] In one possible implementation, obtaining the digital label of each text block includes:
[0026] Obtain the page number and line number of each text block in the electronic instruction manual;
[0027] Based on the page number and line number corresponding to each text block, the multiple text blocks are sorted in order from front to back according to their position in the electronic manual;
[0028] The numerical label of each text block is determined based on its sorting position.
[0029] Secondly, this application also provides a method for viewing offline specifications, the method comprising:
[0030] When a smart device detects that a user has triggered the offline query function for accessing an offline instruction manual generated by the method described in any of the first aspects, the user's query needs are analyzed.
[0031] If the query requirement is to query the complete offline instruction manual, then the target QR codes will be displayed one by one according to the number label of each target QR code contained in the offline instruction manual;
[0032] If the query request is to query a portion of the offline instruction manual, then the display order of the offline instruction manual is determined, and the offline instruction manual is displayed in the order specified.
[0033] In one possible implementation, determining the display order of the offline instruction manual includes:
[0034] Determine whether the smart device is running during a second preset time period;
[0035] If so, the running program of the smart device during the second preset time period is obtained, and the first display order is determined according to the running program and the function label corresponding to each target QR code;
[0036] If not, the second display order is determined based on the functional label corresponding to each target QR code.
[0037] In one possible implementation, determining the first display order based on the running program and the functional label corresponding to each target QR code includes:
[0038] Analyze the running program to obtain the correlation between each function tag and the running program, and obtain the first display order according to the correlation from high to low.
[0039] The step of determining the second display order based on the functional label corresponding to each target QR code includes:
[0040] Based on the historical usage count and feedback count of each function program of the smart device, the importance of the function tag corresponding to each target QR code is determined, and the second display order is obtained according to the order of importance from high to low.
[0041] Thirdly, this application also provides an offline instruction manual generation control device, comprising: a splitting module, an acquisition module, and a generation module, wherein:
[0042] The splitting module is used to analyze the functional characteristics of the smart device and split the electronic instruction manual of the smart device into multiple text blocks;
[0043] The acquisition module is used to acquire the numerical label and function label of each text block, wherein: the numerical label is used to indicate the position order of the corresponding text block in the electronic manual, and the function label is used to indicate the function introduction of the smart device described by the corresponding text block;
[0044] The generation module is used to process each text block based on the storage threshold of the QR code, and generate a corresponding target QR code according to each processed text block, while marking the target QR code with corresponding digital labels and function labels.
[0045] The generation module is also used to generate an offline instruction manual corresponding to the electronic instruction manual based on the combination of multiple target QR codes.
[0046] In one possible implementation, the generation module is further configured to:
[0047] Obtain the historical usage count of each function program of the smart device within a first preset time period;
[0048] Query the user feedback information associated with the smart device, and obtain the number of feedback comments for each function program based on the user feedback information;
[0049] Based on the historical usage and feedback counts for each function, a score is determined for each text block, wherein the score is used to assess the likelihood of the corresponding text block being queried by a user.
[0050] Each text block is processed based on a storage threshold for the QR code and multiple indicator scores.
[0051] In one possible implementation, the generation module is further configured to:
[0052] If the index score corresponding to each text block is greater than or equal to the index score threshold, then no processing operation is performed on each text block;
[0053] If the index score corresponding to each text block is less than the index score threshold, then the data volume of each text block is obtained;
[0054] Determine whether the amount of data exceeds the storage threshold;
[0055] If so, then each text block is simplified according to the storage threshold;
[0056] If not, no processing operation will be performed on each of the text blocks.
[0057] In one possible implementation, the acquisition module is further configured to:
[0058] Analyze each text block and extract keywords from each text block;
[0059] Determine the functional label of each text block based on the keywords;
[0060] Obtain the numerical label for each text block.
[0061] In one possible implementation, the acquisition module is further configured to:
[0062] Obtain the page number and line number of each text block in the electronic instruction manual;
[0063] Based on the page number and line number corresponding to each text block, the multiple text blocks are sorted in order from front to back according to their position in the electronic manual;
[0064] The numerical label of each text block is determined based on its sorting position.
[0065] Fourthly, this application also provides an offline instruction manual viewing control device, comprising: an analysis module and a display module, wherein:
[0066] The analysis module is used to analyze the user's query needs when the smart device detects that the user has triggered the offline query function for consulting the offline instruction manual generated by the method described in any of the first aspects.
[0067] The display module is used to display the target QR codes one by one according to the digital label of each target QR code contained in the offline instruction manual if the query requirement is to query the complete offline instruction manual.
[0068] The display module is further configured to determine the display order of the offline manuals and display the offline manuals in the order provided if the query request is for a portion of the offline manual.
[0069] In one possible implementation, the display module is further configured to:
[0070] Determine whether the smart device is running during a second preset time period;
[0071] If so, the running program of the smart device during the second preset time period is obtained, and the first display order is determined according to the running program and the function label corresponding to each target QR code;
[0072] If not, the second display order is determined based on the functional label corresponding to each target QR code.
[0073] In one possible implementation, the display module is further configured to:
[0074] Analyze the running program to obtain the correlation between each function tag and the running program, and obtain the first display order according to the correlation from high to low.
[0075] Based on the historical usage count and feedback count of each function program of the smart device, the importance of the function tag corresponding to each target QR code is determined, and the second display order is obtained according to the order of importance from high to low.
[0076] Fifthly, this application provides an intelligent device, including: a processor, and a memory communicatively connected to the processor;
[0077] The memory stores computer-executed instructions;
[0078] The processor executes computer execution instructions stored in the memory to implement the method as described in either the first or second aspect.
[0079] In a sixth aspect, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a computer, are used to implement the method described in either the first or second aspect.
[0080] In a seventh aspect, this application also provides a computer program product, including a computer program that, when executed by a processor, can implement the steps of the scheme recommendation method as described in either the first or second aspect.
[0081] This application provides a method for generating and viewing offline instruction manuals, as well as an apparatus and storage medium. The electronic instruction manual is segmented according to the functional characteristics of the smart device, and a numerical label and functional label are obtained for each segmented text block. Simultaneously, the text blocks are processed according to a QR code storage capacity threshold, and then target QR codes are generated. The offline instruction manual is then generated based on multiple target QR codes. This method allows users to view the offline instruction manual even when network conditions are poor, improving the usability of the smart device instruction manual. Attached Figure Description
[0082] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0083] Figure 1 A flowchart illustrating an offline specification generation method provided in this application embodiment. Figure 1 ;
[0084] Figure 2A flowchart illustrating an offline specification generation method provided in this application embodiment. Figure 2 ;
[0085] Figure 3 A flowchart illustrating an offline specification reading method provided in an embodiment of this application;
[0086] Figure 4 A schematic diagram of an offline specification generation control device provided in this application embodiment;
[0087] Figure 5 A schematic diagram of an offline manual viewing control device provided in this application embodiment;
[0088] Figure 6 This is a schematic diagram of the structure of a smart device provided in an embodiment of this application.
[0089] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0090] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0091] As smart devices become increasingly feature-rich, paper instruction manuals are becoming thicker and heavier, leading to inefficiency and increased time consumption when users search for the information they need. To address this issue, smart devices offer electronic instruction manuals, with the manual's URL encoded as a QR code, allowing users to view the manual by scanning the code. However, this online access method heavily relies on a stable internet connection. If the network is unavailable or the signal is weak, users cannot access the electronic manual, significantly reducing its convenience and practicality.
[0092] This application provides a method for generating offline instruction manuals. The method involves splitting an electronic instruction manual according to the functional characteristics of a smart device, obtaining a numerical label and a functional label for each split text block, processing the text blocks according to a QR code storage capacity threshold, generating target QR codes, and then generating the offline instruction manual based on multiple target QR codes. This method allows users to access the offline instruction manual even when network conditions are poor, improving the usability of smart device instruction manuals.
[0093] It should be noted that smart devices include, but are not limited to, smart air conditioners, smart washing machines, smart dryers, etc. For the sake of ease of explanation, the following embodiments will be illustrated using clothing processing equipment.
[0094] The technical solutions of this application and how they solve the aforementioned technical problems are described in detail below with specific embodiments. These specific embodiments may exist independently or in combination with each other. Identical or similar concepts or processes may not be repeated in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0095] Figure 1 A flowchart illustrating an offline specification generation method provided in this application embodiment. Figure 1 .like Figure 1 As shown, the method includes:
[0096] S101. Analyze the functional characteristics of the smart device and break down the electronic instruction manual of the smart device into multiple text blocks.
[0097] In this step, considering that the electronic manual for smart devices depends on network connectivity, if the network connection is unavailable or the signal is weak, users will not be able to access the electronic manual's URL via QR code, thus affecting their access and use. Therefore, this embodiment converts the electronic manual into an offline manual using a QR code.
[0098] Furthermore, considering the limited storage capacity of each QR code, an offline instruction manual contains multiple QR codes. Therefore, before converting the electronic instruction manual into QR codes, it needs to be split into multiple parts. Given that the images in the electronic instruction manual may require significant storage, this embodiment removes image information from the electronic instruction manual and splits it into multiple text blocks to reduce the number of QR codes.
[0099] Meanwhile, users generally use electronic manuals to solve problems related to the operation of smart device functions. Therefore, this embodiment breaks down the electronic manual into its components based on the smart device's functions.
[0100] Specifically, the electronic instruction manual of the smart device is obtained, the functional characteristics of the smart device are analyzed, and the electronic instruction manual is split into multiple text blocks based on the analysis results.
[0101] S102. Obtain the numeric label and function label for each text block.
[0102] Among them, the number label is used to indicate the position and order of the corresponding text block in the electronic manual, and the function label is used to indicate the function introduction of the smart device described by the corresponding text block.
[0103] In this step, considering that users cannot directly determine whether the content stored in a QR code is the desired information, and that querying a complete electronic instruction manual requires integrating the content stored in multiple QR codes, this embodiment obtains a numerical label and a function label for each split text block to facilitate quick selection of the required QR code and rapid integration of the content from multiple QR codes into an instruction manual. These numerical and function labels are used for subsequent QR code labeling.
[0104] Furthermore, the specific steps for obtaining the function tags for each text block are as follows:
[0105] Analyze each text block and extract the keywords for each text block;
[0106] Determine the functional label for each text block based on keywords.
[0107] For example, text block A reads: When the user needs to open the washing machine door, check if the washing machine is in the washing process. If so, please wait for the washing cycle to end. If the washing machine has stopped working, but the door lock light is still on, try pressing the "Open Lid" or "Emergency Stop" button on the washing machine. This will cut off the power to the washing machine and open the door. If none of the above methods work, the washing machine may be malfunctioning. In this case, consult the washing machine's instruction manual and follow the troubleshooting steps, or contact a professional repair technician for inspection and repair.
[0108] Analyzing text block A, we determine that it describes how users open the drum door of the washing machine under different circumstances. Therefore, the extracted keyword is: how to open the drum door.
[0109] Furthermore, the specific steps for obtaining the numeric label for each text block are as follows:
[0110] Get the page number and line number of each text block in the electronic manual;
[0111] Based on the page number and line number corresponding to each text block, sort the multiple text blocks in order from front to back according to their position in the electronic manual;
[0112] Determine the numerical label for each text block based on its sorting position.
[0113] For example, text block A has page number 8 and lines 1-20, text block B has page number 8 and lines 21-50, text block C has page number 6 and lines 22-80, text block D has page numbers 8 and 9 and lines 51-90 and 1-8, and text block E has page number 10 and lines 1-20.
[0114] The order of text blocks is determined first by their page numbers. Since text block C has the smallest page number and text block E has the largest page number, text block C is assigned position 1, and text block E is assigned position 5. Text block D spans pages 8 and 9, while text blocks A and B are both on page 8, so text block D is assigned position 4. Text block A has fewer lines than text block B, so text block A is assigned position 2, and text block B is assigned position 3. The final sorted result is: text block C, text block A, text block B, text block D, and text block E.
[0115] Therefore, the numerical labels for text blocks A, B, C, D, and E are determined to be 2, 3, 1, 4, and 5, respectively.
[0116] S103. Process each text block based on the storage threshold of the QR code, and generate a corresponding target QR code according to each processed text block. At the same time, mark the target QR code with the corresponding digital label and function label.
[0117] In this step, considering that if a text block exceeds the maximum storage capacity of a single QR code, at least two QR codes are needed to store the text block, increasing the number of QR codes. Therefore, to reduce the number of QR codes and facilitate quick filtering for users, this embodiment needs to process each text block according to the maximum storage capacity of the QR code.
[0118] Specifically, the storage threshold for a single QR code and the data size of each text block are obtained. Based on the storage threshold and data size, it is determined whether the text block needs to be simplified. Then, the processed text block is stored in the corresponding target QR code, and the target QR code is labeled with a numeric tag and a function tag corresponding to the processed text block. The storage threshold can be 2-3kb, typically capable of storing 1000-1500 characters.
[0119] S104. Generate the offline instruction manual corresponding to the electronic instruction manual based on the combination of multiple target QR codes.
[0120] In this step, after all the processed text blocks are converted into target QR codes, the multiple target QR codes are compiled into an offline instruction manual.
[0121] It should be noted that this summary is simply a way to store multiple target QR codes together and name them "offline instruction manual". When users subsequently need to query the offline instruction manual, the smart device will actually display the target QR code as the offline instruction manual.
[0122] This application provides a method for generating offline instruction manuals. The method involves splitting the electronic instruction manual according to the functional characteristics of the smart device, obtaining a numerical label and a functional label for each split text block, processing the text blocks according to a QR code storage capacity threshold, generating target QR codes, and then generating the offline instruction manual based on multiple target QR codes. This method allows users to access the offline instruction manual even when network conditions are poor, improving the usability of the smart device instruction manual and facilitating quick and accurate retrieval of the offline manual. It also reduces the need for merging multiple target QR codes into a complete instruction manual.
[0123] Figure 2 A flowchart illustrating an offline specification generation method provided in this application embodiment. Figure 2 This embodiment provides a detailed explanation of the steps for processing each text block based on a storage threshold for the QR code. For example... Figure 2 As shown, the method includes:
[0124] S201. Obtain the historical usage count of each function program of the smart device within a first preset time period, query the user feedback information associated with the smart device, and obtain the number of feedback entries for each function program based on the user feedback information.
[0125] In this step, considering that the data volume of the text block may exceed the storage threshold of the QR code, text blocks with a data volume exceeding the storage threshold need to be simplified to reduce the number of QR codes required to convert them into offline manuals. However, considering that simplification may affect the user's understanding of the text block, and that users' search for solutions to smart device problems in electronic manuals shows a clear bias, this embodiment, while reducing the number of QR codes used to generate offline manuals, also ensures that frequently consulted manual content is not simplified for user comprehension.
[0126] Therefore, before converting each text block into a QR code, it is necessary to first determine the indicator score of each text block. The specific operation is as follows:
[0127] The system queries the historical operation records of the smart device to obtain the usage frequency of each function program within a first preset time period. It then queries and analyzes user feedback information to determine the number of feedback responses for each function program. For example, the first preset time period is 15-20 days.
[0128] S202. Determine the indicator score for each text block based on the historical usage count and feedback count for each function program.
[0129] The metric score is used to assess the likelihood that the corresponding text block will be queried by a user.
[0130] In this step, considering that each functional program may correspond to multiple text blocks, to make the indicator score for each text block more accurate, we can further analyze each feedback corresponding to each functional program to determine the keywords for each feedback. Then, based on the keywords, we further determine the number of feedback responses corresponding to each text block associated with that functional program, and determine the indicator score for that text block based on the number of feedback responses for each text block.
[0131] Specifically, at least one text block associated with each functional program is identified. A first candidate indicator is obtained based on the ratio of the historical usage count of the functional program to the sum of multiple historical usage counts. Simultaneously, user feedback information corresponding to the functional program is analyzed to determine the number of sub-feedback responses for each text block associated with the functional program. Then, a second candidate indicator is determined based on the ratio of the sub-feedback responses for each text block to the total number of feedback responses for the associated functional program. Finally, the indicator score for the corresponding text block is determined based on the first and second candidate indicators.
[0132] For example, the total historical usage count of all functional programs is 150 times, the historical usage count of functional program A is 30 times, and the number of feedback feedbacks is 100 times. The 100 feedback feedbacks are distributed as follows: 40 times regarding suitable clothing for functional program A, 50 times regarding the operation process explanation of functional program A, and 10 times regarding prohibited items in functional program A. The text blocks associated with functional program A are: text block a, with the function tag "Prohibited Items of Functional Program A"; text block b, with the function tag "Operation Process Explanation of Functional Program A"; and text block c, with the function tag "Clothing Suggestions for Functional Program A".
[0133] The first candidate index for text blocks a, b, and c is calculated as: 30 / 150 × 100 = 20. The second candidate index for text block a is: 10 / 100 × 100 = 10. The second candidate index for text block b is: 50 / 100 × 100 = 50. The second candidate index for text block c is: 40 / 100 × 100 = 40. Therefore, the index score for text block a is (20 + 10) / 2 = 15, the index score for text block b is (20 + 50) / 2 = 35, and the index score for text block c is (20 + 40) / 2 = 30.
[0134] S203. If the index score corresponding to each text block is greater than or equal to the index score threshold, then no processing operation is performed on each text block.
[0135] In this step, when the index score corresponding to a text block is relatively high, it indicates that the text block is more likely to be queried by the user. In order to ensure that the user understands the text block, no processing is performed on the text block.
[0136] Specifically, the relationship between the indicator score and the indicator score threshold for each text block is obtained. When it is determined that the indicator score for a text block is greater than or equal to the indicator score threshold, no processing is performed on that text block. For example, the indicator score threshold can be 50-60.
[0137] S204. If the index score corresponding to each text block is less than the index score threshold, then obtain the data volume of each text block.
[0138] In this step, when the index score corresponding to the text block is small, it means that the text block is less likely to be queried by the user. In order to reduce the number of QR codes needed to generate offline instructions, it is necessary to determine the data volume of the text block and determine whether the text block is needed based on the data volume and storage threshold.
[0139] Specifically, the relationship between the indicator score and the indicator score threshold for each text block is obtained. When it is determined that the indicator score for a text block is less than the indicator score threshold, the data volume of that text block is obtained. The data volume is used to indicate the amount of storage space required to store the corresponding text block.
[0140] S205. Determine whether the amount of data exceeds the storage threshold.
[0141] In this step, after determining that the index score corresponding to the text block is less than the storage threshold and obtaining the data volume of the text block, it is determined whether the data volume is greater than the storage threshold.
[0142] S206. If so, then perform a simplification operation on each text block according to the storage threshold.
[0143] In this step, when it is determined that the data volume of the text block exceeds the storage threshold, the text block is simplified according to the storage threshold. This embodiment does not limit the steps of how to perform the simplification operation; for example, it can be converted using AI.
[0144] S207. If not, no processing operation is performed on each text block.
[0145] In this step, if the data size of the text block is less than or equal to the storage threshold, it means that storing the text does not require multiple QR codes, so no processing is performed on the text block.
[0146] This application provides a method for generating offline instruction manuals. It determines the score for each text block based on the historical usage and feedback frequency of each function program on the smart device. Then, based on the relationship between this score and a threshold score, it determines whether to perform any processing on the text block, or, based on the data volume of the text block, to perform simplification processing. This method reduces the number of QR codes needed to generate offline instruction manuals while ensuring that frequently accessed sections of the manual are not affected by simplification.
[0147] Figure 3 A flowchart illustrating an offline specification generation method provided in this application embodiment. Figure 3 This embodiment provides a detailed explanation of the steps for querying the offline instruction manual generated in the aforementioned embodiments. For example... Figure 3 As shown, the method includes:
[0148] S301. When the smart device detects that the user has triggered the offline query function to view the offline manual, it analyzes the user's query needs.
[0149] In this step, considering the user's targeted search queries, two different search methods are provided to facilitate quick location of the required content in the offline manual: a search for the complete offline manual, or a partial search. Therefore, when the smart device detects that the user has triggered the offline search function for the offline manual, it determines the user's search needs.
[0150] It should be noted that options can be added to the offline query function to allow users to query either the complete offline manual or a portion of it. The user's query needs can then be determined based on their selection.
[0151] S302. If the query requirement is to query the complete offline instruction manual, then display the target QR codes one by one according to the number label of each target QR code contained in the offline instruction manual.
[0152] In this step, since the offline instruction manual consists of multiple target QR codes, if the user needs to obtain the complete offline instruction manual, directly displaying all the target QR codes may pose a risk of the user scanning the codes repeatedly. Therefore, in order to avoid the user scanning the codes repeatedly, this embodiment displays the target QR codes sequentially. In other words, only one target QR code is displayed at a time until it is confirmed that the user has completed scanning before displaying the next target QR code.
[0153] Specifically, when a user's query request is determined and the user is instructed to query the complete offline instruction manual, the target QR codes are displayed sequentially in ascending order of the number labels.
[0154] S303. If the query requirement is to query a portion of the offline instruction manual, then determine the display order of the offline instruction manuals and display the offline instruction manuals in the specified display order.
[0155] In this step, if the user only queries a portion of the offline instruction manual, this embodiment adopts a different display order to facilitate the user's quick location of the target QR code from multiple QR codes.
[0156] Furthermore, considering that if the smart device is running, the content the user needs to query is highly relevant to the running program, the display order can be determined based on the running program. If the smart device is not running, the probability of each target QR code's corresponding text block being queried is determined, and the display order is then determined based on the probability of being queried. The specific steps are as follows:
[0157] Determine whether the smart device is running during a second preset time period;
[0158] If so, the running program of the smart device during the second preset time period is obtained, and the first display order is determined according to the running program and the function label corresponding to each target QR code;
[0159] If not, the second display order is determined based on the functional label corresponding to each target QR code.
[0160] The specific steps to determine the first display order are as follows:
[0161] Analyze the running program to obtain the correlation between each function tag and the running program, and obtain the first display order according to the correlation from high to low.
[0162] The specific steps to determine the second display order are as follows:
[0163] Based on the historical usage count and feedback count of each function program of the smart device, the importance of the function tag corresponding to each target QR code is determined, and the second display order is obtained according to the order of importance from high to low.
[0164] Furthermore, after obtaining the display order, the target QR codes are displayed in that order. It should be noted that both the function tags and numeric tags marked on the target QR codes will be displayed.
[0165] This application provides a method for viewing offline instruction manuals. When a user triggers the offline query function, the system analyzes whether the user's query request is for a complete offline instruction manual. It then controls the smart device to sequentially display target QR codes according to their numerical tags, or determines the display order and displays the offline instruction manual accordingly. This method reduces the user's workflow, avoids repeated scanning, and allows users to quickly locate the desired QR code, thus improving the user experience.
[0166] Figure 4 This is a schematic diagram of an offline instruction manual generation control device provided in an embodiment of this application. Figure 4 As shown, the offline instruction manual generation control device 40 includes: a splitting module 401, an acquisition module 402, and a generation module 403, wherein:
[0167] The splitting module 401 is used to analyze the functional characteristics of the smart device and split the electronic instruction manual of the smart device into multiple text blocks.
[0168] The acquisition module 402 is used to acquire the numerical label and function label of each text block, wherein: the numerical label is used to indicate the position order of the corresponding text block in the electronic manual, and the function label is used to indicate the function introduction of the smart device described by the corresponding text block;
[0169] The generation module 403 is used to process each text block based on the storage threshold of the QR code, and generate a corresponding target QR code according to each processed text block, while marking the target QR code with corresponding digital labels and function labels.
[0170] The generation module 403 is also used to generate an offline instruction manual corresponding to the electronic instruction manual based on the combination of multiple target QR codes.
[0171] In one possible implementation, the generation module 403 is further configured to:
[0172] Obtain the historical usage count of each function program of the smart device within a first preset time period;
[0173] Query the user feedback information associated with the smart device, and obtain the number of feedback comments for each function program based on the user feedback information;
[0174] Based on the historical usage and feedback counts for each function, a score is determined for each text block, wherein the score is used to assess the likelihood of the corresponding text block being queried by a user.
[0175] Each text block is processed based on a storage threshold for the QR code and multiple indicator scores.
[0176] In one possible implementation, the generation module 403 is further configured to:
[0177] If the index score corresponding to each text block is greater than or equal to the index score threshold, then no processing operation is performed on each text block;
[0178] If the index score corresponding to each text block is less than the index score threshold, then the data volume of each text block is obtained;
[0179] Determine whether the amount of data exceeds the storage threshold;
[0180] If so, then each text block is simplified according to the storage threshold;
[0181] If not, no processing operation will be performed on each of the text blocks.
[0182] In one possible implementation, the acquisition module 402 is further configured to:
[0183] Analyze each text block and extract keywords from each text block;
[0184] Determine the functional label of each text block based on the keywords;
[0185] Obtain the numerical label for each text block.
[0186] In one possible implementation, the acquisition module 402 is further configured to:
[0187] Obtain the page number and line number of each text block in the electronic instruction manual;
[0188] Based on the page number and line number corresponding to each text block, the multiple text blocks are sorted in order from front to back according to their position in the electronic manual;
[0189] The numerical label of each text block is determined based on its sorting position.
[0190] This embodiment provides an offline instruction manual generation control device that can execute the offline instruction manual generation method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0191] Figure 5 This is a schematic diagram of an offline manual viewing control device provided in an embodiment of this application. Figure 5 As shown, the offline manual viewing control device 50 includes: an analysis module 501 and a display module 502, wherein:
[0192] The analysis module 501 is used to analyze the user's query needs when the smart device detects that the user has triggered the offline query function for consulting the offline instruction manual generated by the method described in any of the first aspects.
[0193] The display module 502 is used to display the target QR codes one by one according to the digital label of each target QR code contained in the offline instruction manual when the query requirement is to query the complete offline instruction manual.
[0194] The display module 502 is further configured to determine the display order of the offline manuals and display the offline manuals according to the display order if the query request is to query a portion of the offline manual.
[0195] In one possible implementation, the display module 502 is further configured to:
[0196] Determine whether the smart device is running during a second preset time period;
[0197] If so, the running program of the smart device during the second preset time period is obtained, and the first display order is determined according to the running program and the function label corresponding to each target QR code;
[0198] If not, the second display order is determined based on the functional label corresponding to each target QR code.
[0199] In one possible implementation, the display module 502 is further configured to:
[0200] Analyze the running program to obtain the correlation between each function tag and the running program, and obtain the first display order according to the correlation from high to low.
[0201] Based on the historical usage count and feedback count of each function program of the smart device, the importance of the function tag corresponding to each target QR code is determined, and the second display order is obtained according to the order of importance from high to low.
[0202] This embodiment provides an offline manual reading control device that can execute the offline manual reading method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0203] Figure 6 This is a schematic diagram of the structure of a smart device provided in an embodiment of this application. Figure 6As shown, the smart device 60 includes a processor 601 and a memory 602 communicatively connected to the processor 601. Optionally, the smart device 60 further includes a communication component 603. The processor 601, memory 602, and communication component 603 are connected via a bus 604.
[0204] The memory 602 stores computer-executed instructions;
[0205] The processor 601 executes computer execution instructions stored in the memory 602 to implement the method as described in any of the preceding claims.
[0206] At least one processor 601 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0207] Optionally, in specific implementations, the processor 601 and memory 602 are implemented independently. In this case, the processor 601 and memory 602 can be interconnected via a bus to complete communication between them. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc., but this does not imply that there is only one bus or one type of bus.
[0208] Optionally, in a specific implementation, if the processor 601 and the memory 602 are integrated on a single chip, the processor 601 and the memory 602 can communicate through an internal interface.
[0209] This application also provides a computer storage medium storing computer execution instructions, which, when executed by a processor, implement the aforementioned method.
[0210] The aforementioned computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The computer-readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0211] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Alternatively, the readable storage medium can be an integral part of the processor. Both the processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the control device of a garment handling apparatus.
[0212] The division of units described herein is merely a logical functional division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0213] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0214] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0215] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0216] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0217] The technical solutions of this application have been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it is readily understood by those skilled in the art that the scope of protection of this application is obviously not limited to these specific embodiments. The above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. These modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A method for generating offline instruction manuals, characterized in that, The method includes: Analyze the functional characteristics of the smart device and break down the electronic instruction manual of the smart device into multiple text blocks; Obtain the numerical label and function label for each text block, wherein: the numerical label is used to indicate the positional order of the corresponding text block in the electronic manual, and the function label is used to indicate the functional introduction of the smart device described by the corresponding text block; Each text block is processed based on a storage threshold of the QR code, and a corresponding target QR code is generated based on each processed text block. The target QR code is then marked with corresponding numerical labels and functional labels. The offline instruction manual corresponding to the electronic instruction manual is generated by combining multiple target QR codes.
2. The method according to claim 1, characterized in that, The storage threshold processing based on the QR code includes: Obtain the historical usage count of each function program of the smart device within a first preset time period; Query the user feedback information associated with the smart device, and obtain the number of feedback comments for each function program based on the user feedback information; Based on the historical usage and feedback counts for each function, a score is determined for each text block, wherein the score is used to assess the likelihood of the corresponding text block being queried by a user. Each text block is processed based on a storage threshold for the QR code and multiple indicator scores.
3. The method according to claim 2, characterized in that, The storage threshold based on the QR code and multiple indicator scores are used to process each text block, including: If the index score corresponding to each text block is greater than or equal to the index score threshold, then no processing operation is performed on each text block; If the index score corresponding to each text block is less than the index score threshold, then the data volume of each text block is obtained; Determine whether the amount of data exceeds the storage threshold; If so, then each text block is simplified according to the storage threshold; If not, no processing operation will be performed on each of the text blocks.
4. The method according to any one of claims 1-3, characterized in that, The process of obtaining the numeric label and function label for each text block includes: Analyze each text block and extract keywords from each text block; Determine the functional label of each text block based on the keywords; Obtain the numerical label for each text block.
5. The method according to claim 4, characterized in that, The process of obtaining the numerical label for each text block includes: Obtain the page number and line number of each text block in the electronic instruction manual; Based on the page number and line number corresponding to each text block, the multiple text blocks are sorted in order from front to back according to their position in the electronic manual; The numerical label of each text block is determined based on its sorting position.
6. A method for viewing offline instruction manuals, characterized in that, The method includes: When a smart device detects that a user has triggered the offline query function for accessing an offline instruction manual generated by the method described in any one of claims 1-5, the user's query needs are analyzed. If the query requirement is to query the complete offline instruction manual, then the target QR codes will be displayed one by one according to the number label of each target QR code contained in the offline instruction manual; If the query request is to query a portion of the offline instruction manual, then the display order of the offline instruction manual is determined, and the offline instruction manual is displayed in the order specified.
7. The method according to claim 6, characterized in that, Determining the display order of the offline instruction manual includes: Determine whether the smart device is running during a second preset time period; If so, the running program of the smart device during the second preset time period is obtained, and the first display order is determined according to the running program and the function label corresponding to each target QR code; If not, the second display order is determined based on the functional label corresponding to each target QR code.
8. The method according to claim 7, characterized in that, The step of determining the first display order based on the running program and the functional label corresponding to each target QR code includes: Analyze the running program to obtain the correlation between each function tag and the running program, and obtain the first display order according to the correlation from high to low. The step of determining the second display order based on the functional label corresponding to each target QR code includes: Based on the historical usage count and feedback count of each function program of the smart device, the importance of the function tag corresponding to each target QR code is determined, and the second display order is obtained according to the order of importance from high to low.
9. A smart device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1-8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-8.