CN112115062A - Method and device for detecting attribute information, storage medium and electronic device - Google Patents

Method and device for detecting attribute information, storage medium and electronic device Download PDF

Info

Publication number
CN112115062A
CN112115062A CN202011043031.7A CN202011043031A CN112115062A CN 112115062 A CN112115062 A CN 112115062A CN 202011043031 A CN202011043031 A CN 202011043031A CN 112115062 A CN112115062 A CN 112115062A
Authority
CN
China
Prior art keywords
attribute information
serial number
terminal equipment
information
service cloud
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011043031.7A
Other languages
Chinese (zh)
Inventor
王君创
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Haier Uplus Intelligent Technology Beijing 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 Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Haier Uplus Intelligent Technology Beijing Co Ltd
Priority to CN202011043031.7A priority Critical patent/CN112115062A/en
Publication of CN112115062A publication Critical patent/CN112115062A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/73Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information by creating or determining hardware identification, e.g. serial numbers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Mathematical Physics (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention provides a method and a device for detecting attribute information, a storage medium and an electronic device, wherein the method comprises the following steps: generating a serial number of the obtained writable attribute information of the terminal equipment; sending the serial number to a basic service cloud, wherein the basic service cloud is used for sending the serial number to the terminal equipment; acquiring data information sent by a basic service cloud, wherein the data information is data reported to the basic service cloud by a terminal device and comprises a serial number; and detecting the attribute information of the terminal equipment based on the data information. By the method and the device, the problems of complicated and inaccurate test operation on the attribute in the related technology are solved, and the effects of simplifying the operation and accurately testing the writable attribute are achieved.

Description

Method and device for detecting attribute information, storage medium and electronic device
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a method and a device for detecting attribute information, a storage medium and an electronic device.
Background
The device on-line test requires the developer to set attribute values for all writable commands of the device one by one and verify whether the backplane response is correct. At present, the number of the attributes of the equipment model can reach more than 50, and the number of the commands issued by the equipment is multiplied by calculating the validity of the commands in the accepting and rejecting range of each attribute. And whether the bottom plate normally responds after being issued needs a worker to manually judge whether the bottom plate responds correctly, so that errors are easy to occur, and the verification result cannot be strictly controlled.
In view of the above technical problems, no effective solution has been proposed in the related art.
Disclosure of Invention
The embodiment of the invention provides a method and a device for detecting attribute information, a storage medium and an electronic device, which are used for at least solving the problems of complicated and inaccurate operation of attribute testing in the related art.
According to an embodiment of the present invention, there is provided a method for detecting attribute information, including: generating a serial number of the obtained writable attribute information of the terminal equipment; sending the serial number to a basic service cloud, wherein the basic service cloud is used for sending the serial number to the terminal equipment; acquiring data information sent by the basic service cloud, wherein the data information is data reported to the basic service cloud by the terminal equipment and comprises the serial number; and detecting the attribute information of the terminal equipment based on the data information.
According to another embodiment of the present invention, there is provided an apparatus for detecting attribute information, including: the first generating module is used for generating the serial number of the obtained writable attribute information of the terminal equipment; a first sending module, configured to send the serial number to a basic service cloud, where the basic service cloud is configured to send the serial number to the terminal device; a first obtaining module, configured to obtain data information sent by the basic service cloud, where the data information is data reported to the basic service cloud by the terminal device, and the data information includes the serial number; and the first detection module is used for detecting the attribute information of the terminal equipment based on the data information.
In an exemplary embodiment, the first generating module includes: a first obtaining unit, configured to obtain an attribute list of the terminal device through a preset interface, where the attribute list includes the writable attribute information; a first generating unit, configured to generate a serial number of the writable attribute information of the terminal device.
In an exemplary embodiment, the first sending module includes: and a first sending unit, configured to send the attribute information and the serial number to the basic service cloud according to a preset order, where the basic service cloud is configured to encapsulate the serial number and the attribute information to obtain encapsulation information, and send the encapsulation information to the terminal device.
In an exemplary embodiment, the first detecting module includes: a first determining unit, configured to determine whether attribute information in the data information is the same as the writable attribute information based on the sequence number, and obtain a determination result; and a first detection unit, configured to detect attribute information of the terminal device based on the determination result.
In an exemplary embodiment, the first detecting unit includes one of: a first determining subunit, configured to determine that the attribute information is in a normal state when attribute information in the data information corresponding to the same sequence number is the same as the writable attribute information; and a second determining subunit, configured to determine that the attribute information is in an abnormal state when the attribute information in the data information corresponding to the same sequence number is different from the writable attribute information.
In an exemplary embodiment, the apparatus further includes: and a second generating module configured to generate a test report corresponding to the determination result after detecting the attribute information of the terminal device based on the determination result, wherein the test report indicates a state of the attribute information.
In an exemplary embodiment, the apparatus further includes: and the second acquisition module is used for connecting the terminal equipment to a preset webpage according to the Media Access Control (MAC) address of the terminal equipment before generating the serial number of the acquired writable attribute information of the terminal equipment so as to acquire the writable attribute information of the terminal equipment.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, the obtained serial number of the writable attribute information of the terminal equipment is generated; sending the serial number to a basic service cloud, wherein the basic service cloud is used for sending the serial number to the terminal equipment; acquiring data information sent by a basic service cloud, wherein the data information is data reported to the basic service cloud by a terminal device and comprises a serial number; and detecting the attribute information of the terminal equipment based on the data information. So that no manual operation by a tester is required when testing the writable attribute information. Therefore, the problems of complicated and inaccurate test operation on the attributes in the related technology can be solved, and the effects of simplifying the operation and accurately testing the writable attributes are achieved.
Drawings
Fig. 1 is a block diagram of a hardware structure of a mobile terminal of a method for detecting attribute information according to an embodiment of the present invention;
fig. 2 is a flowchart of a detection method of attribute information according to an embodiment of the present invention;
FIG. 3 is a flow diagram of a method for verifying attributes of a line according to an embodiment of the invention;
FIG. 4 is a timing flow diagram according to an embodiment of the present invention;
fig. 5 is a block diagram of the structure of an apparatus for detecting attribute information according to an embodiment of the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking an example of the method running on a mobile terminal, fig. 1 is a block diagram of a hardware structure of the mobile terminal of the method for detecting attribute information according to the embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, wherein the mobile terminal may further include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the detection method of the attribute information in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for detecting attribute information is provided, and fig. 2 is a flowchart of a method for detecting attribute information according to an embodiment of the present invention, where as shown in fig. 2, the flowchart includes the following steps:
step S202, generating a serial number of the obtained writable attribute information of the terminal equipment;
step S204, the serial number is sent to a basic service cloud, wherein the basic service cloud is used for sending the serial number to the terminal equipment;
step S206, acquiring data information sent by the basic service cloud, wherein the data information is data reported to the basic service cloud by the terminal equipment and comprises a serial number;
step S208, the attribute information of the terminal device is detected based on the data information.
Optionally, the present embodiment includes, but is not limited to, application in a scenario of testing write attribute information. In this scenario, the writable attribute information includes a plurality of, for example, 50 writable attribute information and a command within a range that each writable attribute information accepts.
Alternatively, in this embodiment, the serial number of the writable attribute information may be a unique serial number. And recording the sequence number sent by the webpage by the basic service cloud.
The execution subject of the above steps may be a server, etc., but is not limited thereto.
Through the steps, the sequence number of the obtained writable attribute information of the terminal equipment is generated; sending the serial number to a basic service cloud, wherein the basic service cloud is used for sending the serial number to the terminal equipment; acquiring data information sent by a basic service cloud, wherein the data information is data reported to the basic service cloud by a terminal device and comprises a serial number; and detecting the attribute information of the terminal equipment based on the data information. So that no manual operation by a tester is required when testing the writable attribute information. Therefore, the problems of complicated and inaccurate test operation on the attributes in the related technology can be solved, and the effects of simplifying the operation and accurately testing the writable attributes are achieved.
In an exemplary embodiment, generating the sequence number of the obtained writable attribute information of the terminal device includes:
s1, acquiring an attribute list of the terminal equipment through a preset interface, wherein the attribute list comprises writable attribute information;
s2, a serial number of the writable attribute information of the terminal device is generated.
Optionally, in this embodiment, the preset interface includes, but is not limited to, a networker center interface. The attribute list is a writable attribute list and the networker is used for interacting with the device.
By the embodiment, the serial number of the writable attribute information is generated, so that the verification speed of the attribute information can be increased, and the verification process can be simplified.
In one exemplary embodiment, sending the sequence number to the base service cloud comprises:
and sending the attribute information and the serial number to a basic service cloud according to a preset sequence, wherein the basic service cloud is used for packaging the serial number and the attribute information to obtain packaging information, and sending the packaging information to the terminal equipment.
Optionally, in this implementation, the preset order includes, but is not limited to, an ascending order or a descending order. For example, the attribute information and the sequence number are sent to the base service cloud in ascending order. And the basic service cloud encapsulates the attribute information and the serial number to obtain encapsulation information.
According to the embodiment, the serial number and the attribute information are packaged and sent to the terminal equipment through the basic service cloud, so that the speed of subsequent verification is increased.
In one exemplary embodiment, the detecting the attribute information of the terminal device based on the data information includes:
s1, judging whether the attribute information in the data information is the same as the writable attribute information based on the serial number to obtain a judgment result;
and S2, detecting the attribute information of the terminal device based on the judgment result.
Optionally, in this embodiment, the terminal device reports the data to the basic service cloud, and the basic service cloud sends the received reporting sequence and the appended serial number to the web page.
According to the embodiment, the attribute information is verified based on the serial number, so that the complex operation configuration of data by a developer is simplified, and the problem that the developer needs to confirm whether the command is correctly executed or not by manually observing the mainboard information after the developer continuously issues the command is solved; the execution result is verified through the program, and the correctness is further guaranteed.
In an exemplary embodiment, the detecting the attribute information of the terminal device based on the determination result includes one of:
s1, determining that the attribute information is in a normal state under the condition that the attribute information and the writable attribute information in the data information corresponding to the same serial number are the same;
and S2, determining that the attribute information is in an abnormal state under the condition that the attribute information and the writable attribute information in the data information corresponding to the same serial number are different.
Optionally, in this embodiment, the attribute information is verified through the serial number, so that the complex operation configuration of data performed by a developer is simplified, and the problem that the developer needs to confirm whether the command is correctly executed by manually observing the motherboard information after the developer needs to continuously issue the command is solved; the execution result is verified through the program, and the correctness is further guaranteed.
In an exemplary embodiment, after detecting the attribute information of the terminal device based on the determination result, the method further includes:
s1, a test report indicating the status of the attribute information is generated according to the determination result.
Optionally, in this embodiment, the form of the test report is not limited, and for example, the test report may be a voice prompt or a text display.
By the embodiment, the operation flow is simplified by displaying the state of the attribute information through the test report.
In an exemplary embodiment, before generating the sequence number of the obtained writable attribute information of the terminal device, the method further includes:
and S1, connecting the terminal equipment to a preset webpage according to the Media Access Control (MAC) address of the terminal equipment so as to acquire writable attribute information of the terminal equipment.
Optionally, in this embodiment, the readable attribute information of the terminal device can be quickly obtained by connecting the terminal device to the preset webpage, so that the efficiency of verifying the attribute information is increased.
The present invention will be described in detail with reference to the following specific examples:
the terminal device online test requires a developer to set attribute values one by one for all writable commands of the terminal device and verify whether the backplane response is correct. When a developer sets writable attributes through an online test page at present, the operation is complicated, manpower is consumed, and after the attributes are issued after each operation, response results of a bottom plate are confirmed and the accuracy cannot be guaranteed depending on judgment of the developer. In view of the above problems, the present invention provides an online attribute verification method, as shown in fig. 3, including the following steps:
s301: presetting a webpage to call an Internet of things cloud interface binding device MAC;
s302: presetting a writable (distributable) command set of a webpage calling networker center acquisition device;
s303: presetting a webpage to issue attribute commands (including a unique serial number when the webpage is issued) to a basic cloud, recording Service Nodes (SN) issued at this time by the basic cloud, packaging the attribute commands and then issuing the attribute commands to equipment to attach the issuing operation SN;
s304: after the basic receiving device reports data, the SN is added to the reporting sequence and returned to the preset webpage, and the preset webpage judges whether the issued attribute data is consistent with the reported data according to the SN comparison, and the single attribute and value verification process is completed to return the device reported data (the SN is added).
As shown in fig. 4, the timing chart in the present embodiment includes the following steps:
s401: a developer distributes a network to the terminal equipment;
s402: a developer inputs equipment MAC on a preset webpage online verification interface to finish equipment binding;
s403: a developer starts an online test on a preset webpage;
s404: presetting a webpage calling networker central interface to obtain a writable attribute list in the equipment model;
s405: presetting a webpage generation Sequence (SN), and issuing a serial number and a command attribute to a basic cloud in sequence;
s406: and the basic cloud returns the data reported by the equipment and the SN data to a preset webpage.
S407: presetting a webpage to complete equipment attribute state comparison;
s408: and presetting a final test report for webpage generation.
In summary, the present embodiment simplifies the complex operation configuration of data performed by the developer, and solves the problem that the developer needs to continuously issue commands and needs to manually observe the motherboard information to determine whether the commands are correctly executed; the execution result is verified through the program, so that the correctness is more guaranteed; and the access flow of the equipment can be standardized and perfected.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a device for detecting attribute information is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and the description of the device that has been already made is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram showing a configuration of an apparatus for detecting attribute information according to an embodiment of the present invention, and as shown in fig. 5, the apparatus includes: a first generating module 52, a first sending module 54, a first acquiring module 56, and a first detecting module 58, which are described below:
a first generating module 52, configured to generate a serial number of the acquired writable attribute information of the terminal device;
a first sending module 54, configured to send the serial number to a basic service cloud, where the basic service cloud is configured to send the serial number to the terminal device;
the first obtaining module 56 is configured to obtain data information sent by the basic service cloud, where the data information is data reported to the basic service cloud by the terminal device, and the data information includes a serial number;
and a first detection module 58, configured to detect attribute information of the terminal device based on the data information.
Optionally, the present embodiment includes, but is not limited to, application in a scenario of testing write attribute information. In this scenario, the writable attribute information includes a plurality of, for example, 50 writable attribute information and a command within a range that each writable attribute information accepts.
Alternatively, in this embodiment, the serial number of the writable attribute information may be a unique serial number. And recording the sequence number sent by the webpage by the basic service cloud.
By the device, the serial number of the obtained writable attribute information of the terminal equipment is generated; sending the serial number to a basic service cloud, wherein the basic service cloud is used for sending the serial number to the terminal equipment; acquiring data information sent by a basic service cloud, wherein the data information is data reported to the basic service cloud by a terminal device and comprises a serial number; and detecting the attribute information of the terminal equipment based on the data information. So that no manual operation by a tester is required when testing the writable attribute information. Therefore, the problems of complicated and inaccurate test operation on the attributes in the related technology can be solved, and the effects of simplifying the operation and accurately testing the writable attributes are achieved.
In an exemplary embodiment, the first generating module includes: a first obtaining unit, configured to obtain an attribute list of the terminal device through a preset interface, where the attribute list includes the writable attribute information; a first generating unit, configured to generate a serial number of the writable attribute information of the terminal device.
Optionally, in this embodiment, the preset interface includes, but is not limited to, a networker center interface. The attribute list is a writable attribute list.
By the embodiment, the serial number of the writable attribute information is generated, so that the verification speed of the attribute information can be increased, and the verification process can be simplified.
In an exemplary embodiment, the first sending module includes: and a first sending unit, configured to send the attribute information and the serial number to the basic service cloud according to a preset order, where the basic service cloud is configured to encapsulate the serial number and the attribute information to obtain encapsulation information, and send the encapsulation information to the terminal device.
Optionally, in this implementation, the preset order includes, but is not limited to, an ascending order or a descending order. For example, the attribute information and the sequence number are sent to the base service cloud in ascending order. And the basic service cloud encapsulates the attribute information and the serial number to obtain encapsulation information.
According to the embodiment, the serial number and the attribute information are packaged and sent to the terminal equipment through the basic service cloud, so that the speed of subsequent verification is increased.
In an exemplary embodiment, the first detecting module includes: a first determining unit, configured to determine whether attribute information in the data information is the same as the writable attribute information based on the sequence number, and obtain a determination result; and a first detection unit, configured to detect attribute information of the terminal device based on the determination result.
Optionally, in this embodiment, the terminal device reports the data to the basic service cloud, and the basic service cloud sends the received reporting sequence and the appended serial number to the web page.
According to the embodiment, the attribute information is verified based on the serial number, so that the complex operation configuration of data by a developer is simplified, and the problem that the developer needs to confirm whether the command is correctly executed or not by manually observing the mainboard information after the developer continuously issues the command is solved; the execution result is verified through the program, and the correctness is further guaranteed.
Optionally, in this embodiment, the attribute information is verified through the serial number, so that the complex operation configuration of data performed by a developer is simplified, and the problem that the developer needs to confirm whether the command is correctly executed by manually observing the motherboard information after the developer needs to continuously issue the command is solved; the execution result is verified through the program, and the correctness is further guaranteed.
In an exemplary embodiment, the first detecting unit includes one of: a first determining subunit, configured to determine that the attribute information is in a normal state when attribute information in the data information corresponding to the same sequence number is the same as the writable attribute information; and a second determining subunit, configured to determine that the attribute information is in an abnormal state when the attribute information in the data information corresponding to the same sequence number is different from the writable attribute information.
Optionally, in this embodiment, the form of the test report is not limited, and for example, the test report may be a voice prompt or a text display.
By the embodiment, the operation flow is simplified by displaying the state of the attribute information through the test report.
In an exemplary embodiment, the apparatus further includes: and a second generating module configured to generate a test report corresponding to the determination result after detecting the attribute information of the terminal device based on the determination result, wherein the test report indicates a state of the attribute information.
In an exemplary embodiment, the apparatus further includes: and the second acquisition module is used for connecting the terminal equipment to a preset webpage according to the Media Access Control (MAC) address of the terminal equipment before generating the serial number of the acquired writable attribute information of the terminal equipment so as to acquire the writable attribute information of the terminal equipment.
Optionally, in this embodiment, the readable attribute information of the terminal device can be quickly obtained by connecting the terminal device to the preset webpage, so that the efficiency of verifying the attribute information is increased.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
In the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, generating the serial number of the obtained writable attribute information of the terminal equipment;
s2, sending the serial number to a basic service cloud, wherein the basic service cloud is used for sending the serial number to the terminal equipment;
s3, acquiring data information sent by the basic service cloud, wherein the data information is data reported to the basic service cloud by the terminal equipment and comprises a serial number;
s4, detecting the attribute information of the terminal device based on the data information.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
In an exemplary embodiment, the processor may be configured to execute the following steps by a computer program:
s1, generating the serial number of the obtained writable attribute information of the terminal equipment;
s2, sending the serial number to a basic service cloud, wherein the basic service cloud is used for sending the serial number to the terminal equipment;
s3, acquiring data information sent by the basic service cloud, wherein the data information is data reported to the basic service cloud by the terminal equipment and comprises a serial number;
s4, detecting the attribute information of the terminal device based on the data information.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into various integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for detecting attribute information is characterized by comprising the following steps:
generating a serial number of the obtained writable attribute information of the terminal equipment;
sending the serial number to a basic service cloud, wherein the basic service cloud is used for sending the serial number to the terminal equipment;
acquiring data information sent by the basic service cloud, wherein the data information is data reported to the basic service cloud by the terminal equipment and comprises the serial number;
and detecting the attribute information of the terminal equipment based on the data information.
2. The method of claim 1, wherein generating the sequence number of the obtained writable attribute information of the terminal device comprises:
acquiring an attribute list of the terminal equipment through a preset interface, wherein the attribute list comprises the writable attribute information;
and generating a serial number of the writable attribute information of the terminal equipment.
3. The method of claim 1, wherein sending the serial number to a base service cloud comprises:
and sending the attribute information and the serial number to the basic service cloud according to a preset sequence, wherein the basic service cloud is used for encapsulating the serial number and the attribute information to obtain encapsulation information, and sending the encapsulation information to the terminal equipment.
4. The method of claim 1, wherein detecting the attribute information of the terminal device based on the data information comprises:
judging whether the attribute information in the data information is the same as the writable attribute information or not based on the serial number to obtain a judgment result;
and detecting the attribute information of the terminal equipment based on the judgment result.
5. The method according to claim 4, wherein detecting the attribute information of the terminal device based on the determination result comprises one of:
under the condition that attribute information in the data information corresponding to the same serial number is the same as the writable attribute information, determining that the attribute information is in a normal state;
and under the condition that the attribute information in the data information corresponding to the same serial number is different from the writable attribute information, determining that the attribute information is in an abnormal state.
6. The method according to claim 4, wherein after detecting the attribute information of the terminal device based on the determination result, the method further comprises:
and generating a test report corresponding to the judgment result, wherein the test report is used for representing the state of the attribute information.
7. The method according to claim 1, wherein before generating the sequence number of the obtained writable attribute information of the terminal device, the method further comprises:
and connecting the terminal equipment to a preset webpage according to the Media Access Control (MAC) address of the terminal equipment so as to acquire writable attribute information of the terminal equipment.
8. An apparatus for detecting attribute information, comprising:
the first generating module is used for generating the serial number of the obtained writable attribute information of the terminal equipment;
the first sending module is used for sending the serial number to a basic service cloud, wherein the basic service cloud is used for sending the serial number to the terminal equipment;
a first obtaining module, configured to obtain data information sent by the basic service cloud, where the data information is data reported to the basic service cloud by the terminal device, and the data information includes the serial number;
and the first detection module is used for detecting the attribute information of the terminal equipment based on the data information.
9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 7 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 7.
CN202011043031.7A 2020-09-28 2020-09-28 Method and device for detecting attribute information, storage medium and electronic device Pending CN112115062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011043031.7A CN112115062A (en) 2020-09-28 2020-09-28 Method and device for detecting attribute information, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011043031.7A CN112115062A (en) 2020-09-28 2020-09-28 Method and device for detecting attribute information, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN112115062A true CN112115062A (en) 2020-12-22

Family

ID=73798415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011043031.7A Pending CN112115062A (en) 2020-09-28 2020-09-28 Method and device for detecting attribute information, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112115062A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015057234A1 (en) * 2013-10-17 2015-04-23 Hewlett-Packard Development Company, L.P. Testing a web service using inherited test attributes
KR101691929B1 (en) * 2015-09-21 2017-01-17 배재대학교 산학협력단 An apparatus for implementing an automation of a web user interface and method therefor
WO2017054534A1 (en) * 2015-09-28 2017-04-06 中兴通讯股份有限公司 A method and device for sending a media access control (mac) address, and service distribution
US20170324803A1 (en) * 2016-05-09 2017-11-09 Salesforce.Com, Inc. Automated testing of perceptible web page elements
WO2018120721A1 (en) * 2016-12-30 2018-07-05 上海壹账通金融科技有限公司 Method and system for testing user interface, electronic device, and computer readable storage medium
CN110069413A (en) * 2019-04-22 2019-07-30 苏州亿歌网络科技有限公司 Test data communication, test method, device, equipment and storage medium
CN110532171A (en) * 2019-07-22 2019-12-03 深圳壹账通智能科技有限公司 Application testing method, device, equipment and computer readable storage medium
CN110781089A (en) * 2019-10-31 2020-02-11 睿云联(厦门)网络通讯技术有限公司 Method and device for automatically testing UI of equipment, electronic equipment and medium
CN111522752A (en) * 2020-05-26 2020-08-11 北京大米未来科技有限公司 Program test method, program test device, storage medium, and electronic apparatus
US20200272558A1 (en) * 2019-02-21 2020-08-27 Microsoft Technology Licensing, Llc Automated layout testing for mobile device applications

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015057234A1 (en) * 2013-10-17 2015-04-23 Hewlett-Packard Development Company, L.P. Testing a web service using inherited test attributes
KR101691929B1 (en) * 2015-09-21 2017-01-17 배재대학교 산학협력단 An apparatus for implementing an automation of a web user interface and method therefor
WO2017054534A1 (en) * 2015-09-28 2017-04-06 中兴通讯股份有限公司 A method and device for sending a media access control (mac) address, and service distribution
US20170324803A1 (en) * 2016-05-09 2017-11-09 Salesforce.Com, Inc. Automated testing of perceptible web page elements
WO2018120721A1 (en) * 2016-12-30 2018-07-05 上海壹账通金融科技有限公司 Method and system for testing user interface, electronic device, and computer readable storage medium
US20200272558A1 (en) * 2019-02-21 2020-08-27 Microsoft Technology Licensing, Llc Automated layout testing for mobile device applications
CN110069413A (en) * 2019-04-22 2019-07-30 苏州亿歌网络科技有限公司 Test data communication, test method, device, equipment and storage medium
CN110532171A (en) * 2019-07-22 2019-12-03 深圳壹账通智能科技有限公司 Application testing method, device, equipment and computer readable storage medium
CN110781089A (en) * 2019-10-31 2020-02-11 睿云联(厦门)网络通讯技术有限公司 Method and device for automatically testing UI of equipment, electronic equipment and medium
CN111522752A (en) * 2020-05-26 2020-08-11 北京大米未来科技有限公司 Program test method, program test device, storage medium, and electronic apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
翟亚娟;赵会群;: "Web Service自动化测试方法的研究", 计算机与现代化, no. 08, 15 August 2010 (2010-08-15) *

Similar Documents

Publication Publication Date Title
CN109361562B (en) Automatic testing method based on associated network equipment access
CN111459794A (en) Communication network testing method, device, computer equipment and storage medium
CN109634258A (en) It is a kind of for the bus message method of calibration of hardware-in―the-loop test, apparatus and system
CN110502442A (en) Dynamic parameter method of calibration, device, equipment and storage medium
CN105607994A (en) Mobile terminal software testing method and system
CN108111367A (en) Performance test methods and device
CN114816980A (en) Automatic testing device and method for embedded communication system
CN109656756A (en) Multi-core CPU board adjustment method and device, mobile memory medium
CN104144084A (en) Terminal state monitoring method and device
CN108280024B (en) Flow distribution strategy testing method and device and electronic equipment
CN110940874B (en) Calibration method, server and medium for nuclear power station transformer protection device
CN112181822A (en) Test method and test method for starting time consumption of application program
CN104678292B (en) A kind of complex programmable logic device (CPLD) test method and device
CN112115062A (en) Method and device for detecting attribute information, storage medium and electronic device
CN110971478A (en) Pressure measurement method and device for cloud platform service performance and computing equipment
CN112838938B (en) Test system of Internet of things platform
CN114254991A (en) Target object reporting method, device and equipment
CN111679974A (en) Application program testing method and device
CN105740114A (en) Fault tolerance test method and apparatus for mobile terminal
CN110674573A (en) Method, device and storage medium for simulating hardware work in MES system
CN110618943A (en) Security service test method and device, electronic equipment and readable storage medium
CN113452533A (en) Charging self-inspection and self-healing method and device, computer equipment and storage medium
CN113468237B (en) Business data processing model generation method, system construction method and device
CN115250291B (en) Parameter data verification method, device, equipment and readable storage medium
CN110895507B (en) Simulation test method and device, simulation server 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