CN112953776A - Data verification method, device and storage medium - Google Patents

Data verification method, device and storage medium Download PDF

Info

Publication number
CN112953776A
CN112953776A CN202110227596.9A CN202110227596A CN112953776A CN 112953776 A CN112953776 A CN 112953776A CN 202110227596 A CN202110227596 A CN 202110227596A CN 112953776 A CN112953776 A CN 112953776A
Authority
CN
China
Prior art keywords
attribute parameters
parameters
virtual
function
attribute
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.)
Granted
Application number
CN202110227596.9A
Other languages
Chinese (zh)
Other versions
CN112953776B (en
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.)
Beijing Xiaomi Pinecone Electronic Co Ltd
Original Assignee
Beijing Xiaomi Pinecone Electronic 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 Beijing Xiaomi Pinecone Electronic Co Ltd filed Critical Beijing Xiaomi Pinecone Electronic Co Ltd
Priority to CN202110227596.9A priority Critical patent/CN112953776B/en
Publication of CN112953776A publication Critical patent/CN112953776A/en
Application granted granted Critical
Publication of CN112953776B publication Critical patent/CN112953776B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network
    • H04L12/2827Reporting to a device within the home network; wherein the reception of the information reported automatically triggers the execution of a home appliance functionality
    • H04L12/2829Reporting to a device within the home network; wherein the reception of the information reported automatically triggers the execution of a home appliance functionality involving user profiles according to which the execution of a home appliance functionality is automatically triggered
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure relates to a data verification method, a data verification device and a storage medium. The data verification method comprises the following steps: acquiring a configuration file of a function to be verified, wherein the configuration file comprises configuration parameters corresponding to the function to be verified and N groups of first attribute parameters, the Nth group of first attribute parameters are the attribute parameters of the intelligent household equipment applicable to the function to be verified, and N is a positive integer; issuing the configuration parameters to each virtual device, wherein each virtual device is obtained by predetermining based on the first attribute parameters; responding to the log data output by each virtual device, and acquiring second attribute parameters of each virtual device in the log data; and checking whether the intelligent household equipment suitable for the function to be checked comprises the virtual equipment or not according to the second attribute parameters of the virtual equipment. Through this disclosure, data check efficiency and check accuracy can be promoted.

Description

