CN112994973A - Automatic batch testing method and device for Internet of things equipment and computer-readable storage medium - Google Patents

Automatic batch testing method and device for Internet of things equipment and computer-readable storage medium Download PDF

Info

Publication number
CN112994973A
CN112994973A CN202110156465.6A CN202110156465A CN112994973A CN 112994973 A CN112994973 A CN 112994973A CN 202110156465 A CN202110156465 A CN 202110156465A CN 112994973 A CN112994973 A CN 112994973A
Authority
CN
China
Prior art keywords
internet
identifier
things equipment
things
identifiers
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
CN202110156465.6A
Other languages
Chinese (zh)
Other versions
CN112994973B (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.)
Spreadtrum Communications Tianjin Co Ltd
Original Assignee
Spreadtrum Communications Tianjin 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 Spreadtrum Communications Tianjin Co Ltd filed Critical Spreadtrum Communications Tianjin Co Ltd
Priority to CN202110156465.6A priority Critical patent/CN112994973B/en
Publication of CN112994973A publication Critical patent/CN112994973A/en
Application granted granted Critical
Publication of CN112994973B publication Critical patent/CN112994973B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/10Detection; Monitoring
    • 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
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • 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/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • 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/0889Techniques to speed-up the configuration process

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Automation & Control Theory (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Debugging And Monitoring (AREA)

Abstract

An automatic batch testing method and device for Internet of things equipment and a computer-readable storage medium are provided, wherein the method comprises the following steps: for each piece of Internet of things equipment in a plurality of pieces of Internet of things equipment to be tested in batch, acquiring a first identifier when the piece of Internet of things equipment is in a disconnected network state, wherein the first identifier is an identifier of an identity identification card associated with the piece of Internet of things equipment; querying a preset database to obtain a second identifier associated with the first identifier, wherein the second identifier is an identity identifier of the internet of things equipment, and the preset database stores a plurality of second identifiers, a plurality of first identifiers and an association relationship between the second identifiers and the first identifiers; writing the second identifier obtained by query into the Internet of things equipment; and controlling the Internet of things equipment to be switched to a networking state and receiving the networking residing feedback. By the scheme of the invention, the identity identification of each Internet of things device can be automatically modified in a batch test scene, so that the identity identification card is effectively prevented from being locked, the test efficiency is improved, and the error rate is reduced.

Description

Automatic batch testing method and device for Internet of things equipment and computer-readable storage medium
Technical Field
The invention relates to the technical field of Internet of things and automatic testing, in particular to an automatic batch testing method and device for Internet of things equipment and a computer readable storage medium.
Background
With the development of the internet of things technology, terminal equipment adopting the internet of things technology is gradually popularized in daily life of people. For example, water meters, electric meters, and the like, which adopt the technology of the internet of things, are all internet of things devices that are currently and vigorously popularized. One of the most critical functions of the internet of things device is its networking function, so the networking capability of the internet of things device needs to be tested. Laboratory tests are usually performed on a large scale and in batches.
According to the rules of the operator, when the internet of things device is networked, an International Mobile Equipment Identity (IMEI) number of the device must be bound with a Subscriber Identity Module (SIM) card provided by the operator. If the two are identified to be inconsistent, the SIM card can be locked, so that the equipment of the Internet of things cannot normally reside in the network.
However, the default IMEI number of the internet of things device when leaving the factory is generally not in accordance with the requirements of the operator, and needs to be manually modified into the IMEI number in accordance with the requirements of the operator during testing. Therefore, when large-scale testing is carried out in a laboratory at the present stage, the IMEI numbers of the Internet of things equipment can only be manually modified one by one so as to prevent the SIM card from being locked.
When a laboratory performs batch testing, the number of the internet of things devices tested in each batch is very large, for example, hundreds or even thousands of internet of things devices are generally tested in batches. This results in the need for the tester to invest great effort to manually maintain and modify the IMEI number, which is not only inefficient, but also prone to errors.
Disclosure of Invention
The invention solves the technical problem of how to realize automatic modification of the identity of the equipment of the Internet of things so as to improve the test efficiency of batch test of the equipment of the Internet of things.
In order to solve the technical problem, an embodiment of the present invention provides an automated batch test method for internet of things devices, including: for each piece of Internet of things equipment in a plurality of pieces of Internet of things equipment to be tested in batch, acquiring a first identifier when the piece of Internet of things equipment is in a disconnected network state, wherein the first identifier is an identifier of an identifier card associated with the piece of Internet of things equipment; querying a preset database to obtain a second identifier associated with the first identifier, wherein the second identifier is an identity identifier of the internet of things equipment, and the preset database stores a plurality of second identifiers, a plurality of first identifiers and an association relationship between the second identifiers and the first identifiers; writing the second identifier obtained by query into the Internet of things equipment; and controlling the Internet of things equipment to be switched to a networking state and receiving the networking residing feedback.
Optionally, the identity card establishes an association relationship with the internet of things device after the internet of things device is switched to the disconnected state.
Optionally, the automated batch testing method further includes: and if the network-residing feedback of the plurality of pieces of Internet of things equipment is successful, performing batch test on the plurality of pieces of Internet of things equipment.
Optionally, for each piece of internet-of-things equipment, the second identifier obtained by querying the preset database according to the first identifier is different from the default identity identifier of the piece of internet-of-things equipment.
Optionally, the obtaining the first identifier during the internet of things device being in the network disconnection state includes: and when the Internet of things equipment is in a disconnected state, repeatedly trying to acquire the first identifier within a preset time length.
Optionally, the automated batch testing method further includes: and if the first identifier is not acquired after the preset time length is exceeded, sending an error report.
Optionally, the automated batch testing method further includes: and if the network-residing feedback is that the network-residing is rejected, sending an error report.
Optionally, the automated batch testing method further includes: and removing the Internet of things equipment which is fed back as rejected from the network from the plurality of Internet of things equipment to be tested in batches.
Optionally, the first identifier includes an IMSI number and/or a CCID number; the second identity comprises an IMEI number.
In order to solve the above technical problem, an embodiment of the present invention further provides an automatic batch test apparatus for an internet of things device, including: the system comprises an acquisition module, a verification module and a verification module, wherein the acquisition module is used for acquiring a first identifier of each piece of Internet of things equipment to be tested in batch when the piece of Internet of things equipment is in a disconnected state, and the first identifier is an identifier of an identifier card associated with the piece of Internet of things equipment; the query module is used for querying a preset database to obtain a second identifier associated with the first identifier, wherein the second identifier is an identity identifier of the internet of things equipment, and the preset database stores a plurality of second identifiers, a plurality of first identifiers and an association relation between the second identifiers and the first identifiers; the writing module is used for writing the second identifier obtained by the query into the Internet of things equipment; and the control module is used for controlling the Internet of things equipment to be switched to a networking state and receiving the networking feedback.
To solve the above technical problem, an embodiment of the present invention further provides a computer-readable storage medium, which is a non-volatile storage medium or a non-transitory storage medium, and has a computer program stored thereon, where the computer program is executed by a processor to perform the steps of the above method.
In order to solve the technical problem, an embodiment of the present invention further provides an automated batch testing apparatus for internet of things devices, including a memory and a processor, where the memory stores a computer program that can be run on the processor, and the processor executes the steps of the method when running the computer program.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides an automatic batch testing method of Internet of things equipment, which comprises the following steps: for each piece of Internet of things equipment in a plurality of pieces of Internet of things equipment to be tested in batch, acquiring a first identifier when the piece of Internet of things equipment is in a disconnected network state, wherein the first identifier is an identifier of an identifier card associated with the piece of Internet of things equipment; querying a preset database to obtain a second identifier associated with the first identifier, wherein the second identifier is an identity identifier of the internet of things equipment, and the preset database stores a plurality of second identifiers, a plurality of first identifiers and an association relationship between the second identifiers and the first identifiers; writing the second identifier obtained by query into the Internet of things equipment; and controlling the Internet of things equipment to be switched to a networking state and receiving the networking residing feedback.
Compared with the existing implementation means of completely depending on manual modification of the IMEI number of the Internet of things equipment, the embodiment can automatically modify the identity of each Internet of things equipment in a batch test scene, so that the identity identification card is effectively prevented from being locked, the test efficiency is improved, and the error rate is reduced. Specifically, by storing and maintaining the SIM card information (i.e. the first identifier) and the correct IMEI information (i.e. the second identifier) in the database in advance, the IMEI number of the internet of things device to be subjected to batch testing can be automatically and synchronously issued when the batch testing is performed. Furthermore, by automatically modifying the IMEI number of the equipment of the Internet of things when the test task is executed, the testers do not need to manually modify the equipment of the Internet of things one by one, and unified management is facilitated.
Drawings
Fig. 1 is a flowchart of an automated batch test method for internet of things devices according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an automated batch testing device for internet of things equipment according to an embodiment of the invention.
Detailed Description
As background art shows, when performing large-scale testing in an existing laboratory, testers need to manually modify IMEI numbers of devices in the internet of things to match SIM cards. Because the number of the internet of things devices tested in a single batch under a batch test scene is extremely large (usually hundreds or even thousands of devices), a tester can put great efforts to maintain and modify the IMEI number, and the efficiency is low and mistakes are easy to make.
In order to solve the technical problem, an embodiment of the present invention provides an automated batch test method for internet of things devices, including: for each piece of Internet of things equipment in a plurality of pieces of Internet of things equipment to be tested in batch, acquiring a first identifier when the piece of Internet of things equipment is in a disconnected network state, wherein the first identifier is an identifier of an identifier card associated with the piece of Internet of things equipment; querying a preset database to obtain a second identifier associated with the first identifier, wherein the second identifier is an identity identifier of the internet of things equipment, and the preset database stores a plurality of second identifiers, a plurality of first identifiers and an association relationship between the second identifiers and the first identifiers; writing the second identifier obtained by query into the Internet of things equipment; and controlling the Internet of things equipment to be switched to a networking state and receiving the networking residing feedback.
According to the embodiment, the identity identification of each Internet of things device can be automatically modified in a batch test scene, so that the identity identification card is effectively prevented from being locked, the test efficiency is improved, and the error rate is reduced. Specifically, by storing and maintaining the SIM card information (i.e. the first identifier) and the correct IMEI information (i.e. the second identifier) in the database in advance, the IMEI number of the internet of things device to be subjected to batch testing can be automatically and synchronously issued when the batch testing is performed. Furthermore, by automatically modifying the IMEI number of the equipment of the Internet of things when the test task is executed, the testers do not need to manually modify the equipment of the Internet of things one by one, and unified management is facilitated.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Fig. 1 is a flowchart of an automated batch test method for internet of things devices according to an embodiment of the present invention.
The embodiment can be applied to batch test scenes of the Internet of things equipment so as to simultaneously perform networking test on a plurality of Internet of things equipment in a large-scale laboratory test environment. The test items (also referred to as test tasks) may include stability tests and other items that need to be performed in a batch and large scale. The internet of things equipment can comprise a water meter, an electric meter and the like.
The implementation scheme can be executed by the Internet of things equipment to be tested in batches. For example, the present embodiment may be issued to the physical network device in a script form, and the internet of things device executes the script to complete each step in the present embodiment, so as to write in the correct IMEI number matched with the SIM card associated with the internet of things device. Therefore, the Internet of things equipment can be successfully networked, and then corresponding test tasks are executed.
Or, the embodiment may also be executed by a special terminal device, so as to uniformly control a plurality of pieces of internet-of-things equipment to be tested in batch to successfully live in the network by executing the embodiment.
In a specific implementation, the automated batch test method for the internet of things devices provided in the following steps S101 to S104 may be executed by a chip having the function of writing the IMEI number in the internet of things device or the terminal device, or may be executed by a baseband chip in the internet of things device or the terminal device.
Specifically, referring to fig. 1, the method for automatically testing internet of things devices in batch according to this embodiment may include the following steps:
step S101, for each piece of Internet of things equipment in a plurality of pieces of Internet of things equipment to be tested in batch, acquiring a first identifier when the piece of Internet of things equipment is in a disconnected state, wherein the first identifier is an identifier of an identifier card associated with the piece of Internet of things equipment;
step S102, a preset database is inquired to obtain a second identifier associated with the first identifier, wherein the second identifier is an identity identifier of the Internet of things equipment, and the preset database stores a plurality of second identifiers, a plurality of first identifiers and an association relation between the second identifiers and the first identifiers;
step S103, writing the second identifier obtained by inquiry into the Internet of things equipment;
and step S104, controlling the Internet of things equipment to be switched to a networking state and receiving networking residing feedback.
More specifically, the first identifier may include an International Mobile Subscriber Identity (IMSI) of the Identity card. The first identifier may further include an integrated circuit card identification number (ICCID, also referred to as CCID) of the identification card.
The identification card may include a physical card and a virtual card, such as a physical SIM card and a virtual SIM card. Whether a physical SIM card or a virtual SIM card, has a unique identity. When the identity identification card is an entity SIM card, the identity identification card associated with the Internet of things equipment is the entity SIM card inserted into the Internet of things equipment. When the identity identification card is a virtual SIM card, the identity identification card associated with the Internet of things equipment is the virtual SIM card which is connected with the Internet of things equipment and suggests data, and the Internet of things equipment is connected with the Internet of things through the virtual SIM card.
Further, the second identity may comprise an IMEI number.
And for each piece of Internet of things equipment, a second identifier obtained by inquiring the first identifier in the preset database is different from the default identity identifier of the Internet of things equipment. Specifically, the internet of things equipment will carry an IMEI number (i.e. the default identity) by itself when leaving the factory, but the default identity is most likely not compliant with the requirements of the operator. Therefore, the IMEI number meeting the requirements of an operator is pre-distributed to each piece of Internet of things equipment to be tested in batches, and the IMEI number is written into the Internet of things equipment associated with the matched SIM card. Therefore, the Internet of things equipment written with the IMEI number matched with the SIM card can be successfully networked, and the batch test can be smoothly carried out. In one specific implementation, the identification card may establish an association relationship with the internet of things device after the internet of things device is switched to the disconnected state. For example, the internet of things device may be controlled to turn on the airplane mode, and then the physical SIM card may be inserted to associate the internet of things device with the physical SIM card.
For the Internet of things equipment which does not support hot plug, the Internet of things equipment is restarted and then the entity SIM card is inserted after the Internet of things equipment is switched to the flight mode.
Considering the default identity of the internet of things device, if the internet is not disconnected, the plug-in card is locked, so that the action of acquiring the first identity in the embodiment is performed under the condition that the internet of things device is disconnected.
Further, in step S101, the internet of things device may directly read an identity of the entity SIM card, that is, the first identity, from the inserted entity SIM card. For example, the entity SIM card may include an IMSI number and a CCID number, and the internet of things device only needs to acquire any one of the identifiers to be acquired, determine that the identifier is the first identifier, and stop acquiring.
In one implementation, the step S101 may include the steps of: and when the Internet of things equipment is in a disconnected state, repeatedly trying to acquire the first identifier within a preset time length.
Specifically, when the internet of things device cannot acquire the first identifier of the identification card associated with the internet of things device, the query operation may be repeatedly performed until the preset time length is reached, and the search is stopped.
For example, the preset time duration may be time consumed for completing the insertion of all the multiple pieces of internet-of-things equipment to be tested in batch into the SIM card. That is, before all the internet of things devices associate with a successful SIM card, the internet of things devices that have associated SIM cards may continuously attempt to acquire the first identifier.
Further, the automated batch test method according to this embodiment may further include the steps of: and if the first identifier is not acquired after the preset time length is exceeded, sending an error report. For example, the error report may be automatically sent to a mailbox of a tester performing the test task. For another example, the error report may be automatically sent to a mailbox of a device administrator of the internet of things device.
In a specific implementation, the preset database may be a preset database or a configuration file, and is used to store the IMSI numbers or CCID numbers of the SIM cards that need to be used in the batch test. Further, an IMEI number is selected from a range of available IMEI numbers provided by an operator, and is stored in the preset database in one-to-one correspondence with the previously stored IMSI number or CCID number of each SIM card.
The selection rule may be as long as the selection is not repeated.
Therefore, before batch testing, namely correct IMEI information is stored and maintained in a preset database, and the correct IMEI information and the association relation between the correct IMEI information and the SIM card of the Internet of things equipment during testing are associated.
Correspondingly, in the step S102, according to the first identifier obtained in the step S101, a preset database may be queried to obtain an associated second identifier, where the second identifier is an IMEI number assigned to the internet of things device associated with the first identifier, and the IMEI number necessarily meets the specification of an operator. Therefore, the Internet of things equipment written with the IMEI number cannot be rejected when the currently associated SIM card is used for networking.
In one implementation, the preset database may further store mailbox information of a device administrator, so as to determine a receiving end when an error report needs to be sent.
In a specific implementation, after step S103, whether the current IMEI number of the internet of things device is the same as the written second identifier may be read, so as to determine whether the writing operation of step S103 is successful.
If the judgment result indicates that the writing is successful, step S104 is executed to control the internet of things device to attempt networking.
And if the judgment result shows that the writing fails, sending an error report.
In a specific implementation, for an internet of things device that does not support hot plug, in the step S104, a restart command may be sent to automatically restart the internet of things device, close an airplane mode, and wait for the internet of things device to stay on the internet.
In one implementation, the presence feedback may include both a presence success and a presence refusal. The successful network residence indicates that the equipment of the Internet of things is successfully networked, and the network residence is refused to indicate that the equipment of the Internet of things fails to be networked.
Further, if the network is successfully established, the Internet of things equipment is determined to be capable of executing the test task.
Further, if the network residence is rejected, an error report is sent. For example, although the second identifier is successfully written, the network residence may be rejected due to a problem of the internet of things device itself or a problem of the SIM card, and at this time, the error event may be reported to the operator for resolution. For example, the device administrator includes the operator.
Further, the error report may include a first identification associated with the failed internet of things device.
In a specific implementation, after the step S104, the automated batch test method according to this embodiment may further include the steps of: and if the network-residing feedback of the plurality of pieces of Internet of things equipment is successful, performing batch test on the plurality of pieces of Internet of things equipment.
That is, when it is determined that all pieces of internet-of-things equipment to be tested in batch are successfully connected to the network, it is determined that the precondition of the batch test is met, and the test task can be executed.
In one variation, when more than a predetermined number of the network-resident feedbacks are successful, a batch test is performed. For example, the preset number may be 85% to 95% of the total number of the internet of things devices. Therefore, the fault tolerance rate is set according to the preset quantity, the batch test can be carried out as soon as possible, and the test efficiency is improved.
In a specific implementation, after the step S104, the automated batch test method according to this embodiment may further include the steps of: and removing the Internet of things equipment which is fed back as rejected from the network from the plurality of Internet of things equipment to be tested in batches. Wherein, the elimination refers to not participating in the subsequent batch test.
By adopting the embodiment, the identity identification of each Internet of things device can be automatically modified in a batch test scene, so that the identity identification card is effectively prevented from being locked, the test efficiency is improved, and the error rate is reduced. Specifically, by storing and maintaining the SIM card information (i.e. the first identifier) and the correct IMEI information (i.e. the second identifier) in the database in advance, the IMEI number of the internet of things device to be subjected to batch testing can be automatically and synchronously issued when the batch testing is performed. Furthermore, by automatically modifying the IMEI number of the equipment of the Internet of things when the test task is executed, the testers do not need to manually modify the equipment of the Internet of things one by one, and unified management is facilitated.
Fig. 2 is a schematic structural diagram of an automated batch testing device for internet of things equipment according to an embodiment of the invention. Those skilled in the art understand that the automated batch testing apparatus 2 of the internet of things device according to the embodiment may be used to implement the method technical solution described in the embodiment of fig. 1.
Specifically, referring to fig. 2, the automatic batch testing apparatus 2 for the internet of things device in this embodiment may include: the obtaining module 21 is configured to obtain, for each piece of internet of things equipment in a plurality of pieces of internet of things equipment to be tested in batch, a first identifier when the piece of internet of things equipment is in a network disconnection state, where the first identifier is an identifier of an identifier card associated with the piece of internet of things equipment; the query module 22 is configured to query a preset database to obtain a second identifier associated with the first identifier, where the second identifier is an identity identifier of the internet of things device, and the preset database stores a plurality of second identifiers, a plurality of first identifiers, and an association relationship between the plurality of second identifiers and the plurality of first identifiers; the writing module 23 is configured to write the second identifier obtained by the query into the internet of things device; and the control module 24 is used for controlling the internet of things equipment to be switched to a networking state and receiving the networking feedback.
For more contents of the working principle and the working mode of the automatic batch testing apparatus 2 for the internet of things device, reference may be made to the related description in fig. 1, and details are not repeated here.
In specific implementation, the automatic batch testing device 2 of the internet of things equipment may correspond to a processing chip having an IMEI number writing function in the internet of things equipment or the terminal equipment; or a Chip having a data processing function, such as a System-On-a-Chip (SOC), a baseband Chip; or the chip module corresponds to the chip module comprising the processing chip in the Internet of things equipment or the terminal equipment; or the chip module with the data processing function chip, or the internet of things equipment or the terminal equipment.
In a specific implementation, each module/unit included in each apparatus and product described in the foregoing embodiments may be a software module/unit, may also be a hardware module/unit, or may also be a part of a software module/unit and a part of a hardware module/unit.
For example, for each device or product applied to or integrated into a chip, each module/unit included in the device or product may be implemented by hardware such as a circuit, or at least a part of the module/unit may be implemented by a software program running on a processor integrated within the chip, and the rest (if any) part of the module/unit may be implemented by hardware such as a circuit; for each device or product applied to or integrated with the chip module, each module/unit included in the device or product may be implemented by using hardware such as a circuit, and different modules/units may be located in the same component (e.g., a chip, a circuit module, etc.) or different components of the chip module, or at least some of the modules/units may be implemented by using a software program running on a processor integrated within the chip module, and the rest (if any) of the modules/units may be implemented by using hardware such as a circuit; for each device and product applied to or integrated in the terminal, each module/unit included in the device and product may be implemented by using hardware such as a circuit, and different modules/units may be located in the same component (e.g., a chip, a circuit module, etc.) or different components in the terminal, or at least part of the modules/units may be implemented by using a software program running on a processor integrated in the terminal, and the rest (if any) part of the modules/units may be implemented by using hardware such as a circuit.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium is a non-volatile storage medium or a non-transitory storage medium, and a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the method for automatically testing the internet of things according to the embodiment corresponding to fig. 1.
The embodiment of the invention also provides another automatic batch testing device for the internet of things equipment, which comprises a memory and a processor, wherein a computer program capable of running on the processor is stored in the memory, and the steps of the automatic batch testing method for the internet of things equipment provided by the embodiment corresponding to the fig. 1 are executed when the processor runs the computer program.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. An automatic batch testing method for Internet of things equipment is characterized by comprising the following steps:
for each piece of Internet of things equipment in a plurality of pieces of Internet of things equipment to be tested in batch, acquiring a first identifier when the piece of Internet of things equipment is in a disconnected network state, wherein the first identifier is an identifier of an identifier card associated with the piece of Internet of things equipment;
querying a preset database to obtain a second identifier associated with the first identifier, wherein the second identifier is an identity identifier of the internet of things equipment, and the preset database stores a plurality of second identifiers, a plurality of first identifiers and an association relationship between the second identifiers and the first identifiers;
writing the second identifier obtained by query into the Internet of things equipment;
and controlling the Internet of things equipment to be switched to a networking state and receiving the networking residing feedback.
2. The automated batch testing method of claim 1, wherein the identity card establishes an association relationship with the internet of things device after the internet of things device is switched to a disconnected state.
3. The automated batch test method of claim 1, further comprising:
and if the network-residing feedback of the plurality of pieces of Internet of things equipment is successful, performing batch test on the plurality of pieces of Internet of things equipment.
4. The automated batch testing method of claim 1, wherein for each piece of internet of things equipment, a second identifier obtained by querying the preset database according to the first identifier is different from a default identity identifier of the piece of internet of things equipment.
5. The automated batch testing method of claim 1, wherein the obtaining a first identifier while the internet of things device is in a disconnected state comprises:
and when the Internet of things equipment is in a disconnected state, repeatedly trying to acquire the first identifier within a preset time length.
6. The automated batch testing method of claim 5, further comprising:
and if the first identifier is not acquired after the preset time length is exceeded, sending an error report.
7. The automated batch test method of claim 1, further comprising:
and if the network-residing feedback is that the network-residing is rejected, sending an error report.
8. The automated batch test method of claim 6 or 7, further comprising:
and removing the Internet of things equipment which is fed back as rejected from the network from the plurality of Internet of things equipment to be tested in batches.
9. The automated batch test method of claim 1, wherein the first identifier comprises an IMSI number and/or a CCID number; the second identity comprises an IMEI number.
10. The utility model provides an automatic batch test device of thing networking device which characterized in that includes:
the system comprises an acquisition module, a verification module and a verification module, wherein the acquisition module is used for acquiring a first identifier of each piece of Internet of things equipment to be tested in batch when the piece of Internet of things equipment is in a disconnected state, and the first identifier is an identifier of an identifier card associated with the piece of Internet of things equipment;
the query module is used for querying a preset database to obtain a second identifier associated with the first identifier, wherein the second identifier is an identity identifier of the internet of things equipment, and the preset database stores a plurality of second identifiers, a plurality of first identifiers and an association relation between the second identifiers and the first identifiers;
the writing module is used for writing the second identifier obtained by the query into the Internet of things equipment;
and the control module is used for controlling the Internet of things equipment to be switched to a networking state and receiving the networking feedback.
11. A computer-readable storage medium, being a non-volatile storage medium or a non-transitory storage medium, having a computer program stored thereon, the computer program, when being executed by a processor, performing the steps of the method according to any one of the claims 1 to 9.
12. An automated batch testing apparatus for internet of things devices, comprising a memory and a processor, the memory having stored thereon a computer program executable on the processor, wherein the processor executes the computer program to perform the steps of the method of any one of claims 1 to 9.
CN202110156465.6A 2021-02-04 2021-02-04 Automatic batch testing method and device for Internet of things equipment and computer-readable storage medium Active CN112994973B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110156465.6A CN112994973B (en) 2021-02-04 2021-02-04 Automatic batch testing method and device for Internet of things equipment and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110156465.6A CN112994973B (en) 2021-02-04 2021-02-04 Automatic batch testing method and device for Internet of things equipment and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN112994973A true CN112994973A (en) 2021-06-18
CN112994973B CN112994973B (en) 2022-08-19

Family

ID=76347054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110156465.6A Active CN112994973B (en) 2021-02-04 2021-02-04 Automatic batch testing method and device for Internet of things equipment and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN112994973B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553601A (en) * 2022-04-25 2022-05-27 龙旗电子(惠州)有限公司 Information verification method, device, equipment and medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244227A (en) * 2013-06-09 2014-12-24 ***通信集团公司 Terminal access authentication method and device in internet of things system
CN106060843A (en) * 2016-05-20 2016-10-26 上海合宙通信科技有限公司 Automated testing method and tool of Internet of Things GPRS module
CN107360560A (en) * 2017-06-27 2017-11-17 深圳市爱培科技术股份有限公司 The automatic method for burn-recording of IMEI number and system of a kind of volume production mobile device
WO2018077053A1 (en) * 2016-10-31 2018-05-03 中兴通讯股份有限公司 Authentication method and device for internet of things platform, and computer storage medium thereof
CN109660979A (en) * 2017-10-11 2019-04-19 ***通信有限公司研究院 Internet of Things opens chucking method and device in the air, calculates equipment and storage medium
CN111182521A (en) * 2018-11-12 2020-05-19 中移(杭州)信息技术有限公司 Internet of things terminal machine card binding, network access authentication and service authentication method and device
CN111224845A (en) * 2020-01-03 2020-06-02 杭州涂鸦信息技术有限公司 Equipment automatic testing system and method based on Internet of things cloud
CN111601304A (en) * 2020-04-29 2020-08-28 上海伊邦医药信息科技有限公司 Method for generating unique identification code of mobile terminal equipment for controlling security risk
CN111695875A (en) * 2020-06-09 2020-09-22 武汉信迈科技有限公司 Internet of things service platform
CN111935704A (en) * 2020-09-14 2020-11-13 深圳杰睿联科技有限公司 Profile downloading method, device and equipment
CN112129337A (en) * 2020-09-15 2020-12-25 山东华科信息技术有限公司 Detection system for detecting sensors in batches based on Internet of things

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244227A (en) * 2013-06-09 2014-12-24 ***通信集团公司 Terminal access authentication method and device in internet of things system
CN106060843A (en) * 2016-05-20 2016-10-26 上海合宙通信科技有限公司 Automated testing method and tool of Internet of Things GPRS module
WO2018077053A1 (en) * 2016-10-31 2018-05-03 中兴通讯股份有限公司 Authentication method and device for internet of things platform, and computer storage medium thereof
CN107360560A (en) * 2017-06-27 2017-11-17 深圳市爱培科技术股份有限公司 The automatic method for burn-recording of IMEI number and system of a kind of volume production mobile device
CN109660979A (en) * 2017-10-11 2019-04-19 ***通信有限公司研究院 Internet of Things opens chucking method and device in the air, calculates equipment and storage medium
CN111182521A (en) * 2018-11-12 2020-05-19 中移(杭州)信息技术有限公司 Internet of things terminal machine card binding, network access authentication and service authentication method and device
CN111224845A (en) * 2020-01-03 2020-06-02 杭州涂鸦信息技术有限公司 Equipment automatic testing system and method based on Internet of things cloud
CN111601304A (en) * 2020-04-29 2020-08-28 上海伊邦医药信息科技有限公司 Method for generating unique identification code of mobile terminal equipment for controlling security risk
CN111695875A (en) * 2020-06-09 2020-09-22 武汉信迈科技有限公司 Internet of things service platform
CN111935704A (en) * 2020-09-14 2020-11-13 深圳杰睿联科技有限公司 Profile downloading method, device and equipment
CN112129337A (en) * 2020-09-15 2020-12-25 山东华科信息技术有限公司 Detection system for detecting sensors in batches based on Internet of things

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553601A (en) * 2022-04-25 2022-05-27 龙旗电子(惠州)有限公司 Information verification method, device, equipment and medium

Also Published As

Publication number Publication date
CN112994973B (en) 2022-08-19

Similar Documents

Publication Publication Date Title
CN105095062B (en) Applied program testing method and system
CN100472445C (en) Configuring load application method and system of communication apparatus
CN110058998B (en) Software testing method and device
CN111143150A (en) Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit
CN112994973B (en) Automatic batch testing method and device for Internet of things equipment and computer-readable storage medium
CN107357721B (en) Method and device for testing system
CN111367782B (en) Regression testing data automatic generation method and device
CN109379585B (en) HDMI compatibility testing device and method
CN111782507B (en) Data testing method and device, storage medium and electronic equipment
CN110990381B (en) Processing method and device of server, storage medium and electronic device
CN111385613B (en) Television system repairing method, storage medium and application server
CN112420019B (en) Equipment testing method and device
CN115840129A (en) Board card testing method and device
CN111694728A (en) Automatic generation method and device of script
CN113110991A (en) Page element positioning method and device, storage medium and electronic device
CN111240920B (en) Performance test method, device, server and storage medium
CN114817067B (en) Automatic mock testing method and device
CN113904930B (en) Network port ordering method, device, equipment and storage medium
CN114944987B (en) Method for immediately updating operation parameters of communication equipment and communication equipment
CN115372803B (en) Motherboard test system, method, device and storage medium
CN115695265B (en) Automatic cycle power-on and power-off testing method and equipment for switch and storage medium
CN118069503A (en) Method and system for testing driving file, storage medium and electronic equipment
CN117411813A (en) Terminal data throughput testing method and device, computer equipment and storage medium
CN107360589B (en) Data cleaning method and data cleaning device for mobile communication network
CN115248775A (en) Test system, test method, test terminal, 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