CN116126773A - Extensible platform based on API (application program interface) and automatic experience assessment method of equipment - Google Patents

Extensible platform based on API (application program interface) and automatic experience assessment method of equipment Download PDF

Info

Publication number
CN116126773A
CN116126773A CN202310115443.4A CN202310115443A CN116126773A CN 116126773 A CN116126773 A CN 116126773A CN 202310115443 A CN202310115443 A CN 202310115443A CN 116126773 A CN116126773 A CN 116126773A
Authority
CN
China
Prior art keywords
module
execution
control
platform
evaluation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310115443.4A
Other languages
Chinese (zh)
Inventor
曾小红
徐凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Hongmei Intelligent Technology Co Ltd
Original Assignee
Sichuan Hongmei Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Hongmei Intelligent Technology Co Ltd filed Critical Sichuan Hongmei Intelligent Technology Co Ltd
Priority to CN202310115443.4A priority Critical patent/CN116126773A/en
Publication of CN116126773A publication Critical patent/CN116126773A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an API (application program interface) -based extensible platform and an automatic experience evaluation method of equipment, and relates to the technical field of automatic testing. The cloud platform comprises a Jenkins platform CIjob execution module, an API interface processing module, a cloud platform data receiving module and a WIFI control module; the CIjob execution module is used for setting experience evaluation parameters; the API interface processing module is used for receiving the execution parameters from the CI job; the cloud platform receives the data module, and is used for receiving and analyzing the data transmitted from the API by the MQTT protocol; the WIFI control module is used for receiving experience evaluation control parameters sent by the cloud and sending control commands to the equipment end for electric control. According to the invention, the combination mode of all the platforms to be tested and the corresponding devices is input in the form of jenkins task parameters, and then the automatic evaluation function of the devices corresponding to the corresponding platforms is executed by automatically or regularly constructing jenkins CI tasks, so that the manpower and material resources are saved, the evaluation time is shortened, and the evaluation efficiency is improved.

Description

