CN110601871A - Virtual equipment testing method and device - Google Patents

Virtual equipment testing method and device Download PDF

Info

Publication number
CN110601871A
CN110601871A CN201910704453.5A CN201910704453A CN110601871A CN 110601871 A CN110601871 A CN 110601871A CN 201910704453 A CN201910704453 A CN 201910704453A CN 110601871 A CN110601871 A CN 110601871A
Authority
CN
China
Prior art keywords
virtual
distribution network
terminal device
control instruction
equipment
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
CN201910704453.5A
Other languages
Chinese (zh)
Other versions
CN110601871B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910704453.5A priority Critical patent/CN110601871B/en
Publication of CN110601871A publication Critical patent/CN110601871A/en
Application granted granted Critical
Publication of CN110601871B publication Critical patent/CN110601871B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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/2807Exchanging configuration information on appliance services in a home automation network
    • 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
    • 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]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • 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
    • 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
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Debugging And Monitoring (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a test method and a test device for virtual equipment, relates to the field of terminals, and can solve the problem that the local related function simulation test cannot be performed on the equipment in the existing virtualization authentication test technology in the industry. The method comprises the following steps: the first terminal device sets a distribution network mode of the first terminal device according to the distribution network mode of the virtual device to be tested; the first terminal device receives the distribution network information of the gateway device sent by the second terminal device based on the distribution network mode of the first terminal device. The embodiment of the application is applied to the IoT field, and can perform simulation debugging of local control, function control and state control on virtual equipment (for example, virtual IoT equipment).

Description

Virtual equipment testing method and device
Technical Field
The present application relates to the field of terminals, and in particular, to a method and an apparatus for testing a virtual device.
Background
With the development of internet of things (IoT) technology, more and more equipment manufacturers want to implement IoT intelligence of their own products, but IoT intelligence needs a relatively high technical threshold, mobile phone Applications (APPs) need to be developed, wireless fidelity (WiFi) modules need to be integrated on the equipment, cloud side service functions are also needed, and most equipment manufacturers do not have the capability and conditions for independently implementing IoT intelligence, so that the development of an IoT ecological open platform is promoted. The IoT ecological open platform is an open platform for equipment manufacturers, can provide one-stop service for equipment manufacturers to realize IoT intellectualization of products of the equipment manufacturers, comprises services such as product function definition, mobile phone App rapid development, equipment wifi module development and equipment integration debugging, and helps the equipment manufacturers to realize product IoT intellectualization commercial landing. However, when the current IoT ecological open platform performs a function test on a product of an equipment manufacturer, it needs to rely on a real single board of the equipment, so that the test work is limited by hardware manufacturing, and the authentication test efficiency is not high and the time consumption is long.
In order to solve the above problem, some IoT ecological open platforms provide a function of virtual device commissioning, and a device manufacturer may create a cloud-side virtual device in an authentication test process of the ecological open platform, and import function configuration information of a product into the virtual device according to a product function definition of the created virtual device. The device manufacturer can perform simulation tests of functions such as remote simulation control and device state issuing updating on the virtual device through the App.
However, these virtual debugging functions only cover the basic function part of device control and status issue, and cannot debug the local operation part of the device, for example, the distribution network registration flow of the device and the local control flow of the device cannot be debugged, the local function debugging of the product still depends on hardware, and the authentication test efficiency is low.
Disclosure of Invention
The embodiment of the application provides a method and a device for testing virtual equipment, which can solve the problem that the local related function simulation test cannot be performed on the equipment in the existing virtualization authentication test technology in the industry.
In a first aspect, an embodiment of the present application provides a method for testing a virtual device, where the method includes: the method comprises the steps that a first terminal device sets a distribution network mode of the first terminal device according to the distribution network mode of a virtual device to be tested; the first terminal device receives the distribution network information of the gateway device sent by the second terminal device based on the distribution network mode of the first terminal device.
That is to say, the first terminal device (for example, the smart speaker) may simulate a local related function of the virtual device (for example, the virtual smart air conditioner), and provide a local commissioning capability of the virtual device, for example, provide a distribution network registration procedure commissioning of the virtual device, which can solve a problem that a local related function simulation test cannot be performed on the device in a virtualization authentication test technology in the current industry. In addition, the first terminal device can simulate the related functions of the virtual device in the local area, and does not need to rely on hardware produced by a device manufacturer, so that the authentication test efficiency is high.
In a possible implementation manner, the setting, by the first terminal device, the distribution network mode of the first terminal device according to the distribution network mode of the first terminal device includes: the first terminal device sets the distribution network identification of the first terminal device as the distribution network identification of the virtual device; if the distribution network mode of the virtual equipment is the promiscuous mode, the first terminal equipment sets the distribution network mode of the first terminal equipment to be the promiscuous mode; if the distribution network mode of the virtual device is an Access Point (AP) mode, the first terminal device sets the distribution network mode of the first terminal device to be the AP mode.
In one possible implementation, the method further includes: the first terminal device receives a first local control instruction sent by the second terminal device (user side) based on a short-distance network, wherein the first local control instruction is used for controlling the virtual device to execute a first operation; the first terminal equipment forwards the first local control instruction to a cloud server; or the first terminal device receives a second local control instruction sent by the second terminal device based on the short-distance network, wherein the second local control instruction is used for controlling a third terminal device to execute a second operation; and the first terminal equipment forwards the second local control instruction to the third terminal equipment.
In the prior art, a user side directly sends a control instruction to a cloud server, and whether virtual equipment can safely receive and send the control instruction based on a local short-distance network cannot be tested. In this embodiment of the application, the first terminal device (smart speaker) may simulate the virtual IoT device to safely receive and send the local control command (the first local control command or the second local control command) based on the local short-distance network, and may solve the problem that the simulation test of the localized related functions cannot be performed in the virtual authentication test technology in the current industry. In addition, the first terminal device can simulate the related functions of the virtual device in the local area, and does not need to rely on hardware produced by a device manufacturer, so that the authentication test efficiency is high. The local control instruction is a control instruction sent by the mobile phone to the smart sound box when the mobile phone and the smart sound box are in the same network environment (for example, in a home WiFi network at the same time).
In a possible implementation manner, after the first terminal device forwards the first local control instruction to the cloud server, the method further includes: the first terminal device receives a state change notification message sent by the cloud server, wherein the state change notification message is used for indicating the state of the virtual device after the virtual device executes the first local control instruction; the first terminal device forwards the state change notification message to the second terminal device.
After the first terminal device receives the state change notification message (indicating that the virtual device executes the state of the first local control instruction) sent by the cloud server, the state change notification message can be sent to the second terminal device (the user side) through the local short-distance network by the simulated virtual IoT device, so that the localization related function simulation test of the virtual IoT device is completed.
In one possible implementation, the method further includes: if the state change notification message is associated with a local iftt (if is the at) rule of the virtual device, the first terminal device forwards the coordinated control instruction to the relevant local device through the short-range network, and the coordinated control instruction and the relevant local device are determined according to the local iftt rule.
In this way, the state issuing function of the virtual IoT device can be simulated and measured through the first terminal device (e.g., the smart speaker), for example, the simulated virtual IoT device sends a linkage control instruction based on the local short-distance network, and on the basis of providing the distribution network registration process measurement of the virtual device, the localization related function simulation test of the virtual IoT device is further improved.
In one possible implementation, the short-range network includes at least one of WiFi, bluetooth (bluetooth), ZigBee, device-to-device (D2D) communication, or Near Field Communication (NFC).
In a second aspect, an embodiment of the present application provides a first terminal device, including: the setting unit is used for setting the distribution network mode of the first terminal device according to the distribution network mode of the virtual device to be tested; and the receiving unit is used for receiving the distribution network information of the gateway equipment, which is sent by the second terminal equipment, based on the distribution network mode of the first terminal equipment.
In one possible implementation, the setting unit is configured to: setting the distribution network identifier of the first terminal device as the distribution network identifier of the virtual device; if the distribution network mode of the virtual equipment is the hybrid mode, setting the distribution network mode of the first terminal equipment as the hybrid mode; and if the distribution network mode of the virtual equipment is the AP mode, setting the distribution network mode of the first terminal equipment as the AP mode.
In one possible implementation, the receiving unit is further configured to: receiving a first local control instruction sent by the second terminal device based on a short-distance network, wherein the first local control instruction is used for controlling the virtual device to execute a first operation; the cloud server is used for forwarding the first local control instruction to the cloud server; or receiving a second local control instruction sent by the second terminal device based on the short-distance network, wherein the second local control instruction is used for controlling a third terminal device to execute a second operation; the sending unit is configured to forward the second local control instruction to the third terminal device.
In one possible implementation, the receiving unit is further configured to: receiving a state change notification message sent by the cloud server, wherein the state change notification message is used for indicating the state of the virtual device after the virtual device executes the first local control instruction; the sending unit is further configured to forward the state change notification message to the second terminal device.
In a possible implementation manner, the sending unit is further configured to: if the state change notification message is associated with the local iftt rule of the virtual device, the first terminal device forwards the linkage control instruction to the relevant local device through the short-range network, and the linkage control instruction and the relevant local device are determined according to the local iftt rule.
In one possible implementation, the short-range network includes at least one of WiFi, bluetooth, ZigBee, device-to-device D2D communication, or NFC.
In a third aspect, an embodiment of the present application provides a test system for a virtual device, where the test system for the virtual device includes: the first terminal equipment is used for setting a distribution network mode of the first terminal equipment according to the distribution network mode of the virtual equipment to be tested; the second terminal equipment is used for sending the distribution network information of the gateway equipment to the first terminal equipment; the first terminal device receives the distribution network information of the gateway device sent by the second terminal device based on the distribution network mode of the first terminal device.
In a possible implementation manner, the test system of the virtual device further includes a cloud server; the cloud server is used for receiving a first local control instruction from the first terminal device; the cloud server sends a state change notification message to the first terminal device, where the state change notification message is used to indicate a state of the virtual device after the virtual device executes the first local control instruction.
In a fourth aspect, an apparatus, which may be a terminal device or a chip, is also provided in embodiments of the present application. The apparatus includes a processor, configured to implement any one of the testing methods for virtual devices provided in the first aspect. The apparatus may also include a memory for storing program instructions and data, which may be memory integrated within the apparatus or off-chip memory disposed external to the apparatus. The memory is coupled to the processor, and the processor may call and execute the program instructions stored in the memory, so as to implement any one of the test methods for a virtual device provided in the first aspect. The apparatus may also include a communication interface for the apparatus to communicate with other devices (e.g., a second terminal device or a cloud server).
In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes instructions, when executed on a computer, causing the computer to execute the method for testing a virtual device provided in the first aspect.
In a sixth aspect, an embodiment of the present application provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the method for testing a virtual device provided in the first aspect.
In a seventh aspect, an embodiment of the present application provides a chip system, where the chip system includes a processor, and may further include a memory, and is configured to implement the method for testing a virtual device provided in the first aspect. The chip system may be formed by a chip, and may also include a chip and other discrete devices.
Drawings
Fig. 1 is a schematic diagram of an architecture of a testing method applied to a virtual device according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of another testing method applied to a virtual device according to an embodiment of the present disclosure;
fig. 3 is a schematic signal interaction diagram of a testing method applied to a virtual device according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of signal interaction among a mobile phone, a smart speaker, and a cloud server according to an embodiment of the present application;
fig. 5 is a schematic diagram of signal interaction among the mobile phone, the ecological open platform, the smart speaker, and the cloud server according to the embodiment of the present application;
fig. 6 is a schematic diagram of signal interaction among another mobile phone, a smart sound box, and a cloud server according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a first terminal device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another first terminal device according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a testing method of virtual equipment, which is applied to the IoT field and can perform simulation debugging of local control, function control and state control on the virtual equipment to be tested.
As shown in fig. 1, an architecture diagram of a testing method applied to a virtual device provided in an embodiment of the present application includes a first terminal device 101 (e.g., a smart speaker), a second terminal device 102 (e.g., a mobile phone), a cloud server 103, an Internet (Internet) server 104, and a gateway device 105 (e.g., a router). The first terminal device 101 and the second terminal device 102 may communicate with each other via the Internet server 104, i.e., may communicate based on the TCP/IP protocol, or the first terminal device 101 and the second terminal device 102 may communicate with each other via the gateway device 105, i.e., may communicate based on the short-range communication protocol. The first terminal device 101 and the cloud server 103 may communicate with each other via the Internet server 104, that is, may communicate based on the TCP/IP protocol. The second terminal device 102 and the cloud server 103 may communicate with each other through the Internet server 104, that is, may communicate based on the TCP/IP protocol.
Fig. 2 is a schematic structural diagram of another testing method suitable for a virtual device according to an embodiment of the present application. The first terminal device may preset a simulation program of the virtual device, and after the simulation program of the virtual device is opened, the first terminal device may execute the local control flow by acting on the virtual device. The local control flow may include a local distribution network registration process and a process of sending and receiving a control instruction through a local short-distance network (e.g., wifi). In the process of network distribution, the simulation program of the virtual device controls the first terminal device 101 to set its own network distribution mode according to the network distribution mode of the virtual device, so as to receive the network distribution information sent by the user through the test APP (APP for testing the function of the virtual device) on the second terminal device 102. After the distribution network is completed, the simulation program of the virtual device controls the first terminal device 101 to receive a control instruction sent by a user through the test APP on the second terminal device 102 based on the short-distance communication protocol, then the control instruction is forwarded to the cloud server 103, the virtual device running service on the cloud server 103 operates the virtual device to analyze and process the control instruction, and returns the state change of the virtual device to the first terminal device, the first terminal device can forward the state change of the virtual device to the second terminal device through a local short-distance network, and the control panel of the test APP of the second terminal device can display the state change of the virtual device.
The first terminal device may be a terminal device with a short-range communication (e.g., wifi) function, such as and not limited to a home router/gateway, a smart television, a smart Pad, and a smart speaker. The virtual device to be tested may be a virtual IoT device, and may be, for example, an intelligent air conditioner, an intelligent refrigerator, an intelligent washing machine, an intelligent sweeping robot, an intelligent television, or the like.
In recent years, with the continuous development of IoT technology, the security requirements in the IoT field are higher and higher, the security-related procedures of local operation of IoT devices become more and more complex, and the existing authentication test scheme has difficulty to meet the actual needs of the future IoT product authentication test.
The embodiment of the application provides a method and a system for testing virtual devices, which can simulate a security control interaction process for testing an end-to-end (from a user side to a virtual IoT device, that is, from a second terminal device to a first terminal device), so as to support the end-to-end authentication test between the user side and the virtual IoT device, and a logical link between the user side and the virtual IoT device can be established through a TCP/IP protocol or a short-range communication protocol. The embodiment of the application not only supports the cloud side function simulation (the cloud server simulates and executes the functions of remote control and equipment state issuing updating of the virtual IoT equipment to be tested) provided by the virtualization authentication test in the current industry, but also provides the local function simulation (the first terminal equipment simulates and executes the local control function of the virtual IoT equipment to be tested), can complete the authentication test of the local related functions of the virtual IoT equipment, such as the authentication test of the functions of equipment distribution network registration flow, equipment local safety control and the like, and solves the problem that the localization related function simulation test cannot be performed in the virtualization authentication test technology in the current industry.
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the present application, unless otherwise specified, "at least one" means one or more, "a plurality" means two or more. In addition, in order to facilitate clear description of technical solutions of the embodiments of the present application, in the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same items or similar items having substantially the same functions and actions. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
For convenience of understanding, the test method of the virtual device provided in the embodiments of the present application is specifically described below with reference to the accompanying drawings.
As shown in fig. 3, an embodiment of the present application provides a method for testing a virtual device, which takes the virtual device as a virtual IoT device, a first terminal device as a smart speaker, and a second terminal device as a mobile phone as an example, and includes:
301. the smart speaker receives a request message sent by the mobile phone, and the request message is used for enabling the smart speaker to enter a virtual IoT device state.
The virtual IoT device emulator can be preset in the smart speaker, for example, on the ROM of the smart speaker, occupying a small amount of ROM resources of the smart speaker. The simulation program is not started under the default condition, and the normal function of the intelligent sound box is not influenced. After a test App (App for testing the virtual IoT device function) of the mobile phone provides a simulation test switch, as shown in fig. 4, a user (e.g., a tester of a device manufacturer) turns on the switch, and then the mobile phone sends a request message to the smart speaker to request the smart speaker to enter the virtual IoT device state. The smart speaker receives a request message sent by a mobile phone, starts a preset virtual IoT device simulator, and sends user account information and information of the virtual IoT device to a virtual device operating service in a cloud server after the virtual IoT device is successfully started, where the information of the virtual IoT device may include a Media Access Control (MAC) address, a Serial Number (SN) of a product, an Internet Protocol (IP), and the like of the virtual IoT device. The virtual equipment running service verifies whether the identity of the user is legal or not according to the user account information, if so, the virtual equipment running service successfully responds and connects the simulation program of the virtual IoT equipment of the intelligent sound box, and the simulation program of the virtual IoT equipment controls the intelligent sound box to respond and switch the simulation test mode to the test App of the mobile phone successfully. The user account information is registered by the equipment manufacturer on the ecological platform, and when a user logs in a test APP of the mobile phone for the first time, the user account information also needs to be input into the test APP, so that the test APP can verify the identity of the user, and after the verification is successful, the user can test the corresponding functions of the virtual IoT equipment through the test APP.
In the implementation of the application, after the smart sound box enters the virtual IoT device state, the simulation program of the virtual IoT device may control the smart sound box to perform a corresponding operation, for example, receive and send a control instruction or set a distribution network mode.
302. The user logs in the IoT ecological open platform.
As shown in fig. 5, after the user logs in the IoT ecology open platform, the type of the virtual IoT device to be tested may be selected on the platform, and the type of the virtual IoT device to be tested may be, for example, an intelligent air conditioner, an intelligent electric cooker, an intelligent curtain, an intelligent lamp, and the like. The platform associates the virtual IoT device selected by the user to a virtual IoT device launch service on the cloud server, which may send configuration information for the virtual IoT device to the smart speaker. Wherein the configuration information of the virtual IoT device includes a device identification (device ID) and a profile configuration file (information file of product function definition). The smart sound box can push the configuration information of the virtual IoT equipment to the mobile phone, and the test App of the mobile phone displays the icon and the control panel of the virtual IoT equipment according to the configuration information of the virtual IoT equipment. For example, assuming that the type of the virtual IoT device to be tested is a smart air conditioner, the test App of the mobile phone may display an icon and a control panel of the smart air conditioner, and the control panel of the smart air conditioner may include function keys such as power on and off, temperature adjustment, timing, distribution network test, and the like.
303. The first terminal device sets a distribution network mode of the first terminal device according to the distribution network mode of the virtual device to be tested.
It can be understood that a distribution network is required before the device accesses the short-distance network. The short-range network comprises at least one of WiFi, bluetooth, ZigBee, D2D communication, or NFC. Taking a short-distance network as a wifi network as an example, when the virtual device is first accessed to the wifi network, a distribution network mode needs to be set, and then distribution network information of the router is obtained according to the distribution network model so as to be connected to the wifi network to realize internet surfing.
As shown in fig. 6, a user may start a distribution network simulation test on a test App (for example, assuming that the type of the virtual IoT device to be tested is a smart air conditioner, the user may click a start distribution network test button on a control panel of the smart air conditioner), and the mobile phone sends a request message to the smart speaker to request the smart speaker to enter a distribution network state. It should be noted that, during the distribution network, the function of the smart sound box itself may be in a disabled state, and the wifi connection of the smart sound box itself is temporarily disconnected. The smart loudspeaker box may obtain the distribution network identity and the distribution network mode of the virtual IoT device from the IoT virtual device operation service. The distribution network identification may be an SSID (e.g., may be an SSID of a smart air conditioner). The distribution network mode may include a promiscuous mode, an AP mode, and the like. The method comprises the steps that the intelligent sound box sets a distribution network identification of the intelligent sound box as a distribution network identification of the virtual IoT equipment (for example, an SSID of the intelligent sound box is replaced by an SSID of an intelligent air conditioner), then sets a distribution network mode of the intelligent sound box according to the distribution network mode of the virtual IoT equipment, and if the distribution network mode of the virtual equipment is a hybrid mode (namely a broadcast/multicast/ProbRequest mode), the intelligent sound box can set the distribution network mode of the intelligent sound box as the hybrid mode; if the distribution network mode of the virtual equipment is the AP mode, the intelligent sound box can set the distribution network mode of the intelligent sound box to be the AP mode.
304. The first terminal device receives the distribution network information of the gateway device sent by the second terminal device based on the distribution network mode of the first terminal device.
The distribution network information of the router may include an SSID (SSID) and a Password (Password) of the router.
The smart speaker can broadcast the distribution network identification of the virtual IoT device, so that the test APP on the mobile phone scans and discovers the virtual IoT device to be distributed. The test APP may be in a network distribution with the virtual IoT device in a promiscuous mode or an AP mode. In the promiscuous mode, the testing APP can broadcast the SSID and the Password of the router to the air in a UDP (user Datagram protocol) broadcast or multicast mode, and the virtual IoT equipment captures the packet to obtain the SSID and the Password of the router. In the SoftAP mode, the user may manually input the SSID of the virtual IoT device in the test APP or select the SSID of the virtual IoT device from the scan hotspot list, and directly transmit the SSID of the router and the Password to the virtual IoT device. The SSID and the Password of the router may be pre-stored in the APP or may be manually input by the user.
After the virtual IoT device acquires the SSID and the Password of the router, the virtual IoT device may connect to a router (e.g., a router) through the SSID and the Password of the router to access the wifi network. The router may assign a home network address (virtual IP) to the virtual IoT device. The smart speaker may transmit information (e.g., receive or forward instructions) for the virtual IoT device according to the home network address of the virtual IoT device. Meanwhile, the smart speaker may switch back to a normal functional state, i.e., may send and receive instructions and execute instructions (e.g., play music) according to the network address of the smart speaker itself (different from the home network address of the virtual IoT device).
If the virtual IoT device is in the wifi distribution network state and the distribution network is not successfully distributed for more than a preset time (for example, 10 minutes), the intelligent sound box can automatically close the virtual IoT device simulation program, the failure of the distribution network test of the virtual IoT device is fed back to the mobile phone, and the intelligent sound box is switched back to the normal functional state. Further, the user may derive a simulation test log from the virtual device operation service to locate the cause of the failure, so as to improve the distribution network function of the virtual IoT device.
In addition, BT/Zigbee and the like surf the internet through gateway proxy, need to be paired with a gateway, and may adopt a network distribution mode specified by a protocol, which is not described in detail herein.
In the embodiment of the application, the first terminal device (smart speaker) can simulate the local related functions of the virtual device (for example, a virtual smart air conditioner) and provide the local debugging capability of the virtual device, for example, the distribution network registration process debugging capability of the virtual device is provided, and the problem that the local related function simulation test of the device cannot be performed in the virtual certification test technology in the current industry can be solved. In addition, the first terminal device can simulate the related functions of the virtual device in the local area, and does not need to rely on hardware produced by a device manufacturer, so that the authentication test efficiency is high.
305. And the first terminal equipment receives the control instruction sent by the second terminal equipment.
After the virtual IoT device completes the distribution network test, the user may perform a product function test on the virtual IoT device by operating the control panel of the virtual IoT device. For example, a user may send a control instruction to the smart speaker through the control panel of the test App, the smart speaker receives the control instruction, and the processing mode is decided by the simulation program of the virtual IoT device according to the type of the control instruction. The type of the control instruction may include a local control instruction and a remote control instruction. If the mobile phone and the smart sound box are in the same network environment (for example, in a home WiFi network at the same time), the mobile phone sends a local control instruction to the smart sound box. If the mobile phone and the smart sound box are in different network environments (for example, the mobile phone leaves a home WiFi network environment, and is in a 5G network environment, the smart sound box is still in the home WiFi network environment), the mobile phone sends a remote control instruction to the smart sound box through the 5G network.
For example, the first terminal device may receive, based on the short-distance network, a first local control instruction sent by the second terminal device, where the first local control instruction is used to control the virtual IoT device to perform a first operation (for example, assuming that the type of the virtual IoT device is a smart air conditioner, the first local control instruction may be to adjust the temperature to 26 degrees); the first terminal device forwards the first local control instruction to the cloud server, and the virtual IoT device running service on the cloud server executes the first local control instruction. Or the first terminal device receives a second local control instruction sent by the second terminal device based on the short-distance network, where the second local control instruction is used to control the third terminal device to execute a second operation (for example, the second local control instruction is used to control the cleaning robot to clean the living room); and the first terminal equipment forwards the second local control instruction to the third terminal equipment.
In this way, the first terminal device (smart speaker) can simulate the local related functions of the virtual IoT device, for example, the simulated virtual IoT device can solve the problem that the virtual IoT device cannot perform the simulation test of the local related functions based on the local short-distance network security transceiving control instruction in the current industry. In addition, the first terminal device can simulate the related functions of the virtual device in the local area, and does not need to rely on hardware produced by a device manufacturer, so that the authentication test efficiency is high.
In another possible design, the smart sound box may receive, based on the remote network, a remote control instruction sent by the cell phone, where the remote control instruction is used to control the virtual IoT device to perform the third operation. The first terminal device may forward the remote control instruction to the cloud server. Or, the remote control instruction may be used to control the third terminal device to perform the fourth operation, and the first terminal device forwards the remote control instruction to the third terminal device. Therefore, the embodiment of the application not only supports local simulation debugging of the virtual equipment, but also supports remote simulation debugging, namely, the function debugging of the IoT product in the whole scene can be supported.
It should be noted that, after receiving the control instruction (the control instruction may include a local control instruction and a remote control instruction) sent by the first terminal device, the cloud server may execute the control instruction (the control instruction may include the local control instruction and the remote control instruction) on behalf of the virtual IoT device, and maintain the state information (state data) of the virtual IoT device.
For example, the cloud server may receive a first local control instruction forwarded by the smart speaker, the virtual IoT device running service on the cloud server proxies the virtual IoT device to execute the first local control instruction, the cloud server transmits a state change notification message to the smart speaker, the state change notification message is used to indicate a state after the virtual IoT device executes the first local control instruction, the smart speaker receives the state change notification message transmitted by the cloud server and forwards the state change notification message to the mobile phone, and the mobile phone may display a state change of the virtual IoT device on a control panel of the test App. For example, assuming that the type of the virtual IoT device is a smart air conditioner, the first local control instruction may be used to control the smart air conditioner to adjust the temperature to 26 degrees, and after the virtual IoT device runs the service agent and the smart air conditioner executes the first local control instruction, the state of the smart air conditioner may be an on state and the temperature is 26 degrees. The mobile phone can display that the intelligent air conditioner is in an open state and the temperature is 26 ℃ on a control panel of the test App.
The virtual IoT device running service on the cloud server may also maintain a timer mechanism of the virtual IoT device, i.e., the virtual IoT device running service on the cloud server simulates a timer of the virtual IoT device, saves the timing state information of the virtual IoT device, and issues the timing state information to the virtual IoT device. For example, assuming that the type of the virtual IoT device is an intelligent electric cooker, the first local control instruction may be used to control the intelligent electric cooker to cook for 30 minutes, and after receiving the first local control instruction, the virtual IoT device running service may return state information that the intelligent electric cooker is turned on to the intelligent sound box. The intelligent sound box forwards the state information to the mobile phone, and the mobile phone displays that the intelligent electric rice cooker is started on a control panel of the test App. After 30 minutes, the virtual IoT device running service can return the state information of the intelligent electric cooker that cooking is completed (i.e. the rice has been cooked for 30 minutes) to the smart sound box, the smart sound box forwards the state information to the mobile phone, and the mobile phone can display the state of the electric cooker on the control panel of the test App as the completion of cooking.
If the mobile phone receives the state change notification message, it is determined that the local control function of the virtual IoT device is normal. If the mobile phone does not receive the state change notification message sent by the smart sound box, it is determined that the local control function of the virtual IoT device may be abnormal. The user can derive the simulation test log from the virtual equipment running service to analyze the reason of the local control function abnormality so as to improve the local control function of the virtual IoT equipment.
Further, the state change notification message may be associated with a local iftt rule of the virtual IoT device, and the cloud server may determine the coordinated control instruction and the related local device according to the local iftt rule. The local iftt rule is that according to a preset rule, when some event occurs to the virtual IoT device, another device (for example, a third local terminal device) is triggered to perform some operation, for example, when the user turns on the smart air conditioner (that is, the smart air conditioner has a turn-on event), the smart light is also turned on. The cloud server may send a linkage control instruction to the smart speaker and indicate to the smart speaker the relevant local device executing the linkage control instruction while sending the state change notification message to the smart speaker. The smart speaker may forward the coordinated control instruction to the associated local device via a short-range network (e.g., wifi network). For example, the command to turn on the light is forwarded to the smart light.
Therefore, the state issuing function of the virtual IoT equipment can be simulated and tested through the intelligent sound box, for example, the simulated virtual IoT equipment receives and sends the control instruction based on the local short-distance network security, and receives and sends the linkage control instruction associated with the control instruction according to the iFTTT rule, so that the problem that the simulation test of the local related function cannot be performed in the virtual authentication test technology in the current industry can be solved. In addition, the first terminal device can simulate the related functions of the virtual device in the local area, and does not need to rely on hardware produced by a device manufacturer, so that the authentication test efficiency is high.
306. After the test is completed, the first terminal is the device to exit the virtual IoT device state.
And after the user finishes the function test on the virtual equipment, closing the virtual IoT equipment simulation program through the control panel of the test App. And the intelligent loudspeaker box closes the simulation program of the virtual IoT equipment and exits the state of the virtual IoT equipment. The virtual device operation data saved by the cloud-side IoT virtual device operation service is automatically cleared after a preset time interval (e.g., 24 hours). If the user restarts the simulation test of the product in the period, the virtual equipment running data stored at the cloud side can be continuously used.
Based on the method provided by the embodiment of the application, the first terminal device (the smart sound box) can simulate the related functions of the virtual device (for example, the virtual smart air conditioner) in the local area, and provide the local testing capability of the virtual device, for example, the distribution network registration process testing of the virtual device is provided, so that the problem that the simulation testing of the related functions of the device in the local area cannot be performed in the virtualization authentication testing technology in the current industry can be solved. In addition, the first terminal device can simulate the related functions of the virtual device in the local area, and does not need to rely on hardware produced by a device manufacturer, so that the authentication test efficiency is high.
Further, the first terminal device (smart speaker) may also simulate other related functions of the virtual IoT device locally, for example, simulate the virtual IoT device to send and receive control instructions based on local short-distance network security, so as to complete a localized related function simulation test of the virtual IoT device.
In the embodiments provided in the present application, the method provided in the embodiments of the present application is mainly introduced from the perspective of the first terminal device. In order to implement the functions in the method provided by the embodiment of the present application, the first terminal device may include a hardware structure and/or a software module, and implement the functions in the form of a hardware structure, a software module, or a hardware structure and a software module. Whether any of the above-described functions is implemented as a hardware structure, a software module, or a hardware structure plus a software module depends upon the particular application and design constraints imposed on the technical solution.
In the case of dividing the functional modules according to the respective functions, fig. 7 shows a schematic diagram of a possible structure of the first terminal device 7 according to the foregoing embodiment, where the first terminal device includes: a setting unit 701 and a receiving unit 702. In this embodiment of the application, the setting unit 701 is configured to set a distribution network mode of the first terminal device according to the distribution network mode of the virtual device to be tested; a receiving unit 702, configured to receive, based on the distribution network mode of the first terminal device, distribution network information of the gateway device sent by the second terminal device. Optionally, the first terminal device may further include a sending unit 703, configured to forward the first local control instruction or the second local control instruction to the cloud server.
In the embodiment of the method shown in fig. 3, the setting unit 701 is configured to support the first terminal device to execute the process 303 in fig. 3. The receiving unit 702 is configured to support the first terminal device to perform the processes 301, 304, and 305 in fig. 3.
In one possible design, the testing apparatus of the virtual device may be implemented by the apparatus (structure or system) in fig. 8.
Fig. 8 is a schematic diagram of an apparatus according to an embodiment of the present disclosure. The apparatus 800 includes at least one processor 801, a communication bus 802, a memory 803, and at least one communication interface 804.
The processor 801 may be a Central Processing Unit (CPU), a general purpose processor, a Digital Signal Processor (DSP), an application-specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, transistor logic, hardware components, or any combination thereof.
The communication bus 802 may include a path that conveys information between the aforementioned components.
The communication interface 804 may be any device, such as a transceiver, for communicating with other devices or communication networks, such as an ethernet, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), etc.
The memory 803 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be self-contained and coupled to the processor via a bus. The memory may also be integral to the processor.
The memory 803 is used for storing application program codes for executing the scheme of the application, and the processor 801 controls the execution. The processor 801 is configured to execute application program code stored in the memory 803 to implement the functions of the method of the present patent.
In particular implementations, processor 801 may include one or more CPUs such as CPU0 and CPU1 in fig. 8, for example, as an example.
In particular implementations, apparatus 800 may include multiple processors, such as processor 801 and processor 807 in FIG. 8, for example, as an example. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In one implementation, the apparatus 800 may further include an output device 805 and an input device 806, as one embodiment. The output device 805 is in communication with the processor 801 and may display information in a variety of ways. For example, the output device 805 may be a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display device, a Cathode Ray Tube (CRT) display device, a projector (projector), or the like. The input device 806 is in communication with the processor 801 and can accept user input in a variety of ways. For example, the input device 806 may be a mouse, a keyboard, a touch screen device, or a sensing device, among others.
In a specific implementation, the apparatus 800 may be a desktop, a laptop, a web server, a Personal Digital Assistant (PDA), a mobile phone, a tablet, a wireless terminal device, a communication device, an embedded device, or a device with a similar structure as in fig. 8. The embodiment of the present application does not limit the type of the apparatus 800.
Those skilled in the art will recognize that in one or more of the examples described above, the functions described herein may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above-mentioned embodiments, objects, technical solutions and advantages of the present application are further described in detail, it should be understood that the above-mentioned embodiments are only examples of the present application, and are not intended to limit the scope of the present application, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present application should be included in the scope of the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

