CN115643599A - Network quality detection method and device, SIM card and electronic equipment - Google Patents

Network quality detection method and device, SIM card and electronic equipment Download PDF

Info

Publication number
CN115643599A
CN115643599A CN202110817259.5A CN202110817259A CN115643599A CN 115643599 A CN115643599 A CN 115643599A CN 202110817259 A CN202110817259 A CN 202110817259A CN 115643599 A CN115643599 A CN 115643599A
Authority
CN
China
Prior art keywords
network quality
quality detection
target
instruction
sim card
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
CN202110817259.5A
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.)
China Mobile Communications Group Co Ltd
China Mobile IoT Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile IoT 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 China Mobile Communications Group Co Ltd, China Mobile IoT Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110817259.5A priority Critical patent/CN115643599A/en
Publication of CN115643599A publication Critical patent/CN115643599A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a network quality detection method and device, an SIM card and electronic equipment, and belongs to the technical field of communication. The method is applied to terminal equipment, wherein the terminal equipment comprises a Subscriber Identity Module (SIM) card, and the method comprises the following steps: receiving a trigger instruction sent by the network quality detection platform; responding to the trigger instruction, reading a pre-stored target network quality detection instruction from the SIM card, wherein the trigger instruction is associated with a target address to be detected; executing the target network quality detection instruction to obtain a network quality detection result when the terminal equipment accesses the target address to be detected; and sending the network quality detection result to the network quality detection platform. The invention can remotely control the terminal equipment to carry out network quality detection.

Description

