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

Data verification method, device and storage medium Download PDF

Info

Publication number
CN112953776B
CN112953776B CN202110227596.9A CN202110227596A CN112953776B CN 112953776 B CN112953776 B CN 112953776B CN 202110227596 A CN202110227596 A CN 202110227596A CN 112953776 B CN112953776 B CN 112953776B
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.)
Active
Application number
CN202110227596.9A
Other languages
Chinese (zh)
Other versions
CN112953776A (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 present disclosure relates to a data verification method, apparatus, and storage medium. The data verification method comprises the following steps: acquiring a configuration file of a function to be checked, wherein the configuration file comprises configuration parameters corresponding to the function to be checked and N groups of first attribute parameters, the N groups of first attribute parameters are attribute parameters of intelligent household equipment applicable to the function to be checked, and N is a positive integer; issuing the configuration parameters to each virtual device, wherein each virtual device is obtained by pre-determining 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 home equipment applicable to the function to be checked comprises the virtual equipment according to the second attribute parameters of the virtual equipment. By the method and the device, data verification efficiency and verification accuracy can be improved.

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, a data verification device, and a storage medium.
Background
With the development of intelligent home equipment, the intelligent home equipment is more and more popular in people's life. For example, people can control various intelligent home devices through the intelligent home controller, or users can wake up the intelligent home devices through voice control.
In the current testing link of the intelligent household equipment, according to the function to be tested in the intelligent household equipment, a server is required to issue configuration files corresponding to the testing function to various intelligent household equipment, and then subsequent testing operation is performed.
Since there may be tens of smart home devices corresponding to one test function, after the server issues the configuration file to the tens of smart home devices, it is necessary to detect whether the tens of smart home devices correctly receive the configuration file issued by the server.
At present, log data output by the intelligent home equipment is checked on tens of intelligent home equipment mainly in an artificial mode, whether a server correctly issues configuration files to the required intelligent home equipment is determined, the detection efficiency is low, and the detection accuracy is affected.
Disclosure of Invention
In order 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 embodiments of the present disclosure, there is provided a data verification method, including:
acquiring a configuration file of a function to be checked, wherein the configuration file comprises configuration parameters corresponding to the function to be checked and N groups of first attribute parameters, the N groups of first attribute parameters are attribute parameters of intelligent household equipment applicable to the function to be checked, and N is a positive integer;
issuing the configuration parameters to each virtual device, wherein each virtual device is obtained by pre-determining 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 home equipment applicable to the function to be checked comprises the virtual equipment according to the second attribute parameters of the virtual equipment.
Optionally, the first attribute parameter comprises a combination of one or more of the following attribute parameters:
characterizing parameters of user accounts associated with the intelligent home equipment; parameters representing equipment items to which intelligent household equipment belongs; characterizing 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, which correspond to the intelligent home equipment.
Optionally, each virtual device is predetermined based on the nth set of first attribute parameters, including:
acquiring a plurality of created virtual devices;
and presetting an N-th group of first attribute parameters for each virtual device in the plurality of virtual devices according to the ordering sequence of the first attribute parameters, so as to obtain each virtual device corresponding to the N-th group of first attribute parameters.
Optionally, the verifying, according to the second attribute parameter of each virtual device, whether the smart home device to which the function to be verified is applied includes each virtual device includes:
respectively matching the second attribute parameters of each virtual device with the N groups of first attribute parameters;
if the N groups of first attribute parameters comprise the second attribute parameters of each virtual device, the intelligent home equipment applicable to the function to be verified comprises each virtual device;
and if the second attribute parameters of the virtual devices are not included in the N groups of first attribute parameters, the virtual devices are not included in the intelligent home devices applicable to the function to be checked.
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, wherein the N groups 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 sending the configuration parameters to each virtual device in the plurality of virtual devices, wherein each virtual device is obtained by pre-determining based on the first attribute parameters;
a determining module, configured to obtain second attribute parameters of each virtual device in log data in response to the log data output by each virtual device, and
and checking whether the intelligent home equipment applicable to the function to be checked comprises the virtual equipment according to the second attribute parameters of the virtual equipment.
Optionally, the first attribute parameter comprises a combination of one or more of the following attribute parameters:
characterizing parameters of user accounts associated with the intelligent home equipment; parameters representing equipment items to which intelligent household equipment belongs; characterizing 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, which correspond to the intelligent home equipment.
Optionally, the determining module is configured to pre-determine each virtual device based on the nth set of first attribute parameters in the following manner:
acquiring a plurality of created virtual devices;
and presetting an N-th group of first attribute parameters for each virtual device in the plurality of virtual devices according to the ordering sequence of the first attribute parameters, so as to obtain each virtual device corresponding to the N-th group of first attribute parameters.
Optionally, the determining module checks whether the smart home device to which the function to be checked is applied 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:
respectively matching the second attribute parameters of each virtual device with the N groups of first attribute parameters;
if the N groups of first attribute parameters comprise the second attribute parameters of each virtual device, the intelligent home equipment applicable to the function to be verified comprises each virtual device;
and if the second attribute parameters of the virtual devices are not included in the N groups of first attribute parameters, the virtual devices are not included in the intelligent home devices applicable to the function to be checked.
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 comprise the following beneficial effects: the method comprises the steps that 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 N groups of first attribute parameters are attribute parameters of intelligent household equipment applicable to 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 which is predetermined based on the N groups of first attribute parameters, log data are output after the virtual equipment receives the issued configuration parameters, whether the virtual equipment is in the intelligent household equipment applicable to the function to be checked is checked according to the virtual equipment attribute parameters included in the virtual equipment output log data, and therefore the purpose of automatically checking whether each virtual equipment is in the intelligent household equipment applicable to the function to be checked is achieved, the preparation working time before checking and the manual checking log time in testing are greatly reduced, and 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 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 according to an exemplary embodiment.
Fig. 3 is a block diagram of an apparatus according to an example embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
In the related art, aiming at the function to be tested in the intelligent household equipment, a server is required to issue configuration files corresponding to the test function to various types of intelligent household equipment, and then subsequent test operation is performed.
Since there may be tens of smart home devices corresponding to one test function, after the server issues the configuration file to the tens of smart home devices, it is necessary to detect whether the tens of smart home devices correctly receive the configuration file issued by the server.
At present, by means of manual mode, checking log data output by the intelligent household devices on a plurality of intelligent household devices, and determining whether a server correctly issues configuration files to the required intelligent household devices, the problem of low detection efficiency and influence on detection accuracy exists.
In addition, when detecting whether tens of intelligent home devices correctly receive the configuration file issued by the server, it means that tens of actual intelligent home devices need to be prepared for one detection, and more may exist in the future, and under the condition that some actual intelligent home devices are occupied by other tests, the problem that the test cannot be performed still exists.
And, because need the manual work to carry before each actual intelligent home equipment bind different test user account numbers, refresh different intelligent home equipment operating system versions, dispose different intelligent home equipment operating system environment etc., there is the problem that before detecting whether tens of intelligent home equipment correctly received the configuration file that the server issued, still take a large amount of manual time to carry out test prophase preparation.
In view of this, the embodiments of the present disclosure provide a data verification method. In the data verification method disclosed by the invention, a configuration file of a function to be verified is obtained, the configuration file comprises configuration parameters corresponding to the function to be verified and N groups of first attribute parameters, wherein the N groups of first attribute parameters are attribute parameters of intelligent household equipment applicable to the function to be verified, N is a positive integer, the configuration parameters corresponding to the function to be verified are issued to virtual equipment which is predetermined based on the N groups of first attribute parameters, log data are output after the virtual equipment receives the issued configuration parameters, whether the virtual equipment is in the intelligent household equipment applicable to the function to be verified or not is verified according to the virtual equipment attribute parameters included in the log data output by the virtual equipment, and further the purpose of automatically verifying whether each virtual equipment is in the intelligent household equipment applicable to the function to be verified is achieved.
Fig. 1 is a flowchart illustrating a data verification method according to an exemplary embodiment, and the data verification method includes the following steps as shown in fig. 1.
In step S11, a configuration file of the function to be checked is obtained, where the configuration file includes configuration parameters corresponding to the function to be checked 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 checked is applied, and N is a positive integer.
In the present disclosure, the function to be verified may be a function included in the smart home device. For example, the function to be verified may be a nearby wake-up function for the smart home device.
The smart home devices to which the function to be verified is applicable may include various types of smart home devices, for example, the smart home devices to which the function to be verified is applicable may include a smart speaker, a smart desk lamp, a smart refrigerator, a smart television, and the like. The intelligent home equipment applicable to the function to be verified can also comprise intelligent home equipment corresponding to various operating system versions in the same type of intelligent home equipment.
The first attribute parameters of the intelligent home equipment to which the function to be verified is applied comprise one or more of the following attribute parameters:
parameters characterizing the identity of the device corresponding to the user account, such as user identification (User Identification, uid). Parameters characterizing the equipment class to which the equipment belongs, such as equipment class identification, equipment serial number. Parameters characterizing the version of the operating system corresponding to the device, such as a Read-Only Memory (ROM) version number, a device ROM environment, a device ROM version type (including daily built version, stable version, and final test version), parameters characterizing the version of the software development kit (Software Development Kit, SDK) corresponding to the device for the function to be verified.
In step S12, configuration parameters are issued to each virtual device, where each virtual device is predetermined based on the first attribute parameters.
In order to distinguish the attribute parameters of the actual smart home device from the attribute parameters of the virtual device, the attribute parameters corresponding to the actual smart home device are referred to as first attribute parameters, and the attribute parameters corresponding to the virtual device are referred to as second attribute parameters.
In one embodiment, the present disclosure may predetermine each virtual device, for example, by:
the method comprises the steps of obtaining a plurality of created virtual devices, and presetting an N-th set of first attribute parameters for each virtual device in the plurality of created virtual devices according to the ordering sequence of the first attribute parameters, so as to obtain the virtual device corresponding to the N-th set of first attribute parameters. For example, a first type of first attribute parameter is preset for a first virtual device created, a second type of first attribute parameter is preset for a second virtual device created, and so on.
In addition, the virtual equipment is utilized to replace actual intelligent household equipment, so that when detecting whether tens of intelligent household equipment correctly receives the configuration file issued by the server, the attribute parameters of the virtual equipment can be changed at will, so that the generation of the virtual equipment is more flexible and does not depend on the limitation of hardware of the actual intelligent household equipment.
In step S13, in response to the log data output by each virtual device, a second attribute parameter of each virtual device in the log data is obtained, and 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 applied is checked.
In practical application, because the intelligent home equipment corresponding to the function to be checked often has tens of types, after the server issues the configuration file to the intelligent home equipment of tens of types, log data output by the intelligent home equipment is checked on the intelligent home equipment of tens of types mainly in a manual mode, whether the server correctly issues the configuration file to the required intelligent home equipment is determined, the detection efficiency is low, and the problem of detection accuracy also exists.
The virtual equipment can be created in advance, based on the created virtual equipment, the virtual equipment can be set to output log data to the data verification device applying the data verification method of the present disclosure, and the data verification device applying the data verification method of the present disclosure can obtain attribute parameters corresponding to the virtual equipment in the log data according to the log data output by each virtual equipment, so as to verify whether the virtual equipment is in the intelligent home equipment suitable for the function to be verified.
The method can check whether each virtual device is in an intelligent home device applicable to the function to be checked or not by, for example, the following modes:
and respectively matching the second attribute parameters of the virtual devices with N groups of first attribute parameters aiming at each virtual device, if the N groups of first attribute parameters comprise the second attribute parameters of each virtual device, the virtual device corresponding to the second attribute parameters is in the intelligent household device applicable to the function to be checked, and if the N groups of first attribute parameters do not comprise the second attribute parameters of each virtual device, the virtual device corresponding to the second attribute parameters is not in the range of the intelligent household device applicable to the function to be checked.
In an exemplary embodiment of the present disclosure, a configuration file of a function to be checked is obtained, where the configuration file includes configuration parameters corresponding to the function to be checked and N groups of first attribute parameters, where the N groups of first attribute parameters are attribute parameters of an intelligent home device to which the function to be checked is applied, N is a positive integer, a configuration parameter corresponding to the function to be checked is issued to a virtual device predetermined based on the N groups of first attribute parameters, after the virtual device receives the issued configuration parameters, log data is output, and according to virtual device attribute parameters included in the virtual device output log data, whether the virtual device is in the intelligent home device to which the function to be checked is applied is checked, so that the purpose of automatically checking whether each virtual device is in the intelligent home device to which the function to be checked is applied is achieved, preparation time before checking and manual checking log time in a test are greatly reduced, and checking efficiency and checking accuracy are improved.
FIG. 2 is a block diagram 200 of 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 acquiring module 201 is configured to acquire a configuration file of a function to be checked, where the configuration file includes configuration parameters corresponding to the function to be checked, and N groups of first attribute parameters, where the nth group of first attribute parameters is attribute parameters of intelligent home equipment to which the function to be checked is applicable, and N is a positive integer;
a sending module 202, configured to send the configuration parameters to each of a plurality of virtual devices, where each virtual device is predetermined based on a first attribute parameter;
a determining module 203, configured to obtain second attribute parameters of each virtual device in log data in response to the log data output by each virtual device, and
and checking whether the intelligent home equipment applicable to the function to be checked comprises the virtual equipment according to the second attribute parameters of the virtual equipment.
Optionally, the first attribute parameter comprises a combination of one or more of the following attribute parameters: parameters characterizing a user account associated with the device; parameters characterizing equipment items to which the equipment belongs; characterizing parameters of an operating system version corresponding to the equipment; and characterizing parameters of the software development kit version of the function to be verified, which correspond to the equipment.
Optionally, the determining module 203 is configured to pre-determine each virtual device based on the nth set of first attribute parameters in the following manner:
acquiring a plurality of created virtual devices;
and presetting an N-th group of first attribute parameters for each virtual device in the plurality of virtual devices according to the ordering sequence of the first attribute parameters, so as to obtain each virtual device corresponding to the N-th 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 of the plurality of virtual devices according to the second attribute parameter of each virtual device in the following manner, including:
respectively matching the second attribute parameters of each virtual device with the N groups of first attribute parameters;
if the N groups of first attribute parameters comprise the second attribute parameters of each virtual device, the intelligent home equipment applicable to the function to be verified comprises each virtual device;
and if the second attribute parameters of the virtual devices are not included in the N groups of first attribute parameters, the virtual devices are not included in the intelligent home devices applicable to the function to be checked.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
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, according to 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, executable by processing component 322. The application program stored in memory 332 may include one or more modules each corresponding to a set of instructions. In addition, processing component 322 is configured to execute instructions to perform the data verification methods described above
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 stored in the memory 332, such as Windows Server TM ,Mac OS X TM ,Unix TM ,Linux TM ,FreeBSD TM Or 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 adaptations, 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 is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (6)

1. A method of data verification, comprising:
acquiring a configuration file of a function to be checked, wherein the configuration file comprises: the configuration parameters correspond to the functions to be checked, and N groups of first attribute parameters, wherein the N groups of first attribute parameters are attribute parameters of intelligent household equipment applicable to the functions to be checked, and N is a positive integer;
issuing the configuration parameters to each virtual device, wherein each virtual device is obtained by pre-determining 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;
checking whether the intelligent home equipment applicable to the function to be checked comprises the virtual equipment according to whether the N groups of first attribute parameters comprise the second attribute parameters of the virtual equipment;
wherein, each virtual device is predetermined based on the first attribute parameter, including:
acquiring a plurality of created virtual devices;
sequentially presetting an N-th group of first attribute parameters for each virtual device in the plurality of virtual devices according to the ordering sequence of the first attribute parameters to obtain each virtual device corresponding to the N-th group of first attribute parameters;
wherein the first attribute parameter comprises a combination of one or more of the following attribute parameters:
characterizing parameters of user accounts associated with the intelligent home equipment; parameters representing equipment items to which intelligent household equipment belongs; characterizing 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, which correspond to the intelligent home equipment.
2. The method for verifying data according to claim 1, wherein verifying whether the smart home device to which the function to be verified is applied includes the virtual devices according to whether the N sets of first attribute parameters include the second attribute parameters of the virtual devices includes:
respectively matching the second attribute parameters of each virtual device with the N groups of first attribute parameters;
if the N groups of first attribute parameters comprise the second attribute parameters of each virtual device, the intelligent home equipment applicable to the function to be verified comprises each virtual device;
and if the second attribute parameters of the virtual devices are not included in the N groups of first attribute parameters, the virtual devices are not included in the intelligent home devices applicable to the function to be checked.
3. 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, wherein the N groups 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 sending the configuration parameters to each virtual device in the plurality of virtual devices, wherein each virtual device is obtained by pre-determining based on the first attribute parameters;
a determining module, configured to obtain second attribute parameters of each virtual device in log data in response to the log data output by each virtual device, and
checking whether the intelligent home equipment applicable to the function to be checked comprises the virtual equipment according to whether the N groups of first attribute parameters comprise the second attribute parameters of the virtual equipment;
the determining module is used for pre-determining each virtual device based on the nth group of first attribute parameters in the following manner:
acquiring a plurality of created virtual devices;
sequentially presetting an N-th group of first attribute parameters for each virtual device in the plurality of virtual devices according to the ordering sequence of the first attribute parameters to obtain each virtual device corresponding to the N-th group of first attribute parameters;
wherein the first attribute parameter comprises a combination of one or more of the following attribute parameters:
characterizing parameters of user accounts associated with the intelligent home equipment; parameters representing equipment items to which intelligent household equipment belongs; characterizing 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, which correspond to the intelligent home equipment.
4. The data verification device according to claim 3, wherein the determining module verifies whether the smart home device to which the function to be verified is applied includes the virtual devices by:
according to the second attribute parameters of the virtual devices, the second attribute parameters of the virtual devices are respectively matched with the N groups of first attribute parameters;
if the N groups of first attribute parameters comprise the second attribute parameters of each virtual device, the intelligent home equipment applicable to the function to be verified comprises each virtual device;
and if the second attribute parameters of the virtual devices are not included in the N groups of first attribute parameters, the virtual devices are not included in the intelligent home devices applicable to the function to be checked.
5. 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-2.
6. A computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the method of any of claims 1-2.
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 CN112953776A (en) 2021-06-11
CN112953776B true 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 (2)

* 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
CN107634871A (en) * 2016-07-19 2018-01-26 北京金山云网络技术有限公司 A kind of continuity testing method, apparatus and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713082A (en) * 2016-11-16 2017-05-24 惠州Tcl移动通信有限公司 Virtual reality method for intelligent home management
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
CN110601871B (en) * 2019-07-31 2022-04-05 华为技术有限公司 Virtual equipment testing method and device
CN111130927B (en) * 2019-12-04 2021-12-17 中国电子科技集团公司第三十研究所 Method for automatically realizing service test of network layer communication terminal equipment

Patent Citations (2)

* 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
CN106850347A (en) * 2017-01-25 2017-06-13 迈普通信技术股份有限公司 Longitudinal direction virtualization method of testing and device

Also Published As

Publication number Publication date
CN112953776A (en) 2021-06-11

Similar Documents

Publication Publication Date Title
CN103778038B (en) Method and system for verifying cloud test and remote monitoring integrated circuit device
CN108829581B (en) Application program testing method and device, computer equipment and storage medium
US7890808B2 (en) Testing software applications based on multiple data sources
CN111177005A (en) Service application testing method, device, server and storage medium
CN110058998B (en) Software testing method and device
CN107220169B (en) Method and equipment for simulating server to return customized data
CN111522738A (en) Test method and device of micro-service system, storage medium and electronic equipment
CN108111364B (en) Service system testing method and device
CN111813655B (en) Buried point test method and device, buried point management system and storage medium
CN111083017A (en) Air conditioner distribution network testing method, air conditioner distribution network testing terminal and readable storage medium
CN110930608A (en) POS terminal ISO8583 message testing method and simulation background baffle system
CN107357721B (en) Method and device for testing system
CN112181822A (en) Test method and test method for starting time consumption of application program
CN110888800A (en) Service interaction function test method, device, storage medium and test system
CN112953776B (en) Data verification method, device and storage medium
CN112561690B (en) Method, system, equipment and storage medium for testing credit card staged service interface
CN110334385B (en) Test method, device and equipment for central controller of comprehensive energy system
CN105868058A (en) Cross-machine room test method and apparatus
CN108006925A (en) Air-conditioning stress test method, computer installation, computer-readable recording medium
RU2532714C2 (en) Method of acquiring data when evaluating network resources and apparatus therefor
CN113094281B (en) Test method and device for hybrid App
CN109286692A (en) A kind of method of configuration server IPMI static ip address
CN115580550A (en) Network card stability testing method, device, equipment and storage medium
CN112804352B (en) Cloud server initialization method and device and storage medium
CN115454851A (en) Interface regression testing method and device, storage medium and electronic device

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