Claims (17)

1. A method for testing a virtual device, the method comprising:
the method comprises the steps that a first terminal device sets a distribution network mode of the first terminal device according to the distribution network mode of a virtual device to be tested;
and the first terminal equipment receives the distribution network information of the gateway equipment, which is sent by the second terminal equipment, based on the distribution network mode of the first terminal equipment.
2. The method for testing the virtual device according to claim 1, wherein the setting, by the first terminal device, the distribution network mode of the first terminal device according to the distribution network mode of the first terminal device comprises:
the first terminal device sets the distribution network identification of the first terminal device as the distribution network identification of the virtual device;
if the distribution network mode of the virtual equipment is a promiscuous mode, the first terminal equipment sets the distribution network mode of the first terminal equipment to be the promiscuous mode;
and if the distribution network mode of the virtual equipment is an Access Point (AP) mode, the first terminal equipment sets the distribution network mode of the first terminal equipment to be the AP mode.
3. The method for testing a virtual device according to claim 1 or 2, wherein the method further comprises:
the first terminal device receives a first local control instruction sent by the second terminal device based on a short-distance network, wherein the first local control instruction is used for controlling the virtual device to execute a first operation;
the first terminal equipment forwards the first local control instruction to a cloud server; or
The first terminal device receives a second local control instruction sent by the second terminal device based on a short-distance network, wherein the second local control instruction is used for controlling a third terminal device to execute a second operation;
and the first terminal equipment forwards the second local control instruction to the third terminal equipment.
4. The method for testing the virtual device according to claim 3, wherein after the first terminal device forwards the first local control instruction to a cloud server, the method further comprises:
the first terminal device receives a state change notification message sent by the cloud server, wherein the state change notification message is used for indicating the state of the virtual device after the virtual device executes the first local control instruction;
and the first terminal equipment forwards the state change notification message to the second terminal equipment.
5. The method for testing a virtual device according to claim 4, further comprising:
if the state change notification message is associated with a local iftt rule of the virtual device, the first terminal device forwards a linkage control instruction to a relevant local device through the short-range network, and the linkage control instruction and the relevant local device are determined according to the local iftt rule.
6. The method for testing a virtual device according to any one of claims 3 to 5,
the short-range network comprises at least one of wireless fidelity (WiFi), Bluetooth, ZigBee, device-to-device (D2D) communication or Near Field Communication (NFC).
7. A first terminal device, comprising:
the setting unit is used for setting the distribution network mode of the first terminal equipment according to the distribution network mode of the virtual equipment to be tested;
and the receiving unit is used for receiving the distribution network information of the gateway equipment, which is sent by the second terminal equipment, based on the distribution network mode of the first terminal equipment.
8. The first terminal device according to claim 7, wherein the setting unit is configured to:
setting the distribution network identification of the first terminal device as the distribution network identification of the virtual device;
if the distribution network mode of the virtual equipment is a promiscuous mode, setting the distribution network mode of the first terminal equipment as the promiscuous mode;
and if the distribution network mode of the virtual equipment is the AP mode, setting the distribution network mode of the first terminal equipment as the AP mode.
9. The first terminal device according to claim 7 or 8, wherein the receiving unit is further configured to:
receiving a first local control instruction sent by the second terminal device based on a short-distance network, wherein the first local control instruction is used for controlling the virtual device to execute a first operation;
the sending unit is used for forwarding the first local control instruction to a cloud server; or
Receiving a second local control instruction sent by the second terminal equipment based on a short-distance network, wherein the second local control instruction is used for controlling third terminal equipment to execute a second operation;
the sending unit is configured to forward the second local control instruction to the third terminal device.
10. The first terminal device of claim 9, wherein the receiving unit is further configured to:
receiving a state change notification message sent by the cloud server, wherein the state change notification message is used for indicating the state of the virtual device after the virtual device executes the first local control instruction;
the sending unit is further configured to forward the state change notification message to the second terminal device.
11. The first terminal device of claim 10, wherein the sending unit is further configured to:
if the state change notification message is associated with a local iftt rule of the virtual device, the first terminal device forwards a linkage control instruction to a relevant local device through the short-range network, and the linkage control instruction and the relevant local device are determined according to the local iftt rule.
12. The first terminal device according to any of claims 9-11,
the short-range network comprises at least one of wireless fidelity (WiFi), Bluetooth, ZigBee, device-to-device (D2D) communication or Near Field Communication (NFC).
13. A test system for a virtual device, the test system comprising:
the first terminal equipment is used for setting a distribution network mode of the first terminal equipment according to the distribution network mode of the virtual equipment to be tested;
the second terminal equipment is used for sending the distribution network information of the gateway equipment to the first terminal equipment;
and the first terminal equipment receives the distribution network information of the gateway equipment, which is sent by the second terminal equipment, based on the distribution network mode of the first terminal equipment.
14. The system for testing virtual devices of claim 13, further comprising a cloud server;
the cloud server is used for receiving a first local control instruction from the first terminal device;
the cloud server sends a state change notification message to the first terminal device, where the state change notification message is used to indicate a state of the virtual device after the virtual device executes the first local control instruction.
15. An apparatus for testing a virtual device, comprising a processor coupled to a memory, the memory having instructions stored therein, the processor invoking and executing the instructions to cause the apparatus for testing a virtual device to perform the method for testing a virtual device of any one of claims 1-6.
16. A computer-readable storage medium characterized by comprising instructions that, when run on a computer, cause the computer to perform the method of testing a virtual appliance of any one of claims 1 to 6.
17. A computer program product, characterized in that it causes a computer to carry out the method of testing a virtual device according to any one of claims 1 to 6, when said computer program product is run on said computer.
CN201910704453.5A 2019-07-31 2019-07-31 Virtual equipment testing method and device Active CN110601871B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910704453.5A CN110601871B (en) 2019-07-31 2019-07-31 Virtual equipment testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910704453.5A CN110601871B (en) 2019-07-31 2019-07-31 Virtual equipment testing method and device