Extensible platform based on API (application program interface) and automatic experience assessment method of equipment
Technical Field
The invention belongs to the technical field of automatic testing, and particularly relates to an API (application program interface) -based extensible platform and an automatic experience evaluation method of equipment.
Background
With the continuous development of companies, the living standard of people is increasingly improved, and intelligent household appliances such as intelligent air conditioners, intelligent refrigerators, intelligent washing machines and the like are generated. The use rate of intelligent products is higher and higher, so that intelligent product equipment is used
The user experience effect is very important, so that the experience effect of the intelligent product can be better improved, the user needs to conduct experience evaluation of the intelligent product, the aspect affecting the experience effect is found out, and therefore the user experience effect is improved and perfected in a targeted mode, the better experience effect is achieved, and the market competitiveness of the product is improved. At present, two main methods exist for experience evaluation of household appliances, namely, manual test is performed through manual operation and recording; and secondly, automatically testing based on graphs or controls. However, both methods have obvious defects in the process of performing user experience test, firstly, the first manual test method can be performed by multiple persons to meet the requirements, a large amount of manpower and material resources can be wasted, and the time is long and the efficiency is low; based on the automatic test of images or controls, in the test process, the mobile phone model, mobile phone version, mobile phone pixels, control size and the like of the tested mobile phone can influence the accuracy of the test result, and when the reliability such as distribution network, binding and the like is tested, the equipment is required to be manually reset, the test can be performed again, a large amount of manpower and material resources are wasted, and the time and the efficiency are low.
Disclosure of Invention
The invention aims to provide an API-based extensible platform and an automatic experience evaluation method of equipment, which are used for repeatedly performing experience tests on certain functions of intelligent equipment by sending control instructions through an API interface, so that the problems of great waste of human resources, long evaluation time and low efficiency in the conventional intelligent product evaluation are solved.
In order to solve the technical problems, the invention is realized by the following technical scheme:
the invention discloses an automatic experience assessment method of an extensible platform and equipment based on an API (application program interface), which comprises a Jenkins platform CIjob execution module, an API interface processing module, a cloud platform data receiving module and a WIFI control module, and specifically comprises the following steps:
step S1: performing evaluation combination of a platform and corresponding equipment matched with CIjob parameter setting through a CIjob execution module, taking various experience evaluation combinations as CIjob parameters, and sending the CIjob parameters to an API interface through the CIjob execution parameters;
step S2: receiving an execution parameter from the CIjob through an API interface module, acquiring an experience evaluation parameter to be executed, communicating with a cloud platform through the module, and receiving an execution result returned by the cloud platform;
step S3: receiving data transmitted from an API (application program interface) through an MQTT (message passing through) protocol, analyzing the data, transmitting experience evaluation control information to a WIFI module after analyzing the data, and receiving an execution result returned by the WIFI module;
step S4: the WIFI control module is used for receiving experience evaluation control parameters sent by the cloud end, sending control commands to the equipment end electric control, responding to the execution commands by the equipment end electric control, and sending the execution results to the cloud end service.
In step S1, all the platforms to be tested and the corresponding devices are input in the form of jenkins task parameters, then the jenkins CI task is automatically or regularly built to execute the device automatic evaluation function corresponding to the corresponding platform, and the device evaluation parameter control instruction is transmitted to the project API interface through the execution script in the CI task.
In step S1, all the platforms to be tested and the corresponding devices are input in the form of jenkins task parameters, then the jenkins CI task is automatically or regularly built to execute the device automatic evaluation function corresponding to the corresponding platform, and the device evaluation parameter control instruction is transmitted to the project API interface through the execution script in the CI task.
In step S2, the API interface sends the control instruction to the cloud platform through the MQTT protocol, and the cloud platform issues the control instruction to the WiFi module of the intelligent home appliance through the MQTT protocol.
In step S3, after the control command is parsed by the WiFi module, the control command is sent to the electronic control terminal of the intelligent home appliance through the serial port communication protocol to perform device control, the device returns the execution parameters after control, the return parameters received by the API interface are parsed, and the return result after execution of the evaluation script is obtained and stored in an excel list corresponding to the evaluation parameters.
In step S4, the cloud service exports and sends the excel table to a tester, and the tester analyzes the evaluation result.
The invention has the following beneficial effects:
according to the invention, the combination mode of all the platforms to be tested and the corresponding devices is input in the form of jenkins task parameters, and then the automatic evaluation function of the devices corresponding to the corresponding platforms is executed by automatically or regularly constructing jenkins CI tasks, so that the manpower and material resources are saved, the evaluation time is shortened, and the evaluation efficiency is improved.
Of course, it is not necessary for any one product to practice the invention to achieve all of the advantages set forth above at the same time.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is an automated experience assessment method of an extensible platform and equipment based on an API interface of the present invention;
FIG. 2 is a flow chart of a conventional user experience assessment method;
fig. 3 is a schematic diagram of automated experience assessment in this embodiment.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, the invention discloses an automatic experience assessment method for an extensible platform and equipment based on an API (application program interface), which comprises a Jenkins platform CIjob execution module, an API interface processing module, a cloud platform data receiving module and a WIFI control module, and specifically comprises the following steps:
step S1: performing evaluation combination of a platform and corresponding equipment matched with CIjob parameter setting through a CIjob execution module, taking various experience evaluation combinations as CIjob parameters, and sending the CIjob parameters to an API interface through the CIjob execution parameters;
step S2: receiving an execution parameter from the CIjob through an API interface module, acquiring an experience evaluation parameter to be executed, communicating with a cloud platform through the module, and receiving an execution result returned by the cloud platform;
step S3: receiving data transmitted from an API (application program interface) through an MQTT (message passing through) protocol, analyzing the data, transmitting experience evaluation control information to a WIFI module after analyzing the data, and receiving an execution result returned by the WIFI module;
step S4: the WIFI control module is used for receiving experience evaluation control parameters sent by the cloud end, sending control commands to the equipment end electric control, responding to the execution commands by the equipment end electric control, and sending the execution results to the cloud end service.
The control instruction is sent through the API interface to carry out repeated experience test on certain functions of the intelligent equipment for many times, so that the aspect affecting the experience effect is found out, and the method is improved and perfected in a targeted manner, so that the better experience effect is achieved, and the market competitiveness of the product is improved. The user experience test is mainly to carry out experience test repeatedly on important functions such as distribution network, binding, equipment control and the like, so that the effective and reliable evaluation result is ensured.
The method comprises the steps of inputting all platforms to be tested and corresponding devices in a jenkins task parameter mode, then automatically constructing or regularly constructing jenkins CI tasks to execute a device automatic evaluation function corresponding to the corresponding platforms, transmitting a device evaluation parameter control instruction to a project API interface through an execution script in the CI tasks, transmitting the control instruction to a cloud platform through an MQTT protocol, transmitting the control instruction to a WiFi module of intelligent household equipment through the MQTT protocol by the cloud platform, transmitting the control instruction to an electric control end of the intelligent household equipment through a serial port communication protocol after analyzing the control instruction by the WiFi module, analyzing the return parameters received by the API interface, acquiring the return results after executing the evaluation script and storing the return results in an excel list corresponding to the evaluation parameters, transmitting the excel list to a tester, analyzing the evaluation results by the tester, and finding out the aspect affecting the experience effect, thereby improving and perfecting the experience effect with pertinence, and improving the market competitiveness of the product.
The technical scheme provided by the invention is easy to realize in the user experience test scheme of the existing intelligent household appliance, has small investment and quick return, can smoothly find out the aspect of influencing the experience, and is convenient to rectify and perfect, thereby improving the market competitiveness of the product.
Example 1
Referring to fig. 2, a conventional implementation manner of a user experience evaluation method is depicted, in the conventional user experience evaluation method, an evaluation person needs to perform experience evaluation on different devices through logging in multiple platforms, and relevant evaluation results are recorded and analyzed.
The specific implementation steps are as follows:
(1) Installing an APP on a mobile phone, logging in the APP in a networking way, realizing user experience of an air conditioner, a refrigerator and a complete household appliance product through operating function keys on an APP control interface, analyzing whether the execution is successful, corresponding time and the like through observing the state of equipment, and manually recording experience evaluation execution results;
(2) The mobile phone code scanning and multiple code combining or NFC label is adopted, the mobile phone code scanning and multiple code combining or NFC label enters a device function control interface, the user experience of an air conditioner is realized through operating function keys on the control interface, whether the device is successfully executed, the corresponding time and the like are analyzed through observing the state of the device, and the experience evaluation execution result is manually recorded.
Example two
The method comprises the steps of establishing a CIjob (a task for executing a script in jenkins) on a continuous integration platform in jenkins (a continuous integration tool based on Java development for monitoring continuous repeated work, aiming at providing an open and easy-to-use software platform), automatically executing equipment evaluation, namely setting various combinations of each platform and corresponding equipment through CIJOB parameters, forming various construction parameters by the combination of different evaluation parameter settings, executing automatic experience evaluation of different equipment of different platforms through the construction of CIJOB of different parameters, analyzing execution results returned by an API (application program interface), generating experience evaluation results, recording the experience evaluation results in an excel table, analyzing the evaluation results by an evaluation staff, finding out aspects affecting the experience effect, and giving an improvement suggestion table to corresponding product departments.
Example III
The automated experience assessment principle is depicted as fig. 3, wherein:
(1) the method comprises the steps that an experience evaluation parameter setting is carried out by a CIjob execution module of a Jenkins platform, namely, a matched platform and corresponding equipment are set through the parameter setting, various experience evaluation combinations are used as CIjob parameters, and the CIjob execution parameters are sent to an API interface;
(2) the method comprises the steps that an API interface processing module is used for receiving execution parameters from CIjob through the API interface module, namely, obtaining experience evaluation parameters to be executed, communicating with a cloud platform through the module, and receiving an execution result returned by the cloud platform;
(3) the cloud platform receives the data from the API interface through the MQTT protocol, analyzes the data, sends a control instruction of experience evaluation to the WIFI module after analysis, and receives an execution result returned by the WIFI module;
(4) the WIFI control module receives experience evaluation control parameters sent by the cloud through the WIFI control module, sends control commands to the equipment end electric control, responds to the execution commands by the equipment end electric control, and sends execution results to the cloud service.
It should be noted that, in the above system embodiment, each unit included is only divided according to the functional logic, but not limited to the above division, so long as the corresponding function can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
In addition, those skilled in the art will appreciate that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program to instruct related hardware, and the corresponding program may be stored in a computer readable storage medium.
The preferred embodiments of the invention disclosed above are intended only to assist in the explanation of the invention. The preferred embodiments are not exhaustive or to limit the invention to the precise form disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best understand and utilize the invention. The invention is limited only by the claims and the full scope and equivalents thereof.