Data verification method, device and storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a data verification method, an apparatus, and a storage medium.
Background
Along with the development of intelligent home equipment, intelligent home equipment is more and more popular in people's life. For example, people can control various smart home devices through the smart home controller, or a user can wake up the smart home devices through voice control.
In the current testing link of the intelligent home equipment, according to the functions to be tested in the intelligent home equipment, a server is required to issue configuration files corresponding to the testing functions to various types of intelligent home equipment, and then subsequent testing operation is carried out.
Since there may be dozens of smart home devices corresponding to one test function, after the server issues the configuration file to dozens of smart home devices, it is necessary to detect whether the dozens of smart home devices correctly receive the configuration file issued by the server.
At present, log data output by the intelligent home equipment is mainly checked on dozens of intelligent home equipment in a manual mode, whether a server correctly issues a configuration file to the required intelligent home equipment is determined, the detection efficiency is low, and the detection accuracy is influenced.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a data verification method, apparatus, and storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a data verification method, including:
acquiring a configuration file of a function to be verified, wherein the configuration file comprises configuration parameters corresponding to the function to be verified and N groups of first attribute parameters, the Nth group of first attribute parameters are the attribute parameters of the intelligent household equipment applicable to the function to be verified, and N is a positive integer;
issuing the configuration parameters to each virtual device, wherein each virtual device is obtained by predetermining based on the first attribute parameters;
responding to the log data output by each virtual device, and acquiring second attribute parameters of each virtual device in the log data;
and checking whether the intelligent household equipment suitable for the function to be checked comprises the virtual equipment or not according to the second attribute parameters of the virtual equipment.
Optionally, the first attribute parameters comprise a combination of one or more of the following attribute parameters:
representing parameters of a user account associated with the intelligent home equipment; representing parameters of equipment categories to which the intelligent household equipment belongs; representing parameters of an operating system version corresponding to the intelligent home equipment; and characterizing parameters of the software development kit version of the function to be verified corresponding to the intelligent household equipment.
Optionally, the obtaining of each virtual device predetermined based on the nth group of first attribute parameters includes:
acquiring a plurality of created virtual devices;
and sequentially presetting the Nth group of first attribute parameters for each virtual device in the plurality of virtual devices according to the sequencing order of the first attribute parameters to obtain each virtual device corresponding to the Nth group of first attribute parameters.
Optionally, the verifying, according to the second attribute parameter of each virtual device, whether each virtual device is included in the smart home device to which the function to be verified is applicable includes:
matching the second attribute parameters of each virtual device with the N groups of first attribute parameters respectively;
if the N groups of first attribute parameters comprise second attribute parameters of the virtual devices, the intelligent household equipment with the function to be verified comprises the virtual devices;
and if the N groups of first attribute parameters do not include the second attribute parameters of the virtual devices, the intelligent household equipment to which the function to be verified is applicable does not include the virtual devices.
According to a second aspect of the embodiments of the present disclosure, there is provided a data verification apparatus, including:
the system comprises an acquisition module, a verification module and a verification module, wherein the acquisition module is used for acquiring a configuration file of a function to be verified, the configuration file comprises configuration parameters corresponding to the function to be verified and N groups of first attribute parameters, the Nth group of first attribute parameters are attribute parameters of intelligent household equipment applicable to the function to be verified, and N is a positive integer;
the sending module is used for issuing the configuration parameters to each virtual device in a plurality of virtual devices, wherein each virtual device is obtained by predetermining based on a first attribute parameter;
a determining module, configured to respond to log data output by each virtual device, obtain a second attribute parameter of each virtual device in the log data, and obtain the second attribute parameter of each virtual device in the log data
And checking whether the intelligent household equipment suitable for the function to be checked comprises the virtual equipment or not according to the second attribute parameters of the virtual equipment.
Optionally, the first attribute parameters comprise a combination of one or more of the following attribute parameters:
representing parameters of a user account associated with the intelligent home equipment; representing parameters of equipment categories to which the intelligent household equipment belongs; representing parameters of an operating system version corresponding to the intelligent home equipment; and characterizing parameters of the software development kit version of the function to be verified corresponding to the intelligent household equipment.
Optionally, the determining module is configured to determine each virtual device in advance based on the nth group of first attribute parameters by the following method:
acquiring a plurality of created virtual devices;
and sequentially presetting the Nth group of first attribute parameters for each virtual device in the plurality of virtual devices according to the sequencing order of the first attribute parameters to obtain each virtual device corresponding to the Nth group of first attribute parameters.
Optionally, the determining module verifies whether the smart home device to which the function to be verified is applicable includes each virtual device of the plurality of virtual devices according to the second attribute parameter of each virtual device in the following manner, including:
matching the second attribute parameters of each virtual device with the N groups of first attribute parameters respectively;
if the N groups of first attribute parameters comprise second attribute parameters of the virtual devices, the intelligent household equipment with the function to be verified comprises the virtual devices;
and if the N groups of first attribute parameters do not include the second attribute parameters of the virtual devices, the intelligent household equipment to which the function to be verified is applicable does not include the virtual devices.
According to a third aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the data verification method provided by the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: acquiring a configuration file of a function to be verified, wherein the configuration file comprises configuration parameters corresponding to the function to be verified and N groups of first attribute parameters, the Nth group of first attribute parameters are the attribute parameters of intelligent household equipment suitable for the function to be verified, N is a positive integer, issuing the configuration parameters corresponding to the function to be verified to virtual equipment predetermined and obtained based on the Nth group of first attribute parameters, outputting log data by the virtual equipment after receiving the issued configuration parameters, verifying whether the virtual equipment is in the intelligent household equipment suitable for the function to be verified according to the virtual equipment attribute parameters included in the output log data of the virtual equipment, further realizing the purpose of automatically verifying whether each virtual equipment is in the intelligent household equipment suitable for the function to be verified, greatly reducing the preparation working time before verification and the manual log checking time in testing, the checking efficiency and the checking accuracy are improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of data verification according to an exemplary embodiment.
FIG. 2 is a block diagram illustrating a data verification device in accordance with an exemplary embodiment.
FIG. 3 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the related art, for a function to be tested in the smart home devices, the server is required to issue a configuration file corresponding to the test function to the various types of smart home devices, and then perform subsequent test operations.
Since there may be dozens of smart home devices corresponding to one test function, after the server issues the configuration file to dozens of smart home devices, it is necessary to detect whether the dozens of smart home devices correctly receive the configuration file issued by the server.
At present, by means of a manual mode, log data output by smart home devices are checked on the smart home devices, and when whether a server correctly issues a configuration file to a required smart home device is determined, the problem that detection efficiency is low and detection accuracy is affected exists.
In addition, when detecting whether dozens of intelligent home devices correctly receive the configuration file issued by the server, it means that dozens of actual intelligent home devices need to be prepared for one detection, and there may be more intelligent home devices in the future, and under the condition that some actual intelligent home devices are occupied by other tests, there is a problem that the tests cannot be performed.
And because each actual smart home device needs to be manually provided with different test user accounts, different smart home device operating system versions are refreshed, different smart home device operating system environments are configured, and the like, the problem that a large amount of manual time is occupied for test early-stage preparation exists before dozens of smart home devices are detected to correctly receive the configuration file issued by the server.
In view of this, the embodiments of the present disclosure provide a data verification method. In the disclosed data checking method, a configuration file of a function to be checked is obtained, the configuration file comprises configuration parameters corresponding to the function to be checked and N groups of first attribute parameters, wherein the Nth group of first attribute parameters are the attribute parameters of intelligent household equipment suitable for the function to be checked, N is a positive integer, the configuration parameters corresponding to the function to be checked are issued to virtual equipment obtained in advance based on the Nth group of first attribute parameters, the virtual equipment outputs log data after receiving the issued configuration parameters, whether the virtual equipment is in the intelligent household equipment suitable for the function to be checked is checked according to the virtual equipment attribute parameters included in the output log data of the virtual equipment, the purpose of automatically checking whether each virtual equipment is in the intelligent household equipment suitable for the function to be checked is further realized, and the preparation working time before checking and the manual log checking time in testing are greatly reduced, the checking efficiency and the checking accuracy are improved.
Fig. 1 is a flow chart illustrating a data verification method according to an exemplary embodiment, where the data verification method, as shown in fig. 1, includes the following steps.
In step S11, a configuration file of the function to be verified is obtained, where the configuration file includes configuration parameters corresponding to the function to be verified and N groups of first attribute parameters, where the nth group of first attribute parameters is attribute parameters of the smart home device to which the function to be verified is applicable, and N is a positive integer.
In this disclosure, the function to be checked may be a function included in the smart home device. For example, the function to be verified may be a function of waking up the smart home device nearby.
The smart home devices to be checked may include various smart home devices, for example, the smart home devices to be checked may include a smart sound box, a smart desk lamp, a smart refrigerator, a smart television, and the like. The intelligent household equipment with the function to be verified can also comprise intelligent household equipment with the same type and corresponding to various operating system versions.
The first attribute parameters of the smart home equipment suitable for the function to be verified comprise one or more of the following attribute parameters:
and characterizing a parameter of the device corresponding to the User account id, such as a User Identification (uid). Parameters characterizing the class of equipment to which the equipment belongs, such as equipment class identification and equipment serial number. Parameters characterizing the version of the operating system corresponding to the device, such as a Read-Only Memory (ROM) version number of the device, a ROM environment of the device, a ROM version type of the device (including a daily constructed version, a stable version, and a final test version), and parameters characterizing a Software Development Kit (SDK) version of the function to be verified corresponding to the device.
In step S12, the configuration parameters are issued to the virtual devices, where the virtual devices are predetermined based on the first attribute parameters.
In order to distinguish the attribute parameters of the actual intelligent household equipment from the attribute parameters of the virtual equipment, the attribute parameters corresponding to the actual intelligent household equipment are called first attribute parameters, and the attribute parameters corresponding to the virtual equipment are called second attribute parameters.
In one embodiment, the present disclosure may predetermine each virtual device, for example, by:
and acquiring the plurality of created virtual devices, and sequentially presetting the Nth group of first attribute parameters for each virtual device in the plurality of created virtual devices according to the sequencing order of the first attribute parameters to obtain the virtual device corresponding to the Nth group of first attribute parameters. For example, a first type of first attribute parameter is preset for a first virtual device to be created, a second type of first attribute parameter is preset for a second virtual device to be created, and so on.
In addition, according to the method and the device, the virtual equipment is used for replacing actual intelligent household equipment, so that when the fact that whether dozens of types of intelligent household equipment correctly receive the configuration file issued by the server is detected, the attribute parameters of the virtual equipment can be changed at will, the virtual equipment is made to be more flexible, and the limitation of actual intelligent household equipment hardware is not relied on.
In step S13, in response to the log data output by each virtual device, second attribute parameters of each virtual device in the log data are obtained, and according to the second attribute parameters of each virtual device, it is checked whether the smart home device to which the function to be checked is applied includes each virtual device.
In practical application, as the smart home devices corresponding to the functions to be checked are often dozens of types, after the server issues the configuration file to the dozens of types of smart home devices, the log data output by the smart home devices are checked on the dozens of types of smart home devices mainly in a manual mode, and whether the server correctly issues the configuration file to the required smart home devices is determined, so that the detection efficiency is low, and the problem of detection accuracy also exists.
According to the data verification device applying the data verification method, the attribute parameters corresponding to the virtual equipment in the log data can be obtained according to the log data output by each virtual equipment, and whether the virtual equipment is in the intelligent household equipment suitable for the function to be verified or not can be verified.
For example, whether each virtual device is in the smart home device to which the function to be checked is applicable may be checked in the following manner:
and respectively matching second attribute parameters of the virtual equipment with the N groups of first attribute parameters aiming at the virtual equipment, if the N groups of first attribute parameters comprise the second attribute parameters of the virtual equipment, the virtual equipment corresponding to the second attribute parameters is in the intelligent household equipment applicable to the function to be verified, and if the N groups of first attribute parameters do not comprise the second attribute parameters of the virtual equipment, the virtual equipment corresponding to the second attribute parameters is not in the range of the intelligent household equipment applicable to the function to be verified.
In an exemplary embodiment of the disclosure, a configuration file of a function to be verified is obtained, the configuration file includes configuration parameters corresponding to the function to be verified, and N sets of first attribute parameters, where the nth set of first attribute parameters is attribute parameters of smart home devices to which the function to be verified is applicable, and N is a positive integer, the configuration parameters corresponding to the function to be verified are issued to virtual devices predetermined based on the nth set of first attribute parameters, the virtual devices output log data after receiving the issued configuration parameters, whether the virtual devices are in the smart home devices to which the function to be verified is applicable is verified according to the virtual device attribute parameters included in the output log data of the virtual devices, so as to achieve the purpose of automatically verifying whether each virtual device is in the smart home device to which the function to be verified is applicable, thereby greatly reducing preparation working time before verification and manual log checking time in testing, the checking efficiency and the checking accuracy are improved.
FIG. 2 is a block diagram 200 illustrating a data verification device, according to an example embodiment. Referring to fig. 2, the apparatus includes an acquisition module 201, a transmission module 202, and a determination module 203.
The obtaining module 201 is configured to obtain a configuration file of a function to be verified, where the configuration file includes configuration parameters corresponding to the function to be verified and N groups of first attribute parameters, where the nth group of first attribute parameters is attribute parameters of smart home devices applicable to the function to be verified, and N is a positive integer;
a sending module 202, configured to issue the configuration parameter to each virtual device in the multiple virtual devices, where each virtual device is obtained based on a first attribute parameter by predetermined determination;
a determining module 203, configured to, in response to log data output by each virtual device, obtain a second attribute parameter of each virtual device in the log data, and
and checking whether the intelligent household equipment suitable for the function to be checked comprises the virtual equipment or not according to the second attribute parameters of the virtual equipment.
Optionally, the first attribute parameters comprise a combination of one or more of the following attribute parameters: characterizing parameters of a user account associated with the device; characterizing parameters of equipment categories to which the equipment belongs; characterizing parameters of an operating system version corresponding to the device; and characterizing parameters of the software development kit version of the function to be verified corresponding to the equipment.
Optionally, the determining module 203 is configured to determine each virtual device in advance based on the nth group of first attribute parameters in the following manner:
acquiring a plurality of created virtual devices;
and sequentially presetting the Nth group of first attribute parameters for each virtual device in the plurality of virtual devices according to the sequencing order of the first attribute parameters to obtain each virtual device corresponding to the Nth group of first attribute parameters.
Optionally, the determining module 203 checks whether the smart home device to which the function to be checked is applicable includes each virtual device in the plurality of virtual devices according to the second attribute parameter of each virtual device in the following manner, including:
matching the second attribute parameters of each virtual device with the N groups of first attribute parameters respectively;
if the N groups of first attribute parameters comprise second attribute parameters of the virtual devices, the intelligent household equipment with the function to be verified comprises the virtual devices;
and if the N groups of first attribute parameters do not include the second attribute parameters of the virtual devices, the intelligent household equipment to which the function to be verified is applicable does not include the virtual devices.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the data verification method provided by the present disclosure.
FIG. 3 is a block diagram illustrating an apparatus 300 for data verification in accordance with an example embodiment. For example, the apparatus 300 may be provided as a server. Referring to FIG. 3, apparatus 300 includes a processing component 322 that further includes one or more processors and memory resources, represented by memory 332, for storing instructions, such as applications, that are executable by processing component 322. The application programs stored in memory 332 may include one or more modules that each correspond to a set of instructions. Further, the processing component 322 is configured to execute instructions to perform the above-described data verification method
The apparatus 300 may also include a power component 326 configured to perform power management of the apparatus 300, a wired or wireless network interface 350 configured to connect the apparatus 300 to a network, and an input/output (I/O) interface 358. The apparatus 300 may operate based on an operating system, such as Windows Server, stored in the memory 332TM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTMOr the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for data verification, comprising:
acquiring a configuration file of a function to be verified, wherein the configuration file comprises: the configuration parameters correspond to the function to be verified, and N groups of first attribute parameters, wherein the Nth group of first attribute parameters are the attribute parameters of the intelligent household equipment suitable for the function to be verified, and N is a positive integer;
issuing the configuration parameters to each virtual device, wherein each virtual device is obtained by predetermining based on the first attribute parameters;
responding to the log data output by each virtual device, and acquiring second attribute parameters of each virtual device in the log data;
and checking whether the intelligent household equipment suitable for the function to be checked comprises the virtual equipment or not according to the second attribute parameters of the virtual equipment.
2. The data verification method of claim 1, wherein the first attribute parameters comprise a combination of one or more of the following attribute parameters:
representing parameters of a user account associated with the intelligent home equipment; representing parameters of equipment categories to which the intelligent household equipment belongs; representing parameters of an operating system version corresponding to the intelligent home equipment; and characterizing parameters of the software development kit version of the function to be verified corresponding to the intelligent household equipment.
3. The data verification method of claim 1, wherein the predetermining each virtual device based on the first attribute parameter comprises:
acquiring a plurality of created virtual devices;
and sequentially presetting the Nth group of first attribute parameters for each virtual device in the plurality of virtual devices according to the sequencing order of the first attribute parameters to obtain each virtual device corresponding to the Nth group of first attribute parameters.
4. The data verification method according to claim 1, wherein the verifying whether the smart home devices to which the function to be verified is applicable include the virtual devices according to the second attribute parameters of the virtual devices includes:
matching the second attribute parameters of each virtual device with the N groups of first attribute parameters respectively;
if the N groups of first attribute parameters comprise second attribute parameters of the virtual devices, the intelligent household equipment with the function to be verified comprises the virtual devices;
and if the N groups of first attribute parameters do not include the second attribute parameters of the virtual devices, the intelligent household equipment to which the function to be verified is applicable does not include the virtual devices.
5. A data verification apparatus, comprising:
the system comprises an acquisition module, a verification module and a verification module, wherein the acquisition module is used for acquiring a configuration file of a function to be verified, the configuration file comprises configuration parameters corresponding to the function to be verified and N groups of first attribute parameters, the Nth group of first attribute parameters are attribute parameters of intelligent household equipment applicable to the function to be verified, and N is a positive integer;
the sending module is used for issuing the configuration parameters to each virtual device in a plurality of virtual devices, wherein each virtual device is obtained by predetermining based on a first attribute parameter;
a determining module, configured to respond to log data output by each virtual device, obtain a second attribute parameter of each virtual device in the log data, and obtain the second attribute parameter of each virtual device in the log data
And checking whether the intelligent household equipment suitable for the function to be checked comprises the virtual equipment or not according to the second attribute parameters of the virtual equipment.
6. The data verification device of claim 1, wherein the first attribute parameters comprise a combination of one or more of the following attribute parameters:
representing parameters of a user account associated with the intelligent home equipment; representing parameters of equipment categories to which the intelligent household equipment belongs; representing parameters of an operating system version corresponding to the intelligent home equipment; and characterizing parameters of the software development kit version of the function to be verified corresponding to the intelligent household equipment.
7. The data verification apparatus according to claim 1, wherein the determining module is configured to determine each virtual device in advance based on the nth group of first attribute parameters in the following manner:
acquiring a plurality of created virtual devices;
and sequentially presetting the Nth group of first attribute parameters for each virtual device in the plurality of virtual devices according to the sequencing order of the first attribute parameters to obtain each virtual device corresponding to the Nth group of first attribute parameters.
8. The data verification device according to claim 5, wherein the determining module verifies whether the smart home devices to which the function to be verified is applied include the virtual devices in the following manner:
according to the second attribute parameters of each virtual device, matching the second attribute parameters of each virtual device with the N groups of first attribute parameters respectively;
if the N groups of first attribute parameters comprise second attribute parameters of the virtual devices, the intelligent household equipment with the function to be verified comprises the virtual devices;
and if the N groups of first attribute parameters do not include the second attribute parameters of the virtual devices, the intelligent household equipment to which the function to be verified is applicable does not include the virtual devices.
9. A data verification apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: performing the steps of the method of any one of claims 1-4.
10. A computer-readable storage medium, on which computer program instructions are stored, which program instructions, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 4.
CN202110227596.9A 2021-03-01 2021-03-01 Data verification method, device and storage medium Active CN112953776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110227596.9A CN112953776B (en) 2021-03-01 2021-03-01 Data verification method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110227596.9A CN112953776B (en) 2021-03-01 2021-03-01 Data verification method, device and storage medium