Publications (2)

Publication Number Publication Date
CN110601871A true CN110601871A (en) 2019-12-20
CN110601871B CN110601871B (en) 2022-04-05

Family

ID=68853245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910704453.5A Active CN110601871B (en) 2019-07-31 2019-07-31 Virtual equipment testing method and device

Country Status (1)

Country Link
CN (1) CN110601871B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506502A (en) * 2020-04-13 2020-08-07 杭州涂鸦信息技术有限公司 System and method for testing mobile terminal UI automation distribution network process
CN111787101A (en) * 2020-06-30 2020-10-16 北京百度网讯科技有限公司 Sound box control method executed by terminal and control method applied to sound box
CN111885679A (en) * 2020-07-29 2020-11-03 宁波方太厨具有限公司 Distribution network testing method and system of Internet of things equipment
CN112437463A (en) * 2020-11-24 2021-03-02 展讯半导体(成都)有限公司 Terminal Wi-Fi compatibility automatic test method, device, system, equipment and medium
CN112953776A (en) * 2021-03-01 2021-06-11 北京小米松果电子有限公司 Data verification method, device and storage medium
CN113434422A (en) * 2021-06-30 2021-09-24 青岛海尔科技有限公司 Virtual device debugging method and device and virtual device debugging system
CN113434421A (en) * 2021-06-30 2021-09-24 青岛海尔科技有限公司 Virtual equipment testing method and device
CN114125919A (en) * 2021-11-16 2022-03-01 上海移远通信技术股份有限公司 Test method and device
CN114205847A (en) * 2021-11-29 2022-03-18 上海庆科信息技术有限公司 Method, device, storage medium, equipment and system for testing terminal equipment
CN114531344A (en) * 2020-11-06 2022-05-24 深圳Tcl新技术有限公司 Network distribution method, device, terminal and computer storage medium
CN114693313A (en) * 2022-03-21 2022-07-01 北京环宇博亚科技有限公司 Identification code-based warehousing equipment detection method and device, electronic equipment and medium
WO2023142907A1 (en) * 2022-01-26 2023-08-03 中兴通讯股份有限公司 All-optical network service testing method and apparatus, computer device and readable medium
CN113572833B (en) * 2021-07-21 2024-05-14 北京百度网讯科技有限公司 Cloud mobile phone maintenance method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991423A (en) * 2015-02-27 2016-10-05 北京海尔广科数字技术有限公司 Gateway and method for calling device through gateway
CN106534270A (en) * 2016-10-21 2017-03-22 上海庆科信息技术有限公司 Simulation system for internet of things
CN107154859A (en) * 2016-03-02 2017-09-12 美的集团股份有限公司 Intelligent electric appliance distribution method of testing, system and control terminal
CN108134711A (en) * 2017-11-29 2018-06-08 海尔优家智能科技(北京)有限公司 Method, analogue simulation appliance system and the storage medium tested terminal APP
US20180181456A1 (en) * 2016-12-26 2018-06-28 Samsung Electronics Co., Ltd. Internet of things framework and method of operating the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991423A (en) * 2015-02-27 2016-10-05 北京海尔广科数字技术有限公司 Gateway and method for calling device through gateway
CN107154859A (en) * 2016-03-02 2017-09-12 美的集团股份有限公司 Intelligent electric appliance distribution method of testing, system and control terminal
CN106534270A (en) * 2016-10-21 2017-03-22 上海庆科信息技术有限公司 Simulation system for internet of things
US20180181456A1 (en) * 2016-12-26 2018-06-28 Samsung Electronics Co., Ltd. Internet of things framework and method of operating the same
CN108134711A (en) * 2017-11-29 2018-06-08 海尔优家智能科技(北京)有限公司 Method, analogue simulation appliance system and the storage medium tested terminal APP

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506502A (en) * 2020-04-13 2020-08-07 杭州涂鸦信息技术有限公司 System and method for testing mobile terminal UI automation distribution network process
CN111506502B (en) * 2020-04-13 2023-05-12 杭州涂鸦信息技术有限公司 Mobile terminal UI automatic distribution network flow test system and method
CN111787101A (en) * 2020-06-30 2020-10-16 北京百度网讯科技有限公司 Sound box control method executed by terminal and control method applied to sound box
CN111885679A (en) * 2020-07-29 2020-11-03 宁波方太厨具有限公司 Distribution network testing method and system of Internet of things equipment
CN114531344A (en) * 2020-11-06 2022-05-24 深圳Tcl新技术有限公司 Network distribution method, device, terminal and computer storage medium
CN114531344B (en) * 2020-11-06 2023-08-01 深圳Tcl新技术有限公司 Distribution network method, device, terminal and computer storage medium
CN112437463A (en) * 2020-11-24 2021-03-02 展讯半导体(成都)有限公司 Terminal Wi-Fi compatibility automatic test method, device, system, equipment and medium
CN112953776A (en) * 2021-03-01 2021-06-11 北京小米松果电子有限公司 Data verification method, device and storage medium
CN113434421A (en) * 2021-06-30 2021-09-24 青岛海尔科技有限公司 Virtual equipment testing method and device
CN113434422A (en) * 2021-06-30 2021-09-24 青岛海尔科技有限公司 Virtual device debugging method and device and virtual device debugging system
CN113434421B (en) * 2021-06-30 2023-10-24 青岛海尔科技有限公司 Virtual equipment testing method and device
CN113434422B (en) * 2021-06-30 2024-01-23 青岛海尔科技有限公司 Virtual device debugging method and device and virtual device debugging system
CN113572833B (en) * 2021-07-21 2024-05-14 北京百度网讯科技有限公司 Cloud mobile phone maintenance method and device, electronic equipment and storage medium
CN114125919A (en) * 2021-11-16 2022-03-01 上海移远通信技术股份有限公司 Test method and device
CN114205847A (en) * 2021-11-29 2022-03-18 上海庆科信息技术有限公司 Method, device, storage medium, equipment and system for testing terminal equipment
CN114205847B (en) * 2021-11-29 2024-01-19 上海庆科信息技术有限公司 Method, device, storage medium, equipment and system for testing terminal equipment
WO2023142907A1 (en) * 2022-01-26 2023-08-03 中兴通讯股份有限公司 All-optical network service testing method and apparatus, computer device and readable medium
CN114693313A (en) * 2022-03-21 2022-07-01 北京环宇博亚科技有限公司 Identification code-based warehousing equipment detection method and device, electronic equipment and medium
CN114693313B (en) * 2022-03-21 2022-09-20 北京环宇博亚科技有限公司 Identification code-based warehousing equipment detection method and device, electronic equipment and medium