Network quality detection method and device, SIM card and electronic equipment
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a network quality detection method and device, an SIM card and electronic equipment.
Background
With the rapid development of the internet of things and the industrial internet, more and more devices perform network access and data interaction through the internet of things card. In the prior art, network quality testing software needs to be installed on terminal devices of the internet of things and the industrial internet, so that the network quality of the terminal devices can be tested through the network quality testing software.
However, in the field of industrial internet, a large part of terminal devices are installed in places where it is inconvenient for a person to touch. This causes inconvenience in installing and operating the software by the end user, and further makes it very difficult for the operator to troubleshoot the software.
Disclosure of Invention
The invention aims to provide a network quality detection method, a network quality detection device, an SIM card and electronic equipment, which can realize the network quality test of remote control terminal equipment and return a test result without installing network quality test software.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, the present invention provides a network quality detection method, which is applied to a terminal device, where the terminal device includes a Subscriber Identity Module (SIM) card, and the method includes:
receiving a trigger instruction sent by the network quality detection platform;
responding to the trigger instruction, reading a pre-stored target network quality detection instruction from the SIM card, wherein the trigger instruction is associated with a target address to be detected;
executing the target network quality detection instruction to obtain a network quality detection result when the terminal equipment accesses the target address to be detected;
and sending the network quality detection result to the network quality detection platform.
In a second aspect, the present invention provides a network quality detection method, which is applied to a network quality detection platform, and the method includes:
sending a trigger instruction to the terminal equipment, wherein the trigger instruction is associated with the target address to be detected;
and receiving a network quality detection result corresponding to the target address to be detected, which is fed back by the terminal equipment.
In a third aspect, the present invention further provides a network quality detection apparatus, which is applied to a terminal device, where the terminal device includes an SIM card, and the apparatus includes:
the first receiving module is used for receiving a trigger instruction sent by the network quality detection platform;
the reading module is used for responding to the trigger instruction and reading a pre-stored target network quality detection instruction from the SIM card, wherein the trigger instruction is associated with a target address to be detected;
the detection module is used for executing the target network quality detection instruction so as to obtain a network quality detection result when the terminal equipment accesses the target address to be detected;
and the first sending module is used for sending the network quality detection result to the network quality detection platform.
In a fourth aspect, the present invention further provides a network quality detection apparatus, applied to a network quality detection platform, where the apparatus includes:
the second sending module is used for sending a trigger instruction to the terminal equipment, wherein the trigger instruction is associated with the target address to be detected;
and the second receiving module is used for receiving a network quality detection result which is fed back by the terminal equipment and corresponds to the target address to be detected.
In a fifth aspect, the present invention provides an SIM card, where the SIM card includes a first storage space, and the first storage space is used to store a target address and a target instruction set, where the target instruction set includes a target network quality detection instruction, the target address includes a target address to be detected, and when the target network quality detection instruction is executed by a terminal device, a network quality detection result when the terminal device accesses the target address to be detected is obtained.
In a sixth aspect, the present invention also provides an electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, which when executed by the processor, implement the steps of the method according to the first or second aspect.
In a seventh aspect, the present invention also provides a computer readable storage medium on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first or second aspect.
In the embodiment of the invention, the terminal equipment receives the trigger instruction sent by the network quality detection platform; responding to the trigger instruction, reading a pre-stored target network quality detection instruction from the SIM card, wherein the trigger instruction is associated with a target address to be detected; executing the target network quality detection instruction to obtain a network quality detection result when the terminal equipment accesses the target address to be detected; and sending the network quality detection result to the network quality detection platform. Therefore, when the network quality detection platform triggers the terminal equipment to carry out network quality detection, the terminal equipment can read a target network quality detection instruction required by prestored network quality detection from the SIM card and execute the instruction so as to realize the detection of a network quality detection result when the terminal equipment accesses a target address to be detected and feed the network quality detection result back to the network quality detection platform.
Drawings
Fig. 1 is a flowchart of a network quality detection method applied to a terminal device according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a data space structure of a SIM card according to an embodiment of the present invention;
FIG. 3 is a schematic topology diagram of a network quality detection system in an embodiment of the invention;
FIG. 4 is a schematic diagram of data interaction among a terminal device, a network quality detection platform, and a target test system in an embodiment of the present invention;
fig. 5 is a flowchart of a network quality detection method applied to a network quality detection platform according to an embodiment of the present invention;
fig. 6 is a structural diagram of a network quality detection apparatus applied to a terminal device according to the present invention;
fig. 7 is a structural diagram of a network quality detection apparatus applied to a network quality detection platform according to the present invention;
fig. 8 is a block diagram of an electronic device provided by the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms first, second and the like in the description and in the claims of the present invention are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the invention may be practiced other than those illustrated or described herein, and that the objects identified as "first," "second," etc. are generally a class of objects and do not limit the number of objects, e.g., a first object may be one or more. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
With the rapid development of the internet of things and the industrial internet, more and more devices perform network access and data interaction through the internet of things card. In order to implement functions such as network fault detection and diagnosis, it is necessary to obtain local real network quality data of the terminal device.
In the related art, a terminal user autonomously installs network quality testing software on a terminal device, integrates related testing indexes in the network quality testing software, accesses a specified network resource by operating the network quality testing software, and obtains network quality data of the terminal from a testing result.
However, for internet of things and industrial internet devices, such as: most of the equipment in the power grid is installed on a high-voltage line overhead or in remote mountain areas and suburbs, and the installation and operation of software of a terminal user are inconvenient, so that the network quality detection and result feedback are difficult to perform according to the requirement of the network quality detection.
In the embodiment of the invention, the instruction required by the network quality detection is prestored in the SIM card of the terminal equipment, so that when the network quality detection platform triggers the terminal to carry out the network quality test, the corresponding instruction is directly read from the SIM card and is executed, the purposes of network quality detection and result feedback can be realized, a user does not need to install network quality detection software on the terminal equipment, and does not need to manually operate the terminal equipment, and the remote control of the network quality detection process of the terminal equipment can be realized.
Referring to fig. 1, which is a flowchart of a network quality detection method according to an embodiment of the present invention, an execution main body of the network quality detection method shown in fig. 1 may be a terminal device, and the terminal device includes an SIM card, and as shown in fig. 1, the network quality detection method may include the following steps:
step 101, receiving a trigger instruction sent by the network quality detection platform.
In a specific implementation, the trigger instruction may be received by means of telecommunications or a network, and may specifically be determined according to a type and a function of a terminal device that performs the network quality detection method.
For example: assuming that the terminal device is a 5G internet of things device, which supports network connection of 4G, 5G and the like and also supports telecommunication connection, the 5G internet of things device may receive the trigger instruction through any one of the connection modes of the 4G network, the 5G network, the short message and the like.
Of course, some terminal devices with lower performance may also receive the trigger instruction through air reception, and the like, which is not limited herein.
And step 102, responding to the trigger instruction, and reading a pre-stored target network quality detection instruction from the SIM card, wherein the trigger instruction is associated with a target address to be detected.
In a specific implementation, the SIM card stores a target network quality detection instruction in advance, where the target network quality detection instruction may include: the quality that the terminal device needs to perform in the network quality detection process. Certainly, in practical applications, the SIM card may store a corresponding running script in addition to the target network quality detection instruction, so that when the terminal device receives the trigger instruction, the terminal device reads the target network quality detection instruction and the corresponding running script from the SIM card to run the running script, and executes the target network quality detection instruction, thereby implementing the network quality detection function.
In addition, the association between the trigger instruction and the target address to be detected may include at least one of the following two cases:
situation one
The trigger instruction carries an address to be detected of a target, where the type of the address to be detected of the target may include: one or more of a Uniform Resource Locator (URL) address, a Hypertext Transfer Protocol (HTTP) address, an Internet Protocol (IP) address, and a Simple Object Access Protocol (SOAP) address.
Therefore, when the terminal device executes the target network quality detection instruction, the target address to be detected can be accessed, and the network quality detection result is determined according to parameters such as data interaction time delay in the access process.
Situation two
The SIM card also stores at least one resource address related to network quality detection in advance, so that the trigger instruction may indicate the target address to be detected stored in the SIM card in advance instead of carrying the target address to be detected.
And 103, executing the target network quality detection instruction to obtain a network quality detection result when the terminal equipment accesses the target address to be detected.
In a specific implementation, the executing, by the terminal device, the target network quality detection instruction may include: and the terminal equipment accesses the target address to be detected according to the target network quality detection instruction, and determines a network quality detection result according to the time delay, the radio frequency power and the like of the data interaction process between the terminal equipment and the target resource address.
For the network quality detection process, the terminal equipment can automatically read the data in the internal space of the SIM card and interact with the data between the SIM card and the network quality detection platform based on the trigger instruction, and the equipment terminal only needs to have basic network access and instruction execution functions and does not need to additionally install and download application software.
And 104, sending the network quality detection result to the network quality detection platform.
Similar to the triggering instruction, the network quality detection result may also be sent to the network quality detection platform in a telecommunication or network manner.
In practical applications, the network quality detection platform may perform functions such as network troubleshooting and fault point diagnosis according to a network quality detection result reported by the terminal device, and other network quality data such as terminal network quality data and network conditions of the network base station and the network element, which are not specifically described herein.
As an optional implementation manner, before the receiving the triggering instruction sent by the network quality detection platform, the method further includes:
receiving a writing instruction sent by the network quality detection platform through an air interface;
and responding to the writing instruction, writing a target address and a target instruction set into the SIM card, wherein the target address comprises the target address to be detected, and the target instruction set comprises the target network quality detection instruction.
In a specific implementation, the air interface may adopt at least one of the following modes: wireless Application Protocol (WAP), general Packet Radio Service (GPRS), CDMA 2000 phase one (CDMA 1X), short message technology, and a standalone Independent Protocol (BIP) Protocol.
In practical application, different network quality test instructions can be pertinently issued to the SIM card space of corresponding terminal equipment for different network quality test requirements and different terminal equipment through an air interface, and local real network quality data of the terminal equipment can be obtained by triggering the terminal equipment to execute the network quality test instructions in the SIM card.
In this embodiment, the network quality detection platform writes the address and the instruction set related to the network quality detection into the SIM card of the terminal device through the air interface in advance, so as to remotely add, modify, delete, and the like the instruction set and the address information in the SIM card, thereby improving the flexibility of the network quality detection.
Further, the writing a target address and a target instruction set into the SIM card in response to the write instruction includes:
and verifying the write-in instruction by adopting a preset digital certificate, and writing a target address and a target instruction set into the SIM card under the condition that the verification is passed.
In a specific implementation, the preset digital certificate may verify an instruction received by the terminal device through an air interface by using any digital verification method such as a public key, and only when the instruction passes the verification, the preset digital certificate responds to the instruction.
In practical application, the network quality detection platform may also write the preset digital certificate into the SIM card through an air interface in advance.
For example: as shown in fig. 2, the storage space of the SIM card may be divided into: the storage space 1 stores therein a digital certificate, an address list and an instruction set issued by the network quality detection platform, specifically, the instruction set may be stored in a temporary space in the storage space 1, and the storage space 2 may be used to store other data of the SIM card in the prior art.
In operation, the network quality detection platform may write a digital certificate (generally, a public key) and an address list into the SIM card through the air interface according to the quality verification requirement of the terminal device, where the address list stores a resource pool URL address or an address of a target test system, the temporary space is used to temporarily store a downloaded instruction or script to be executed, and the address list and data in the temporary space area may be added/deleted/modified through the air interface as required. In other words, the SIM card reserves an editable storage area in the design stage, so that the network quality detection platform or other operation platforms can add, delete, or modify data in the editable storage area through the air interface instruction. In the related art, the storage space in the SIM card is used for storing relevant information in a fixed manner except in the factory stage, for example: SIM card number, etc., and other memory spaces are only suitable for reading and editing of the terminal device, such as: storing short messages, telephone numbers and the like.
The target test system may also be referred to as a target test device or a target test platform, and may simulate various network resources to serve as target resources for network quality test, interact with a terminal, and provide standard and uniform network response. The simulated network resources may include at least one of the following: file download, multimedia video playing, cloud disk, live resources, FTP server, but the target test system may also be a specific network resource platform, and the like, and is not limited in this respect.
In this embodiment, all the instructions issued by the network quality detection platform are verified and encrypted by the digital certificate built in the SIM card, and accordingly, in the process of executing the network quality detection instructions, the network quality detection instructions and the like read from the SIM card are also verified and decrypted by the digital certificate.
Further, when the network quality detection result is returned, the returned data can be encrypted through the digital certificate, and the encrypted data is sent to the network quality detection platform.
By the method, the pre-stored instruction in the SIM card can be prevented from being maliciously read by external application or personnel, even the network quality detection platform is attacked, and the safety performance of the terminal equipment and the network quality detection platform can be improved.
As an optional implementation manner, the address to be detected of the target includes at least one of the following:
a Uniform Resource Locator (URL) address and an address of a target test system;
wherein the target test system is configured to simulate at least one of the following resources:
file downloading, multimedia video playing, a cloud disk, live broadcast resources, a File Transfer Protocol (FTP) server and a network resource platform.
In a specific implementation, the target test system may be understood as a system for simulating a network resource to be tested to serve as a target resource for network quality test, interact with a terminal, and provide a standard network response.
In the prior art, network quality detection software is installed on terminal equipment to obtain a network quality detection result through detection, but in the prior art, the network quality detection software is various, and the test method, the test principle and the standard are not uniform, so that the test result is not standard, and the test result cannot be used as a judgment basis for network fault detection diagnosis and the like in many cases. Compared with the prior art, in the embodiment, the terminal equipment can obtain a network quality detection result with a unified standard according to data interaction with the target test system, and provides a more accurate and reliable basis for network fault detection diagnosis and the like.
In practical application, the terminal device may determine whether to perform network quality detection based on the target test system according to whether the trigger instruction carries the URL address, for example: under the condition that the trigger instruction carries the URL address of the target resource, the terminal equipment accesses the URL address and acquires a network quality detection result in the access process; under the condition that the trigger instruction does not carry the URL address, the terminal device accesses the address corresponding to the target test system so as to simulate the network quality when the terminal device respectively accesses at least one of resources such as file downloading, multimedia video playing, a cloud disk, live broadcast resources, a File Transfer Protocol (FTP) server, a network resource platform and the like, and obtain a network quality detection result in the simulated access process.
The method comprises the steps that a terminal device accesses an address in a target test system, network quality detection can be achieved on the basis that normal data transmission of resources such as file downloading, multimedia video playing, a cloud disk, live broadcast resources, a File Transfer Protocol (FTP) server, a network resource platform and the like is not interfered in a mode of simulating network quality when the terminal device accesses at least one of the resources such as the file downloading, the multimedia video playing, the cloud disk, the live broadcast resources, the FTP server, the network resource platform and the like, detection results have unified standards, network quality detection results obtained after different terminal devices respectively perform data interaction with the target test system are comparable, and reliable bases can be provided for network fault detection, fault positioning and the like.
For convenience of description, the network quality detection method provided in the embodiment of the present invention is applied to the network quality detection system shown in fig. 3 as an example, and the network quality detection system shown in fig. 3 includes: the system comprises a network quality detection platform, terminal equipment and a target test system, wherein the terminal equipment comprises an SIM card and a Micro Control Unit (MCU) with a network quality detection function.
It should be noted that, when the terminal device itself has the capability of analyzing and executing the instruction sent by the network quality detection platform, the network quality detection MCU may not be provided in the terminal device, and the network quality detection system shown in fig. 3 is only an example, and is not limited specifically herein.
As shown in fig. 4, in operation, the network quality detection platform issues an address list and a related instruction set to the space of the SIM card through the air interface according to the specific requirements of the network quality test, and stores the address list and the related instruction set in advance, where the address list includes an address of the target test system to be tested; the network quality detection platform issues a trigger instruction to the terminal equipment, the network quality detection MCU is triggered to read the instruction and the address stored in the SIM card, the execution is carried out through the terminal, the network quality detection result of the execution interface is collected and fed back to the network quality detection platform, and therefore the network quality detection platform obtains the local real network quality data of the terminal equipment and is used for further network diagnosis and analysis.
To describe the work flow of the network quality detection system, taking the application scenario of the most common ping instruction in the network to check the network connectivity as an example, the work flow of the network quality detection system shown in fig. 3 is described, and the work flow of the network quality detection system may include the following steps:
step 1, a network quality detection platform receives feedback information of a user to know that part of terminal equipment accessing the internet based on an Internet of things SIM card cannot normally access a certain video playing system and suspects that a serious network quality problem exists in a cellular mobile network. Based on the above, the network quality detection platform selects a part of terminal devices from the terminal devices suspected of having the network quality fed back by the user, and introduces the SIM card numbers of the terminal devices into the network quality detection platform.
Step 2, the network quality detection platform firstly analyzes whether the SIM card number exists or not through the SIM card number: owing to the factors of defaulting, limited network access speed due to exceeding of traffic, shutdown of GPRS/Evolved Packet System (EPS)/Authentication Management Function (AMF) function, shutdown and the like, so as to eliminate the terminal equipment with internet access dysfunction caused by conventional factors such as owing shutdown and the like.
And 3, after the account information and the on-off state of the terminal equipment where the SIM card is positioned are ensured to be normal. The network quality detection platform issues a command set and a target test system address to the SIM card through an air interface according to each index (illustrated by ping command here) to be detected, and writes the command set and the target test system address into a reserved space of the SIM card.
And 4, the terminal equipment checks the address and the instruction set transmitted by the air interface through a digital certificate preset in the SIM card, and writes the real instruction set and address into the SIM card space after ensuring the real instruction set and address transmitted by the network quality detection platform.
And 5, after the instruction set and the address are issued to the SIM card, the network quality detection platform issues a trigger instruction (initNetQualityCheck) to target terminal equipment, and after the terminal receives the trigger instruction, the terminal further issues the trigger instruction to other modules (such as a network quality detection MCU) in the terminal equipment through an Attention (AT) instruction so as to receive the AT instruction through the network quality detection MCU, read the instruction set and the address in the appointed area of the SIM card and drive the terminal to execute the target instruction stored in the SIM card space so as to detect the network quality of the target address. For example: the terminal device initiates ping request and AT command for 100 times to the video playing system: AT + QPING.
And 6, after the terminal equipment completes the quality detection instruction according to the instruction set and the address stored in the SIM card, returning SIM card ID (Subscriber Mobile phone number (MSISDN)/integrated circuit card identification code (ICCID)/International Mobile Subscriber identification code (IMSI)) of the terminal equipment and a corresponding network quality detection result to the network quality detection platform according to the requirement. Therefore, after the network quality detection platform obtains the local real network quality detection result of the terminal, further network quality analysis and diagnosis can be carried out according to the network quality detection result.
Referring to fig. 5, another network quality detection method provided in an embodiment of the present invention is similar to the network quality detection method shown in fig. 1, except that an execution main body of the network quality detection method shown in fig. 1 is a terminal device, and an execution main body of the method embodiment shown in fig. 5 is a network quality detection platform, and as shown in fig. 5, the another network quality detection method may include the following steps:
step 501, sending a trigger instruction to the terminal device, wherein the trigger instruction is associated with the target address to be detected.
Step 502, receiving a network quality detection result corresponding to the target address to be detected, which is fed back by the terminal device.
In specific implementation, the trigger instruction, the target address to be detected, and the network quality detection result have the same meanings as those of the trigger instruction, the target address to be detected, and the network quality detection result in the embodiment of the method shown in fig. 1, respectively, and are not described herein again.
Optionally, before the sending the trigger instruction to the terminal device, the method further includes:
and sending a write-in instruction to the terminal equipment through an air interface so as to write a target address and a target instruction set into an SIM card of the terminal equipment, wherein the target address comprises the target address to be detected, and the target instruction set comprises the target network quality detection instruction.
In a specific implementation, the write command, the target address, and the target instruction set have the same meanings as those of the write command, the target address, and the target instruction set in the embodiment of the method shown in fig. 1, and are not described herein again.
The network quality detection method provided by the embodiment of the method and executed by the network quality detection platform corresponds to each step in the embodiment of the method shown in fig. 1, and can implement execution of the network quality detection process and feedback of the network quality detection result by the remote control terminal device together.
The embodiment of the invention also provides an SIM card, which comprises a first storage space, wherein the first storage space is used for storing a target address and a target instruction set, the target instruction set comprises a target network quality detection instruction, the target address comprises a target address to be detected, and when the target network quality detection instruction is executed by terminal equipment, a network quality detection result when the terminal equipment accesses the target address to be detected is obtained.
In a specific embodiment, the target address and the target instruction set stored in the first storage space may be issued by the network quality detection platform through an air interface instruction, and certainly, the target address and the target instruction set stored in the first storage space may also be pre-stored in the SIM card before being shipped from a factory. Alternatively, one of the target instruction set and the target address may be stored in the SIM card in advance, and the network quality detection platform may instruct the other one of the target instruction set and the target address through the air interface, which is not limited herein.
In addition, besides the target address and the target instruction set, a digital certificate may be stored in the SIM card in a manner of issuing through an air interface or pre-storing, so as to perform digital verification on the instructions issued through the air interface by using the digital certificate, and only store the instructions that pass the verification.
In addition, the first storage space may be a different storage space from the storage space used for storing the user data in the prior art, for example: as shown in fig. 2, the storage space of the SIM card may be divided into: at least two storage spaces, wherein a digital certificate, an address list, and an instruction set issued by the network quality detection platform are stored in a first storage space (i.e., the storage space 1 shown in fig. 2), specifically, the instruction set may be stored in a temporary space in the storage space 1, and the storage space 2 may be used to store other data of the SIM card in the prior art.
In operation, the network quality detection platform may write a digital certificate (generally, a public key) and an address list into the SIM card through the air interface according to the quality verification requirement of the terminal device, where the address list stores a resource pool URL address or an address of a target test system, the temporary space is used to temporarily store a downloaded instruction or script to be executed, and the address list and data in the temporary space area may be added/deleted/modified through the air interface as required. In other words, the SIM card provided by the present invention reserves an editable storage area in the design stage, so that the network quality detection platform or other operation platforms can perform operations such as adding, deleting, and modifying data in the editable storage area through the air interface instruction. In the related art, the storage space in the SIM card is used for storing relevant information in a fixed manner except in the factory stage, for example: SIM card number, etc., and other memory spaces are only suitable for reading and editing of the terminal device, such as: storing short messages, telephone numbers and the like.
By adopting the SIM card provided by the embodiment of the application, after the SIM card is assembled in the terminal equipment, the network quality detection platform can utilize the target address and the target instruction set stored in the SIM card to remotely control the terminal equipment to detect the network quality when the terminal equipment accesses the target address to be detected in the target address, and remotely control the terminal equipment to feed back the network quality detection result.
Referring to fig. 6, which is a structural diagram of a first network quality detection apparatus according to an embodiment of the present invention, the first network quality detection apparatus is applied to a terminal device, where the terminal device includes a subscriber identity module SIM card, and as shown in fig. 6, the first network quality detection apparatus 600 includes:
a first receiving module 601, configured to receive a trigger instruction sent by the network quality detection platform;
a reading module 602, configured to read a pre-stored target network quality detection instruction from the SIM card in response to the trigger instruction, where the trigger instruction is associated with a target address to be detected;
the detection module 603 is configured to execute the target network quality detection instruction to obtain a network quality detection result when the terminal device accesses the target address to be detected;
a first sending module 604, configured to send the network quality detection result to the network quality detection platform.
Optionally, the first network quality detecting apparatus 600 further includes:
a third receiving module, configured to receive a write instruction sent by the network quality detection platform through an air interface;
and the writing module is used for responding to the writing instruction and writing a target address and a target instruction set into the SIM card, wherein the target address comprises the target address to be detected, and the target instruction set comprises the target network quality detection instruction.
Optionally, the writing module is specifically configured to:
and verifying the write-in instruction by adopting a preset digital certificate, and writing a target address and a target instruction set into the SIM card under the condition that the verification is passed.
Optionally, the target address to be detected includes at least one of the following:
URL address and address of the target test system;
wherein the target test system is configured to simulate at least one of the following resources:
file downloading, multimedia video playing, a cloud disk, live broadcast resources, a File Transfer Protocol (FTP) server and a network resource platform.
The first network quality detection apparatus 600 provided in the embodiment of the present invention can perform each process performed by the terminal device in the method embodiment shown in fig. 1, and can obtain the same beneficial effects, and for avoiding repetition, details are not described here again.
Referring to fig. 7, which is a structural diagram of a second network quality detection apparatus according to an embodiment of the present invention, the second network quality detection apparatus is applied to a network quality detection platform, and as shown in fig. 7, a second network quality detection apparatus 700 includes:
a second sending module 701, configured to send a trigger instruction to a terminal device, where the trigger instruction is associated with a target address to be detected;
a second receiving module 702, configured to receive a network quality detection result corresponding to the target address to be detected, where the network quality detection result is fed back by the terminal device.
Optionally, the second network quality detection apparatus 700 further includes:
a third sending module, configured to send a write instruction to the terminal device through an air interface, so as to write a target address and a target instruction set into an SIM card of the terminal device, where the target address includes the target address to be detected, and the target instruction set includes the target network quality detection instruction.
The second network quality detection apparatus 700 provided in the embodiment of the present invention can perform each process performed by the network quality detection platform in the method embodiment shown in fig. 5, and can obtain the same beneficial effects, and for avoiding repetition, details are not repeated herein.
Optionally, as shown in fig. 8, an electronic device 800 according to an embodiment of the present invention is further provided, and includes a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and capable of running on the processor 801, where the program or the instruction is executed by the processor 801 to implement the processes in the method embodiments shown in fig. 1 or fig. 5, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present invention include mobile electronic devices and non-mobile electronic devices.
An embodiment of the present invention further provides a computer-readable storage medium, where a program or an instruction is stored on the computer-readable storage medium, and when the program or the instruction is executed by a processor, the process of the method embodiment shown in fig. 1 or fig. 5 is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of embodiments of the present invention is not limited to performing functions in the order illustrated or discussed, but may include performing functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. 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 (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. A network quality detection method is applied to terminal equipment, wherein the terminal equipment comprises a subscriber identity SIM card, and the method comprises the following steps:
receiving a trigger instruction sent by the network quality detection platform;
responding to the trigger instruction, reading a pre-stored target network quality detection instruction from the SIM card, wherein the trigger instruction is associated with a target address to be detected;
executing the target network quality detection instruction to obtain a network quality detection result when the terminal equipment accesses the target address to be detected;
and sending the network quality detection result to the network quality detection platform.
2. The method according to claim 1, wherein before said receiving the triggering instruction sent by the network quality detection platform, the method further comprises:
receiving a writing instruction sent by the network quality detection platform through an air interface;
and responding to the writing instruction, writing a target address and a target instruction set into the SIM card, wherein the target address comprises the target address to be detected, and the target instruction set comprises the target network quality detection instruction.
3. The method of claim 2, wherein said writing a target address and a target instruction set into the SIM card in response to the write instruction comprises:
and verifying the write-in instruction by adopting a preset digital certificate, and writing a target address and a target instruction set into the SIM card under the condition that the verification is passed.
4. The method of claim 1, wherein the target address to be detected comprises at least one of:
a Uniform Resource Locator (URL) address and an address of a target test system;
wherein the target test system is configured to simulate at least one of the following resources:
file downloading, multimedia video playing, a cloud disk, live broadcast resources, a File Transfer Protocol (FTP) server and a network resource platform.
5. A network quality detection method is applied to a network quality detection platform, and the method comprises the following steps:
sending a trigger instruction to the terminal equipment, wherein the trigger instruction is associated with the target address to be detected;
and receiving a network quality detection result corresponding to the target address to be detected, which is fed back by the terminal equipment.
6. The method of claim 5, wherein before the sending the trigger instruction to the terminal device, the method further comprises:
and sending a write-in instruction to the terminal equipment through an air interface so as to write a target address and a target instruction set into an SIM card of the terminal equipment, wherein the target address comprises the target address to be detected, and the target instruction set comprises the target network quality detection instruction.
7. A network quality detection device is applied to terminal equipment, wherein the terminal equipment comprises a subscriber identity SIM card, and the device comprises:
the first receiving module is used for receiving a trigger instruction sent by the network quality detection platform;
the reading module is used for responding to the trigger instruction and reading a pre-stored target network quality detection instruction from the SIM card, wherein the trigger instruction is associated with a target address to be detected;
the detection module is used for executing the target network quality detection instruction so as to obtain a network quality detection result when the terminal equipment accesses the target address to be detected;
and the first sending module is used for sending the network quality detection result to the network quality detection platform.
8. A network quality detection device is applied to a network quality detection platform, and the device comprises:
the second sending module is used for sending a trigger instruction to the terminal equipment, wherein the trigger instruction is associated with the target address to be detected;
and the second receiving module is used for receiving a network quality detection result which is fed back by the terminal equipment and corresponds to the target address to be detected.
9. The SIM card is characterized by comprising a first storage space, wherein the first storage space is used for storing a target address and a target instruction set, the target instruction set comprises a target network quality detection instruction, the target address comprises a target address to be detected, and when the target network quality detection instruction is executed by a terminal device, a network quality detection result when the terminal device accesses the target address to be detected is obtained.
10. An electronic device comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps in the network quality detection method according to any one of claims 1 to 4 or implementing the steps in the network quality detection method according to claim 5 or 6.
11. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps in the network quality detection method according to one of the claims 1 to 4, or carries out the steps in the network quality detection method according to one of the claims 5 or 6.
CN202110817259.5A 2021-07-20 2021-07-20 Network quality detection method and device, SIM card and electronic equipment Pending CN115643599A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110817259.5A CN115643599A (en) 2021-07-20 2021-07-20 Network quality detection method and device, SIM card and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110817259.5A CN115643599A (en) 2021-07-20 2021-07-20 Network quality detection method and device, SIM card and electronic equipment

Publications (1)

Publication Number Publication Date
CN115643599A true CN115643599A (en) 2023-01-24

Family

ID=84939333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110817259.5A Pending CN115643599A (en) 2021-07-20 2021-07-20 Network quality detection method and device, SIM card and electronic equipment

Country Status (1)

Country Link
CN (1) CN115643599A (en)

Similar Documents

Publication Publication Date Title
EP1859638B1 (en) Apparatus and methods for product acceptance testing on a wireless device
KR101052167B1 (en) Apparatus and methods for determining network access performance of a wireless device
US9538404B2 (en) Apparatus and methods for product acceptance testing on a wireless device
CN106534289B (en) Automatic testing method, device and system
CN111800412B (en) Advanced sustainable threat tracing method, system, computer equipment and storage medium
CN111200837B (en) Wi-Fi software testing system and method
CN111918308A (en) Non-public network measuring method, device, equipment and storage medium
CN104581785A (en) Wireless network testing method, testing device and mobile terminal
CN107172075B (en) Communication method, system and readable storage medium based on network isolation
CN104796896B (en) A kind of method, apparatus and system of wireless network authorization access
CN109683997B (en) Method for accessing application program interface through sandbox, sandbox and sandbox equipment
CN105187390B (en) Active mobile terminal Malware network flow data collection acquisition methods and system
CN104853378A (en) Method, device and terminal for detecting access capability of WIFI network
CN109922484B (en) Test method and test device
CN111130929B (en) Method and system for automatically testing WIFI throughput
CN106304166B (en) System and method for testing number of concurrent users of wireless router
CN1937461B (en) Terminal test device based on terminal management business
WO2023134312A1 (en) Content charging test method, management device, terminal device and storage medium
CN115643599A (en) Network quality detection method and device, SIM card and electronic equipment
CN106919836B (en) Application port detection method and device
CN105163335B (en) A kind of network access management method, server, mobile terminal and system
CN109960646B (en) Application testing method and terminal
CN114585011A (en) Network quality testing method and device
CN107634851B (en) Method for dynamically configuring server by mobile terminal
CN109474572B (en) Method and system for monitoring and capturing horse release sites based on cluster botnet

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