Publications (2)

Publication Number Publication Date
CN112953776A true CN112953776A (en) 2021-06-11
CN112953776B CN112953776B (en) 2023-06-30

Family

ID=76247008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110227596.9A Active CN112953776B (en) 2021-03-01 2021-03-01 Data verification method, device and storage medium

Country Status (1)

Country Link
CN (1) CN112953776B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850347A (en) * 2017-01-25 2017-06-13 迈普通信技术股份有限公司 Longitudinal direction virtualization method of testing and device
CN107302475A (en) * 2017-07-06 2017-10-27 郑州云海信息技术有限公司 The method of testing and device of a kind of Based on Distributed storage cluster
CN107634871A (en) * 2016-07-19 2018-01-26 北京金山云网络技术有限公司 A kind of continuity testing method, apparatus and system
CN107678970A (en) * 2017-10-20 2018-02-09 网易(杭州)网络有限公司 Automated testing method and device, storage medium, electronic equipment
WO2018090713A1 (en) * 2016-11-16 2018-05-24 捷开通讯(深圳)有限公司 Virtual reality method and device for intelligent home management
CN108228407A (en) * 2018-01-31 2018-06-29 深圳市证通电子股份有限公司 Apparatus function test method, apparatus and readable storage medium storing program for executing
CN110601871A (en) * 2019-07-31 2019-12-20 华为技术有限公司 Virtual equipment testing method and device
CN111130927A (en) * 2019-12-04 2020-05-08 中国电子科技集团公司第三十研究所 Method for automatically realizing service test of network layer communication terminal equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107634871A (en) * 2016-07-19 2018-01-26 北京金山云网络技术有限公司 A kind of continuity testing method, apparatus and system
WO2018090713A1 (en) * 2016-11-16 2018-05-24 捷开通讯(深圳)有限公司 Virtual reality method and device for intelligent home management
CN106850347A (en) * 2017-01-25 2017-06-13 迈普通信技术股份有限公司 Longitudinal direction virtualization method of testing and device
CN107302475A (en) * 2017-07-06 2017-10-27 郑州云海信息技术有限公司 The method of testing and device of a kind of Based on Distributed storage cluster
CN107678970A (en) * 2017-10-20 2018-02-09 网易(杭州)网络有限公司 Automated testing method and device, storage medium, electronic equipment
CN108228407A (en) * 2018-01-31 2018-06-29 深圳市证通电子股份有限公司 Apparatus function test method, apparatus and readable storage medium storing program for executing
CN110601871A (en) * 2019-07-31 2019-12-20 华为技术有限公司 Virtual equipment testing method and device
CN111130927A (en) * 2019-12-04 2020-05-08 中国电子科技集团公司第三十研究所 Method for automatically realizing service test of network layer communication terminal equipment

