


技术领域technical field
本发明涉及网页测试领域,尤其涉及一种网页性能测试方法、装置、设备及存储介质。The invention relates to the field of web page testing, in particular to a web page performance testing method, device, equipment and storage medium.
背景技术Background technique
目前,测试移动端网页(例如,H5页面)的性能通常会利用一些测试工具(如:fiddler,charles、Page Speed、PCAP Web Performance Analyzer等)进行远程连接及抓包分析,网页的性能测试结果仅包含被测网页的各个检测项的测试结果,而各个测试项的测试结果通常仅是一个定性结论,例如,检测成功或检测失败,缺少了网页整体性能的定量测试结果。At present, testing the performance of mobile web pages (for example, H5 pages) usually uses some testing tools (such as: fiddler, charles, Page Speed, PCAP Web Performance Analyzer, etc.) for remote connection and packet capture analysis. The performance test results of web pages are only Contains the test results of each test item of the tested web page, and the test result of each test item is usually only a qualitative conclusion, for example, whether the test succeeds or fails, and lacks the quantitative test results of the overall performance of the web page.
发明内容Contents of the invention
鉴于以上内容,本发明提供一种网页性能测试方法、装置、设备及存储介质,其目的在于解决现有技术中对网页执行性能测试的结果中,缺少网页整体性能的定量测试结果的技术问题。In view of the above, the present invention provides a method, device, device and storage medium for webpage performance testing, the purpose of which is to solve the technical problem of lack of quantitative test results for the overall performance of webpages in the results of performing performance tests on webpages in the prior art.
为实现上述目的,本发明提供一种网页性能测试方法,该方法包括:To achieve the above object, the present invention provides a webpage performance testing method, the method comprising:
响应用户发送的网页性能测试的请求,基于各个待测网页的地址信息对各个待测网页执行性能测试操作,得到各个待测网页对应的第一报告文件;Responding to the webpage performance test request sent by the user, perform a performance test operation on each webpage to be tested based on the address information of each webpage to be tested, and obtain a first report file corresponding to each webpage to be tested;
基于各个待测网页的目标检测项,分别从各个待测网页对应的第一报告文件中提取出目标检测项的检测结果;Based on the target detection items of each webpage to be tested, the detection results of the target detection items are respectively extracted from the first report file corresponding to each webpage to be tested;
根据预设量化规则及各个待测网页对应的目标检测项的检测结果,确定各个待测试网页对应的预设性能指标的分值,并基于所述分值生成各个待测网页的第二报告文件反馈至所述用户。According to the preset quantitative rules and the detection results of the target detection items corresponding to each webpage to be tested, determine the score of the preset performance index corresponding to each webpage to be tested, and generate a second report file for each webpage to be tested based on the score Feedback to said user.
优选的,所述基于各个待测网页的地址信息对各个待测网页执行性能测试操作包括:Preferably, performing the performance test operation on each webpage to be tested based on the address information of each webpage to be tested includes:
对各个待测网页的地址信息进行扫描,得到各个待测网页对应的预设检查项,运行各个预设检查项对应的预设测试用例对所述预设检查项进行测试,得到各个预设检查项对应的预设测试用例的运行结果。Scan the address information of each webpage to be tested to obtain the preset check items corresponding to each webpage to be tested, run the preset test cases corresponding to each preset check item to test the preset check items, and obtain each preset check item The running result of the preset test case corresponding to the item.
优选的,所述根据预设量化规则及各个待测网页对应的目标检测项的检测结果,确定各个待测试网页对应的预设性能指标的分值,并基于所述分值生成各个待测网页的第二报告文件反馈至所述用户包括:Preferably, according to the preset quantification rules and the detection results of the target detection items corresponding to each webpage to be tested, the scores of the preset performance indicators corresponding to each webpage to be tested are determined, and the scores of each webpage to be tested are generated based on the scores A second report documents feedback to the user including:
根据预设性能指标和目标检测项的映射关系,获取各个预设性能指标对应的目标检测项的检测结果;Obtain the detection results of the target detection items corresponding to each preset performance index according to the mapping relationship between the preset performance indicators and the target detection items;
根据各个预设性能指标对应的目标检测项的检测结果,确定各个预设性能指标对应的目标检测项的分值;Determine the score of the target detection item corresponding to each preset performance index according to the detection result of the target detection item corresponding to each preset performance index;
根据预先确定的计算规则及各个预设性能指标对应的目标检测项的分值,确定各个预设性能指标的分值;Determining the score of each preset performance index according to the predetermined calculation rule and the score of the target detection item corresponding to each preset performance index;
根据各个待测网页对应的预设性能指标的分值、各个目标检测项的运行结果及分值,生成各个待测网页的第二报告文件反馈至所述用户。Generate a second report file for each webpage to be tested and feed back to the user according to the scores of the preset performance indicators corresponding to each webpage to be tested, and the running results and scores of each target detection item.
优选的,所述根据预先确定的计算规则及各个预设性能指标对应的目标检测项的分值,确定各个预设性能指标的分值包括利用下述公式确定各个预设性能指标的分值:Preferably, according to the predetermined calculation rule and the score of the target detection item corresponding to each preset performance indicator, determining the score of each preset performance indicator includes using the following formula to determine the score of each preset performance indicator:
其中,Si表示第i个预设性能指标的分值,Si,k表示第i个预设性能指标对应的第k个目标检测项的分值,Wi,k表示第i个预设性能指标对应的第k个目标检测项的评分系数,i为正整数,i∈[1,n],k为正整数,k∈[1,ni],ni表示第i个预设性能指标对应的目标检测项的总数量。Among them, Si represents the score of the i-th preset performance index, Si,k represents the score of the k-th target detection item corresponding to the i-th preset performance index, Wi,k represents the i-th preset The scoring coefficient of the k-th target detection item corresponding to the performance index, i is a positive integer, i∈[1,n], k is a positive integer, k∈[1,ni ], ni represents the i-th preset performance The total number of target detection items corresponding to the indicator.
优选的,所述目标检测项的评分系数为动态值或固定值,所述方法还包括:Preferably, the scoring coefficient of the target detection item is a dynamic value or a fixed value, and the method further includes:
当所述目标检测项的评分系数为动态值时,定时更新所述目标检测项的评分系数。When the scoring coefficient of the target detection item is a dynamic value, regularly update the scoring coefficient of the target detection item.
优选的,所述定时更新所述目标检测项的评分系数包括:Preferably, the regularly updating the scoring coefficient of the target detection item includes:
获取预设时间区间内接收到的待测网页的反馈文本;Obtain the feedback text of the webpage to be tested received within the preset time interval;
对所述反馈文本执行分词操作得到多个分词,计算各个分词与预先确定的标准关键词之间的语义相似度,并根据各个分词与预先确定的标准关键词之间的语义相似度,确定各个分词的匹配关键词;performing a word segmentation operation on the feedback text to obtain multiple word segments, calculating the semantic similarity between each word segment and the predetermined standard keyword, and determining the semantic similarity between each word segment and the predetermined standard keyword The matching keyword of the participle;
筛选出与匹配关键词之间的语义相似度大于预设阈值的分词,作为待处理分词;Screening out the word segmentation with a semantic similarity with the matching keyword greater than the preset threshold as the word segmentation to be processed;
根据预先确定的各个目标检测项与匹配关键词之间的匹配指数及各个待处理分词与匹配关键词之间的语义相似度,计算各个目标检测项的反馈指数;Calculate the feedback index of each target detection item according to the predetermined matching index between each target detection item and the matching keyword and the semantic similarity between each to-be-processed word segmentation and the matching keyword;
根据各个目标检测项的反馈指数,更新各个目标检测项的评分系数。According to the feedback index of each target detection item, the scoring coefficient of each target detection item is updated.
优选的,在响应用户发送的网页性能测试的请求之前,所述方法还包括:Preferably, before responding to the webpage performance test request sent by the user, the method also includes:
提供人机交互界面供用户输入应用软件对应的网页的地址信息,并接收所述用户输入的地址信息;Provide a human-computer interaction interface for the user to input the address information of the web page corresponding to the application software, and receive the address information input by the user;
建立所述应用软件的标识信息与网页的地址信息之间的映射关系,将该映射关系及地址信息存储至预设存储空间,该映射关系用于根据网页性能测试的请求中携带的待测应用软件的标识信息,查找出各个待测网页的地址信息。Establish a mapping relationship between the identification information of the application software and the address information of the webpage, store the mapping relationship and the address information in a preset storage space, and the mapping relationship is used for the application to be tested carried in the request of the webpage performance test The identification information of the software is used to find out the address information of each webpage to be tested.
为实现上述目的,本发明还提供一种网页性能测试装置,该网页性能测试装置包括:In order to achieve the above object, the present invention also provides a webpage performance testing device, which includes:
测试模块:用于响应用户发送的网页性能测试的请求,基于各个待测网页的地址信息对各个待测网页执行性能测试操作,得到各个待测网页对应的第一报告文件;Test module: used to respond to the webpage performance test request sent by the user, perform a performance test operation on each webpage to be tested based on the address information of each webpage to be tested, and obtain the first report file corresponding to each webpage to be tested;
提取模块:用于基于各个待测网页的目标检测项,分别从各个待测网页对应的第一报告文件中提取出目标检测项的检测结果;Extraction module: used to extract the detection results of the target detection items from the first report file corresponding to each webpage to be tested based on the target detection items of each webpage to be tested;
生成模块:用于根据预设量化规则及各个待测网页对应的目标检测项的检测结果,确定各个待测试网页对应的预设性能指标的分值,并基于所述分值生成各个待测网页的第二报告文件反馈至所述用户。Generation module: used to determine the score of the preset performance index corresponding to each webpage to be tested according to the preset quantitative rules and the detection results of the target detection items corresponding to each webpage to be tested, and generate each webpage to be tested based on the score The second report file is fed back to the user.
为实现上述目的,本发明还提供一种电子设备,所述电子设备包括:To achieve the above object, the present invention also provides an electronic device, the electronic device comprising:
至少一个处理器;以及,at least one processor; and,
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的程序,所述程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行如上所述的网页性能测试方法的任意步骤。The memory stores a program that can be executed by the at least one processor, and the program is executed by the at least one processor, so that the at least one processor can perform any step of the webpage performance testing method as described above .
为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质存储有网页性能测试程序,所述网页性能测试程序被处理器执行时,实现如上所述网页性能测试方法的任意步骤。In order to achieve the above object, the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores a webpage performance test program, and when the webpage performance test program is executed by a processor, the webpage performance test as described above can be realized. any step of the method.
本发明提出的网页性能测试方法、装置、设备及存储介质,本发明通过对待测网页执行性能测试操作得到各个待测网页对应的第一报告文件,分别从各待测网页对应的第一报告文件中提取出目标检测项的检测结果,根据预设量化规则及各待测网页对应的目标检测项的检测结果,确定各个待测试网页对应的预设性能指标的分值,并基于分值生成各个待测网页的第二报告文件。第二报告文件可以体现网页整体性能的定量测试结果,使得测试结果更清晰地反映网页性能。The web page performance testing method, device, equipment and storage medium proposed by the present invention, the present invention obtains the first report file corresponding to each web page to be tested by performing a performance test operation on the web page to be tested, and respectively from the first report file corresponding to each web page to be tested The detection results of the target detection items are extracted from the target detection items, and according to the preset quantitative rules and the detection results of the target detection items corresponding to each web page to be tested, the scores of the preset performance indicators corresponding to each web page to be tested are determined, and the scores for each web page are generated based on the scores. The second report file of the webpage to be tested. The second report file can reflect the quantitative test results of the overall performance of the webpage, so that the test results can more clearly reflect the performance of the webpage.
附图说明Description of drawings
图1为本发明网页性能测试方法较佳实施例的流程图示意图;Fig. 1 is the schematic flow chart diagram of the preferred embodiment of web page performance testing method of the present invention;
图2为本发明网页性能测试装置较佳实施例的模块示意图;Fig. 2 is the module schematic diagram of the preferred embodiment of web page performance testing device of the present invention;
图3为本发明电子设备较佳实施例的示意图;3 is a schematic diagram of a preferred embodiment of the electronic device of the present invention;
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明提供一种网页性能测试方法。参照图1所示,为本发明网页性能测试方法的实施例的方法流程示意图。该方法可以由一个电子设备执行,该电子设备可以由软件和/或硬件实现。网页性能测试方法包括:The invention provides a web page performance testing method. Referring to FIG. 1 , it is a schematic flow chart of an embodiment of a webpage performance testing method of the present invention. The method can be executed by an electronic device, and the electronic device can be realized by software and/or hardware. Web page performance testing methods include:
步骤S10:响应用户发送的网页性能测试的请求,基于各个待测网页的地址信息对各个待测网页执行性能测试操作,得到各个待测网页对应的第一报告文件。Step S10: In response to the webpage performance test request sent by the user, perform a performance test operation on each webpage to be tested based on the address information of each webpage to be tested, and obtain a first report file corresponding to each webpage to be tested.
在本实施例中,当接收到用户(例如,测试人员)发出网页性能测试的请求时响应该请求,网页性能测试请求包括待测应用软件的标识信息,根据预先确定应用软件的标识信息与网页地址信息之间的映射关系,可以从预设存储空间(例如,预设数据库)中查找出所有待测网页的地址信息,根据待测网页的地址信息各个待测网页执行性能测试操作,执行性能测试操作可以利用现有的网页性能测试程序。In this embodiment, when a user (for example, a tester) sends a webpage performance test request, the request is responded to. The webpage performance test request includes the identification information of the application software to be tested. According to the identification information of the predetermined application software and the webpage The mapping relationship between the address information can find out the address information of all webpages to be tested from the preset storage space (for example, a preset database), and perform a performance test operation for each webpage to be tested according to the address information of the webpage to be tested, and perform a performance test. Testing operations can utilize existing web page performance testing procedures.
在一个实施例中,在响应用户发送的网页性能测试的请求之前,所述方法还包括:In one embodiment, before responding to the webpage performance test request sent by the user, the method further includes:
提供人机交互界面供用户输入应用软件对应的网页的地址信息,并接收所述用户输入的地址信息;Provide a human-computer interaction interface for the user to input the address information of the web page corresponding to the application software, and receive the address information input by the user;
建立所述应用软件的标识信息与网页的地址信息之间的映射关系,将该映射关系及地址信息存储至预设存储空间,该映射关系用于根据网页性能测试的请求中携带的待测应用软件的标识信息,查找出各个待测网页的地址信息。Establish a mapping relationship between the identification information of the application software and the address information of the webpage, store the mapping relationship and the address information in a preset storage space, and the mapping relationship is used for the application to be tested carried in the request of the webpage performance test The identification information of the software is used to find out the address information of each webpage to be tested.
由于网页性能测试请求包括待测应用的应用标识信息,因此可以预先建立应用软件的标识信息与该软件对应网页的地址信息之间的映射关系,根据该映射关系可以查找待测网页的地址信息。Since the web page performance test request includes the application identification information of the application to be tested, a mapping relationship between the identification information of the application software and the address information of the web page corresponding to the software can be established in advance, and the address information of the web page to be tested can be found according to the mapping relationship.
在一个实施例中,所述基于各个待测网页的地址信息对各个待测网页执行性能测试操作包括:In one embodiment, performing the performance test operation on each webpage to be tested based on the address information of each webpage to be tested includes:
对各个待测网页的地址信息进行扫描,得到各个待测网页对应的预设检查项,运行各个预设检查项对应的预设测试用例对所述预设检查项进行测试,得到各个预设检查项对应的预设测试用例的运行结果。Scan the address information of each webpage to be tested to obtain the preset check items corresponding to each webpage to be tested, run the preset test cases corresponding to each preset check item to test the preset check items, and obtain each preset check item The running result of the preset test case corresponding to the item.
其中,预设测试用例(Test Case)是为某个检查项而编制的一组测试输入、执行条件以及预期结果,以核实是否满足某个特定需求。例如,预设测试用例基于测试输入、执行条件运行,得到运行结果,再将运行结果与预期结果进行对比分析,基于对比结果判断该检查是否满足预设条件,最后输出检测结果,检测结果包括运行结果及判断结果。Among them, the preset test case (Test Case) is a set of test inputs, execution conditions and expected results compiled for a certain inspection item to verify whether a specific requirement is met. For example, the preset test cases are run based on the test input and execution conditions, and the running results are obtained, and then the running results are compared and analyzed with the expected results, and based on the comparison results, it is judged whether the check meets the preset conditions, and finally the testing results are output. The testing results include running results and judgments.
步骤S20:基于各个待测网页的目标检测项,分别从各个待测网页对应的第一报告文件中提取出目标检测项的检测结果。Step S20: Based on the target detection items of each webpage to be tested, respectively extract the detection results of the target detection items from the first report file corresponding to each webpage to be tested.
在本实施例中,第一报告文件包括若干个预设检查项的检测结果,预设检查项的检测结果包括针对预设检查项运行对应的预设测试用例所得的运行结果。In this embodiment, the first report file includes detection results of several preset check items, and the detection results of the preset check items include running results obtained by running corresponding preset test cases for the preset check items.
可预先根据具体的应用场景需要,分别从每一个待测网页对应的预设检查项中选出部分预设检查项作为待测网页的目标检测项,保存各个待测网页的目标检测项。在得到各个待测网页对应的第一报告文件时,获取各个待测网页的目标检测项,并分别从各个待测网页对应的第一报告文件中提取出目标检测项的检测结果。According to the needs of specific application scenarios, some preset check items can be selected from the preset check items corresponding to each webpage to be tested as the target detection items of the webpage to be tested, and the target detection items of each webpage to be tested can be saved. When the first report file corresponding to each webpage to be tested is obtained, the target detection items of each webpage to be tested are obtained, and the detection results of the target detection items are respectively extracted from the first report files corresponding to each webpage to be tested.
在一些应用场景中,也可将某一待测网页对应的所有预设检查项作为目标检测项,本发明对此不作限定。In some application scenarios, all preset check items corresponding to a webpage to be tested may also be used as target detection items, which is not limited in the present invention.
通过从第一报告中提取目标检测项的运行结果,可使用户方便的查看需要关注的检查项的检测结果,可满足用户多样化的需求,且可更高效的读取检测结果。By extracting the operation results of the target detection items from the first report, the user can conveniently view the detection results of the inspection items that need attention, which can meet the diverse needs of users, and can read the detection results more efficiently.
步骤S30:根据预设量化规则及各个待测网页对应的目标检测项的检测结果,确定各个待测试网页对应的预设性能指标的分值,并基于所述分值生成各个待测网页的第二报告文件反馈至所述用户。Step S30: According to the preset quantitative rules and the detection results of the target detection items corresponding to each webpage to be tested, determine the score of the preset performance index corresponding to each webpage to be tested, and generate the first index of each webpage to be tested based on the score. Two report files are fed back to the user.
在本实施例中,第二报告文件是通过定量计算获得网页整体性能的定量测试结果文件,第二报告文件可以体现网页整体性能的定量测试结果。其中,第二报告文件包括各个目标检测项的优化建议链接,用点击优化建议链接时可以查看目标检测项的优化建议。In this embodiment, the second report file is a quantitative test result file of the overall performance of the webpage obtained through quantitative calculation, and the second report file may reflect the quantitative test result of the overall performance of the webpage. Wherein, the second report file includes an optimization suggestion link of each target detection item, and the optimization suggestion of the target detection item can be viewed when the user clicks on the optimization suggestion link.
在一个实施例中,所述根据预设量化规则及各个待测网页对应的目标检测项的检测结果,确定各个待测试网页对应的预设性能指标的分值,并基于所述分值生成各个待测网页的第二报告文件反馈至所述用户包括:In one embodiment, according to the preset quantification rules and the detection results of the target detection items corresponding to each webpage to be tested, the scores of the preset performance indicators corresponding to each webpage to be tested are determined, and each webpage is generated based on the scores. The second report file of the webpage to be tested is fed back to the user and includes:
根据预设性能指标和目标检测项的映射关系,获取各个预设性能指标对应的目标检测项的检测结果;Obtain the detection results of the target detection items corresponding to each preset performance index according to the mapping relationship between the preset performance indicators and the target detection items;
根据各个预设性能指标对应的目标检测项的检测结果,确定各个预设性能指标对应的目标检测项的分值;Determine the score of the target detection item corresponding to each preset performance index according to the detection result of the target detection item corresponding to each preset performance index;
根据预先确定的计算规则及各个预设性能指标对应的目标检测项的分值,确定各个预设性能指标的分值;Determining the score of each preset performance index according to the predetermined calculation rule and the score of the target detection item corresponding to each preset performance index;
根据各个待测网页对应的预设性能指标的分值、各个目标检测项的运行结果及分值,生成各个待测网页的第二报告文件。A second report file for each webpage to be tested is generated according to the scores of the preset performance indicators corresponding to each webpage to be tested, the running results and the scores of each target detection item.
预设性能指标包括页面性能、PWA、可访问性、最佳实践、SEO。在具体的应用场景中,可根据需要设置上述预设性能指标,本发明对于预设性能指标的数量和种类不作限定。Preset performance metrics include page performance, PWA, accessibility, best practices, SEO. In a specific application scenario, the aforementioned preset performance indicators may be set as required, and the present invention does not limit the number and types of preset performance indicators.
获取目标检测项对应测试用例的运行结果,当运行结果为定量数据时,获取目标检测项对应的预设分值匹配表,预设分值匹配表包括多个预设数值范围及各个预设数值范围对应的分值,在预设分值匹配表中查询运行结果对应的预设数值范围及对应的分值。当运行结果为定性数据时,直接根据预先确定的定性数据与分值之间的映射关系,确定运行结果的分值(即目标检测项的分值)。根据各个待测网页对应的预设性能指标的分值、各个目标检测项的运行结果及分值,生成各个待测网页的第二报告文件。Obtain the running result of the test case corresponding to the target detection item. When the running result is quantitative data, obtain the preset score matching table corresponding to the target detection item. The preset score matching table includes multiple preset value ranges and each preset value The score corresponding to the range, query the preset numerical range and corresponding score corresponding to the running result in the preset score matching table. When the operation result is qualitative data, the score of the operation result (that is, the score of the target detection item) is determined directly according to the predetermined mapping relationship between the qualitative data and the score. A second report file for each webpage to be tested is generated according to the scores of the preset performance indicators corresponding to each webpage to be tested, the running results and the scores of each target detection item.
进一步地,所述根据预先确定的计算规则及各个预设性能指标对应的目标检测项的分值,确定各个预设性能指标的分值包括利用下述公式确定各个预设性能指标的分值:Further, according to the predetermined calculation rule and the score of the target detection item corresponding to each preset performance indicator, determining the score of each preset performance indicator includes using the following formula to determine the score of each preset performance indicator:
其中,Si表示第i个预设性能指标的分值,Si,k表示第i个预设性能指标对应的第k个目标检测项的分值,Wi,k表示第i个预设性能指标对应的第k个目标检测项的评分系数,i为正整数,i∈[1,n],k为正整数,k∈[1,ni],ni表示第i个预设性能指标对应的目标检测项的总数量。Among them, Si represents the score of the i-th preset performance index, Si,k represents the score of the k-th target detection item corresponding to the i-th preset performance index, Wi,k represents the i-th preset The scoring coefficient of the k-th target detection item corresponding to the performance index, i is a positive integer, i∈[1,n], k is a positive integer, k∈[1,ni ], ni represents the i-th preset performance The total number of target detection items corresponding to the indicator.
进一步地,所述目标检测项的评分系数为动态值或固定值,当所述目标检测项的评分系数为动态值时,所述方法还包括:Further, the scoring coefficient of the target detection item is a dynamic value or a fixed value, and when the scoring coefficient of the target detection item is a dynamic value, the method further includes:
当所述目标检测项的评分系数为动态值时,定时更新所述目标检测项的评分系数。When the scoring coefficient of the target detection item is a dynamic value, regularly update the scoring coefficient of the target detection item.
进一步地,所述定时更新所述目标检测项的评分系数包括:Further, the regularly updating the scoring coefficient of the target detection item includes:
获取预设时间区间内接收到的待测网页的反馈文本;Obtain the feedback text of the webpage to be tested received within the preset time interval;
对所述反馈文本执行分词操作得到多个分词,计算各个分词与预先确定的标准关键词之间的语义相似度,并根据各个分词与预先确定的标准关键词之间的语义相似度,确定各个分词的匹配关键词;performing a word segmentation operation on the feedback text to obtain multiple word segments, calculating the semantic similarity between each word segment and the predetermined standard keyword, and determining the semantic similarity between each word segment and the predetermined standard keyword The matching keyword of the participle;
筛选出与匹配关键词之间的语义相似度大于预设阈值的分词,作为待处理分词;Screening out the word segmentation with a semantic similarity with the matching keyword greater than the preset threshold as the word segmentation to be processed;
根据预先确定的各个目标检测项与匹配关键词之间的匹配指数及各个待处理分词与匹配关键词之间的语义相似度,计算各个目标检测项的反馈指数;Calculate the feedback index of each target detection item according to the predetermined matching index between each target detection item and the matching keyword and the semantic similarity between each to-be-processed word segmentation and the matching keyword;
根据各个目标检测项的反馈指数,更新各个目标检测项的评分系数。According to the feedback index of each target detection item, the scoring coefficient of each target detection item is updated.
若用户采用语音的方式输入反馈内容,则在接收到用户输入的反馈音频数据时,将该反馈音频数据转化成反馈文本,分词可以采用最大正向匹配法或逆向最大匹配法,进一步地,某一分词的匹配关键词的确定方法包括:将与分词之间的语义相似度最大的标准关键词作为该分词的匹配关键词。If the user uses voice to input feedback content, when the feedback audio data input by the user is received, the feedback audio data is converted into feedback text, and the word segmentation can use the maximum forward matching method or the reverse maximum matching method. Further, a certain The method for determining the matching keyword of a participle includes: taking the standard keyword with the largest semantic similarity with the participle as the matching keyword of the participle.
进一步地,计算目标检测项的反馈指数的计算公式可以是:Further, the calculation formula for calculating the feedback index of the target detection item can be:
其中,Rj为第j个目标检测项的反馈指数,Cz为第z个待处理分词与匹配关键词之间的语义相似度,Dz为预先确定的第z个待处理分词对应的匹配关键词与第j个目标检测项之间的关联指数,j为正整数,j∈[1,M],k为正整数,z∈[1,m],M为某一待测网页的目标检测项的总数量,m为待处理分词的总数量。Among them, Rj is the feedback index of the j-th target detection item, Cz is the semantic similarity between the z-th word to be processed and the matching keyword, and Dz is the predetermined match corresponding to the z-th word to be processed The correlation index between the keyword and the jth target detection item, j is a positive integer, j ∈ [1, M], k is a positive integer, z ∈ [1, m], M is the target of a webpage to be tested The total number of detection items, m is the total number of word segmentation to be processed.
更新后的目标检测项的评分系数可以是更新前的该目标检测项的评分系数与该目标检测项的反馈指数的和,更新后的目标检测项的评分系数=更新前的该目标检测项的评分系数+该目标检测项的反馈指数。The scoring coefficient of the updated target detection item can be the sum of the scoring coefficient of the target detection item before updating and the feedback index of the target detection item, and the scoring coefficient of the updated target detection item=the score of the target detection item before updating Scoring coefficient + feedback index of the target detection item.
参照图2所示,为本发明网页性能测试装置100的功能模块示意图。Referring to FIG. 2 , it is a schematic diagram of functional modules of the web page performance testing device 100 of the present invention.
本发明所述网页性能测试装置100可以安装于电子设备中。根据实现的功能,所述网页性能测试装置100可以包括测试模块110、提取模块120及生成模块130。本发所述模块也可以称之为单元,是指一种能够被电子设备处理器所执行,并且能够完成固定功能的一系列计算机程序段,其存储在电子设备的存储器中。The web page performance testing device 100 of the present invention can be installed in electronic equipment. According to the realized functions, the webpage performance testing device 100 may include a testing module 110 , an extraction module 120 and a generation module 130 . The module described in the present invention can also be referred to as a unit, which refers to a series of computer program segments that can be executed by the processor of the electronic device and can complete fixed functions, and are stored in the memory of the electronic device.
在本实施例中,关于各模块/单元的功能如下:In this embodiment, the functions of each module/unit are as follows:
测试模块110,用于响应用户发送的网页性能测试的请求,基于各个待测网页的地址信息对各个待测网页执行性能测试操作,得到各个待测网页对应的第一报告文件。The testing module 110 is configured to respond to a webpage performance test request sent by a user, perform a performance test operation on each webpage to be tested based on the address information of each webpage to be tested, and obtain a first report file corresponding to each webpage to be tested.
在一个实施例中,在响应用户发送的网页性能测试的请求之前,测试模块还用于:In one embodiment, before responding to the web page performance test request sent by the user, the test module is also used to:
提供人机交互界面供用户输入应用软件对应的网页的地址信息,并接收所述用户输入的地址信息;Provide a human-computer interaction interface for the user to input the address information of the web page corresponding to the application software, and receive the address information input by the user;
建立所述应用软件的标识信息与网页的地址信息之间的映射关系,将该映射关系及地址信息存储至预设存储空间,该映射关系用于根据网页性能测试的请求中携带的待测应用软件的标识信息,查找出各个待测网页的地址信息。Establish a mapping relationship between the identification information of the application software and the address information of the webpage, store the mapping relationship and the address information in a preset storage space, and the mapping relationship is used for the application to be tested carried in the request of the webpage performance test The identification information of the software is used to find out the address information of each webpage to be tested.
在一个实施例中,所述基于各个待测网页的地址信息对各个待测网页执行性能测试操作包括:In one embodiment, performing the performance test operation on each webpage to be tested based on the address information of each webpage to be tested includes:
对各个待测网页的地址信息进行扫描,得到各个待测网页对应的预设检查项,运行各个预设检查项对应的预设测试用例对所述预设检查项进行测试,得到各个预设检查项对应的预设测试用例的运行结果。Scan the address information of each webpage to be tested to obtain the preset check items corresponding to each webpage to be tested, run the preset test cases corresponding to each preset check item to test the preset check items, and obtain each preset check item The running result of the preset test case corresponding to the item.
提取模块120,用于基于各个待测网页的目标检测项,分别从各个待测网页对应的第一报告文件中提取出目标检测项的检测结果。The extraction module 120 is configured to extract the detection results of the target detection items from the first report file corresponding to each webpage to be tested based on the target detection items of each webpage to be tested.
生成模块130,用于根据预设量化规则及各个待测网页对应的目标检测项的检测结果,确定各个待测试网页对应的预设性能指标的分值,并基于所述分值生成各个待测网页的第二报告文件反馈至所述用户。The generation module 130 is used to determine the score of the preset performance index corresponding to each webpage to be tested according to the preset quantification rules and the detection results of the target detection items corresponding to each webpage to be tested, and generate each webpage to be tested based on the score. A second report file of the webpage is fed back to the user.
在一个实施例中,所述生成模块具体用于:In one embodiment, the generating module is specifically used for:
根据预设性能指标和目标检测项的映射关系,获取各个预设性能指标对应的目标检测项的检测结果;Obtain the detection results of the target detection items corresponding to each preset performance index according to the mapping relationship between the preset performance indicators and the target detection items;
根据各个预设性能指标对应的目标检测项的检测结果,确定各个预设性能指标对应的目标检测项的分值;Determine the score of the target detection item corresponding to each preset performance index according to the detection result of the target detection item corresponding to each preset performance index;
根据预先确定的计算规则及各个预设性能指标对应的目标检测项的分值,确定各个预设性能指标的分值;Determining the score of each preset performance index according to the predetermined calculation rule and the score of the target detection item corresponding to each preset performance index;
根据各个待测网页对应的预设性能指标的分值、各个目标检测项的运行结果及分值,生成各个待测网页的第二报告文件反馈至所述用户。Generate a second report file for each webpage to be tested and feed back to the user according to the scores of the preset performance indicators corresponding to each webpage to be tested, and the running results and scores of each target detection item.
在一个实施例中,所述根据预先确定的计算规则及各个预设性能指标对应的目标检测项的分值,确定各个预设性能指标的分值包括利用下述公式确定各个预设性能指标的分值:In one embodiment, the determining the score of each preset performance index according to the predetermined calculation rule and the score of the target detection item corresponding to each preset performance index includes using the following formula to determine the value of each preset performance index Score:
其中,Si表示第i个预设性能指标的分值,Si,k表示第i个预设性能指标对应的第k个目标检测项的分值,Wi,k表示第i个预设性能指标对应的第k个目标检测项的评分系数,i为正整数,i∈[1,n],k为正整数,k∈[1,ni],ni表示第i个预设性能指标对应的目标检测项的总数量。Among them, Si represents the score of the i-th preset performance index, Si,k represents the score of the k-th target detection item corresponding to the i-th preset performance index, Wi,k represents the i-th preset The scoring coefficient of the k-th target detection item corresponding to the performance index, i is a positive integer, i∈[1,n], k is a positive integer, k∈[1,ni ], ni represents the i-th preset performance The total number of target detection items corresponding to the indicator.
在一个实施例中,所述目标检测项的评分系数为动态值或固定值,所述生成模块还用于:In one embodiment, the scoring coefficient of the target detection item is a dynamic value or a fixed value, and the generating module is also used for:
当所述目标检测项的评分系数为动态值时,定时更新所述目标检测项的评分系数。When the scoring coefficient of the target detection item is a dynamic value, regularly update the scoring coefficient of the target detection item.
在一个实施例中,所述定时更新所述目标检测项的评分系数包括:In one embodiment, the regularly updating the scoring coefficient of the target detection item includes:
获取预设时间区间内接收到的待测网页的反馈文本;Obtain the feedback text of the webpage to be tested received within the preset time interval;
对所述反馈文本执行分词操作得到多个分词,计算各个分词与预先确定的标准关键词之间的语义相似度,并根据各个分词与预先确定的标准关键词之间的语义相似度,确定各个分词的匹配关键词;performing a word segmentation operation on the feedback text to obtain multiple word segments, calculating the semantic similarity between each word segment and the predetermined standard keyword, and determining the semantic similarity between each word segment and the predetermined standard keyword The matching keyword of the participle;
筛选出与匹配关键词之间的语义相似度大于预设阈值的分词,作为待处理分词;Screening out the word segmentation with a semantic similarity with the matching keyword greater than the preset threshold as the word segmentation to be processed;
根据预先确定的各个目标检测项与匹配关键词之间的匹配指数及各个待处理分词与匹配关键词之间的语义相似度,计算各个目标检测项的反馈指数。Calculate the feedback index of each target detection item according to the predetermined matching index between each target detection item and the matching keyword and the semantic similarity between each to-be-processed word segmentation and the matching keyword.
在一个实施例中,计算各个目标检测项的反馈指数的计算公式包括:In one embodiment, the calculation formula for calculating the feedback index of each target detection item includes:
其中,Rj为第j个目标检测项的反馈指数,Cz为第z个待处理分词与匹配关键词之间的语义相似度,Dz为预先确定的第z个待处理分词对应的匹配关键词与第j个目标检测项之间的关联指数,j为正整数,j∈[1,M],k为正整数,z∈[1,m],M为某一待测网页的目标检测项的总数量,m为待处理分词的总数量。Among them, Rj is the feedback index of the j-th target detection item, Cz is the semantic similarity between the z-th word to be processed and the matching keyword, and Dz is the predetermined match corresponding to the z-th word to be processed The correlation index between the keyword and the jth target detection item, j is a positive integer, j ∈ [1, M], k is a positive integer, z ∈ [1, m], M is the target of a webpage to be tested The total number of detection items, m is the total number of word segmentation to be processed.
参照图3所示,为本发明电子设备1较佳实施例的示意图。Referring to FIG. 3 , it is a schematic diagram of a preferred embodiment of the electronic device 1 of the present invention.
该电子设备1包括但不限于:存储器11、处理器12、显示器13及网络接口14。所述电子设备1通过网络接口14连接网络,获取原始数据。其中,所述网络可以是企业内部网(Intranet)、互联网(Internet)、全球移动通讯系统(Global System of Mobilecommunication,GSM)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、4G网络、5G网络、蓝牙(Bluetooth)、Wi-Fi、通话网络等无线或有线网络。The electronic device 1 includes but not limited to: a memory 11 , a processor 12 , a display 13 and a network interface 14 . The electronic device 1 is connected to the network through the network interface 14 to obtain raw data. Wherein, the network may be an intranet (Intranet), Internet (Internet), Global System of Mobile Communication (Global System of Mobilecommunication, GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G network, Bluetooth (Bluetooth), Wi-Fi, call network and other wireless or wired networks.
其中,存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器11可以是所述电子设备1的内部存储单元,例如该电子设备1的硬盘或内存。在另一些实施例中,所述存储器11也可以是所述电子设备1的外部存储设备,例如该电子设备1配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,所述存储器11还可以既包括所述电子设备1的内部存储单元也包括其外部存储设备。本实施例中,存储器11通常用于存储安装于所述电子设备1的操作系统和各类应用软件,例如网页性能测试程序10的程序代码等。此外,存储器11还可以用于暂时地存储已经输出或者将要输出的各类数据。Wherein, the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), Magnetic Memory, Magnetic Disk, Optical Disk, etc. In some embodiments, the storage 11 may be an internal storage unit of the electronic device 1 , such as a hard disk or a memory of the electronic device 1 . In other embodiments, the memory 11 can also be an external storage device of the electronic device 1, such as a plug-in hard disk equipped with the electronic device 1, a smart memory card (Smart Media Card, SMC), a secure digital ( Secure Digital (SD) card, flash memory card (Flash Card), etc. Certainly, the storage 11 may also include both an internal storage unit of the electronic device 1 and an external storage device thereof. In this embodiment, the memory 11 is generally used to store the operating system and various application software installed in the electronic device 1 , such as the program code of the webpage performance testing program 10 . In addition, the memory 11 can also be used to temporarily store various types of data that have been output or will be output.
处理器12在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器12通常用于控制所述电子设备1的总体操作,例如执行数据交互或者通信相关的控制和处理等。本实施例中,所述处理器12用于运行所述存储器11中存储的程序代码或者处理数据,例如运行网页性能测试程序10的程序代码等。In some embodiments, the processor 12 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor 12 is generally used to control the overall operation of the electronic device 1 , for example, perform data interaction or communication-related control and processing. In this embodiment, the processor 12 is configured to run program codes stored in the memory 11 or process data, for example, run program codes of the webpage performance testing program 10 .
显示器13可以称为显示屏或显示单元。在一些实施例中显示器13可以是LED显示器、液晶显示器、触控式液晶显示器以及有机发光二极管(Organic Light-EmittingDiode,OLED)触摸器等。显示器13用于显示在电子设备1中处理的信息以及用于显示可视化的工作界面,例如显示数据统计的结果。The display 13 may be called a display screen or a display unit. In some embodiments, the display 13 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an organic light-emitting diode (Organic Light-Emitting Diode, OLED) touch device, and the like. The display 13 is used for displaying the information processed in the electronic device 1 and for displaying a visualized working interface, such as displaying the results of statistical data.
网络接口14可选地可以包括标准的有线接口、无线接口(如WI-FI接口),该网络接口14通常用于在所述电子设备1与其它电子设备之间建立通信连接。The network interface 14 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface), and the network interface 14 is generally used to establish a communication connection between the electronic device 1 and other electronic devices.
图3仅示出了具有组件11-14以及网页性能测试程序10的电子设备1,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。Fig. 3 only shows the electronic device 1 with the components 11-14 and the webpage performance testing program 10, but it should be understood that it is not required to implement all the illustrated components, and more or fewer components may be implemented instead.
可选地,所述电子设备1还可以包括用户接口,用户接口可以包括显示器(Display)、输入单元比如键盘(Keyboard),可选的用户接口还可以包括标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及有机发光二极管(Organic Light-Emitting Diode,OLED)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在电子设备1中处理的信息以及用于显示可视化的用户界面。Optionally, the electronic device 1 may further include a user interface, which may include a display (Display), an input unit such as a keyboard (Keyboard), and optional user interfaces may also include standard wired interfaces and wireless interfaces. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an organic light-emitting diode (Organic Light-Emitting Diode, OLED) touch device, and the like. Wherein, the display may also be appropriately called a display screen or a display unit, and is used for displaying information processed in the electronic device 1 and for displaying a visualized user interface.
该电子设备1还可以包括射频(Radio Frequency,RF)电路、传感器和音频电路等等,在此不再赘述。The electronic device 1 may also include a radio frequency (Radio Frequency, RF) circuit, a sensor, an audio circuit, etc., which will not be repeated here.
在上述实施例中,处理器12执行存储器11中存储的网页性能测试程序10时可以实现如下步骤:In the above-mentioned embodiment, when the processor 12 executes the webpage performance test program 10 stored in the memory 11, the following steps can be implemented:
响应用户发送的网页性能测试的请求,基于各个待测网页的地址信息对各个待测网页执行性能测试操作,得到各个待测网页对应的第一报告文件;Responding to the webpage performance test request sent by the user, perform a performance test operation on each webpage to be tested based on the address information of each webpage to be tested, and obtain a first report file corresponding to each webpage to be tested;
基于各个待测网页的目标检测项,分别从各个待测网页对应的第一报告文件中提取出目标检测项的检测结果;Based on the target detection items of each webpage to be tested, the detection results of the target detection items are respectively extracted from the first report file corresponding to each webpage to be tested;
根据预设量化规则及各个待测网页对应的目标检测项的检测结果,确定各个待测试网页对应的预设性能指标的分值,并基于所述分值生成各个待测网页的第二报告文件反馈至所述用户。According to the preset quantitative rules and the detection results of the target detection items corresponding to each webpage to be tested, determine the score of the preset performance index corresponding to each webpage to be tested, and generate a second report file for each webpage to be tested based on the score Feedback to said user.
所述存储设备可以为电子设备1的存储器11,也可以为与电子设备1通讯连接的其它存储设备。The storage device may be the memory 11 of the electronic device 1 , or other storage devices connected in communication with the electronic device 1 .
关于上述步骤的详细介绍,请参照上述图2关于网页性能测试装置100实施例的功能模块图以及图1关于网页性能测试方法实施例的流程图的说明。For the detailed introduction of the above steps, please refer to the description of the functional block diagram of the embodiment of the webpage performance testing device 100 in FIG. 2 and the flowchart of the embodiment of the webpage performance testing method in FIG. 1 .
此外,本发明实施例还提出一种计算机可读存储介质,所述计算机可读存储介质可以是非易失性的,也可以是易失性的。该计算机可读存储介质可以是硬盘、多媒体卡、SD卡、闪存卡、SMC、只读存储器(ROM)、可擦除可编程只读存储器(EPROM)、便携式紧致盘只读存储器(CD-ROM)、USB存储器等等中的任意一种或者几种的任意组合。所述计算机可读存储介质中包括存储数据区和存储程序区,存储数据区存储根据区块链节点的使用所创建的数据,存储程序区存储有网页性能测试程序10,所述网页性能测试程序10被处理器执行时实现如下操作:In addition, an embodiment of the present invention also provides a computer-readable storage medium, and the computer-readable storage medium may be non-volatile or volatile. The computer-readable storage medium can be hard disk, multimedia card, SD card, flash memory card, SMC, read-only memory (ROM), erasable programmable read-only memory (EPROM), portable compact disk read-only memory (CD- ROM), USB memory, etc., or any combination of several. The computer-readable storage medium includes a storage data area and a storage program area, the storage data area stores data created according to the use of blockchain nodes, and the storage program area stores a webpage performance test program 10, and the webpage performance test program 10 implements the following operations when executed by the processor:
响应用户发送的网页性能测试的请求,基于各个待测网页的地址信息对各个待测网页执行性能测试操作,得到各个待测网页对应的第一报告文件;Responding to the webpage performance test request sent by the user, perform a performance test operation on each webpage to be tested based on the address information of each webpage to be tested, and obtain a first report file corresponding to each webpage to be tested;
基于各个待测网页的目标检测项,分别从各个待测网页对应的第一报告文件中提取出目标检测项的检测结果;Based on the target detection items of each webpage to be tested, the detection results of the target detection items are respectively extracted from the first report file corresponding to each webpage to be tested;
根据预设量化规则及各个待测网页对应的目标检测项的检测结果,确定各个待测试网页对应的预设性能指标的分值,并基于所述分值生成各个待测网页的第二报告文件反馈至所述用户。According to the preset quantitative rules and the detection results of the target detection items corresponding to each webpage to be tested, determine the score of the preset performance index corresponding to each webpage to be tested, and generate a second report file for each webpage to be tested based on the score Feedback to said user.
本发明之计算机可读存储介质的具体实施方式与上述网页性能测试方法的具体实施方式大致相同,在此不再赘述。The specific implementation manners of the computer-readable storage medium of the present invention are substantially the same as the specific implementation manners of the webpage performance testing method described above, and will not be repeated here.
在另一个实施例中,本发明所提供的网页性能测试方法,为进一步保证上述所有出现的数据的私密和安全性,上述所有数据还可以存储于一区块链的节点中。例如第一报告文件及第二报告文件等,这些数据均可存储在区块链节点中。In another embodiment, in the webpage performance testing method provided by the present invention, in order to further ensure the privacy and security of all the above-mentioned data, all the above-mentioned data can also be stored in a block chain node. For example, the first report file and the second report file, etc., these data can be stored in the blockchain nodes.
需要说明的是,本发明所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。It should be noted that the blockchain referred to in the present invention is a new application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain (Blockchain), essentially a decentralized database, is a series of data blocks associated with each other using cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify its Validity of information (anti-counterfeiting) and generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
需要说明的是,上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。并且本文中的术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、装置、物品或者方法中还存在另外的相同要素。It should be noted that the serial numbers of the above embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments. And herein the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, apparatus, article or method comprising a set of elements includes not only those elements, but also includes the elements not expressly included. other elements listed, or also include elements inherent in the process, apparatus, article, or method. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional same elements in the process, apparatus, article or method comprising the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,电子装置,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present invention can be embodied in the form of a software product in essence or in other words, the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , magnetic disk, optical disk), including several instructions to enable a terminal device (which may be a mobile phone, computer, electronic device, or network device, etc.) to execute the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process conversion made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technical fields , are all included in the scope of patent protection of the present invention in the same way.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110575274.3ACN115408244A (en) | 2021-05-26 | 2021-05-26 | Webpage performance testing method, device, equipment and storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110575274.3ACN115408244A (en) | 2021-05-26 | 2021-05-26 | Webpage performance testing method, device, equipment and storage medium |
| Publication Number | Publication Date |
|---|---|
| CN115408244Atrue CN115408244A (en) | 2022-11-29 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110575274.3APendingCN115408244A (en) | 2021-05-26 | 2021-05-26 | Webpage performance testing method, device, equipment and storage medium |
| Country | Link |
|---|---|
| CN (1) | CN115408244A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118171010A (en)* | 2024-05-11 | 2024-06-11 | 中移(苏州)软件技术有限公司 | Web page performance detection method, device and electronic equipment |
| CN119201758A (en)* | 2024-11-29 | 2024-12-27 | 长江时代通信股份有限公司 | A method for generating a visual web page usability test report based on browser plug-in |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130287305A1 (en)* | 2012-04-26 | 2013-10-31 | Google Inc. | Testing the rendering of visual content |
| CN105095312A (en)* | 2014-05-22 | 2015-11-25 | 阿里巴巴集团控股有限公司 | Method and system for evaluating webpage front-end performance |
| CN107436843A (en)* | 2016-05-27 | 2017-12-05 | 北京京东尚科信息技术有限公司 | Webpage performance test methods and device |
| CN109840195A (en)* | 2017-11-29 | 2019-06-04 | 腾讯科技(武汉)有限公司 | Webpage method for analyzing performance, terminal device and computer readable storage medium |
| CN110309463A (en)* | 2018-02-28 | 2019-10-08 | 腾讯科技(深圳)有限公司 | Land page optimization method, device, computer storage medium and the network equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130287305A1 (en)* | 2012-04-26 | 2013-10-31 | Google Inc. | Testing the rendering of visual content |
| CN105095312A (en)* | 2014-05-22 | 2015-11-25 | 阿里巴巴集团控股有限公司 | Method and system for evaluating webpage front-end performance |
| CN107436843A (en)* | 2016-05-27 | 2017-12-05 | 北京京东尚科信息技术有限公司 | Webpage performance test methods and device |
| CN109840195A (en)* | 2017-11-29 | 2019-06-04 | 腾讯科技(武汉)有限公司 | Webpage method for analyzing performance, terminal device and computer readable storage medium |
| CN110309463A (en)* | 2018-02-28 | 2019-10-08 | 腾讯科技(深圳)有限公司 | Land page optimization method, device, computer storage medium and the network equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118171010A (en)* | 2024-05-11 | 2024-06-11 | 中移(苏州)软件技术有限公司 | Web page performance detection method, device and electronic equipment |
| CN119201758A (en)* | 2024-11-29 | 2024-12-27 | 长江时代通信股份有限公司 | A method for generating a visual web page usability test report based on browser plug-in |
| Publication | Publication Date | Title |
|---|---|---|
| US10095780B2 (en) | Automatically mining patterns for rule based data standardization systems | |
| JP5575902B2 (en) | Information retrieval based on query semantic patterns | |
| CN110377558A (en) | Document searching method, device, computer equipment and storage medium | |
| CN109471857B (en) | SQL statement-based data modification method, device and storage medium | |
| CN109299235B (en) | Knowledge base searching method, device and computer readable storage medium | |
| CN110362601B (en) | Metadata standard mapping method, device, equipment and storage medium | |
| CN112860727B (en) | Data query method, device, equipment and medium based on big data query engine | |
| WO2019085474A1 (en) | Calculation engine implementing method, electronic device, and storage medium | |
| CN112364625A (en) | Text screening method, device, equipment and storage medium | |
| CN111460268B (en) | Method and device for determining database query request and computer equipment | |
| CN108920677A (en) | Questionnaire method, investigating system and electronic equipment | |
| WO2019148712A1 (en) | Phishing website detection method, device, computer equipment and storage medium | |
| CN111339166A (en) | Thesaurus-based matching recommendation method, electronic device and storage medium | |
| US20150286706A1 (en) | Forensic system, forensic method, and forensic program | |
| CN112749258A (en) | Data searching method and device, electronic equipment and storage medium | |
| CN108334625A (en) | Processing method, device, computer equipment and the storage medium of user information | |
| CN115408244A (en) | Webpage performance testing method, device, equipment and storage medium | |
| CN112364857B (en) | Image recognition method, device and storage medium based on numerical extraction | |
| CN103577547A (en) | Webpage type identification method and device | |
| CN115859273A (en) | Method, device and equipment for detecting abnormal access of database and storage medium | |
| CN110569419A (en) | question-answering system optimization method and device, computer equipment and storage medium | |
| KR20120090131A (en) | Method, system and computer readable recording medium for providing search results | |
| CN119782590A (en) | Question and answer processing method, device, electronic device and storage medium based on large model | |
| CN112671614B (en) | Method, system, device and storage medium for testing connectivity of association system | |
| CN114817686A (en) | Data query method, device, equipment and medium based on search ranking |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |