A method and apparatus for obtaining user favorite function comments
By analyzing user operation logs and simulating user operations to obtain user comments on favorite features, the problem of designers finding it difficult to obtain user-favorite features from online comments was solved, enabling more efficient allocation of design resources and optimized communication.
Patent Information
- Application Number
- CN202211414714.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-11
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2042-11-11
AI Technical Summary
In existing technologies, designers find it difficult to objectively obtain information about the vehicle features that users like and need most from the vast amount of online reviews, resulting in wasted resources and increased communication costs.
By acquiring user operation logs, analyzing API information and frequency, matching function information using a function comparison library, and simulating user operations to obtain user comments on favorite functions online, a database of user comments on favorite functions is constructed.
It enables more accurate acquisition of user feedback on features they like, saving designers resources and communication costs, and improving design efficiency.
Smart Images

Figure CN116127181B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle function design reference information acquisition, in particular to a method and device for acquiring user favorite function comments. BACKGROUND
[0002] With the rapid development of the Internet in the 21st century, the number of automobile-related websites and forums has been rapidly increasing, and users can express their thoughts at any time on automobile websites. People will refer to the comments of car owners before purchasing a car. Similarly, designers will also focus on the comments of car owners on the network when designing vehicles. However, anyone can post comments on the network. Therefore, it is impossible to objectively measure the real user experience of the vehicle function, the favorite function of the user, and the function most needed by the user by only looking at the comments.
[0003] Therefore, a method is needed to help designers analyze and easily obtain the above function comments from the vast amount of comments, thereby solving the problem of manual selection by designers.
[0004] Therefore, it is desirable to have a technical solution to solve or at least alleviate the above deficiencies of the prior art. SUMMARY
[0005] The present application aims to provide a method for acquiring user favorite function comments to at least solve one of the above technical problems.
[0006] The present application provides a method for acquiring user favorite function comments, which comprises:
[0007] acquiring user favorite function information;
[0008] acquiring user favorite function keywords according to the user favorite function information;
[0009] acquiring one or more user favorite function comment description information as user favorite function comment information on the network according to the user favorite function keywords.
[0010] Optionally, the acquiring user favorite function information comprises:
[0011] acquiring a user operation log database, wherein the user operation log database comprises different user operation logs;
[0012] acquiring API information and time length information and / or frequency information corresponding to the API information in the user operation log according to the user operation log of each different user;
[0013] determining whether the duration information and / or the frequency information corresponding to the API information is greater than a threshold value; if so,
[0014] obtaining execution action information corresponding to each API according to each obtained API information;
[0015] obtaining a function correspondence library, the function correspondence library including at least one API information and function information, one function information corresponding to at least one API information;
[0016] obtaining function information corresponding to each API information.
[0017] Optionally, the obtaining one or more user favorite function comment description information on the network as the user favorite function comment information according to the user favorite function search term includes:
[0018] sending the user favorite function search term to a search engine by simulating user operation in a browser;
[0019] obtaining webpage information fed back by the search engine;
[0020] collecting all url tags in the webpage information;
[0021] obtaining comment information for the url tags one by one.
[0022] Optionally, the collecting all url tags in the webpage information includes:
[0023] collecting all url tags in the webpage information using a regular expression.
[0024] Optionally, the obtaining comment information for the url tags one by one includes:
[0025] entering the url tag, determining whether the url tag is a dynamic tag; if so,
[0026] obtaining a dynamic tag processing strategy library, the dynamic tag processing strategy library including at least one dynamic tag processing strategy;
[0027] collecting comment information in the url tag according to the dynamic tag processing strategy in the dynamic tag processing strategy library.
[0028] Optionally, the dynamic tag processing strategy library includes a first dynamic tag processing strategy;
[0029] collecting comment information in the url tag according to the dynamic tag processing strategy in the dynamic tag processing strategy library includes:
[0030] simulating user scrolling down;
[0031] acquire the comment information in the url tag.
[0032] Optionally, the dynamic tag processing strategy library comprises a second dynamic tag processing strategy.
[0033] acquiring the comment information in the url tag according to the dynamic tag processing strategy in the dynamic tag processing strategy library comprises:
[0034] changing a preset value in the url tag link for page turning;
[0035] acquiring the comment information of each page one by one.
[0036] Optionally, the acquiring the comment information of the url tag one by one comprises:
[0037] entering the url tag, judging whether the url tag is a static tag; if yes, then
[0038] acquiring a static tag processing strategy library, the static tag processing strategy library comprising at least one static tag processing strategy;
[0039] acquiring the comment information in the url tag according to the static tag processing strategy in the static tag processing strategy library.
[0040] Optionally, the method for acquiring the user-favorite function comment further comprises:
[0041] constructing a user-favorite function comment database;
[0042] storing the user-favorite function comment information into the user-favorite function comment database.
[0043] The application further provides a device for acquiring a user-favorite function comment, which comprises:
[0044] a user-favorite function information acquiring module, which is used for acquiring user-favorite function information;
[0045] a user-favorite function search term acquiring module, which is used for acquiring a user-favorite function search term according to the user-favorite function information;
[0046] a user-favorite function comment information acquiring module, which is used for acquiring one or more user-favorite function comment description information as user-favorite function comment information on a network according to the user-favorite function search term.
[0047] Advantages
[0048] The method for obtaining user favorite function comment of the application is user comment oriented, and the API is searched through the vehicle machine log to match the corresponding function, and different user favorite function comment information is obtained through different vehicle models, so that the obtained user favorite function comment information is more accurate. BRIEF DESCRIPTION OF DRAWINGS
[0049] Figure 1 is a flowchart of the method for obtaining user favorite function comment of an embodiment of the application.
[0050] Figure 2 is an example of a log provided by an embodiment of the application.
[0051] Figure 3 is a schematic diagram of the method for obtaining search engine feedback webpage information provided by an embodiment of the application.
[0052] Figure 4 is a schematic diagram of the electronic device capable of implementing the method for obtaining user favorite function comment of an embodiment of the application. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical scheme and advantages of the application clearer, the technical scheme of the embodiments of the application will be described in more detail below with reference to the drawings in the embodiments of the application. In the drawings, the same or similar reference signs represent the same or similar elements or elements with the same or similar functions throughout. The described embodiments are some of the embodiments of the application, not all. The embodiments described below with reference to the drawings are exemplary and are intended to explain the application, and cannot be understood as limiting the application. Based on the embodiments in the application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the application. The embodiments of the application will be described in detail below with reference to the drawings.
[0054] Figure 1 is a flowchart of the method for obtaining user favorite function comment of an embodiment of the application.
[0055] The method for obtaining user favorite function comment as shown in Figure 1 includes the following steps.
[0056] Obtaining user favorite function information;
[0057] Obtaining user favorite function search terms according to the user favorite function information;
[0058] Obtaining one or more user favorite function comment description information as user favorite function comment information on the network according to the user favorite function search terms.
[0059] The method for obtaining user favorite function comments of the present application is user comment oriented, API is searched through the car machine log to match the corresponding function, and different user favorite function comment information is obtained through different vehicle models, so that the obtained user favorite function comment information is more accurate.
[0060] In an embodiment, obtaining the user concerned function information comprises:
[0061] Obtaining a user operation log database, the user operation log database comprising various different user operation logs;
[0062] According to the user operation logs of each different user, API information in the user operation logs and time length information and / or frequency information corresponding to the API information are obtained;
[0063] It is judged whether the time length information and / or frequency information corresponding to the API information is greater than a threshold value; if yes, the execution action information corresponding to each API is obtained according to each obtained API information;
[0064] Obtaining a function reference library, the function reference library comprising at least one API information and function information, one function information corresponding to at least one API information;
[0065] Obtaining the function information corresponding to each API information.
[0066] For example, when the designer obtains the user favorite function comment information, it is more necessary to know whether the function corresponding to the user favorite function comment information is really used by the user, the time of use and the frequency of use, etc. If a function is commented very well by the user, but the actual use time and use frequency of the user are very low, it is possible that the user comments follow the trend. If this kind of function is developed as the focus, the development resources and communication costs with various professionals will be wasted. Therefore, we need to analyze the use of the user during the driving, so we first obtain the log information of each user to see which function is used for the time length and frequency that meet the requirements.
[0067] Reference Figure 2 , Figure 2 As an example of a log, it can be seen that the information of the log comprises each API interface information, API parameter information, and use time length information. In addition, the log records each function once for each use of the function by the user. We can calculate the use frequency of each function according to the use times in a preset time period. Therefore, we find the corresponding function information in the interface table according to the API. For example, Table 1:
[0068] Table 1 Interface Table
[0069]
[0070] As can be seen from the above table, the cruise speed display state, engine temperature, and fuel state are all functional information.
[0071] In one embodiment, retrieving one or more user favorite function comment description information on the network as the user favorite function comment information according to the user favorite function search term includes:
[0072] Sending the user favorite function search term to the search engine by simulating the user's operation in the browser;
[0073] Retrieving the webpage information fed back by the search engine;
[0074] Collecting all url tags in the webpage information;
[0075] Retrieving the comment information from the url tags one by one.
[0076] Here, we first explain what the structure of a webpage is and how text is embodied in a webpage. First, a webpage is composed of HTML and CSS. HTML stands for HyperText Markup Language, which is a markup language. It includes a series of tags. Through these tags, the format of documents on the network can be unified, and scattered Internet resources can be connected into a logical whole. HTML text is descriptive text composed of HTML commands, which can describe text, graphics, animation, sound, tables, links, etc. CSS (English full name: Cascading Style Sheets) is a computer language used to style HTML (an application of Standard Generalized Markup Language) or XML (a subset of Standard Generalized Markup Language) files. CSS can not only statically modify webpages, but also dynamically format various elements of webpages with various scripting languages. So far, most websites are composed of these two.
[0077] For example, as shown in Figure 3 , simulating the user's operation in the browser can be implemented using Selenium, which is a tool for testing web applications. Selenium testing directly runs in the browser, just like a real user operating it. Using this automated tool to open the browser and input the information needed by the designer will jump to a series of text links containing corresponding data, thereby obtaining the corresponding webpage link, i.e., the url tag.
[0078] When retrieving the webpage information fed back by the search engine,
[0079] The webpage information must provide the href attribute or the name attribute. The href attribute of the tag is used to specify the URL of the hyperlink target.
[0080] It can be appreciated that the value of the href attribute can be a relative or absolute URL of any valid document, including a fragment identifier. If the user selects the content in the tag, the browser attempts to retrieve and display the document represented by the URL specified by the href attribute.
[0081] In an embodiment, collecting all url tags in the web page information comprises:
[0082] Collecting all url tags in the web page information using regular expression.
[0083] For example, regular expression is used to obtain all url tags in the web page to complete the collection of information sources. For example:
[0084] urls = re.findall(r "<a.*?href=.*?\ / a>", content, re.I | re.S | re.M)
[0085] In an embodiment, obtaining comment information from the url tags one by one comprises:
[0086] Entering the url tag, determining whether the url tag is a dynamic tag; if so,
[0087] Obtaining a dynamic tag processing strategy library, the dynamic tag processing strategy library comprising at least one dynamic tag processing strategy;
[0088] Collecting comment information in the url tag according to the dynamic tag processing strategy in the dynamic tag processing strategy library.
[0089] Generally, url tags are divided into dynamic tags and static tags, and the present method gives different processing methods for dynamic tags and static tags to process different situations respectively.
[0090] In an embodiment, the dynamic tag processing strategy library comprises a first dynamic tag processing strategy;
[0091] According to the dynamic tag processing strategy in the dynamic tag processing strategy library, the comment information in the url tag is collected, comprising:
[0092] Simulating user scrolling down;
[0093] Obtaining comment information in the url tag.
[0094] This method is mainly aimed at some dynamic URL tags that may appear, for example, when obtaining the data of a webpage, the webpage will only load the data after staying for a period of time. When facing such difficulties, we need to simulate the user to slide down the interface to load the dynamic data tags; there is another case, when the elements on the page exceed one screen, the elements below the screen cannot be directly positioned, and an element invisible error will be reported. At this time, the scroll bar needs to be used to drag the screen to make the operated element displayed on the current screen. The scroll bar cannot be directly positioned by the positioning tool. There is no direct method to control the scroll bar in selenium, only the bottom of the scroll bar can be used to directly obtain such dynamic data. For the above two cases, this method uses the user to slide down to solve the above problems.
[0095] In an embodiment, the dynamic tag processing strategy library includes a second dynamic tag processing strategy;
[0096] According to the dynamic tag processing strategy in the dynamic tag processing strategy library, the comment information in the url tag is collected, including:
[0097] Changing the preset value in the url tag link to page;
[0098] Obtaining the comment information of each page one by one.
[0099] This method is mainly aimed at another situation of dynamic URL tags that may appear, for example, in some webpages, there is a page turning situation, and the webpage address will not change when clicking the page turning. Therefore, when clicking the next page, the link change in the address bar is observed, so the page turning process steps are: 1, obtaining the total number of webpages 2, using for loop to change the value of page to turn the page. It can be found in the link that there is a page keyword, and it is exactly 2. Try to change the value of page in the link to 3, and it is found that it can be normally accessed, which is exactly the third page. Therefore, the page turning method is found, and the value of the keyword in the link is changed. In this way, the comment information of the page turning tag in all webpages is extracted.
[0100] In an embodiment, the comment information of the url tag is obtained one by one, including:
[0101] Entering the url tag, judging whether the url tag is a static tag; if yes, then
[0102] Obtaining a static tag processing strategy library, the static tag processing strategy library including at least one static tag processing strategy;
[0103] According to the static tag processing strategy in the static tag processing strategy library, the comment information in the url tag is collected.
[0104] In an embodiment, the static label processing strategy library comprises a first static label processing strategy;
[0105] According to the static label processing strategy in the static label processing strategy library, the comment information in the url label is collected, comprising:
[0106] The comment information satisfying the preset condition is obtained using Xpath.
[0107] For example,
[0108] XPath(XML Path Language) is a language for finding information in HTML\XML documents, which can be used to traverse elements and attributes in HTML\XML documents. In Python crawler, XPath can be used to quickly locate specific elements in HTML\XML response and obtain node information. Table 2 is the Xpath part rule.
[0109] Table 2 Xpath part rule
[0110]
[0111]
[0112] For example,
[0113] from lxml import etree
[0114] html=etree.HTML(text)
[0115] ret=html.xpath(' / / li[@class="item-1"]')
[0116] Wherein, "item-1" represents the label name, and "text" represents the text. This method is suitable for crawling only one text. When selecting, we can filter the attributes with @, for example, we want to select the li node with class item-1: Xpath can help us specify the data in the web label.
[0117] In an embodiment, the static label processing strategy library comprises a second static label processing strategy;
[0118] According to the static label processing strategy in the static label processing strategy library, the comment information in the url label is collected, comprising:
[0119] The comment information satisfying the preset condition is obtained using requests+BeautifulSoup.
[0120] For example, by obtaining the data source, obtaining all the tags of the data source, find (will find the first match), all the tags that meet the conditions.
[0121] For example:
[0122]
[0123] Wherein, "item-1" represents the label name, and "text" represents the text. The method is suitable for crawling all the texts at the same time.
[0124] In an embodiment, the method for obtaining user favorite function comments further comprises:
[0125] Building a user favorite function comment database;
[0126] Storing the user favorite function comment information in the user favorite function comment database.
[0127] For example, after obtaining the data, it needs to be saved for designers to analyze and use, and stored by building an SQL database. The database can be built as follows.
[0128]
[0129] In this embodiment, the item used to represent the content of the document can be various categories. For Chinese, there are characters, words, phrases, and even higher-level units such as sentences or sentence groups. The item can also be a semantic concept class of the corresponding word or phrase.
[0130] The selection of the item must be determined by the specific requirements of processing speed, accuracy, storage space, etc. There are several principles for selecting feature items: first, language units that contain more semantic information and have stronger representation ability for text should be selected as feature items; second, the distribution of text on these feature items should have more obvious statistical regularity, which will be suitable for information retrieval, document classification and other application systems; third, the feature selection process should be easy to implement, and the time and space complexity should not be too large. In practical applications, words or phrases are often used as feature items.
[0131] Since the vocabulary is the most basic representation item of the text, it has a high frequency of occurrence in the text and shows certain statistical regularity. Considering the difficulties faced in processing large-scale real text, the vocabulary or phrase is generally selected as the feature item. However, directly using the words or phrases in the text as the text feature item will also have the following problems:
[0132] (1)Texts exist in some of the high frequency of use of the virtual word and function word, such as Chinese "of", "put", "was" and so on, often some of the real classification of the word is submerged. The solution to this problem is to organize a disabled word list, or when the weight is calculated, make their weight very low, through the threshold value will be discarded. Using the disabled word list, the selection of the word list is very critical, it is difficult to include all the disabled words, and language is constantly developing, the disabled word list is also different with the training text set, a word here is not disabled, to another kind of text may become disabled. On the other hand, considering that the most representative of an article actually meaningful word, often those of the real word, such as adjectives, verbs, nouns, and the same word, when in different parts of speech, may belong to and not belong to the disabled word list. For example: "he is happy to go" (adverb "place" should be disabled), "the ground is very uneven" (noun "place" should not be disabled). In view of this phenomenon, only adjectives, verbs and nouns are extracted as feature items, and the disabled word list method is tried to replace.
[0133] (2) When using words as feature items, the so-called synonym phenomenon will also occur. Synonym phenomenon refers to: different people will have different expressions according to their needs, environment, knowledge level and language habits, so the words used are also very different. Therefore, the words used by two texts are often different, but in fact they are similar, which is caused by the synonym of the word. For example, computer and computer are the same concept and should belong to the same feature item. The most commonly used solution is to use a concept dictionary to solve this problem.
[0134] The application also provides a device for obtaining user favorite function comments, the device for obtaining user favorite function comments comprising:
[0135] A user favorite function information acquisition module, the user favorite function information acquisition module is used for acquiring user favorite function information;
[0136] A user favorite function search term acquisition module, the user favorite function search term acquisition module is used for acquiring user favorite function search terms according to user favorite function information;
[0137] A user favorite function comment information acquisition module, the user favorite function comment information acquisition module is used for acquiring one or more user favorite function comment description information as user favorite function comment information on the network according to user favorite function search terms.
[0138] It can be understood that the above description of the method is also applicable to the description of the device.
[0139] The application further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor implements the method for obtaining the user's favorite function comment when executing the computer program.
[0140] The application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the method for obtaining the user's favorite function comment.
[0141] Figure 4 is an exemplary structural diagram of the electronic device capable of implementing the method for obtaining the user's favorite function comment according to an embodiment of the application.
[0142] As shown in Figure 4 , the electronic device includes an input device 501, an input interface 502, a central processor 503, a memory 504, an output interface 505, and an output device 506. The input interface 502, the central processor 503, the memory 504, and the output interface 505 are connected to each other through a bus 507, and the input device 501 and the output device 506 are connected to the bus 507 through the input interface 502 and the output interface 505, respectively, and further connected to other components of the electronic device. Specifically, the input device 504 receives input information from the outside, and transmits the input information to the central processor 503 through the input interface 502; the central processor 503 processes the input information based on the computer executable instructions stored in the memory 504 to generate output information, temporarily or permanently stores the output information in the memory 504, and then transmits the output information to the output device 506 through the output interface 505; the output device 506 outputs the output information to the outside of the electronic device for the user to use.
[0143] That is, the electronic device shown in Figure 4 may also be implemented to include a memory storing computer executable instructions, and one or more processors that, when executing the computer executable instructions, can implement the method for obtaining the user's favorite function comment described in conjunction with Figure 1 .
[0144] In one embodiment, the electronic device shown in Figure 4 may be implemented to include a memory 504 configured to store executable program codes, and one or more processors 503 configured to run the executable program codes stored in the memory 504 to execute the method for obtaining the user's favorite function comment in the above-described embodiments.
[0145] In a typical configuration, the computing device includes one or more processors (CPU), input / output interface, network interface, and memory.
[0146] Memory can include non-persistent memory and / or volatile memory, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM), electrically programmable read only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory, or other memory technologies, including, but not limited to, those that are called "solid-state memory" or "non-volatile memory" or "persistent memory". Memory is an example of computer readable storage media. A computer program product can include a computer readable storage medium.
[0147] Computer readable media includes permanent and non-permanent, removable and non-removable media, which can be implemented by any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
[0148] Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, a system or a computer program product. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage and the like) containing computer usable program code.
[0149] In addition, it is clear that the word "comprising" does not exclude other units or steps. Multiple units, modules or devices stated in the device claims can also be implemented by one unit or a total device by means of software or hardware.
[0150] The computer program product of the present application can be a computer program embodied on a non-transitory computer readable medium. The body of computer program instructions can be a result of compiling a computer program language or a high-level hardware description language. The computer program instructions, when executed on a machine such as a computer, cause the machine to perform various activities, including the activities described in the above embodiments. The computer program instructions can be stored in a computer readable medium, which can be any device or medium that can store or transfer program code. The computer readable medium can include a memory such as a read-only memory (ROM), a random access memory (RAM), a flash memory, or a hard disk drive. The computer readable medium can also include a removable storage medium such as a floppy disk, a flexible disk, a CD-ROM, a DVD, a Blu-ray disk, a magnetic tape, or an optical data storage device. The computer readable medium can also include a computer readable storage medium that is connected to a computer system by a wired or wireless interface such as a modem, a network interface card, or an interface for mobile communication devices such as a mobile phone interface, a wireless network interface, or a radio frequency interface.
[0151] The processor in the embodiments of the present application can be a central processing unit (CPU), and can also be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general-purpose processor can be a microprocessor, or the processor can also be any conventional processor.
[0152] The memory can be used to store computer programs and / or modules, and the processor can realize various functions of the apparatus / terminal device by running or executing the computer programs and / or modules stored in the memory, and calling data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.), and the like; and the data storage area can store data created according to use of the mobile phone (such as audio data, a phone book, etc.), and the like. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, for example, a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one disk storage device, a flash memory device, or other volatile solid-state memory devices.
[0153] In this embodiment, the modules / units integrated in the device / terminal equipment, if realized in the form of software function units and sold or used as independent products, can be stored in a computer readable storage medium. Based on such understanding, the computer program can be used to instruct the related hardware to complete all or part of the processes in the above-mentioned embodiment methods. The computer program can be stored in a computer readable storage medium, and the computer program can realize the steps of the above-mentioned method embodiments when executed by a processor. The computer program includes computer program code, which can be in the form of source code, object code, executable files or some intermediate forms. The computer readable medium can include any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content included in the computer readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. Although the above disclosure discloses the preferred embodiments, it is not intended to limit the application. Any possible changes and modifications made by those skilled in the art without departing from the spirit and scope of the application should be included in the protection scope of the application. The protection scope of the application should be subject to the scope defined by the claims of the application.
[0154] Those skilled in the art will appreciate that embodiments of the application can be devised for a method, a system, or a computer program product. Accordingly, the application can be embodied in the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the application can be embodied in the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk memory, CD-ROM, optical memory, etc.) having computer-usable program code contained therein.
[0155] In addition, it is clear that the word "comprising" does not exclude other units or steps. The units, modules or devices stated in the device claims can also be implemented by one unit or a general device by means of software or hardware.
[0156] Although the application has been described in detail above with specific reference to the preferred embodiments, it will be understood by those skilled in the art that various changes in form and details can be made without departing from the spirit and scope of the application. Therefore, these modifications or improvements made on the basis of the application should be included in the scope of protection of the application.
Claims
1. A method for obtaining a user's favorite function review, characterized by, The method for obtaining the user favorite function comment comprises: obtaining user favorite function information; obtaining user favorite function search terms according to the user favorite function information; obtaining one or more user favorite function comment description information as user favorite function comment information on the network according to the user favorite function search terms; wherein the obtaining of the user favorite function information comprises: obtaining a user operation log database, wherein the user operation log database comprises various different user operation logs; obtaining API information in the user operation logs and time length information and / or frequency information corresponding to the API information according to the user operation logs of various different users; judging whether the time length information and / or frequency information corresponding to the API information is greater than a threshold value; if yes, then obtaining execution action information corresponding to each API according to each obtained API information; obtaining a function reference library, wherein the function reference library comprises at least one API information and function information, and one function information corresponds to at least one API information; obtaining function information corresponding to each API information.
2. The method of claim 1, wherein the function review is a review of a function that a user likes. The obtaining of one or more user favorite function comment description information as user favorite function comment information on the network according to the user favorite function search terms comprises: sending the user favorite function search terms to a search engine by simulating user operations in a browser; obtaining webpage information fed back by the search engine; collecting all url tags in the webpage information; obtaining comment information from the url tags one by one.
3. The method for obtaining the user favorite function comment according to claim 2, wherein the collecting of all url tags in the webpage information comprises: collecting all url tags in the webpage information by using a regular expression.
4. The method for obtaining the user favorite function comment according to claim 3, wherein the obtaining of comment information from the url tags one by one comprises: entering the url tag, judging whether the url tag is a dynamic tag; if yes, then obtaining a dynamic tag processing strategy library, wherein the dynamic tag processing strategy library comprises at least one dynamic tag processing strategy; collecting comment information in the url tag according to the dynamic tag processing strategy in the dynamic tag processing strategy library.
5. The method for obtaining the user favorite function comment according to claim 4, wherein the dynamic tag processing strategy library comprises a first dynamic tag processing strategy; the collecting of comment information in the url tag according to the dynamic tag processing strategy in the dynamic tag processing strategy library comprises: simulating user scrolling down; obtaining comment information in the url tag.
6. The method for obtaining the user favorite function comment according to claim 5, wherein the dynamic tag processing strategy library comprises a second dynamic tag processing strategy; the collecting of comment information in the url tag according to the dynamic tag processing strategy in the dynamic tag processing strategy library comprises: changing a preset value in the url tag link to turn the page; obtaining comment information on each page one by one.
7. The method for obtaining the user favorite function comment according to claim 5, wherein The acquiring the comment information one by one from the url label comprises: Entering the url label, judging whether the url label is a static label; if yes, then Acquiring a static label processing strategy library, the static label processing strategy library comprising at least one static label processing strategy; Collecting the comment information in the url label according to the static label processing strategy in the static label processing strategy library.
8. The method of claim 7, wherein the function review is obtained from a user who has a favorite function review. The method for acquiring the user favorite function comment further comprises: Constructing a user favorite function comment database; Storing the user favorite function comment information into the user favorite function comment database.
9. An apparatus for obtaining a user's favorite function review, the apparatus comprising: The device for acquiring the user favorite function comment is used for executing the method for acquiring the user favorite function comment in any one of claims 1-8, and the device for acquiring the user favorite function comment comprises: A user favorite function information acquiring module, used for acquiring user favorite function information; A user favorite function search term acquiring module, used for acquiring a user favorite function search term according to the user favorite function information; A user favorite function comment information acquiring module, used for acquiring one or more user favorite function comment description information on a network as user favorite function comment information according to the user favorite function search term.
Citation Information
Patent Citations
Comment information retrieval method and comment information retrieval apparatus
CN105468790A