CN110730472B - Communication certificate state detection method and server - Google Patents

Communication certificate state detection method and server Download PDF

Info

Publication number
CN110730472B
CN110730472B CN201910880262.4A CN201910880262A CN110730472B CN 110730472 B CN110730472 B CN 110730472B CN 201910880262 A CN201910880262 A CN 201910880262A CN 110730472 B CN110730472 B CN 110730472B
Authority
CN
China
Prior art keywords
abnormal
communication
test
quasi
certificate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910880262.4A
Other languages
Chinese (zh)
Other versions
CN110730472A (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.)
Shenzhen Youke Yunlian Technology Co ltd
Shenzhen Ucloudlink New Technology Co Ltd
Original Assignee
Shenzhen Youke Yunlian Technology Co ltd
Shenzhen Ucloudlink New Technology 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 Shenzhen Youke Yunlian Technology Co ltd, Shenzhen Ucloudlink New Technology Co Ltd filed Critical Shenzhen Youke Yunlian Technology Co ltd
Priority to CN201910880262.4A priority Critical patent/CN110730472B/en
Publication of CN110730472A publication Critical patent/CN110730472A/en
Application granted granted Critical
Publication of CN110730472B publication Critical patent/CN110730472B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/60Subscription-based services using application servers or record carriers, e.g. SIM application toolkits

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application is applicable to the technical field of communication, and provides a communication certificate state detection method, which comprises the following steps: acquiring a plurality of session records of each communication certificate, and identifying the use state of the communication certificate according to the session records; if the use state of any communication certificate is an abnormal state, identifying the communication certificate as a quasi-abnormal communication certificate; sending a test instruction for testing the quasi-abnormal communication voucher to test equipment, and acquiring a test result of each quasi-abnormal communication voucher fed back by the test equipment based on the test instruction; and identifying the quasi-abnormal communication certificate with the test result of abnormal test as an abnormal communication certificate. The application also discloses a server for detecting the communication certificate state. By adopting the embodiment of the invention, the use of the communication certificate is more reasonably distributed on the basis of realizing the state detection of the communication certificate, thereby reducing the cost.

Description