Also Published As

Publication number Publication date
CN110601871B (en) 2022-04-05

Similar Documents

Publication Publication Date Title
CN110601871B (en) Virtual equipment testing method and device
US10484512B2 (en) Management of multi-radio gateway device using virtual gateway device
US20170064042A1 (en) Management of gateway device using virtual gateway device
CN105897860B (en) Network device and information processing method
EP3118700B1 (en) Intelligent home control method and system based on alljoyn technology
CN110999258A (en) Common interface system for Mesh networking and fog computing systems
JP2019537322A (en) Network connection method for home appliances, network connection method for home appliances and home systems
JP2017503370A (en) Method and apparatus for identifying physical IoT devices
KR20170084074A (en) Connectivity module for internet of things (iot) devices
WO2020034604A1 (en) Wi-fi signal relay method and system based on smart home device, and computer device
CN105323824A (en) WIFI equipment, electronic device and method for assisting WIFI equipment access to network
WO2021017208A1 (en) Device binding method and apparatus, and electronic device
CN112601211B (en) Intelligent household appliance control equipment, mobile terminal and testing method
CN103634657A (en) Television and mobile terminal synchronous WIFI connection setup method and device
US20160219141A1 (en) Method and System for Generic and Secure Troubleshooting of Appliances Using Wireless and Mobile Network
US10489055B2 (en) Z-wave controller shift in thermostats
US20230308305A1 (en) Method and apparatus for setting multiple controllers in wireless lan system in smart home environment
CN112817248B (en) Shared equipment management method and device, storage medium and electronic device
US20240097901A1 (en) Method and apparatus for setting registration between iot controller and iot controlee on basis of c2c connection in wireless lan system of smart home environment
JP4600697B2 (en) Network equipment test system
US20240007323A1 (en) Method and device for multiple control of iot device on basis of c2c account linkage in wireless lan system in smart home environment
CN105657052B (en) The communication means of controlling terminal and voice box group, device and speaker set control system
Sakai et al. Virtual personal area network system for integrating pans with different standards and locations
US20230403556A1 (en) Remote wi-fi protected setup for joining a wi-fi network
WO2022227089A1 (en) Method and apparatus for device pairing, computer device, and storage medium

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