Also Published As

Publication number Publication date
CN112953776B (en) 2023-06-30

Similar Documents

Publication Publication Date Title
CN109361562B (en) Automatic testing method based on associated network equipment access
CN108829581B (en) Application program testing method and device, computer equipment and storage medium
CN109726108B (en) Front-end code testing method, device, system and medium based on analog data
CN111177005A (en) Service application testing method, device, server and storage medium
CN110058998B (en) Software testing method and device
CN111522738A (en) Test method and device of micro-service system, storage medium and electronic equipment
CN110930608A (en) POS terminal ISO8583 message testing method and simulation background baffle system
CN110888800A (en) Service interaction function test method, device, storage medium and test system
CN107220169B (en) Method and equipment for simulating server to return customized data
CN110647453A (en) Application performance comparison test method, system, equipment and computer readable storage medium
CN108307414B (en) Wi-Fi connection abnormity processing method and device of application program, terminal and storage medium
CN112583617B (en) Fault determination method, server, control terminal and storage medium
CN112181822A (en) Test method and test method for starting time consumption of application program
CN112953776B (en) Data verification method, device and storage medium
CN111813655A (en) Embedded point testing method and device, embedded point management system and storage medium
CN115952098A (en) Performance test tuning scheme recommendation method and system
CN115454851A (en) Interface regression testing method and device, storage medium and electronic device
CN105162799A (en) Method for checking whether client is legal mobile terminal or not and server
CN115080328A (en) Board card testing method and system
CN112804352A (en) Cloud server initialization method and device and storage medium
CN117148018B (en) Function test system and method for power distribution module
CN115250291B (en) Parameter data verification method, device, equipment and readable storage medium
CN112000579B (en) Software interface testing method, system, equipment and medium
CN113419944B (en) Initialization method and device for fuzz test and storage medium
CN110198249A (en) A kind of electrical power distribution automatization system test method and system

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
GR01 Patent grant
GR01 Patent grant