Communication certificate state detection method and server
Technical Field
The present application belongs to the field of communications technologies, and in particular, to a method for detecting a state of a communication credential and a server.
Background
The cloud card is a Subscriber Identity Module (SIM) card placed in a card carrying device at the cloud end of a server, the server reads cloud card information through the card carrying device and sends the cloud card information to a terminal device, and the terminal device registers an operator network according to the cloud card information to realize wireless communication. In the process of using the cloud card, the cloud card cannot be normally used due to insufficient flow, network faults, configuration parameter errors and the like, but the cloud card cannot be normally used only due to the objective reasons, but not due to the faults of the cloud card. In practical application, the specific reason of the failure of the SIM card is not generally distinguished, but the SIM card with the failure is directly subjected to card stopping operation.
Because the prior art can not accurately and automatically identify the specific reasons of the SIM card use faults, the SIM card with faults caused by the reasons is identified as an abnormal card, the SIM card which does not have faults per se is directly stopped, so that resource waste is caused, the abnormal cloud card is often distributed to users for use, and the success rate of user communication operation is reduced. Therefore, the existing SIM card leasing technology cannot accurately identify the specific reasons causing the faults of each cloud card, causes inaccurate marking of state information, causes resource waste, further increases the cost, and causes low success rate of user communication operation due to the fact that abnormal cloud cards are distributed to users.
Disclosure of Invention
The embodiment of the application provides a state detection method of a communication certificate and a server, which can solve the problem that specific reasons of faults cannot be manually detected one by one under the condition of huge quantity of cloud cards, and can reduce the probability of misjudging normal cloud cards as abnormal cards while solving the former problem, thereby reducing the cost and improving the success rate of communication operation used by a user.
A first aspect of an embodiment of the present invention provides a method for detecting a state of a communication credential, including:
acquiring a plurality of session records of each communication certificate, and identifying the use state of the communication certificate according to the session records;
if the use state of any communication certificate is an abnormal state, identifying the communication certificate as a quasi-abnormal communication certificate;
sending a test instruction for testing the quasi-abnormal communication voucher to test equipment, and acquiring a test result of each quasi-abnormal communication voucher fed back by the test equipment based on the test instruction;
and identifying the quasi-abnormal communication certificate with the test result of abnormal test as an abnormal communication certificate.
In one possible implementation form of the first aspect,
the obtaining a plurality of session records of each communication certificate and identifying the use state of the communication certificate according to the plurality of session records comprises:
determining a session type of each of the session records of the communication credentials;
if the session type is a credential switching type or a traffic exception type, identifying the session record as an exception record;
selecting the abnormal records with the creation time within a preset detection period as target abnormal records according to the creation time of each abnormal record;
and if the abnormal number of the target abnormal records is larger than a preset session abnormal threshold, identifying that the use state of the communication certificate corresponding to the session records is an abnormal state.
For example, the abnormal state may be represented by the communication credential running out of traffic, and may also be represented by zero uploading speed and downloading speed of the network of the communication credential.
In a possible implementation manner of the first aspect, the detection method further includes:
acquiring the operating parameters of the quasi-abnormal communication voucher, and if the operating parameters exceed the range of preset standard parameters, identifying the quasi-abnormal communication voucher as an unavailable communication voucher; and/or
Identifying a session position of the quasi-abnormal communication certificate, and acquiring a first historical session record matching all communication certificates with the session position;
if the abnormal number of the abnormal session records in all the first historical session records is larger than a first abnormal threshold value, identifying that the test result of the target communication certificate is a local area network fault; and/or
Identifying the operator identification to which the quasi-abnormal communication certificate belongs, and acquiring a second historical session record of all communication certificates matched with the operator identification;
if the abnormal number of the abnormal session records in all the second historical session records is larger than a second abnormal threshold, identifying that the test result of the quasi-abnormal communication certificate is an operator fault;
and if the test result is the regional network fault or the operator fault, identifying the quasi-abnormal communication certificate as a suspended communication certificate.
For example, all communication credentials matched with the session position may be communication credentials of a circumferential area with a certain distance as a radius and with a quasi-abnormal communication credential position as a center; or all communication certificates in any shape area with the position of the quasi-abnormal communication certificate as the center; or all communication credentials that occur within the same communication base station cell or communication location area TAC as the session.
In a possible implementation manner of the first aspect, after the identifying, if the test result is the local area network failure or the operator failure, that the quasi-abnormal communication credential is a suspend communication credential, the detecting method further includes:
and if the quasi-abnormal communication certificate is the suspended communication certificate, setting the distribution priority of the quasi-abnormal communication certificate to be the minimum value.
In a possible implementation manner of the first aspect, the detecting method further includes:
acquiring test parameters associated with the quasi-abnormal communication certificate; the test parameters comprise test times and the number of parallel test devices;
selecting a plurality of idle devices matched with the number of the test devices from a test device library as the test devices;
based on the testing times, executing testing operation on the quasi-abnormal communication certificate through a plurality of testing devices, and receiving testing data fed back by each testing terminal;
and generating the test result of the quasi-abnormal communication certificate based on all the test data.
For example, the idle device is a test device for detecting an abnormal communication credential, and may be a test device in a standby state or a test device in a shutdown state.
In a possible implementation manner of the first aspect, the detection method further includes:
if the test result is that the test is passed, identifying the quasi-abnormal communication voucher as an available communication voucher;
the identifying the quasi-abnormal communication credential with the test result as the test abnormality as an abnormal communication credential includes:
and if the test result is abnormal, identifying the quasi-abnormal communication certificate as an unavailable communication certificate, and adding all unavailable communication certificates to a disabled certificate list.
Illustratively, the result of the test passing is used as a basis for the server to identify the quasi-anomalous communication credentials as available communication credentials.
A second aspect of an embodiment of the present invention provides a server for detecting a communication credential status, including:
the data acquisition module is used for acquiring a plurality of session records of each communication certificate and identifying the use state of the communication certificate according to the session records;
the quasi-abnormal state identification module is used for identifying the communication certificate as a quasi-abnormal communication certificate if the using state of any communication certificate is an abnormal state;
the control module is used for sending a test instruction for testing the quasi-abnormal communication voucher to test equipment and acquiring a test result of each quasi-abnormal communication voucher fed back by the test equipment based on the test instruction;
and the abnormal state identification module is used for identifying the quasi-abnormal communication voucher with the test result of abnormal test as an abnormal communication voucher.
A third aspect of embodiments of the present invention provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the first aspect when executing the computer program.
The fourth aspect of the embodiments of the present invention also provides a computer-readable storage medium, which stores a computer program that, when executed by a processor, implements the steps of the first aspect.
The implementation of the method for detecting the state of the communication certificate and the server provided by the embodiment of the application has the following beneficial effects:
the embodiment of the invention identifies the communication certificate as the quasi-abnormal communication certificate by acquiring a plurality of session records of each communication certificate and according to the use states of the plurality of acquired communication certificates, namely when the communication certificate has network faults. The quasi-abnormal communication certificate is only used for preliminarily identifying and marking the communication certificate with the fault, and the quasi-abnormal communication certificate cannot be directly judged to be the unavailable communication certificate, so that the fault reason needs to be further identified. Therefore, the server calls the testing equipment to test the abnormal communication credentials so as to determine the fault type of each abnormal communication credential. The server sends a test instruction for testing the quasi-abnormal communication voucher to the test equipment, acquires a test result, identifies the quasi-abnormal communication voucher with the test result of failure as the abnormal communication voucher, distinguishes whether the abnormal condition of the obtained communication voucher belongs to self abnormality or not, improves the accuracy of state detection, avoids resource waste caused by state identification errors, and reduces the operation cost. On the other hand, due to the fact that the abnormal communication certificate is automatically and accurately identified, the abnormal communication certificate is prevented from being sent to the user to be used, the success rate of communication operation of the user can be improved, and the use experience of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of an implementation of a method for detecting a state of a communication credential according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating a detailed implementation of a method S101 for detecting a state of a communication credential according to a second embodiment of the present invention;
fig. 3, fig. 4 and fig. 5 are flowcharts of an implementation of a method for detecting a state of a communication credential according to a third embodiment of the present invention;
fig. 6 is a flowchart of an implementation of a method for detecting a status of a communication credential according to a fourth embodiment of the present invention;
fig. 7 is a flowchart of an implementation of a method for detecting a status of a communication credential according to a fifth embodiment of the present invention;
fig. 8 is a flowchart of an implementation of a method for detecting a state of a communication credential according to a sixth embodiment of the present invention;
FIG. 9 is a schematic diagram of an application scenario of the present invention;
FIG. 10 is a diagram of interactions between various principals of the present invention;
FIG. 11 is a schematic diagram of a server according to an embodiment of the present invention;
fig. 12 is a block diagram of a state server for communicating credentials according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing a relative importance or importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The method for detecting the state of the communication certificate provided by the embodiment of the application can be applied to terminal devices such as a mobile phone, a tablet personal computer, a wearable device, a vehicle-mounted device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, a super-mobile personal computer (UMPC), a netbook, and a Personal Digital Assistant (PDA), and the embodiment of the application does not limit the specific types of the terminal devices at all.
For example, the terminal device may be a Station (ST) in a WLAN, and may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with Wireless communication capability, a computing device or other processing device connected to a Wireless modem, a vehicle mounted device, a vehicle networking terminal, a computer, a laptop, a handheld communication device, a handheld computing device, a satellite Wireless device, a Wireless modem card, a Set Top Box (STB), a Customer Premises Equipment (CPE), and/or other devices for communicating over a Wireless system and a next generation communication system, such as a Mobile terminal in a 5G Network or a Mobile terminal in a future evolved Public Land Mobile Network (PLMN) Network, and the like.
By way of example and not limitation, when the terminal device is a wearable device, the wearable device may also be a generic term for intelligently designing daily wearing by applying a wearable technology, developing wearable devices, such as glasses, gloves, watches, clothes, shoes, and the like. A wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction and cloud interaction. The generalized wearable intelligent device has the advantages that the generalized wearable intelligent device is complete in function and large in size, can realize complete or partial functions without depending on a smart phone, such as a smart watch or smart glasses, and only is concentrated on a certain application function, and needs to be matched with other devices such as the smart phone for use, such as various smart bracelets for monitoring physical signs, smart jewelry and the like.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention identifies the communication certificate as the quasi-abnormal communication certificate by acquiring a plurality of session records of each communication certificate and according to the use states of the plurality of acquired communication certificates, namely when the communication certificate has network faults. The quasi-abnormal communication certificate is only used for preliminarily identifying and marking the communication certificate with the fault, and the quasi-abnormal communication certificate cannot be directly judged to be the unavailable communication certificate, so that the fault reason needs to be further identified. Therefore, the server calls the testing equipment to test the abnormal communication certificate so as to determine the fault type of each quasi-abnormal communication certificate. The server sends a test instruction for testing the quasi-abnormal communication voucher to the test equipment, acquires a test result, identifies the quasi-abnormal communication voucher with the test result of failure as the abnormal communication voucher, distinguishes whether the abnormal condition of the obtained communication voucher belongs to self abnormality or not, improves the accuracy of state detection, avoids resource waste caused by state identification errors, and reduces the operation cost.
In the embodiment of the invention, the execution subject of the flow is the server. Fig. 1 shows a flowchart of an implementation of a method for detecting a communication credential according to a first embodiment of the present invention, which is detailed as follows:
in S101, a plurality of session records of each communication credential are acquired, and a usage state of the communication credential is identified according to the plurality of session records.
In this embodiment, the session record may specifically include: session location, operator identification, network parameters, etc.
In this embodiment, the communication credential may specifically be a SIM card. The user can register the operator network according to the cloud card information through the cloud card information of the SIM card placed in the card carrying equipment at the cloud end of the server, wireless communication is achieved, namely the user terminal used by the user does not need to load the SIM card, and the SIM card at the cloud end of the server can be called to achieve services such as voice call and network data flow. The embodiment takes a cloud card as an example. All session records of the cloud card can be written into a database of the server in the process from the time when the cloud card is allocated to the remote user terminal to the time when the cloud card logs out of the remote user terminal, particularly, the server can allocate corresponding storage addresses in the database according to identification codes of the cloud cards, and all the session records of the cloud card are stored in the storage addresses associated with the identification codes of the cloud cards. The session record may include information such as usage of traffic during the usage of the cloud card, a record of the card change, a specific reason for the card change, an International Mobile Subscriber Identity (IMSI) of the cloud card, a cloud card registration operator, a country where the cloud card is used, a location where the cloud card is used, and a cloud card registration record. The server may preset a plurality of session parameter items, extract parameter values corresponding to the session parameter items from the session records, and import the parameter values into the storage area associated with the cloud card. The server can extract a plurality of session records about each communication certificate from the database as required, namely extract a plurality of session information in the session records, analyze and judge the obtained session information, and then identify the use state of the cloud card.
In this embodiment, the database may obtain a required session record from the cloud card information management platform, in addition to extracting a plurality of session records of each communication credential from the database. The cloud card information platform can store information carried by the cloud card, such as the type of the SIM card, a registrable network list of the SIM card, and the like. The cloud card network failure causes a plurality of reasons, which may include network failures caused by condition factors such as regional network failures, operator network failures, card parameter configuration errors, and the like. Therefore, due to the fact that the failure causes are various, the specific cause of the cloud card network failure needs to be determined, and the cloud card can be more reasonably used. In order to solve the foregoing problems, the method for monitoring a communication credential provided in the present application needs to obtain a plurality of session records of a plurality of cloud cards, that is, a plurality of session information of the plurality of cloud cards, so as to determine a specific cause of a cloud card failure, reasonably allocate the use of the cloud cards, and improve the experience of a user.
In S102, if the usage status of any of the communication credentials is abnormal, the communication credential is identified as a quasi-abnormal communication credential.
In this embodiment, after the server extracts the plurality of session records of the plurality of communication credentials, it needs to analyze session information in the plurality of acquired session records, and when the acquired session information of each communication credential is not matched with the standard session information or the plurality of session records of each communication credential are judged to be abnormal according to a preset rule, the server performs identification processing on the communication credentials with the abnormality, that is, preliminarily marks the communication credentials as the quasi-abnormal communication credentials.
Specifically, in this embodiment, if the following two phenomena occur in the process of being allocated for use by the cloud card, it is determined that the communication credential has a network failure.
The first phenomenon: the cloud card cannot normally register in an operator network, a terminal user can initiate a card change request, the reason of the card change request and the record of the card change can be recorded in a session record of the card, the session record can record the reason of the card change, if the reason of the card change is detected to be in an abnormal reason list, the cloud card is identified to be an abnormal cloud card, the cloud card is identified to be incapable of normally accessing the network and cannot be added to an available certificate list again, and the use state of the cloud card in the situation is an abnormal state. A second phenomenon: the cloud card can normally register in the operator network, but the network fails to normally generate flow, which shows that the actually generated flow is smaller than a preset flow threshold, and the use state of the cloud card in the case is an abnormal state.
In S103, a test instruction for testing the quasi-abnormal communication credentials is sent to a test device, and a test result of each quasi-abnormal communication credential fed back by the test device based on the test instruction is obtained.
In this embodiment, there are many reasons for the cloud card network failure, and the cloud card network failure includes the network failure caused by objective condition factors such as a regional network failure, an operator network failure, and a card parameter configuration error. Therefore, the server needs to call the testing equipment to test the quasi-abnormal communication certificate, and confirms whether the cloud card fault is caused by objective condition factors or self factors according to the testing result fed back by the testing equipment.
And when the test result is detected to be the abnormal card fault, sending a test instruction to the test terminal so as to further identify the abnormality of the cloud card with the abnormal card fault through the test terminal to determine the cause of the abnormality. The instructions sent to the test terminal may include a wakeup instruction and a card change instruction, where the card change instruction is specifically a quasi-abnormal communication certificate after the test is completed, and if the test result is successful, the server notifies the device to change the card and requests to change another quasi-abnormal communication certificate for testing. The wake-up instruction is specifically a new test task, that is, when the abnormal communication certificate needs to be aligned for testing, the device is notified to cancel dormancy and send a card distribution request, and after receiving the wake-up instruction, the device sends the card distribution request to the server. Optionally, when the test of the test terminal is completed and there is no quasi-abnormal communication certificate to be tested, the server may send a sleep instruction to the test terminal, where the sleep instruction is specifically used to notify the device to enter a sleep state, and it is not necessary to send the sub-card again
In this embodiment, the test device may be automatically connected to the server through the wireless communication network after being powered on. In particular, the wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), general Packet Radio Service (GPRS), code Division Multiple Access (CDMA), wideband Code Division Multiple Access (WCDMA), long Term Evolution (LTE)), email, short Message Service (SMS), and the like. When the server does not distribute the test task to the test equipment, the test equipment is in a sleep state. When the server needs the testing equipment to detect the abnormal communication certificate, a wake-up instruction can be sent to the testing equipment, and when the to-be-tested equipment is converted from a standby state to a ready state, the server distributes a testing task to the testing equipment. Preferably, when the server needs to test the abnormal communication certificate by the test device in the sleep state, the test device can directly allocate a test task to the test device, where the test task includes an awakening instruction, and after receiving the test task allocated by the server, the test device immediately switches from the sleep state to the working state to execute a detection task for aligning the abnormal communication certificate.
In S104, the quasi-abnormal communication credential whose test result is abnormal is identified as an abnormal communication credential.
In this embodiment, the server receives feedback of test results from the test equipment aligning the abnormal communication credentials, where the test results include test pass and test fail. The test is passed, which means that the communication certificate which is preliminarily recognized as the quasi-abnormal communication certificate by the server is normally usable, i.e. can be distributed to the remote user terminal for use again. And identifying the quasi-abnormal communication certificate which fails to be tested as an abnormal communication certificate, namely indicating that the abnormal communication certificate cannot be normally used, namely cannot be distributed for use again. In particular, the server generally directly takes the shutdown operation for the cloud card identified as the abnormal communication certificate, that is, when the server allocates the cloud card to the remote user terminal for use, the cloud card identified as the abnormal communication certificate is automatically excluded, and the communication certificate without abnormal occurrence is preferentially selected as the cloud card to be allocated to the remote user terminal for use. The cloud cards identified as the quasi-abnormal communication credentials need to be tested, the state of the cloud cards is temporarily suspended, the assigned priority of the cloud cards is the lowest level, and the sequence of the quasi-abnormal communication credentials selected by the server when the cloud cards are assigned to the far-end user terminals is the last.
Fig. 2 is a flowchart of a detailed implementation of a method S101 for detecting a state of a communication credential according to a second embodiment of the present invention. Referring to fig. 2, with respect to the embodiment shown in fig. 1, S101 in the method for monitoring the status of the communication credential according to the embodiment of the present application may include S1011 to S1014, which are described in detail as follows:
in S1011, a session type of each of the session records of the communication credentials is determined.
In this embodiment, the session record may record session content, that is, operations specifically performed by the user during the session, such as voice call, data traffic transmission, communication credential switching, telephone charge recharging, parameter changing, and the like. Different operations may correspond to different session types, and the server may determine the session type of the session record based on the operation information in the session record.
In S1012, if the session type is a credential switching type or a traffic exception type, the session record is identified as an exception record.
In this embodiment, the communication credential is in a normal operation state within a certain period of time during the process of being allocated to the remote user terminal, until a network failure occurs, the communication credential can normally generate traffic data, that is, data is received and sent through the mobile communication network, and at a certain time, the communication credential may not be normally used due to reasons such as zero available traffic, adjustment of configuration information of the cloud card by an operator network, failure of a validity period of the cloud card, and the like.
In this embodiment, in the process of responding to the data traffic transmission operation initiated by the user, if the data traffic value at a certain time is smaller than the preset minimum traffic value, which means that there is little traffic or no traffic, the session type is set as the traffic exception type.
In this embodiment, if the server detects that the session type of a certain session record is one of the two types, the server identifies the session record as an abnormal record.
In S1013, according to the creation time of each exception record, the exception record whose creation time is within a preset detection period is selected as a target exception record.
In this embodiment, when the server selects a target exception record, the creation time of each exception record is determined, and if the difference between the creation time of the exception record and the creation time of other exception records is smaller than a preset associated time threshold, the candidate session record is identified as the target exception record, so that all session records with exception triggering time occurring within a certain time range can be screened out.
In S1014, if the number of exceptions in the target exception record is greater than a preset session exception threshold, it is identified that the usage state of the communication credential corresponding to the session record is an exception state.
In this embodiment, if the server counts that the number of the exceptions that occur in the target session record within the preset association time threshold difference is less than or equal to the preset session exception threshold, the communication credentials corresponding to the target exception record and the abnormal session record, which are the session records, are identified to be in a normal state, that is, the communication credentials can be used. And if the server detects that the number of the abnormal target records occurring in the preset association time threshold difference is larger than a preset session abnormal threshold, identifying that the session records, namely the abnormal target records and the communication certificates corresponding to the abnormal session records, are in an abnormal state, namely abnormal communication certificates.
Fig. 3, fig. 4, and fig. 5 are flowcharts illustrating an implementation of a method for detecting a state of a communication credential according to a second embodiment of the present invention.
In S301, a plurality of session records of each communication credential are acquired, and a usage status of the communication credential is identified according to the plurality of session records.
Since the specific implementation processes of S301 and S101 are the same, the specific description may refer to the related description of S101, and will not be described herein again.
At 302, it is determined whether the communication credential is in an abnormal state, i.e., whether a network failure has occurred.
In S303, if the communication credential is not in an abnormal state, i.e. no network failure occurs, the communication credential is identified as a normal communication credential, and can be normally allocated to the remote user terminal for use.
In S304, if any communication credential has a network failure, the communication credential is identified as a quasi-abnormal communication credential, that is, the server initially identifies the communication credential having the network failure as the quasi-abnormal communication credential.
In S305, the operation parameters of the quasi-abnormal communication credential are acquired.
In this embodiment, after determining that a communication credential is a quasi-abnormal communication credential, the server needs to determine an abnormal reason of the quasi-abnormal communication credential, so that the server can obtain the operating parameters of the abnormal communication credential. The operating parameters may include, but are not limited to: residual flow, residual telephone charge, pre-configured data network access number, communication address and other parameters.
In S306, if the operating parameter exceeds a preset standard parameter range, the quasi-abnormal communication credential is identified as an unavailable communication credential.
In this embodiment, different operating parameters may be configured with corresponding standard parameter ranges, for example, for the remaining flow rate, that is, the standard parameter range is greater than 0; for the data network access number, corresponding to a legal access number range, it can be determined whether the network access number falls within the legal access number range. And after obtaining the operation parameters of the obtained quasi-abnormal communication certificate, the server compares the operation parameters with the corresponding standard parameter range, if the operation parameters exceed the standard parameter range, the quasi-abnormal communication certificate is represented as abnormal card and is set as an unavailable communication certificate.
Fig. 4 shows an implementation flow of the method for determining a failure of a local area network according to this embodiment.
In S401, a plurality of session records of each communication credential are acquired, and a usage status of the communication credential is identified according to the plurality of session records.
Since the specific implementation processes of S401 and S101 are the same, reference may be made to the related description of S101 for specific description, and details are not described herein again.
At 402, it is determined whether the communication credential is in an abnormal state, i.e., whether a network failure occurs.
In S403, if the communication credential is not in an abnormal state, i.e. no network failure occurs, the communication credential is identified as a normal communication credential, and can be normally allocated to the remote user terminal for use.
In S404, if any communication credential has a network failure, the communication credential is identified as a quasi-abnormal communication credential, that is, the server initially identifies the communication credential having the network failure as the quasi-abnormal communication credential.
In S405, a session location of the quasi-anomalous communication credential is identified, and a first historical session record matching all communication credentials with the session location is obtained.
In an embodiment, if any communication certificate is identified as a quasi-abnormal communication certificate, the server obtains a session location of the communication certificate identified as the quasi-abnormal communication certificate, and also obtains a first historical session record of all communication certificates matched with the session location. Here, matching all the communication credentials with the session position may be understood as obtaining an associated circular region corresponding to the session position by taking the session position of the quasi-abnormal communication credential as a center and taking a certain distance as a radius, and if the session position of the session record of any one of the communication credentials is within the associated circular region, identifying the session record as a first history session record matching the session position, where the shape of the associated region may also be determined to be any shape such as a rectangle, a triangle, and the like according to a preset rule. Optionally, the server may further query a base station identifier or a communication location identifier corresponding to the session record of the quasi-abnormal communication credential, where the base station identifier includes an operator number of the base station, and the operator number may be arranged based on information such as a cell or a location where the base station is located. And the server inquires base station representation or communication position identification of other session records, and if the base station representation or the communication position identification of the session record of the quasi-abnormal communication certificate is detected to be consistent with the base station representation or the communication position identification of the session record of the quasi-abnormal communication certificate, the other session records are identified as a first historical session record.
In S406, it is determined whether the abnormal number of abnormal session records in all the first historical session records is greater than a first abnormal threshold.
In S407, if the number of exceptions in the exception session record in all the first historical session records is not greater than the first exception threshold, the test result of the target communication credential is identified as a non-regional network fault, that is, the network fault of the target communication credential is identified as a non-regional network fault.
In S408, if the number of exceptions in the exception session record in all the first historical session records is greater than the first exception threshold, it is identified that the test result of the target communication credential is a local area network failure, that is, it is identified that the network failure of the target communication credential is caused by a domain network failure.
In this embodiment, if the number of network failures occurring in the first historical session records of all communication credentials matching with the quasi-abnormal communication credential location is greater than the first abnormal threshold, it may be identified that the reasons that the network failures occur in the quasi-abnormal communication credential and all communication credentials matching with the quasi-abnormal communication credential location are both caused by a regional network failure factor. The first historical session record may be a session record of information in the session records of all communication credentials that match the quasi-anomalous communication credential location for which the geographic location may be determined. The first anomaly threshold may be a preset number of anomalous communication credentials. And if the abnormal communication certificate in the first historical session record exceeds a first abnormal threshold value within a certain period range, identifying the test result of the target communication certificate as a local area network fault. Preferably, when the server selects the target session record, the server determines the creation time of each candidate session record, where a specific session position of the candidate session record is a session record matching the session position of the abnormal session record of the quasi-abnormal communication credential. And if the difference value between the creation time of the candidate session record and the creation time of the abnormal session record is smaller than a preset associated time threshold value, identifying the candidate session record as a target session record, so that all session records with abnormal triggering time in a certain time range and abnormal session positions can be screened out.
Specifically, the session location of the quasi-abnormal communication credential may be determined by the international mobile subscriber identity IMSI of the communication credential. The IMSI is defined by the international telecommunication union e.212 standard, and is composed of a Mobile Country Code (MCC), a Mobile Network Code (MNC), and a Mobile subscriber identity Code (MSIN). The country of the quasi-communication credential in which the session operation occurs can be identified according to the MCC. Further, the session position of the user terminal can be determined according to the identification of the user terminal and the interactive information between the user terminal and the nearby base station. And after the conversation position of the quasi-communication certificate is determined, acquiring conversation records of all communication certificates in the conversation position area, and judging that the area network has a fault if the number of the abnormity of all the acquired communication certificates is larger than a preset threshold value. The preset threshold value can be an abnormal ratio threshold value set according to the quantity of the communication certificates thrown in the area. For example, if the number of the communication credentials released in a certain area is N, the communication credentials with a fault in the area is N/2, and the proportion reaches 50%, it is determined that a network fault occurs in the area.
Fig. 5 shows an implementation flow of the method for determining an operator fault according to this embodiment. Steps S501 to S504 correspond to and are the same as steps S301 to S304, and are not described herein again.
In S505, the operator id to which the quasi-abnormal communication certificate belongs is identified, and a second historical session record of all communication certificates matching the operator id is obtained
In this embodiment, the server acquires the operator identification of the communication credential identified as the quasi-abnormal communication credential, and acquires the second history session record of all communication credentials matching the aforementioned operator identification. All communication credentials that match the operator identity refer to communication credentials of the same operator as all the quasi-anomalous communication credentials.
In S506, it is determined whether the number of abnormal sessions recorded in the second history session record is greater than a second abnormal threshold.
In S507, if the number of exceptions of the exception session record in the second history session record is not greater than the second exception threshold, the network failure reason identified as the i-approved exception communication credential is the non-operator failure.
In S508, the test result of the quasi-abnormal communication credential is identified as an operator failure.
In this embodiment, if the number of exceptions in the abnormal session record in the second historical session record is greater than the second exception threshold, the test result of the quasi-abnormal communication credential is identified as an operator fault, that is, the network fault of the quasi-abnormal communication credential is caused by the operator fault. The second historical session record is a session record of all communication certificates of the same operator with the network fault, and the second abnormal threshold value is the preset number of the abnormal communication certificates of the same operator. And if the abnormal communication certificate in the second historical session record exceeds a second abnormal threshold value within a certain period range, identifying that the test result of the target communication certificate is an operator fault. Preferably, when the server selects the target session record, it determines the creation time of each candidate session record, wherein the candidate session record operator identifies the session record matching the operator identification of the abnormal session record of the quasi-abnormal communication certificate. And if the difference value between the creation time of the candidate session record and the creation time of the abnormal session record is smaller than a preset associated time threshold value, identifying the candidate session record as a target session record, so that all session records with abnormal triggering time within a certain time range and generated by the identified operator peer certificate can be screened out.
Specifically, the identifier of the operator is information carried by the communication certificate itself, and the server can obtain the identifier of the operator through the communication certificate management platform. When the communication certificate of the operator of the A identification has a problem, the use states of all the communication certificates of the A identification distributed to the remote user terminal in the available certificate list are obtained. If the number of the faults of the communication voucher marked by A in the available voucher list reaches a preset threshold value, the fault of the operator is judged, and if not, the fault of the operator is eliminated. For example, if the number of the communication credentials identified by a is M, and the ratio of the number of the failed communication credentials identified by a to M/3 reaches 33.3%, it is determined that a network failure occurs in the area.
Fig. 6 is a flowchart of an implementation of a method for detecting a state of a communication credential according to a fourth embodiment of the present invention.
Fig. 6 is an implementation flow for identifying a quasi-anomalous communication credential for a network anomaly due to a regional network failure and an operator failure as a pending communication credential.
In S601, if the test result is the local area network failure or the operator failure, the quasi-abnormal communication credential is identified as a suspended communication credential.
In this embodiment, if the test result is that the local area network fails or the operator fails, the quasi-abnormal communication credential is identified as the suspend communication credential. For the condition that the suspended communication certificate indicates that the communication certificate of the type can be used unstably in a partial area during the use process, the calling priority of the communication certificate can be adjusted.
In S602, if the quasi-abnormal communication credential is a suspend communication credential, the distribution priority of the quasi-abnormal communication credential is set to a minimum value.
In this embodiment, if a certain quasi-abnormal communication credential is a suspend communication credential, the abnormal condition of the quasi-abnormal communication credential may require a certain repair time, or the usage may be unstable, before the abnormal repair is completed, the communication credential is in an unavailable state, and in order to avoid being invoked in the current state, the server sets the distribution priority of the communication credential in the suspend state to the minimum value, that is, the distribution priority is the lowest, and finally distributes the communication credential in the suspend state. In particular, when responding to the call request of the user, the communication certificates are distributed to the user for use from high to low in sequence based on the distribution priority
Specifically, if the test equipment determines that the fault cause of the quasi-abnormal communication certificate is caused by other objective condition factors such as a regional network fault, an operator fault and the like, the communication certificate can be eliminated. The objective condition factors can be overcome, after the regional network is recovered to be normal and the operator fault is eliminated, the quasi-abnormal communication voucher can recover the normal operation state, and the quasi-abnormal communication voucher of the fault caused by the regional network fault, the operator fault and other objective condition factors is identified as the objective condition factor after being tested by the testing equipment, namely, the quasi-abnormal communication voucher is identified as the suspended communication voucher, namely, the available communication vouchers can be used by the server again, but the calling priority of the available communication vouchers needs to be limited, so that the cloud card can be reasonably arranged to be used, and the cost is reduced.
Fig. 7 is a flowchart of a detailed implementation of the method S103 for detecting a state of a communication credential according to a fifth embodiment of the present invention. Referring to fig. 7, in the method for monitoring the state of the communication credential in the embodiment of the present application, S103 includes S701 to S704, which are detailed as follows:
in S701, the test parameters associated with the quasi-abnormal communication credential are obtained.
In this embodiment, the test parameters associated with the quasi-abnormal communication certificate include the number of tests and the number of parallel test devices.
In S702, a plurality of idle devices matching the number of the test devices are selected from the test device library as the test devices.
In this embodiment, since there are a large number of cloud cards remotely and simultaneously invoked by a plurality of different remote user terminals, it often occurs that communication credentials with a plurality of faults are simultaneously identified. In order to meet the fault detection requirement, the fault detection system is provided with a plurality of test devices for testing the identified quasi-abnormal communication certificate. Specifically, a plurality of test devices may be placed in the same device library, and the test devices in the device library may be in a standby state after being started and when not receiving the test task, and if the server detects the quasi-abnormal communication credential, the test device may generate the test task related to the quasi-abnormal communication credential, and send the test task to the test device in the standby state, and at this time, the test device switches from the standby state to a task response state, and executes the test task of the server. When the test task is finished and a new test task is not received, the test equipment in the test library can automatically enter a dormant state, so that the loss of the test equipment is reduced.
In S703, based on the number of testing times, a plurality of testing devices execute testing operations on the abnormal-alignment communication certificate, and receive test data fed back by each testing terminal.
In this embodiment, the number of tests may be adjusted as needed, and in order to improve the test accuracy of the test device, the abnormal communication credentials may be aligned through a plurality of test devices for testing, and the test data of the plurality of test devices may be fed back to the server. Specifically, in the actual application process, under the condition that whether a single test device works normally or not is not excluded, a plurality of test devices can be adopted to test the same abnormal communication certificate, and the error probability of the test result can be further reduced.
In S704, the test result of the quasi-abnormal communication credential is generated based on all the test data.
In this embodiment, the server analyzes the obtained test data fed back by each test device to obtain a test result of the quasi-abnormal communication credential. Specifically, if a certain test data shows an abnormality and the test data of other test devices shows a normal result, then this indicates that there is an abnormality in a certain test device, and the test result of the quasi-abnormal communication certificate should be normal rather than abnormal. The server can be provided with an abnormal proportion, and if the ratio of the number of the abnormal test data to the total number of the test data is larger than the abnormal proportion, the test result of the quasi-abnormal communication certificate is identified as abnormal; otherwise, if the ratio of the abnormal test data number to the total test data number is smaller than or equal to the abnormal proportion, the test result of the quasi-abnormal communication certificate is identified to be normal.
Fig. 8 is a flowchart of an implementation of a method for detecting a state of a communication credential according to a sixth embodiment of the present invention.
In S801, a test instruction for testing the quasi-abnormal communication credentials is sent to the test device, and a test result of each quasi-abnormal communication credential fed back by the test device based on the test instruction is obtained.
Since the specific implementation processes of S801 and S103 are the same, the specific description may refer to the related description of S103, and will not be described herein again.
In S802, it is determined whether the test result of the quasi-abnormal communication credential passes.
In S803, if the test result is a test exception, the quasi-exception communication credential is identified as an unavailable communication credential, and all unavailable communication credentials are added to a disabled credential list.
In this embodiment, if it is detected that the test result of a certain quasi-abnormal communication credential is abnormal, the communication credential is disabled, specifically, the quasi-abnormal communication credential is identified as an unavailable communication credential, the server may add all the unavailable communication credentials to the disabled credential list, and the server may not re-allocate all the communication credentials in the disabled credential list until the abnormal condition of the communication credentials in the list is repaired, and then re-set the unavailable communication credentials as the available communication credentials.
In S804, if the test result is that the test is passed, the quasi-abnormal communication credential is identified as an available communication credential.
In this embodiment, if the test result is that the test passes, the quasi-abnormal communication credential is identified as the available communication credential.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 9 is an overall operational scenario of a cloud card from being distributed for use by a remote user terminal. The communication certificate in the invention can be a SIM card. As shown in fig. 9, a Random Access Memory (RAM) machine room and a server implement interactive operations such as data exchange, storage, and update through a switch. And the server distributes the cloud cards meeting the requirements in the cloud card management and scheduling module to the remote user terminal for use according to the user requirements. The remote user terminal can use the data traffic of the cloud card through a wireless network technology.
Fig. 9 shows an application scenario of the present invention, which includes a terminal, a mobile network, a cloud card management schedule, and a card loading device. Here, the terminal includes: the mobile terminal includes a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and other terminal devices, and the specific type of the terminal device is not limited in the embodiment of the present application.
Fig. 10 is another application scenario of the present invention, and the implementation subject of the present scenario is a server. The remote user terminal goes out of the country due to business trip or traveling, and most people do not choose to handle the communication certificate of the operator in the business trip or the traveling place in a short time. The invention is therefore intended to solve the problem of the occurrence of product services provided for this situation, in particular the identification of specific factors of network failure. In the application, in step (1), the server allocates a cloud card matching the geographic location of the user terminal from the cloud card pool according to the request of the user terminal. In step (2), the session records of the cloud card allocated to the remote user terminal are all recorded in the database, and the database allocates a plurality of storage addresses according to the operator identification codes of the communication certificates or other identification codes of the communication certificates to store the session records of the communication certificates. In step (3), the server performs data analysis on the session record of the communication certificate with the exception. Step (4) in the figure is carried out simultaneously, when the abnormal communication voucher occurs, the server modifies the state of the communication voucher, namely the available state is modified into a test state, and meanwhile, the server generates a test task for testing the abnormal communication voucher. In step (5), the server distributes the test task to the test equipment, and the test equipment immediately executes the test task of the server once receiving the test instruction of the server. After the test is finished, the server analyzes a final test result according to the test data fed back by the test equipment, and then performs state modification on the communication certificate in the test state according to the test result. And modifying the state of the communication certificate passing the test from the test state to an available state, and modifying the state of the communication certificate failing the test from the test state to an abnormal state, namely an unavailable state.
Fig. 9 and fig. 10 are combined to understand an application scenario of the present invention, and fig. 10 is an interaction diagram between the entities of the communication credential status detection method provided in the above embodiments, which is convenient for understanding the above embodiments, but does not limit the above embodiments.
Fig. 11 is a block diagram of a server for detecting a state of a communication credential according to an embodiment of the present invention. Referring to fig. 11, a state detection server of communication credentials includes:
a data obtaining module 111, configured to obtain a plurality of session records of each communication credential, and identify a use state of the communication credential according to the plurality of session records; the plurality of session records includes:
session location information, operator identification information, network parameter information, etc.
A quasi-abnormal state identification module 112, configured to identify the communication credential as a quasi-abnormal communication credential if the usage state of any of the communication credentials is an abnormal state;
the quasi-abnormal communication certificate is the primary identification of the communication certificate with the network failure by the server.
The control module 113 is configured to send a test instruction for testing the quasi-abnormal communication credentials to a test device, and obtain a test result of each quasi-abnormal communication credential, which is fed back by the test device based on the test instruction;
the test instructions include: a test task execution instruction and a test equipment awakening instruction.
An abnormal state identification module 114, configured to identify the quasi-abnormal communication credential with the test result being a test abnormality as an abnormal communication credential.
The abnormal communication certificate is an unavailable communication certificate
The data acquisition module 111 includes:
the session type identification module is used for determining the session type of each session record of the communication certificate;
an abnormal record identification module, configured to identify the session record as an abnormal record if the session type is a credential switching type or a traffic abnormal type;
the target abnormal record selecting module is used for selecting the abnormal record with the creating time within a preset detection period as a target abnormal record according to the creating time of each abnormal record;
and the abnormal state judging module is used for identifying the use state of the communication certificate corresponding to the session record as an abnormal state if the abnormal number of the target abnormal record is greater than a preset session abnormal threshold value.
Therefore, the server for detecting the state of the communication certificate provided by the embodiment of the invention can reasonably distribute the use of the communication certificate on the basis of realizing the state detection of the communication certificate, thereby realizing the purpose of reducing the cost.
Fig. 12 is a schematic diagram of a server for detecting a communication credential status according to another embodiment of the present invention. As shown in fig. 12, the terminal device 12 of this embodiment includes: a memory 121, a processor 122, and a computer program 1211, such as a communication credential status detection program, stored in the memory 121 and operable on the processor 122. The processor 122, when executing the computer program 1211, implements the steps of the above-mentioned embodiments of the communication credential status detection method, such as S101 to S104 shown in fig. 1. Alternatively, the processor 122, when executing the computer program 1211, implements the functions of the modules in the server embodiments, such as the functions of the modules 12121, 12122, 12123 and 12124 shown in fig. 12.
Illustratively, the computer program 1211 may be divided into one or more units, which are stored in the memory 121 and executed by the processor 122 to accomplish the present invention. The one or more units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 1211 in the server device 12.
The server device 12 may be an RAM machine room or a cloud server. The server device may include, but is not limited to, a processor 122, a memory 121. Those skilled in the art will appreciate that fig. 12 is merely an example of a server device 12 and does not constitute a limitation of a terminal device 12, and may include more or fewer components than shown, or some components in combination, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
The Processor 122 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 121 may be an internal storage unit of the server device 12, such as a hard disk or a memory of the server device 12. The memory 121 may also be an external storage device of the server device 12, such as a plug-in hard disk provided on the server device 1212, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 121 may also include both an internal storage unit of the server device 12 and an external storage device. The memory 121 is used for storing the computer programs and other programs and data required by the terminal device. The memory 121 may also be used to temporarily store data that has been output or is to be output.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein.

Claims (10)

1. A method for detecting a state of a communication credential, comprising:
acquiring a plurality of session records of each communication certificate, and identifying the use state of the communication certificate according to the session records;
if the use state of any communication certificate is an abnormal state, identifying the communication certificate as a quasi-abnormal communication certificate;
sending a test instruction for testing the quasi-abnormal communication voucher to test equipment, and acquiring a test result of each quasi-abnormal communication voucher fed back by the test equipment based on the test instruction;
identifying the quasi-abnormal communication voucher with the test result of abnormal test as an abnormal communication voucher;
the communication credential includes a cloud card.
2. The state detection method of claim 1, wherein the obtaining a plurality of session records for each communication credential and identifying the usage state of the communication credential from the plurality of session records comprises:
determining a session type of each of the session records of the communication credentials;
if the session type is a credential switching type or a traffic exception type, identifying the session record as an exception record;
selecting the abnormal records with the creation time within a preset detection period as target abnormal records according to the creation time of each abnormal record;
and if the abnormal number of the target abnormal records is larger than a preset session abnormal threshold, identifying that the use state of the communication certificate corresponding to the session records is an abnormal state.
3. The status detection method according to claim 1, wherein after identifying that the communication credential is a quasi-abnormal communication credential if the usage status of any of the communication credentials is an abnormal status, the method comprises:
acquiring the operating parameters of the quasi-abnormal communication voucher, and if the operating parameters exceed the range of preset standard parameters, identifying the quasi-abnormal communication voucher as an unavailable communication voucher; and/or
Identifying a session position of the quasi-abnormal communication certificate, and acquiring a first historical session record matching all communication certificates with the session position;
if the abnormal number of the abnormal session records in all the first historical session records is larger than a first abnormal threshold value, identifying the test result of the quasi-abnormal communication certificate as a regional network fault; and/or
Identifying the operator identification to which the quasi-abnormal communication certificate belongs, and acquiring second historical session records of all communication certificates matched with the operator identification;
if the abnormal number of the abnormal session records in all the second historical session records is larger than a second abnormal threshold, identifying that the test result of the quasi-abnormal communication certificate is an operator fault;
and if the test result is the regional network fault or the operator fault, identifying the quasi-abnormal communication certificate as a suspended communication certificate.
4. The status detection method according to claim 3, wherein after identifying the quasi-abnormal communication credential as a suspend communication credential if the test result is the local area network failure or the operator failure, further comprising:
and if the quasi-abnormal communication certificate is the suspended communication certificate, setting the distribution priority of the quasi-abnormal communication certificate to be the minimum value.
5. The status detection method according to any one of claims 1 to 4, wherein the sending a test instruction for testing the quasi-abnormal communication credentials to a test device and obtaining a test result, fed back by the test device based on the test instruction, about each of the quasi-abnormal communication credentials comprises:
acquiring test parameters associated with the quasi-abnormal communication certificate; the test parameters comprise test times and the number of parallel test devices;
selecting a plurality of idle devices matched with the number of the test devices from a test device library as the test devices;
based on the test times, executing test operation on the quasi-abnormal communication certificate through a plurality of test devices, and receiving test data fed back by each test device;
generating the test result of the quasi-abnormal communication certificate based on all the test data.
6. The status detection method according to any one of claims 1 to 4, further comprising, after sending a test instruction for testing the quasi-abnormal communication credentials to a test device and obtaining a test result, fed back by the test device based on the test instruction, about each of the quasi-abnormal communication credentials:
if the test result is that the test is passed, identifying the quasi-abnormal communication voucher as an available communication voucher;
the identifying the quasi-abnormal communication credential with the test result as the test abnormality as an abnormal communication credential includes:
if the test result is abnormal, identifying the quasi-abnormal communication certificate as an unavailable communication certificate, and adding all unavailable communication certificates to a disabled certificate list.
7. A server for detecting a communication credential status, comprising:
the data acquisition module is used for acquiring a plurality of session records of each communication certificate and identifying the use state of the communication certificate according to the session records;
the quasi-abnormal state identification module is used for identifying the communication certificate as a quasi-abnormal communication certificate if the using state of any communication certificate is an abnormal state;
the control module is used for sending a test instruction for testing the quasi-abnormal communication voucher to test equipment and acquiring a test result of each quasi-abnormal communication voucher fed back by the test equipment based on the test instruction;
and the abnormal state identification module is used for identifying the quasi-abnormal communication voucher with the test result of abnormal test as an abnormal communication voucher.
8. The server of claim 7, wherein the data acquisition module comprises:
the session type identification module is used for determining the session type of each session record of the communication certificate;
an abnormal record identification module, configured to identify the session record as an abnormal record if the session type is a credential switching type or a traffic abnormal type;
the target abnormal record selecting module is used for selecting the abnormal record with the creating time within a preset detection period as a target abnormal record according to the creating time of each abnormal record;
and the abnormal state judging module is used for identifying the use state of the communication certificate corresponding to the session record as an abnormal state if the abnormal number of the target abnormal record is greater than a preset session abnormal threshold value.
9. A server comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 6.
CN201910880262.4A 2019-09-18 2019-09-18 Communication certificate state detection method and server Active CN110730472B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910880262.4A CN110730472B (en) 2019-09-18 2019-09-18 Communication certificate state detection method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910880262.4A CN110730472B (en) 2019-09-18 2019-09-18 Communication certificate state detection method and server

Publications (2)

Publication Number Publication Date
CN110730472A CN110730472A (en) 2020-01-24
CN110730472B true CN110730472B (en) 2023-01-13

Family

ID=69219184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910880262.4A Active CN110730472B (en) 2019-09-18 2019-09-18 Communication certificate state detection method and server

Country Status (1)

Country Link
CN (1) CN110730472B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112464978B (en) * 2021-01-15 2024-03-01 北京智联安行科技有限公司 Method and device for identifying abnormal terminals of Internet of vehicles
CN113163393A (en) * 2021-03-29 2021-07-23 深圳市优克联新技术有限公司 System, method and device for distributing cloud card, terminal equipment, server and medium
CN113448308A (en) * 2021-04-14 2021-09-28 南方电网科学研究院有限责任公司 Remote closed-loop test system and method for stability control system
CN114190916B (en) * 2021-12-07 2023-05-23 河南省儿童医院郑州儿童医院 Fabric sensor-based child respiration monitoring method and system
CN114338131A (en) * 2021-12-24 2022-04-12 北京京东振世信息技术有限公司 Terminal off-line use method, management method, terminal, management end and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713058A (en) * 2015-11-13 2017-05-24 ***通信集团公司 Card resource test method, device and system based on cloud
CN106851615A (en) * 2017-01-09 2017-06-13 宇龙计算机通信科技(深圳)有限公司 A kind of method and terminal of smart card abnormality processing
CN107333292A (en) * 2017-07-10 2017-11-07 深圳市优克联新技术有限公司 A kind of SIM card state judging method and device
CN110113779A (en) * 2019-05-13 2019-08-09 努比亚技术有限公司 Test method, system, test platform, mobile terminal and the medium of eSIM card

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160295544A1 (en) * 2015-03-31 2016-10-06 Globetouch, Inc. Enhanced cloud sim

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713058A (en) * 2015-11-13 2017-05-24 ***通信集团公司 Card resource test method, device and system based on cloud
CN106851615A (en) * 2017-01-09 2017-06-13 宇龙计算机通信科技(深圳)有限公司 A kind of method and terminal of smart card abnormality processing
CN107333292A (en) * 2017-07-10 2017-11-07 深圳市优克联新技术有限公司 A kind of SIM card state judging method and device
CN110113779A (en) * 2019-05-13 2019-08-09 努比亚技术有限公司 Test method, system, test platform, mobile terminal and the medium of eSIM card

Also Published As

Publication number Publication date
CN110730472A (en) 2020-01-24

Similar Documents

Publication Publication Date Title
CN110730472B (en) Communication certificate state detection method and server
US11172335B2 (en) Positioning operation method, apparatus, and system
US20210022022A1 (en) Method and device for monitoring network data
US20220210757A1 (en) Multi-card user equipment and communication method therefor, and network device
CN110351828B (en) Positioning method and device
CN105122868B (en) The performance monitoring that WLAN shunts in a wireless cellular network
CN108463805A (en) User equipment for moving edge calculations selects
WO2016041171A1 (en) Method and apparatus for determining terminal roaming status, terminal and server
CN104090839A (en) Simulation test method and device for abnormal scene
US11228975B2 (en) Service control apparatus, charging management server, service control method, charging information management method, and computer readable medium
CN103957514B (en) Prompt the method and device of user
CN108197958B (en) Method and device for counting off-line cattle and storage medium
CN113301555B (en) Resident cell determining method, device, equipment, medium and product
CN108460854A (en) The attendance punch card method and system of mobile terminal based on wireless network
CN116567601A (en) Emergency call control method, system, chip module, equipment and medium
CN103441889B (en) Statistical information generating method and system
CN101951585A (en) User identity authentication method, system and mobile communication terminal
CN107766212A (en) Determine the method and device of the installment state of application program
CN113452533B (en) Charging self-inspection and self-healing method and device, computer equipment and storage medium
CN106657682B (en) A kind of method and device detecting User Status event
CN105191365A (en) Localized secure user plane location (SUPL) emergency session
CN107317721A (en) It is automatically signing in method, device, computer equipment and user terminal
CN111371908B (en) Method, device, storage medium and electronic device for sending information
CN205040034U (en) System for communication terminal and dynamic allocation phone number
US11902165B2 (en) Traffic pattern identification and network resource management method and apparatus

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