Claims (5)

1. An automatic experience assessment method of an extensible platform and equipment based on an API (application program interface) is characterized by comprising a Jenkins platform CIjob execution module, an API interface processing module, a cloud platform data receiving module and a WIFI control module, and specifically comprises the following steps:
step S1: performing evaluation combination of a platform and corresponding equipment matched with CIjob parameter setting through a CIjob execution module, taking various experience evaluation combinations as CIjob parameters, and sending the CIjob parameters to an API interface through the CIjob execution parameters;
step S2: receiving an execution parameter from the CIjob through an API interface module, acquiring an experience evaluation parameter to be executed, communicating with a cloud platform through the module, and receiving an execution result returned by the cloud platform;
step S3: receiving data transmitted from an API (application program interface) through an MQTT (message passing through) protocol, analyzing the data, transmitting experience evaluation control information to a WIFI module after analyzing the data, and receiving an execution result returned by the WIFI module;
step S4: the WIFI control module is used for receiving experience evaluation control parameters sent by the cloud end, sending control commands to the equipment end electric control, responding to the execution commands by the equipment end electric control, and sending the execution results to the cloud end service.
2. The method for automated experience assessment of extensible platforms and devices based on API interface according to claim 1, wherein in step S1, all the platforms to be tested and the corresponding devices are input in the form of jenkins task parameters, then the device automatic assessment function corresponding to the corresponding platform is executed by automatically or periodically constructing jenkins CI tasks, and the device assessment parameter control instruction is transmitted to the project API interface through the execution script in the CI tasks.
3. The method for evaluating the automated experience of the extensible platform and the equipment based on the API interface according to claim 1, wherein in the step S2, the API interface sends the control instruction to the cloud platform through the MQTT protocol, and the cloud platform sends the control instruction to the WiFi module of the intelligent home appliance through the MQTT protocol.
4. The method for automated experience assessment of an extensible platform and equipment based on an API interface according to claim 1, wherein in step S3, after the WiFi module analyzes the control instruction, the control instruction is sent to an electronic control terminal of the intelligent home appliance through a serial port communication protocol to perform equipment control, after the equipment control, an execution parameter is returned, the return parameter received by the API interface is analyzed, and a return result after the assessment script is executed is obtained and stored in an excel list corresponding to the assessment parameter.
5. The method for automated experience assessment of an extensible platform and equipment based on an API interface of claim 1, wherein in step S4, the cloud service transmits an excel table export to a tester, and the tester analyzes the assessment result.
CN202310115443.4A 2023-02-15 2023-02-15 Extensible platform based on API (application program interface) and automatic experience assessment method of equipment Pending CN116126773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310115443.4A CN116126773A (en) 2023-02-15 2023-02-15 Extensible platform based on API (application program interface) and automatic experience assessment method of equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310115443.4A CN116126773A (en) 2023-02-15 2023-02-15 Extensible platform based on API (application program interface) and automatic experience assessment method of equipment

