Communication identifier processing method and device, equipment, storage medium and program product
Through the automated communication identification processing method, the communication identification collection is obtained and tested, which solves the problem of low testing efficiency in the prior art, and realizes efficient communication identification import and verification, ensuring the availability of intermediate communication identification.
Patent Information
- Application Number
- CN202510842874.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-20
- Publication Date
- 2025-08-15
AI Technical Summary
In the prior art, the testing efficiency of communication identifiers is low, especially in the import and verification of large-scale communication identifiers, it is difficult to ensure the availability of intermediate communication identifiers.
Through the automated communication identification processing method, the first and second identification sets are obtained, the communication identification is randomly selected or in terms of mass ratio, a test task is established, and a robot is used to conduct communication testing to determine the availability of the identification.
It improves the testing efficiency of communication logos, ensures the availability of intermediate communication logos, reduces manual intervention, and improves the success rate and efficiency of large-scale logo imports.
Smart Images

Figure CN120499255A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a communication identification processing method, apparatus, device, storage medium, and program product. Background Art
[0002] Currently, to protect the privacy of both communicating parties, an intermediate communication identifier is assigned and bound to each party when establishing a communication connection. Each party can then use its own communication identifier and the intermediate communication identifier to establish a communication connection with the other party. In related technologies, to ensure the availability of the assigned intermediate communication identifier, operators manually test the availability of the assigned intermediate communication identifier before assigning it. However, this communication identifier testing method is inefficient. Summary of the Invention
[0003] In view of this, the present disclosure provides a communication identification processing method, apparatus, device, storage medium and program product to solve the problem of low communication identification testing efficiency.
[0004] In a first aspect, the present disclosure provides a method for processing a communication identifier, the method comprising:
[0005] Acquire a first identification set and a second identification set, wherein the first identification set includes assignable communication identifications, and the second identification set includes communication identifications for testing;
[0006] Determine a first communication identifier from the first identifier set and create a first test task;
[0007] Determining a second communication identifier and a third communication identifier in the first test task from the second identifier set, wherein the first test task is used to establish a communication connection between the second communication identifier and the third communication identifier through the first communication identifier;
[0008] A communication test is performed based on the first test task to obtain a test result of the first communication identifier.
[0009] In a second aspect, the present disclosure provides a communication identification processing device, the device comprising:
[0010] A data acquisition module, configured to acquire a first identification set and a second identification set, wherein the first identification set includes assignable communication identifications, and the second identification set includes communication identifications for testing;
[0011] A first processing module, configured to determine a first communication identifier from the first identifier set and create a first test task;
[0012] A second processing module is used to determine the second communication identifier and the third communication identifier in the first test task from the second identifier set, and the first test task is used to establish a communication connection between the second communication identifier and the third communication identifier through the first communication identifier;
[0013] The first test module is used to perform a communication test based on the first test task to obtain a test result of the first communication identifier.
[0014] In a third aspect, the present disclosure provides an electronic device comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, computer instructions being stored in the memory, and the processor executing the communication identification processing method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0015] In a fourth aspect, the present disclosure provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the communication identification processing method of the first aspect or any corresponding embodiment thereof.
[0016] In a fifth aspect, the present disclosure provides a computer program product, including computer instructions, which are used to enable a computer to execute the communication identification processing method of the above-mentioned first aspect or any corresponding embodiment thereof.
[0017] The communication identifier processing method provided by the embodiment of the present disclosure determines the first communication identifier in the first identifier set and creates a first test task. Then, the second communication identifier and the third communication identifier in the first test task are determined in the second identifier set, so that the first test task is used to establish a communication connection between the second communication identifier and the third communication identifier through the first communication identifier. Therefore, the first communication identifier, the second communication identifier, and the third communication identifier can be automatically selected to establish the first test task, and the first communication identifier can be automatically tested for communication using the first test task to determine the availability of the first communication identifier. Compared with manual testing of communication identifiers, the test efficiency of communication identifiers can be effectively improved, and the availability of subsequently allocated intermediate communication identifiers can be ensured.
[0018] The beneficial effects of the communication identification processing device, electronic device, storage medium and program product correspond to the beneficial effects of the communication identification processing method and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0020] Figure 1 This is a communication interaction diagram based on a taxi-hailing scenario;
[0021] Figure 2 is a schematic diagram of an optional application scenario according to an embodiment of the present disclosure;
[0022] Figure 3 is a flow chart of a communication identification processing method according to an embodiment of the present disclosure;
[0023] Figure 4 is a flowchart of another communication identification processing method according to an embodiment of the present disclosure;
[0024] Figure 5 is a flowchart of another communication identification processing method according to an embodiment of the present disclosure;
[0025] Figure 6 This is a flowchart of a method for obtaining a first identification set according to an embodiment of the present disclosure;
[0026] Figure 7 is a flowchart of another method for obtaining a first identification set according to an embodiment of the present disclosure;
[0027] Figure 8 is a structural block diagram of a communication identification processing device according to an embodiment of the present disclosure;
[0028] Figure 9 It is a structural block diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0029] To make the purpose, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of the present disclosure.
[0030] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0031] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.
[0032] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0033] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0034] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) must comply with the requirements of relevant laws, regulations and relevant provisions.
[0035] Currently, to protect the privacy of the communication identifiers of both communicating parties, a communication connection can be established using a pre-assigned intermediate communication identifier, thereby concealing the actual communication identifiers of both parties. During communication, only the intermediate communication identifier is displayed to prevent the other party's communication identifier from being leaked. Intermediate communication identifiers are commonly used in scenarios such as food delivery, e-commerce, ride-hailing, and renting and buying cars.
[0036] See also Figure 1 In the online ride-hailing scenario shown, the driver's communication identifier is communication identifier A, and the passenger's communication identifier is communication identifier B. Communication identifiers A and B are bound to the intermediate communication identifier X. When the passenger communicates with the driver, the driver's communication terminal displays the intermediate communication identifier X.
[0037] In related technologies, available communication identifiers are primarily imported into the service system in the form of Excel files to support communication services for intermediate communication identifiers. However, when there are too many communication identifiers to be imported, this import method is prone to problems such as upload interface timeouts caused by processes such as Excel file reading, network delays, and database writing, resulting in failure to import the communication identifiers. Therefore, how to support the import of large quantities (e.g., more than 10,000) of communication identifiers has become an urgent problem to be solved.
[0038] In addition, in order to ensure the availability of the assigned intermediate communication identifier, before assigning the intermediate communication identifier, the operator will establish a binding relationship between the communication identifiers of the two communicating parties and the intermediate communication identifier, that is, the communication mode of AXB. Then, a communication test is manually initiated to the intermediate communication identifier X to verify its availability. However, with the increase in the number of intermediate communication identifiers, the time consumed by this method of verifying intermediate communication identifiers has also increased dramatically. Therefore, some related technologies choose to randomly select a few communication identifiers from the assignable intermediate communication identifiers for testing. However, with this verification method of randomly selecting communication identifiers, the availability of other communication identifiers is difficult to guarantee. Therefore, how to ensure the availability of the assigned communication identifiers has become an urgent problem to be solved.
[0039] As an optional application scenario of the embodiment of the present invention, Figure 2 As shown, the entire communication scenario includes supplier 1, service system 2, object storage system 3, and business system 4. Supplier 1 provides an assignable communication identifier to service system 2, wherein supplier 1 can upload a file with the assignable communication identifier to object storage system 3 and send the file identifier fed back by object storage system 3 to service system 2, so that service system 2 can import the assignable communication identifier. Alternatively, relevant personnel (such as operators) upload the assignable communication identifier provided by supplier 1 to object storage system 3 through the front end, and the front end initiates an import request to service system 2 (i.e., back end) based on the file identifier fed back by object storage system 3, so that service system 2 can import the assignable communication identifier. Subsequently, service system 2 performs a communication test on the assignable communication identifier and obtains a test result for the assignable communication identifier. Furthermore, based on the test result of the assignable communication identifier, service system 2 assigns an intermediate communication identifier to the communication terminal 41 in business system 4 that needs to establish a communication connection, so that communication terminal 41 uses the assigned intermediate communication identifier to establish a communication connection.
[0040] According to an embodiment of the present disclosure, an embodiment of a communication identification processing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0041] In this embodiment, a communication identification processing method is provided, which can be used in the above-mentioned service system 2. Figure 3 is a flow chart of a communication identification processing method according to an embodiment of the present disclosure, such as Figure 3 As shown, the process includes the following steps:
[0042] Step S301: Acquire a first identification set and a second identification set, wherein the first identification set includes assignable communication identifications, and the second identification set includes communication identifications used for testing.
[0043] Optionally, the assignable communication identifier and the communication identifier for testing are telephone numbers. In addition, the assignable communication identifier and the communication identifier for testing can also be instant messaging identifiers, IoT device identifiers, accounts assigned by business platforms, etc., which are not limited here.
[0044] In actual applications, a front-end user uploads a target file containing an assignable communication identifier to the object storage system, obtaining the target file's file identifier. The front-end then initiates an import request based on the file identifier. The back-end service system responds to the import request, generates an import task based on the file identifier, and imports the assignable communication identifier from the object storage system according to the import task, obtaining a first identifier set.
[0045] Optionally, the second identification set is a communication identification provided by the supplier for testing. In addition, some communication identifications may be selected from the communication identifications that have passed the test as the communication identifications for testing to obtain the second identification set.
[0046] Step S302: Determine a first communication identifier in a first identifier set and create a first test task.
[0047] Optionally, the first communication identifier is randomly selected from the first identifier set according to a preset ratio. Alternatively, a target ratio of the first communication identifier is determined based on the quality of the communication identifiers historically delivered by the supplier of the first identifier set, and the first communication identifier is randomly selected from the first identifier set based on the target ratio.
[0048] Step S303: Determine the second communication identifier and the third communication identifier in the first test task in the second identifier set, where the first test task is used to establish a communication connection between the second communication identifier and the third communication identifier through the first communication identifier.
[0049] Specifically, the second communication identifier and the third communication identifier for establishing a communication connection for the first test task are determined in the second identifier set.
[0050] Two different communication identifiers may be randomly selected from the second identifier set as the second communication identifier and the third communication identifier, or the second communication identifier and the third communication identifier may be determined based on the number of concurrent communication connections associated with the communication identifiers in the second identifier set.
[0051] Step S304: Perform a communication test based on the first test task to obtain a test result of the first communication identifier.
[0052] In practical applications, a robot may be used to execute the first test task to obtain a test result of the first communication identifier.
[0053] Specifically, using the robot's outbound calling capability, the robot uses the second communication identifier to initiate a communication connection request to the first communication identifier. The supplier of the second communication identifier (such as the operator) sends the communication connection request to the supplier of the first communication identifier. The supplier of the first communication identifier queries the service system for the bound third communication identifier based on the first and second communication identifiers. Based on the third communication identifier, a communication connection request is initiated to the supplier of the third communication identifier to establish a communication connection between the second communication identifier and the third communication identifier.
[0054] In addition, the robot can also use the third communication identifier to initiate a communication connection request to the first communication identifier to establish a communication connection between the second communication identifier and the third communication identifier. The relevant process can refer to the above-mentioned process of using the second communication identifier to initiate a communication connection request to the first communication identifier, which will not be repeated here.
[0055] The communication identifier processing method provided in this embodiment determines the first communication identifier in the first identifier set and creates a first test task. Then, the second communication identifier and the third communication identifier in the first test task are determined in the second identifier set, so that the first test task is used to establish a communication connection between the second communication identifier and the third communication identifier through the first communication identifier. Therefore, the first communication identifier, the second communication identifier, and the third communication identifier can be automatically selected to establish the first test task, and the first communication identifier can be automatically tested for communication using the first test task to determine the availability of the first communication identifier. Compared with manual testing of communication identifiers, the test efficiency of communication identifiers can be effectively improved, and the availability of subsequently allocated intermediate communication identifiers can be ensured.
[0056] In some optional implementations, determining the first communication identifier from the first identifier set in step S302 includes:
[0057] Step a1: Determine the supplier of the first identification set.
[0058] The supplier is an object that provides communication services that can allocate communication identifiers in the first identifier set.
[0059] Optionally, the supplier is an operator.
[0060] Step a2: Obtain historical test results of the communication identifier historically provided by the supplier.
[0061] It can be understood that the historical test results are used to characterize the quality of the communication identifications historically provided by the supplier.
[0062] Step a3: determining a target proportion of the first communication identifier in the first identifier set based on historical test results, wherein the target proportion is negatively correlated with the test pass rate of the communication identifier represented by the historical test results.
[0063] Understandably, the higher the test pass rate of the communication identifiers represented by the historical test results, the smaller the target percentage. That is, the better the quality of the communication identifiers provided historically, the smaller the target percentage. Furthermore, if the historical test results indicate that the quality of the communication identifiers provided historically is poor, the target percentage can be set to 100% to fully test the allocable communication identifiers in the first identifier set.
[0064] Step a4: Determine a first communication identifier from the first identifier set according to the target proportion.
[0065] That is, a first communication identifier with a target proportion is selected from the first identifier set.
[0066] The communication identifier processing method provided in this embodiment determines the target proportion of the first communication identifier to be selected in the first identifier set based on the historical test results of the communication identifiers historically provided by the suppliers of the first identifier set. Therefore, if the quality of the communication identifiers in the first identifier set is poor, the communication identifiers to be tested can be increased to ensure the availability of the subsequently allocated communication identifiers. If the quality of the communication identifiers in the first identifier set is good, the efficiency of communication identifier testing can be improved while ensuring the availability of the communication identifiers.
[0067] In some optional embodiments, the communication identifiers in the second identifier set support establishing communication connections with other different communication identifiers. For example, the supplier supports the same communication identifier initiating 10 communication connections with other different communication identifiers simultaneously. Alternatively, the supplier supports the same communication identifier responding to 5 communication connections initiated by other different communication identifiers simultaneously.
[0068] Furthermore, determining the second communication identifier and the third communication identifier in the first test task from the second identifier set in step S302 includes:
[0069] Step b1: Obtain the number of communication connections of the communication identifiers in the second identifier set.
[0070] Specifically, a key-value pair can be established between a communication identifier and a timestamp of the communication identifier as a communication responder, where the key is the communication identifier and the value is the timestamp of the communication responder, thereby building a global remote dictionary server (Redis) map for the communication identifier. At the same time, in order to avoid the loss of communication data in a certain communication record, resulting in the service system not recognizing that the communication identifier has been unbound, causing the concurrent number of the communication identifier to be occupied and unable to be selected, thereby wasting the communication identifier resources for the communication test. Therefore, if the communication identifier has been a communication responder for a period of time exceeding a preset time threshold and has not been released, the record of the communication identifier as a communication responder is automatically released. For example, the preset time threshold is 5 minutes. If the record of the communication identifier as a communication responder has not been released after more than 5 minutes, the record is deleted from the Redis Map. Furthermore, based on the record of the communication identifier as a communication responder in the Redis Map, the number of communication connections for which the communication identifier is a communication responder is obtained.
[0071] Specifically, a preset connection number is set to record the number of times a communication identifier in the second identifier set is used as a communication initiator. Each time a communication connection is initiated based on a communication identifier in the second identifier set, the preset connection number for that communication identifier is incremented by one. Each time a communication connection initiated based on that communication identifier ends, the preset connection number for that communication identifier is decremented by one. Furthermore, based on the preset connection number corresponding to the communication identifier in the second identifier set, the number of communication connections for which that communication identifier is the communication initiator is obtained.
[0072] In addition, the number of communication connections may also be determined based on the binding relationship between the communication identifier in the second identifier set and other communication identifiers.
[0073] It should be noted that in order to avoid a communication identifier binding conflict caused by the same communication identifier being bound to different communication identifiers via the same intermediate communication identifier, i.e., communication identifier A1 being bound to communication identifier B1 via intermediate communication identifier X, and communication identifier A2 being bound to communication identifier B2 via intermediate communication identifier X, when the communication connection between the second communication identifier and the third communication identifier ends, the binding relationship between the first communication identifier, the second communication identifier, and the third communication identifier needs to be untied.
[0074] Specifically, the above step b1 includes:
[0075] Step b11: Acquire the establishment time of the communication connection associated with the communication identifier in the second identifier set.
[0076] Step b12: If the time between the establishment time and the current time does not exceed a preset time threshold, the communication connection corresponding to the establishment time is determined as a valid communication connection.
[0077] Step b13: obtaining the number of communication connections of the communication identifiers in the second identification set based on the number of valid communication connections of the communication identifiers in the second identification set.
[0078] Optionally, the preset time threshold is 5 minutes. In addition, the preset time threshold can be adjusted to 6 minutes, 7 minutes, etc., which can be determined based on the establishment time of the communication connection in the historical communication test.
[0079] It is worth noting that in actual applications, the service system may not recognize that a communication connection has ended due to communication data loss. Therefore, determining the number of communication connections for a communication identifier based solely on valid communication connections whose connection duration does not exceed a preset duration threshold can prevent available communication identifiers in the second identifier set from being unselected due to communication data loss, thereby avoiding resource waste.
[0080] Step b2: Determine a second communication identifier and a third communication identifier in the second identifier set based on the number of communication connections.
[0081] Specifically, the second identification set is configured to have a first subset and a second subset; the first subset is configured as a communication identification for initiating a communication connection in a communication test; the second subset is configured as a communication identification for responding to a communication connection in a communication test. The above step b2 includes:
[0082] Step b21: Obtain a first preset maximum number of connections and a second preset maximum number of connections.
[0083] Step b22: Determine in the first subset the communication identifiers whose number of communication connections is less than the first preset maximum number of connections, and obtain a first candidate identifier.
[0084] Step b23: Determine a second communication identifier from the first candidate identifiers.
[0085] Step b24: Determine in the second subset the communication identifiers whose number of communication connections is less than the second preset maximum number of connections, and obtain second candidate identifiers.
[0086] Step b25: Determine a third communication identifier from the second candidate identifiers.
[0087] The first preset maximum number of connections is the maximum number of connections supported by the supplier for initiating communication connections using the same communication identifier, and the second preset maximum number of connections is the maximum number of connections supported by the responder for responding to communication connections using the same communication identifier.
[0088] Specifically, the second communication identifier may be randomly determined from all first candidate identifiers, and the third communication identifier may be randomly determined from all second candidate identifiers.
[0089] The communication identifier processing method provided in this embodiment determines the second communication identifier and the third communication identifier based on the number of communication connections of the communication identifiers in the second identifier set. Therefore, it can avoid the supplier intercepting the communication connection of the second communication identifier or the third communication identifier due to an excessive number of communication connections of the second communication identifier or the third communication identifier, thereby avoiding affecting the test results of the first communication identifier.
[0090] In some optional implementations, the communication identification processing method of the present disclosure further includes:
[0091] In step c1, if the first communication identifier test fails, a fourth communication identifier other than the first communication identifier in the first identifier set is obtained, and a second test task is created. The description of the second test task can be found in the description of the first test task above, and will not be repeated here.
[0092] In step c2, the fifth and sixth communication identifiers in the second test task are determined from the second identifier set. The second test task is to establish a communication connection between the fifth and sixth communication identifiers via the fourth communication identifier. The method for determining the fifth and sixth communication identifiers can be found in the method for determining the second and third communication identifiers described above and will not be further elaborated here.
[0093] Step c3: perform a communication test based on the second test task to obtain a test result of the fourth communication identifier. The manner of performing the communication test based on the second test task can refer to the manner of performing the communication test based on the first test task, and will not be described in detail here.
[0094] For example, 1% of the assignable communication identifiers in the first identifier set are used as first communication identifiers. If one first communication identifier fails the test, it indicates that the remaining 99% of the assignable communication identifiers may also be at risk of being unavailable. Therefore, these assignable communication identifiers need to be subjected to a residual communication test.
[0095] The communication identifier processing method provided in this embodiment prevents the risk of other communication identifiers in the first identifier set from failing a test on the first communication identifier. Therefore, communication tests are automatically performed on the remaining fourth communication identifiers in the first identifier set to ensure the usability of the ultimately assigned communication identifiers. Furthermore, there is no need to manually create test tasks for the remaining fourth communication identifiers, effectively saving manpower.
[0096] As a specific application example, see Figure 4 , the communication identifier processing method disclosed in the present invention mainly includes the following processes: the service system obtains a first identifier set, randomly selects a first communication identifier according to a target proportion, and creates a first test task for the first communication identifier. Then, the service system determines the second communication identifier and the third communication identifier in the second identifier set respectively. The service system binds the first communication identifier, the second communication identifier and the third communication identifier, and sends the binding relationship to the intermediate communication identifier service. The service system initiates a communication connection with the second communication identifier as the communication initiator and the first communication identifier as the communication responder. The Session Initialization Protocol (SIP) line management system sends the communication connection to the supplier of the second communication identifier. The supplier of the second communication identifier initiates a communication connection to the supplier of the first communication identifier. Then, the supplier of the first communication identifier queries the intermediate communication identifier service for the third communication identifier based on the first communication identifier and the second communication identifier, and initiates a communication connection to the third communication identifier to establish a communication connection between the second communication identifier and the third communication identifier, and obtains the test result of the first communication identifier.
[0097] Specifically, see Figure 5 After the communication connection is completed, two channels of communication data will be generated, one channel is the communication data of the supplier of the first communication identifier, and the other channel is the communication data of the supplier of the second communication identifier. After receiving the two channels of communication data, the binding relationship between the first communication identifier, the second communication identifier and the third communication identifier is released. And the communication connection status between the second communication identifier and the third communication identifier is determined based on the two channels of communication data, and the test result of the first communication identifier is obtained based on the communication connection status. Then, it is determined whether the first communication identifier test fails and the margin test is enabled. If not, based on the assignable communication identifier that passed the test, the intermediate communication identifier is assigned to the communication terminal. If so, a second test task is created based on the fourth communication identifier remaining in the first identifier set. A communication test is performed based on the second test task to obtain the test result of the fourth communication identifier. Based on the assignable communication identifier that passed the test, the intermediate communication identifier is assigned to the communication terminal.
[0098] In some alternative embodiments, see Figure 6 , the communication identification processing method disclosed in the present invention further includes:
[0099] Step S601: Obtain a file identifier of a target file after uploading it to an object storage system. The target file is used to store an assignable communication identifier.
[0100] Specifically, the supplier uploads the target file to the object storage system and sends the file identifier returned by the object storage system to the service system. Alternatively, a relevant person (such as an operations staff member) uploads the target file provided by the supplier to the object storage system through the front-end. The front-end then initiates an import request to the service system based on the file identifier returned by the object storage system. The service system responds to the import request and obtains the file identifier of the target file.
[0101] Step S602: Create an import task for the target file based on the file identifier.
[0102] Among them, one import task may correspond to the file identifiers of multiple target files, or may correspond to the file identifier of one target file, which is not limited here.
[0103] Step S603: Import the assignable communication identifiers of the target file from the object storage system through an import task to obtain a first identifier set.
[0104] Specifically, the service system executes the import task and imports the allocable communication identifiers of the target files from the object storage system in batches according to the file identifiers corresponding to the import task, thereby obtaining a first identifier set.
[0105] The communication identifier processing method provided in this embodiment, when importing a large number of allocable communication identifiers in file format, first uploads the target file to an object storage system that supports large-scale data upload. Therefore, the service system can asynchronously import the allocable communication identifiers in the target file from the object storage system based on the file identifiers returned by the object storage system. This solves the problem of import interface timeouts caused by excessive amounts of data to be imported at a time, ensuring that a large number of allocable communication identifiers are imported into the service system normally.
[0106] In some optional implementations, the above step S603 includes:
[0107] Step d1: consume the message in the message queue to obtain the target task identifier. The message in the message queue is generated based on the task identifier of the created import task.
[0108] The created import tasks include the import tasks of the target files.
[0109] Specifically, when an import task is created, a task ID is generated. The service system writes the created import task ID and the corresponding file ID into the preset task table. The task ID is then written into the message queue for processing.
[0110] In actual applications, multi-threading can be used to consume messages in the message queue, thereby utilizing multi-threading to process different import tasks in parallel.
[0111] Step d2: query the preset task table for the target import task and the target file ID corresponding to the target task ID. The preset task table is configured to record the task ID of the created import task and the file ID of the target file corresponding to the created import task.
[0112] Specifically, a thread is used to query the preset task table for the target import task and the target file identifier corresponding to the consumed target task identifier, so as to import different target files in parallel.
[0113] Specifically, the target task identifier is provided with a distributed lock. Step d2 includes: obtaining the status of the distributed lock of the target task identifier; if the distributed lock of the target task identifier is in an unlocked state, updating the distributed lock of the target task identifier to a locked state, and querying the preset task table for the target import task and the target file identifier corresponding to the target task identifier.
[0114] It is worth noting that when sending a message from a message queue, a successfully sent message may be sent again due to reasons such as response delay. Therefore, in this embodiment, a distributed lock is set for the task identifier of each created import task, and the distributed lock is used to intercept duplicate messages. For example, when a message with the target task identifier is consumed for the first time, the distributed lock of the target task identifier is set to a locked state, and the lock duration is 10 minutes. Within these 10 minutes, if a message with the target task identifier is consumed again, the target task identifier will not be processed repeatedly at this time because the distributed lock is in a locked state.
[0115] Step d3: Based on the target import task and the target file identifier, the assignable communication identifier of the corresponding target file is imported from the object storage system to obtain a first identifier set.
[0116] Furthermore, the preset task table is configured to record the task status of the created import task. Step d3 includes querying the preset task table for the target task status of the target import task based on the target task identifier; if the target task status indicates that the task is in progress, importing the assignable communication identifiers of the corresponding target files from the object storage system in batches based on the target import task and the target file identifier.
[0117] Specifically, a maximum amount of data that can be imported in a single batch and can be assigned communication identifiers is preset to obtain a preset maximum import amount. Based on the target import task and the target file identifier, the assignable communication identifiers of the corresponding target files are imported in batches from the object storage system according to the preset maximum import amount to obtain a first identifier set.
[0118] For example, if the preset maximum import quantity is 2k, then only 2k assignable communication identifiers can be imported per batch. If the target file contains 5k assignable communication identifiers, then 2k assignable communication identifiers are imported per batch from the object storage system. This batch import logic ensures high import performance for large quantities of assignable communication identifiers.
[0119] It should be noted that if occasional network fluctuations prevent the successful import of a batch of assignable communication identifiers, an alarm message will be generated. Relevant personnel can manually import the assignable communication identifiers for that batch. Alternatively, after a preset period of time, the assignable communication identifiers for that batch can be re-imported offline to compensate.
[0120] It is understandable that the assignable communication identifiers of the target tasks are imported in batches only when the target task status indicates that the task is in progress. Therefore, repeated execution of the same target import task and importing of the same assignable communication identifier can be avoided.
[0121] The communication identifier processing method provided in this embodiment writes the task identifier of the created import task into the message queue to wait for consumption processing. Therefore, the import task can be processed asynchronously, thereby avoiding the import interface from timeout due to the large number of assignable communication identifiers imported during a single import process.
[0122] In some optional implementations, the communication identification processing method of the present disclosure further includes:
[0123] Step e1: verify the identification information of the assignable communication identification in the first identification set to obtain a verification result.
[0124] The identification information includes the location and data format of the assignable communication identification.
[0125] Step e2: If there are assignable communication identifiers that fail verification in the first identifier set, the assignable communication identifiers that fail verification in the first identifier set are removed to obtain an updated first identifier set.
[0126] For example, according to the preset conditions, the location of the assignable communication identifier is "a certain area", but the actual location of the assignable communication identifier is "a certain area 1", then it is determined that the assignable communication identifier verification fails.
[0127] Among them, if there is an assignable communication identifier that fails the verification in the first identifier set, the communication identifier processing method of the present disclosure also includes updating the task status of the target import task to task execution failure and feeding back the task execution result.
[0128] Furthermore, if there is no assignable communication identifier that fails verification in the first identifier set, the task status of the target import task is updated to task execution success, and the task execution result is fed back.
[0129] The communication identification processing method provided in this embodiment, after obtaining the first identification set, further verifies the identification information of the assignable communication identifications in the first identification set, and removes the assignable communication identifications that fail the verification, thereby ensuring the availability of the finally obtained assignable communication identifications to a certain extent.
[0130] In some optional embodiments, the communication identification processing method disclosed herein further includes: providing feedback indicating successful import task creation after creating the target file import task. Furthermore, providing feedback on task execution results after the target import task is completed. Thus, feedback on import results can be provided via asynchronous messaging, allowing operators and other relevant personnel to promptly perceive task execution results.
[0131] As a specific application example, see Figure 7 The overall process of importing the target file of the communication identification processing method disclosed in the present invention includes: the operator uploads the target file to the object storage system at the front end. The front end obtains the file identification of the target file returned by the object storage system and initiates an import request to the service system based on the file identification. The service system responds to the import request, obtains the file identification, creates an import task for the target file based on the file identification, and writes the task identification and file identification of the import task into the preset task table. The service system writes the task identification into the message queue for processing, and feeds back a prompt message to the front end indicating that the import task has been successfully created. The front end displays a prompt message indicating that the import task has been successfully created.
[0132] Furthermore, the service system consumes the messages in the message queue and obtains the target task identifier. The service system obtains the distributed lock of the target task identifier. If the distributed lock is in the unlocked state, the service system reads the task information corresponding to the target task identifier in the preset task table, such as the target import task, target task status, target file identifier, etc. If the target task status is in progress, the service system imports the corresponding allocable communication identifier of the target file from the object storage system based on the target import task and the target file identifier to obtain a first identifier set. The service system verifies the identification information of the allocable communication identifier in the first identifier set. The service system determines whether the allocable communication identifier has passed the verification. If not, the service system updates the task status of the target import task to task execution failure. If so, the service system updates the task status of the target import task to task execution success. Then, the service system feeds back the task execution results to the relevant personnel.
[0133] As a specific application example, the operator uploads the target file containing the assignable communication identifier to the object storage system through the front end to obtain the file identifier of the target file. Then, the front end initiates an import request to the service system that provides the intermediate communication identifier (such as a privacy number) service based on the file identifier. The service system is configured with a target program, and the target program is used to execute the communication identifier processing method disclosed in the present invention. The service system imports the assignable communication identifier of the target file from the object storage system by calling the target program, and performs a communication test on the imported assignable communication identifier to obtain the test result of the assignable communication identifier. Furthermore, based on the test result of the assignable communication identifier, the service system provides services such as the allocation of the intermediate communication identifier.
[0134] Compared with related technologies, the communication identifier processing method of this embodiment has the following advantages: First, it can realize the normal import of large quantities of communication identifiers. Second, it can automatically perform communication tests on the imported communication identifiers, while ensuring the availability of the allocated intermediate communication identifiers, improving the test efficiency of the communication identifiers. Third, in the process of selecting the second communication identifier and the third communication identifier for the communication test, the concurrent control structure of the communication identifier is reasonably designed according to the number of communication connections, which can further improve the test efficiency of the communication identifier and reduce the test time. Fourth, when the test of the selected first communication identifier fails, the communication test is performed on the remaining fourth communication identifier, which can ensure the quality of the allocated intermediate communication identifier.
[0135] In this embodiment, a communication identification processing device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments. The details already described will not be repeated here. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.
[0136] This embodiment provides a communication identification processing device, such as Figure 8 As shown, including:
[0137] The data acquisition module 801 is configured to acquire a first identification set and a second identification set, wherein the first identification set includes assignable communication identifications and the second identification set includes communication identifications used for testing;
[0138] A first processing module 802 is configured to determine a first communication identifier from a first identifier set and create a first test task;
[0139] The second processing module 803 is used to determine the second communication identifier and the third communication identifier in the first test task from the second identifier set, where the first test task is used to establish a communication connection between the second communication identifier and the third communication identifier through the first communication identifier;
[0140] The first test module 804 is configured to perform a communication test based on a first test task to obtain a test result of a first communication identifier.
[0141] In some optional implementations, the first processing module 802 includes:
[0142] a supplier obtaining unit, configured to determine the supplier of the first identification set;
[0143] A historical data acquisition unit, used to acquire historical test results of the communication identifier historically provided by the supplier;
[0144] a proportion calculation unit, configured to determine a target proportion of the first communication identifier in the first identifier set based on historical test results, wherein the target proportion is negatively correlated with a test pass rate of the communication identifier represented by the historical test results;
[0145] The first screening unit is configured to determine a first communication identifier from the first identifier set according to a target proportion.
[0146] In some optional implementations, the communication identifier in the second identifier set supports establishing a communication connection with other different communication identifiers. The second processing module 803 includes:
[0147] A connection quantity acquisition unit, configured to acquire the number of communication connections of the communication identifiers in the second identifier set;
[0148] The second screening unit is configured to determine the second communication identifier and the third communication identifier in the second identifier set based on the number of communication connections.
[0149] In some optional implementations, the connection quantity acquiring unit includes:
[0150] A time acquisition subunit, configured to acquire the establishment time of the communication connection associated with the communication identifier in the second identifier set;
[0151] a connection screening subunit, configured to determine the communication connection corresponding to the establishment time as a valid communication connection if the time between the establishment time and the current time does not exceed a preset time threshold;
[0152] The quantity statistics subunit is used to obtain the number of communication connections of the communication identifiers in the second identification set based on the number of valid communication connections of the communication identifiers in the second identification set.
[0153] In some optional embodiments, the second identifier set is configured to include a first subset and a second subset; the first subset is configured as a communication identifier for initiating a communication connection in a communication test; and the second subset is configured as a communication identifier for responding to a communication connection in a communication test. The second screening unit includes:
[0154] A threshold acquisition subunit, configured to acquire a first preset maximum number of connections and a second preset maximum number of connections;
[0155] a first screening subunit, configured to determine, in the first subset, a communication identifier whose number of communication connections is less than a first preset maximum number of connections, and obtain a first candidate identifier;
[0156] A second screening subunit, configured to determine a second communication identifier from the first candidate identifiers;
[0157] a third screening subunit, configured to determine, in the second subset, a communication identifier whose number of communication connections is less than a second preset maximum number of connections, to obtain a second candidate identifier;
[0158] The fourth screening subunit is configured to determine a third communication identifier from the second candidate identifiers.
[0159] In some optional implementations, the communication identification processing device of the present disclosure further includes:
[0160] A third processing module is configured to obtain a fourth communication identifier other than the first communication identifier in the first identifier set and create a second test task if the first communication identifier test fails;
[0161] a fourth processing module, configured to determine, from the second identifier set, a fifth communication identifier and a sixth communication identifier in the second test task, wherein the second test task is configured to establish a communication connection between the fifth communication identifier and the sixth communication identifier through the fourth communication identifier;
[0162] The second test module is used to perform a communication test based on the second test task to obtain a test result of the fourth communication identifier.
[0163] In some optional implementations, the communication identification processing device of the present disclosure further includes:
[0164] An identification acquisition module is used to obtain a file identification of a target file after uploading it to the object storage system, where the target file is used to store an assignable communication identification;
[0165] A fifth processing module, configured to create an import task for a target file based on the file identifier;
[0166] The data import module is used to import the assignable communication identifiers of the target file from the object storage system through an import task to obtain a first identifier set.
[0167] In some optional implementations, the data import module includes:
[0168] The message consumption unit is used to consume messages in the message queue and obtain the target task ID. The messages in the message queue are generated based on the task ID of the created import task.
[0169] An information query unit is used to query a preset task table for a target import task and a target file identifier corresponding to a target task identifier, wherein the preset task table is configured to record the task identifier of a created import task and the file identifier of a target file corresponding to the created import task;
[0170] The data import unit is used to import the assignable communication identifier of the corresponding target file from the object storage system based on the target import task and the target file identifier to obtain a first identifier set.
[0171] In some optional implementations, the target task identifier is provided with a distributed lock. The information query unit includes:
[0172] A first state acquisition subunit is used to obtain the state of the distributed lock identified by the target task;
[0173] The information query subunit is used to update the distributed lock of the target task identifier to a locked state if the distributed lock of the target task identifier is in an unlocked state, and query the target import task and target file identifier corresponding to the target task identifier in the preset task table.
[0174] In some optional implementations, the preset task table is further configured to record the task status of the created import task. The data import unit includes:
[0175] The second status acquisition subunit is used to query the target task status of the target import task in the preset task table based on the target task identifier;
[0176] The data import subunit is used to import the assignable communication identifiers of the corresponding target files from the object storage system in batches based on the target import task and the target file identifier if the target task status indicates that the task is in progress.
[0177] In some optional implementations, the communication identification processing device of the present disclosure further includes:
[0178] A format verification module, configured to verify identification information of the assignable communication identification in the first identification set to obtain a verification result;
[0179] The identifier screening module is used to remove the assignable communication identifier that fails the verification from the first identifier set if there is an assignable communication identifier that fails the verification in the first identifier set, so as to obtain an updated first identifier set.
[0180] The communication identifier processing device provided by the embodiment of the present disclosure can execute the communication identifier processing method provided by any embodiment of the present disclosure, and has the functional modules and beneficial effects corresponding to the execution method. The communication identifier processing device of the present disclosure determines the first communication identifier in the first identifier set and creates a first test task. Then, the second communication identifier and the third communication identifier in the first test task are determined in the second identifier set, so that the first test task is used to establish a communication connection between the second communication identifier and the third communication identifier through the first communication identifier. Therefore, the first communication identifier, the second communication identifier, and the third communication identifier can be automatically selected to establish the first test task, and the first communication identifier can be automatically tested for communication using the first test task to determine the availability of the first communication identifier. Compared with manual testing of communication identifiers, the testing efficiency of communication identifiers can be effectively improved, and the availability of the intermediate communication identifiers subsequently allocated can be ensured.
[0181] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0182] Figure 9 This is a structural block diagram of an electronic device provided in an embodiment of the present disclosure.
[0183] The following specific reference Figure 9 , which shows a block diagram of a structure of an electronic device suitable for implementing the embodiments of the present disclosure. The electronic device may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a memory 908 into a random access memory (RAM) 903. Various programs and data required for the operation of the electronic device are also stored in the RAM 903. The processor 901, ROM 902, and RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0184] Typically, the following devices may be connected to the I / O interface 905: an input device 906 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a memory 908 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909. The communication device 909 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Figure 9 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all of the devices shown, and more or fewer devices may be implemented or possessed instead.
[0185] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 909, or installed from the memory 908, or installed from the ROM 902. When the computer program is executed by the processor 901, the above-mentioned functions defined in the communication identification processing method of the embodiment of the present disclosure are performed.
[0186] Figure 9 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure.
[0187] The embodiments of the present disclosure also provide a computer-readable storage medium. The above-mentioned method according to the embodiments of the present disclosure can be implemented in hardware, firmware, or implemented as a computer code that can be recorded in a storage medium, or implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the communication identification processing method shown in the above embodiment is implemented.
[0188] A portion of the present disclosure may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present disclosure through the operation of the computer. Those skilled in the art should understand that the form in which the computer program instruction exists in a computer-readable medium includes but is not limited to a source file, an executable file, an installation package file, etc. Accordingly, the way in which the computer program instruction is executed by the computer includes but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium that can be accessed by the computer.
[0189] Although the embodiments of the present disclosure have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A communication identification processing method, characterized in that: The method comprises: Acquire a first identification set and a second identification set, wherein the first identification set includes assignable communication identifications, and the second identification set includes communication identifications for testing; Determine a first communication identifier from the first identifier set and create a first test task; Determining a second communication identifier and a third communication identifier in the first test task from the second identifier set, wherein the first test task is used to establish a communication connection between the second communication identifier and the third communication identifier through the first communication identifier; A communication test is performed based on the first test task to obtain a test result of the first communication identifier.
2. The method according to claim 1, characterized in that The determining of the first communication identifier from the first identifier set includes: determining a supplier of the first set of identifiers; Obtain historical test results of the communication identifier historically provided by the supplier; Determining a target proportion of the first communication identifier in the first identifier set based on the historical test results, wherein the target proportion is negatively correlated with a test pass rate of the communication identifier represented by the historical test results; The first communication identifier is determined in the first identifier set according to the target proportion.
3. The method according to claim 1, characterized in that The communication identifier in the second identifier set supports establishing a communication connection with other different communication identifiers; and determining the second communication identifier and the third communication identifier in the first test task from the second identifier set includes: Obtaining the number of communication connections of the communication identifiers in the second identifier set; The second communication identifier and the third communication identifier are determined in the second identifier set based on the number of communication connections.
4. The method according to claim 3, characterized in that The obtaining the number of communication connections of the communication identifiers in the second identifier set includes: Obtaining the establishment time of the communication connection associated with the communication identifier in the second identifier set; If the time between the establishment time and the current time does not exceed a preset time threshold, determining the communication connection corresponding to the establishment time as a valid communication connection; The number of communication connections of the communication identifiers in the second identification set is obtained based on the number of valid communication connections of the communication identifiers in the second identification set.
5. The method according to claim 3, characterized in that The second identification set is configured to have a first subset and a second subset; the first subset is configured as a communication identification for initiating a communication connection in a communication test; the second subset is configured as a communication identification for responding to a communication connection in a communication test; The determining the second communication identifier and the third communication identifier in the second identifier set based on the number of communication connections includes: Obtaining a first preset maximum number of connections and a second preset maximum number of connections; Determine, in the first subset, a communication identifier whose number of communication connections is less than the first preset maximum number of connections, to obtain a first candidate identifier; Determining the second communication identifier from the first candidate identifiers; Determine, in the second subset, a communication identifier whose number of communication connections is less than the second preset maximum number of connections, to obtain a second candidate identifier; The third communication identifier is determined from the second candidate identifiers.
6. The method according to claim 1, characterized in that The method further comprises: If the first communication identifier test fails, obtaining a fourth communication identifier other than the first communication identifier in the first identifier set, and creating a second test task; Determining a fifth communication identifier and a sixth communication identifier in the second test task from the second identifier set, wherein the second test task is used to establish a communication connection between the fifth communication identifier and the sixth communication identifier through the fourth communication identifier; A communication test is performed based on the second test task to obtain a test result of the fourth communication identifier.
7. The method according to claim 1, characterized in that The method further comprises: Obtaining a file identifier of a target file after uploading it to an object storage system, wherein the target file is used to store an assignable communication identifier; Creating an import task for the target file based on the file identifier; The allocable communication identifiers of the target file are imported from the object storage system through the import task to obtain the first identifier set.
8. The method according to claim 7, characterized in that Importing the assignable communication identifier of the target file from the object storage system through the import task to obtain the first identifier set includes: Consume messages in a message queue to obtain a target task identifier, where the messages in the message queue are generated based on the task identifier of the created import task; Querying the target import task and the target file identifier corresponding to the target task identifier in the preset task table, wherein the preset task table is configured to record the task identifier of the created import task and the file identifier of the target file corresponding to the created import task; Based on the target import task and the target file identifier, the assignable communication identifier corresponding to the target file is imported from the object storage system to obtain the first identifier set.
9. The method according to claim 8, characterized in that The target task identifier is provided with a distributed lock; the querying of the target import task and the target file identifier corresponding to the target task identifier in the preset task table includes: Obtain the status of the distributed lock identified by the target task; If the distributed lock of the target task identifier is in an unlocked state, the distributed lock of the target task identifier is updated to a locked state, and the target import task and the target file identifier corresponding to the target task identifier are queried in the preset task table.
10. The method according to claim 8, characterized in that The preset task table is further configured to record the task status of the created import task; the first identifier set is obtained by importing the assignable communication identifier of the corresponding target file from the object storage system based on the target import task and the target file identifier, including: Querying the target task status of the target import task in the preset task table based on the target task identifier; If the target task status indicates that the task is in progress, allocable communication identifiers of the corresponding target files are imported in batches from the object storage system based on the target import task and the target file identifiers.
11. The method according to claim 7, characterized in that The method further comprises: Verifying identification information of the assignable communication identification in the first identification set to obtain a verification result; If there are assignable communication identifiers that fail verification in the first identifier set, the assignable communication identifiers that fail verification in the first identifier set are removed to obtain an updated first identifier set.
12. A communication identification processing device, characterized in that: The device comprises: A data acquisition module, configured to acquire a first identification set and a second identification set, wherein the first identification set includes assignable communication identifications, and the second identification set includes communication identifications for testing; A first processing module, configured to determine a first communication identifier from the first identifier set and create a first test task; A second processing module is used to determine the second communication identifier and the third communication identifier in the first test task from the second identifier set, and the first test task is used to establish a communication connection between the second communication identifier and the third communication identifier through the first communication identifier; The first test module is used to perform a communication test based on the first test task to obtain a test result of the first communication identifier.
13. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the communication identification processing method according to any one of claims 1 to 11 by executing the computer instructions.
14. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the communication identification processing method according to any one of claims 1 to 11.
15. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the communication identification processing method according to any one of claims 1 to 11.