Publications (1)

Publication Number Publication Date
CN116126773A true CN116126773A (en) 2023-05-16

Family

ID=86302671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310115443.4A Pending CN116126773A (en) 2023-02-15 2023-02-15 Extensible platform based on API (application program interface) and automatic experience assessment method of equipment

Country Status (1)

Country Link
CN (1) CN116126773A (en)

Similar Documents

Publication Publication Date Title
CN101478449B (en) Protocol automatic test method and system thereof
CN102023922B (en) System and method for testing automotive electronic diagnostic software
CN111459794A (en) Communication network testing method, device, computer equipment and storage medium
CN103686813B (en) Device and method for testing automatic switching stability of wireless AP (access point) channel
CN107018523A (en) WIFI module method of testing and device
CN108180599A (en) Adjustment method and debugging apparatus and computer readable storage medium
CN108132850B (en) Code positioning method and device and electronic equipment
CN112333057B (en) Intelligent household equipment distribution network testing method and device, executive machine and storage medium
CN110752954A (en) Networking fault detection method and related device for household electrical appliance
CN108469739A (en) Remote home packing quality control system based on Internet of Things, video and artificial intelligence
US7623856B2 (en) Method for testing communication protocol having collection of internal information of a mobile communication terminal by an external module
CN108228465A (en) A kind of Software function test method and device
CN105024873A (en) Protocol conformance testing system and method based on equipment and scene simulation
CN113407469B (en) Parameter configuration method and device, storage medium and electronic device
KR100794130B1 (en) Automatic Function Testing Equipment for Application Software and Additional Service of Mobile Communication Terminal
CN105553782A (en) Communication link testing method and system
CN105677689B (en) Log recording method and device
CN103544104B (en) Testing method for power distribution terminal remote control functional software module
CN115114141A (en) Method, device and equipment for testing performance of application program and storage medium
CN116126773A (en) Extensible platform based on API (application program interface) and automatic experience assessment method of equipment
CN111025916A (en) Household appliance detection control method and system
CN114116343A (en) Equipment testing method and device, electronic equipment and storage medium
CN115967660A (en) Method and device for testing CAN protocol conversion, terminal equipment and storage medium
CN112911629A (en) Network testing method and device and computer readable storage medium
CN116430152A (en) Automatic equipment reliability testing system and method based on API (application program interface)

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination