CN108990047B - Test method, device and medium for subscription relationship management data preparation platform - Google Patents

Test method, device and medium for subscription relationship management data preparation platform Download PDF

Info

Publication number
CN108990047B
CN108990047B CN201810717968.4A CN201810717968A CN108990047B CN 108990047 B CN108990047 B CN 108990047B CN 201810717968 A CN201810717968 A CN 201810717968A CN 108990047 B CN108990047 B CN 108990047B
Authority
CN
China
Prior art keywords
test
platform
identification information
configuration file
field
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
CN201810717968.4A
Other languages
Chinese (zh)
Other versions
CN108990047A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201810717968.4A priority Critical patent/CN108990047B/en
Publication of CN108990047A publication Critical patent/CN108990047A/en
Application granted granted Critical
Publication of CN108990047B publication Critical patent/CN108990047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • 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
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/06Testing, supervising or monitoring using simulated traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a test method, a device, equipment and a medium for a contract relation management data preparation platform, wherein the method comprises the following steps: receiving a test request sent by a user terminal, wherein the test request carries test scene identification information and test platform identification information; acquiring a test flow and a test interface corresponding to the test scene identification information according to the test request; accessing an SM-DP + platform corresponding to the identification information of the test platform through a corresponding test interface according to the test flow; and testing the SM-DP + platform according to the comparison result of the data returned by the SM-DP + platform and the pre-stored correct data. The test flow and the test interface corresponding to the test corresponding to each test scene are stored in advance in an associated manner, and the test scenes can be selected randomly through the page, so that the normal test scenes and the abnormal test scenes can be tested randomly without depending on an entity eSIM card embedded into a terminal such as a mobile phone or a watch, and the problem of the SM-DP + platform can be reflected truly.

Description

Test method, device and medium for subscription relationship management data preparation platform
Technical Field
The embodiment of the invention relates to the technical field of testing, in particular to a testing method, a testing device, testing equipment and a testing medium for a subscription relationship management data preparation platform.
Background
An embedded SIM card (abbreviated as eSIM card) is a subscriber identity module fixed in a terminal device by upgrading software and hardware of a smart card and a related support platform based on a conventional SIM card. The eSIM card allows a user to more flexibly select an operator and a package without unlocking the device or purchasing a new device. The signing relationship management data preparation platform (SM-DP + platform for short) is mainly responsible for the safe generation and management of the remote configuration data of the eSIM card.
In order to ensure the usability and safety of the SM-DP + platform, a standard Specification Test needs to be performed on the platform, and a GSMA has issued an sgp.23rsp Test Specification v1.0 Test Specification.
The existing testing technology generally adopts entity equipment testing, and because the data of the eSIM card embedded into a terminal such as a mobile phone or a watch is fixed data, the testing of several fixed normal scenes can only be carried out, so that the problem that the testing scene is single and the SM-DP + platform cannot be truly reflected is caused.
Disclosure of Invention
The embodiment of the invention provides a test method, a device, equipment and a medium for a subscription relationship management data preparation platform, which solve the technical problems that in the prior art, entity equipment is adopted for testing, and because the data of an eSIM card embedded into a terminal such as a mobile phone or a watch is fixed data, only fixed normal scenes can be tested, so that the test scene is single and the SM-DP + platform cannot be truly reflected.
In a first aspect, an embodiment of the present invention provides a method for testing a subscription relationship management data preparation platform, where the method includes:
receiving a test request sent by a user terminal, wherein the test request carries test scene identification information and test platform identification information;
acquiring a test flow and a test interface corresponding to the test scene identification information according to the test request;
accessing an SM-DP + platform corresponding to the test platform identification information through a corresponding test interface according to the test flow;
and testing the SM-DP + platform according to the comparison result of the data returned by the SM-DP + platform and the pre-stored correct data.
Further, the method, before receiving a test request sent by a user terminal, where the test request carries test scenario identification information and test platform identification information, further includes:
receiving an eSIM card certificate uploaded by user equipment;
storing the eSIM card certificate;
performing associated storage on each test scene identification, the test flow corresponding to each test scene identification, the test interface and correct data;
the test scenario includes: a normal test scenario and an abnormal test scenario.
Further, the method as described above, further comprising:
receiving a test request for acquiring a binding configuration file package sent by a user terminal;
accessing the SM-DP + platform to acquire a binding configuration file package according to the test request for acquiring the binding configuration file package;
receiving a binding configuration file packet sent by the SM-DP + platform;
acquiring a test flow and a test interface for verifying the fields of the binding configuration file packet, and respectively completing the verification of each preset field in the fields of the binding configuration file packet so as to test the SM-DP + platform;
the preset field at least comprises: initializing a secure channel field, dispersing a session key field, an ISDP configuration field, a storage metadata field, a profile metadata field, a substitution session key field, downloading a profile element field, and an unprotected configuration file packet field.
Further, the testing the SM-DP + platform according to the comparison result between the data returned by the SM-DP + platform and the pre-stored correct data in the method described above specifically includes:
judging whether the data returned by the SM-DP + platform is consistent with the pre-stored correct data;
if the data returned by the SM-DP + platform is consistent with the pre-stored correct data, determining that the SM-DP + platform passes the test of the test scene;
and if the data returned by the SM-DP + platform is inconsistent with the pre-stored correct data, determining that the SM-DP + platform fails the test of the test scene.
In a second aspect, an embodiment of the present invention provides a testing apparatus for a contract relation management data preparation platform, including:
the system comprises a receiving module, a sending module and a processing module, wherein the receiving module is used for receiving a test request sent by a user terminal, and the test request carries test scene identification information and test platform identification information;
the acquisition module is used for acquiring a test flow and a test interface corresponding to the test scene identification information according to the test request;
the access module is used for accessing the SM-DP + platform corresponding to the test platform identification information through the corresponding test interface according to the test flow;
and the test module is used for testing the SM-DP + platform according to the comparison result of the data returned by the SM-DP + platform and the pre-stored correct data.
Further, the apparatus as described above, further comprising: a storage module;
the receiving module is further configured to receive an eSIM card certificate uploaded by the user equipment;
the storage module is used for storing the eSIM card certificate;
the storage module is further used for performing associated storage on each test scene identifier, the test flow corresponding to each test scene identifier, the test interface and correct data;
the test scenario includes: a normal test scenario and an abnormal test scenario.
Further, the apparatus as described above, further comprising: a checking module;
the receiving module is also used for receiving a test request for acquiring the binding configuration file package sent by the user terminal;
the access module is further configured to access the SM-DP + platform to obtain a binding configuration file package according to the test request for obtaining the binding configuration file package;
the receiving module is further configured to receive a binding configuration file package sent by the SM-DP + platform;
the checking module is used for acquiring a testing process and a testing interface for checking the fields of the binding configuration file packet, and respectively finishing checking of each preset field in the fields of the binding configuration file packet so as to test the SM-DP + platform;
the preset field at least comprises: initializing a secure channel field, dispersing a session key field, an ISDP configuration field, a storage metadata field, a profile metadata field, a substitution session key field, downloading a profile element field, and an unprotected configuration file packet field.
Further, in the apparatus as described above, the test module is specifically configured to:
judging whether the data returned by the SM-DP + platform is consistent with the pre-stored correct data; if the data returned by the SM-DP + platform is consistent with the pre-stored correct data, determining that the SM-DP + platform passes the test of the test scene; and if the data returned by the SM-DP + platform is inconsistent with the pre-stored correct data, determining that the SM-DP + platform fails the test of the test scene.
In a third aspect, an embodiment of the present invention provides a network device, including:
a memory, a processor, and a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement a method as claimed in any one of the above.
In a fourth aspect, embodiments of the invention provide a computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement a method as described in any one of the above.
The embodiment of the invention provides a test method, a device, equipment and a medium for a subscription relationship management data preparation platform, wherein a test request sent by a user terminal is received, and the test request carries test scene identification information and test platform identification information; acquiring a test flow and a test interface corresponding to the test scene identification information according to the test request; accessing an SM-DP + platform corresponding to the identification information of the test platform through a corresponding test interface according to the test flow; and testing the SM-DP + platform according to the comparison result of the data returned by the SM-DP + platform and the pre-stored correct data. The test flow and the test interface corresponding to the test corresponding to each test scene are stored in advance in an associated manner, and the test scenes can be selected randomly through the page, so that the normal test scenes and the abnormal test scenes can be tested randomly without depending on an entity eSIM card embedded into a terminal such as a mobile phone or a watch, and the problem of the SM-DP + platform can be reflected truly.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a first embodiment of a testing method for a subscription relationship management data preparation platform according to the present invention;
fig. 2 is a flowchart of a second embodiment of a testing method for a subscription relationship management data preparation platform according to the present invention;
fig. 3 is another flowchart of a second testing method of the subscription relationship management data preparation platform in the scenario of determining a test according to the present invention;
fig. 4 is a flowchart of a third testing method of the subscription relationship management data preparation platform in a scenario of determining a test according to the present invention;
fig. 5 is a schematic structural diagram of a first testing apparatus of a contract relation management data preparation platform according to a first embodiment of the present invention;
fig. 6 is a schematic structural diagram of a second testing apparatus of a contract relation management data preparation platform according to a second embodiment of the present invention;
fig. 7 is a schematic structural diagram of a network device according to a first embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
Fig. 1 is a flowchart of a first testing method of a contract relation management data preparation platform according to an embodiment of the present invention, and as shown in fig. 1, an execution subject of this embodiment is a testing apparatus of the contract relation management data preparation platform, and the testing apparatus of the contract relation management data preparation platform may be integrated in a server, so that the testing method of the contract relation management data preparation platform provided in this embodiment includes the following steps.
Step 101, receiving a test request sent by a user terminal, wherein the test request carries test scene identification information and test platform identification information.
In this embodiment, the test apparatus of the subscription relationship management data preparation platform provides services to the user through the APP or the web page. The user logs in the page provided by the test device of the contract relation management data preparation platform for the user by accessing the webpage address of the test device of the contract relation management data preparation platform, and each test scene is arranged on the page, and the page is also provided with an activation code input box and a confirmation code input box of the SM-DP + platform.
The activation code is provided with identification information of the test platform, where the identification information of the test platform may be address information or other information of the SM-DP + platform under test, which is not limited in this embodiment. The confirmation code is a digital code for confirming the identity of the user so as to confirm the identity of the user. The confirmation code may be a 6-bit digital code.
The test scenario identification information may be information that uniquely represents the test scenario, such as a name, a number, and the like of the test scenario.
Specifically, in this embodiment, a user inputs an activation code from a page through a user terminal to determine identification information of a test platform, selects a test scenario to be tested through the page to determine the identification information of the test scenario, and then sends a test request to a test apparatus of a contract relation management data preparation platform through a confirmation test key in the page.
The test scenes corresponding to the test device of the contract relation management data preparation platform comprise all scenes for testing the SM-DP + platform, and the test scenes comprise normal test scenes and abnormal test scenes.
And the normal test scene is to test the SM-DP + platform through correct test data and judge whether the SM-DP + platform outputs a corresponding correct result. And in the abnormal test scene, inputting wrong data to test the SM-DP + platform, and judging whether the SM-DP + platform can perform correct processing after receiving the wrong data.
And 102, acquiring a test flow and a test interface corresponding to the test scene identification information according to the test request.
Specifically, in this embodiment, the test flow and the test interface in each test scenario are stored in association in advance, and the eSIM card certificate is also stored. And acquiring a test flow and a test interface corresponding to the test scene identification information according to the test request so as to perform corresponding test on the SM-DP + platform according to the test flow.
And 103, accessing the SM-DP + platform corresponding to the test platform identification information through the corresponding test interface according to the test flow.
Specifically, in this embodiment, parameters used for testing, each link of the testing process, and the connection relationship between the links are specified in the testing process, the parameters used for testing are input into the corresponding testing link, the testing is executed according to each link of the testing process, and the corresponding testing interface is called to access the SM-DP + platform to be tested.
In a test scenario, one or more accesses to the SM-DP + platform to be tested may be required, so that one or more corresponding test interfaces may be provided.
Wherein, the test interface can include: the method comprises the steps of authenticating an initialization interface, authenticating a client interface, acquiring a binding configuration file packet interface, canceling a session interface, processing a notification interface and the like.
And step 104, testing the SM-DP + platform according to the comparison result of the data returned by the SM-DP + platform and the pre-stored correct data.
Specifically, in this embodiment, the correct data corresponding to each test scenario is stored in advance. And after accessing the SM-DP + platform to be tested, the SM-DP + platform acquires data according to the access request and returns the data to the testing device of the signing relation management data preparation platform, the testing device of the signing relation management data preparation platform compares the data returned by the SM-DP + platform with the pre-stored correct data, and judges whether the SM-DP + platform passes the test of the test scene according to the comparison result.
In the test method for the subscription relationship management data preparation platform provided by this embodiment, a test request sent by a user terminal is received, where the test request carries test scenario identification information and test platform identification information; acquiring a test flow and a test interface corresponding to the test scene identification information according to the test request; accessing an SM-DP + platform corresponding to the identification information of the test platform through a corresponding test interface according to the test flow; and testing the SM-DP + platform according to the comparison result of the data returned by the SM-DP + platform and the pre-stored correct data. The test flow and the test interface corresponding to the test corresponding to each test scene are stored in advance in an associated manner, and the test scenes can be selected randomly through the page, so that the normal test scenes and the abnormal test scenes can be tested randomly without depending on an entity eSIM card embedded into a terminal such as a mobile phone or a watch, and the problem of the SM-DP + platform can be reflected truly.
Fig. 2 is a flowchart of a second testing method for a subscription relationship management data preparation platform according to the second embodiment of the present invention, and as shown in fig. 2, the testing method for the subscription relationship management data preparation platform provided in this embodiment is a step of further refining step 104 on the basis of the first testing method for the subscription relationship management data preparation platform according to the first embodiment of the present invention, and further includes a step of storing an eSIM card certificate, and storing each test scenario identifier, a test flow corresponding to each test scenario identifier, a test interface, and correct data in an associated manner.
Step 201, receiving an eSIM card certificate uploaded by a user equipment.
Step 202, storing the eSIM card certificate.
The description is made in conjunction with step 201-step 202. Specifically, in this embodiment, in order to simulate an entity eSIM card to complete a test on an SM-DP + platform, since an eSIM card certificate is required in a downloading and authentication process, an eSIM card certificate uploaded by a user equipment is received and stored, and in storing the eSIM card certificate, if an eSIM card certificate is required in a certain test scenario, the eSIM card certificate is stored in association with a test flow, a test interface, and correct data of the test scenario. The eSIM card certificate may also be fixedly stored in an area from which the eSIM card certificate is acquired if the eSIM card certificate is needed.
Step 203, the test scene identifications and the test flows, test interfaces and correct data corresponding to the test scene identifications are stored in an associated manner.
Furthermore, in this embodiment, each test scenario identifier, the test flow corresponding to each test scenario identifier, the test interface, and correct data are stored in association, so that when a test of a certain test scenario is executed, since parameters used for the test are specified in the test flow, each link of the test flow, the connection relationship of each link, and the test interface called by each link are specified in the test flow, parameters used for the test can be input into the corresponding test link according to the test flow, and the corresponding test interface is called according to the test interface corresponding to the link to access the SM-DP + platform to be tested, so as to test the SM-DP + platform.
It can be understood that in the test flow, not every test link needs to call a corresponding test interface, but also other operations may be performed.
Step 204, receiving a test request sent by the user terminal, where the test request carries the test scenario identification information and the test platform identification information.
Step 205, obtaining a test flow and a test interface corresponding to the test scenario identification information according to the test request.
And step 206, accessing the SM-DP + platform corresponding to the test platform identification information through the corresponding test interface according to the test flow.
In this embodiment, the implementation manners of steps 204 to 206 are the same as the implementation manners of steps 101 to 103 in the first embodiment of the present invention, and are not described in detail here.
Step 207, determining whether the data returned by the SM-DP + platform is consistent with the pre-stored correct data, if so, executing step 208, otherwise, executing step 209.
And step 208, determining that the SM-DP + platform passes the test of the test scenario.
And step 209, determining that the SM-DP + platform fails the test of the test scenario.
Further, in this embodiment, it is determined whether the data returned by the SM-DP + platform is consistent with the pre-stored correct data; if the data returned by the SM-DP + platform is consistent with the pre-stored correct data, determining that the SM-DP + platform passes the test of the test scene; and if the data returned by the SM-DP + platform is inconsistent with the pre-stored correct data, determining that the SM-DP + platform fails the test of the test scene.
To further explain the test method of the subscription relationship management data preparation platform in this embodiment, a scenario in which "an eSIM card has a different one-time card public key for each service without a confirmation code using a ppk mode" is taken as an example to describe the test method. For convenience of explanation, the test scenario is defined as a first test scenario. Fig. 3 is another flowchart of a second embodiment of the test method for determining the subscription relationship management data preparation platform in the test scenario, and as shown in fig. 3, the specific execution steps of the test method for the subscription relationship management data preparation platform in the test scenario are as follows.
Step 301, receiving a test request of a first test scenario sent by a user terminal, where the test request carries identification information of the first test scenario and identification information of a test platform.
Step 302, obtaining a test flow and a test interface corresponding to the first test scenario identification information according to the test request of the first test scenario.
And 303, accessing the SM-DP + platform corresponding to the test platform identification information through the corresponding test interface according to the first test flow.
Specifically, the obtained test flow and test interface corresponding to the first test scenario identification information are specifically: firstly, the first link of the test flow is a user delay downloading link, and the interfaces called by the link are respectively as follows: the system comprises an authentication initialization interface, an authentication client interface, a binding configuration file packet interface and a session cancellation interface. And returning a public key of the disposable card of the eSIM card from the SM-DP + platform to be tested. The second link of the test process is a retry link without confirmation codes, the interfaces called in the link are an authentication initialization interface and an authentication client interface respectively, correct data corresponding to the second link are data without input confirmation codes, a message returned from the SM-DP + platform to be tested carries a plurality of fields, and whether the confirmation codes are contained in the fields is confirmed. The third link is a link of confirming whether the public key of the disposable card of the eSIM card is not changed. The interface called by the link is an interface for acquiring the binding configuration file package. And returning the public key of the disposable card of the eSIM card from the message returned by the SM-DP + platform to be tested. And if the two eSIM card one-time public keys actually returned from the SM-DP + platform are the same, determining that the SM-DP + platform does not pass the test of the first test scene.
Step 304, judging whether the first eSIM card disposable public key and the second eSIM card disposable public key returned by the SM-DP + platform are consistent with the pre-stored correct data, if so, executing step 305, otherwise, executing step 306.
It can be understood that, in this embodiment, the process of determining whether the first eSIM card disposable card public key and the second eSIM card disposable card public key returned by the SM-DP + platform are consistent with the pre-stored correct data is a process of determining whether the first eSIM card disposable card public key and the second eSIM card disposable card public key are different, if the first eSIM card disposable card public key and the second eSIM card disposable card public key are different, it indicates that the first eSIM card disposable card public key and the second eSIM card disposable card public key are consistent with the pre-stored correct data, and if the first eSIM card disposable card public key and the second eSIM card disposable card public key are the same, it indicates that the first eSIM card public key and the second eSIM card disposable.
Step 305, determining that the SM-DP + platform passes the test of the first test scenario.
Step 306, determining that the SM-DP + platform fails the test of the first test scenario.
The test method for the subscription relationship management data preparation platform provided in this embodiment receives the eSIM card certificate uploaded by the user equipment, storing the eSIM card certificate, storing each test scene identification and the test flow, test interface and correct data corresponding to each test scene identification in association, receiving the test request sent by the user terminal, wherein the test request carries the test scene identification information and the test platform identification information, according to the test request, obtaining the test flow and the test interface corresponding to the test scene identification information, accessing the SM-DP + platform corresponding to the test platform identification information through the corresponding test interface according to the test flow, judging whether the data returned by the SM-DP + platform is consistent with the pre-stored correct data, if so, determining that the SM-DP + platform passes the test of the test scenario, otherwise determining that the SM-DP + platform does not pass the test of the test scenario. The method not only can carry out any test of a normal test scene and an abnormal test scene, but also can carry out the test of various complex test scenes, thereby further truly reflecting the problem of the SM-DP + platform.
Fig. 4 is a flowchart of a third testing method for a subscription relationship management data preparation platform according to the present invention, and as shown in fig. 4, the testing method for a subscription relationship management data preparation platform provided in this embodiment is a test for a verification scenario of a binding configuration file package field on the basis of the second testing method for a subscription relationship management data preparation platform according to the present invention, and then the testing method for a subscription relationship management data preparation platform provided in this embodiment includes the following steps.
Step 401, receiving a test request for obtaining a binding configuration file package sent by a user terminal.
Specifically, in this embodiment, a user selects a test scenario for obtaining a binding configuration file package on a page through a user terminal, and sends a test request for obtaining the binding configuration file package to a test device of a subscription relationship management data preparation platform, where the test request carries identification information for obtaining the test scenario of the binding configuration file package and identification information of the test platform.
Step 402, accessing the SM-DP + platform to obtain a binding configuration file package according to the test request for obtaining the binding configuration file package.
Step 403, receiving the binding configuration file package sent by the SM-DP + platform.
Step 404, obtaining a test flow and a test interface for verifying the field of the binding configuration file package, and completing verification of each preset field in the field of the binding configuration file package respectively so as to test the SM-DP + platform.
Wherein, the preset field at least comprises: initializing a secure channel field, dispersing a session key field, an ISDP configuration field, a storage metadata field, a profile metadata field, a substitution session key field, downloading a profile element field, and an unprotected configuration file packet field.
Specifically, in this embodiment, according to the test request, the binding configuration file package is obtained, and the test procedure and the test interface for verifying the field of the binding configuration file package are respectively: initializing a link and a test interface for verifying a secure channel field, dispersing a link and a test interface for verifying a session key field, verifying an ISDP configuration field (Configure ISDP), storing a link and an interface for verifying a metadata field, analyzing and splicing a profile metadata field, verifying the profile metadata field, analyzing and splicing the test interface, replacing the link and the test interface for verifying the session key field, downloading the link and the test interface for verifying the profile metadata field, and analyzing and splicing a link and a test interface for verifying an unprotected configuration file packet field.
Preferably, in this embodiment, a link of analyzing and splicing the unprotected configuration file packet field for verification is added, and since there is important data in the unprotected configuration file packet field, the bound configuration file packet field can be verified more accurately.
In the testing method of the subscription relationship management data preparation platform provided by this embodiment, a testing request for acquiring a binding configuration file package sent by a user terminal is received; accessing the SM-DP + platform to acquire the binding configuration file package according to the test request for acquiring the binding configuration file package; receiving a binding configuration file packet sent by an SM-DP + platform; acquiring a test flow and a test interface for verifying fields of the binding configuration file packet, and respectively completing the verification of each preset field in the fields of the binding configuration file packet so as to test the SM-DP + platform; the preset field comprises an unprotected configuration file packet field, and the bound configuration file packet field can be verified more accurately due to important data in the unprotected configuration file packet field.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The foregoing program may be stored in a readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Fig. 5 is a schematic structural diagram of a first testing apparatus for a contract relation management data preparation platform according to an embodiment of the present invention, and as shown in fig. 5, the testing apparatus for a contract relation management data preparation platform according to this embodiment includes: a receiving module 51, an obtaining module 52, an accessing module 53 and a testing module 54.
The receiving module 51 is configured to receive a test request sent by a user terminal, where the test request carries test scenario identification information and test platform identification information. The obtaining module 52 is configured to obtain a test procedure and a test interface corresponding to the test scenario identification information according to the test request. And the access module 53 is configured to access the SM-DP + platform corresponding to the test platform identification information through the corresponding test interface according to the test flow. And the test module 54 is configured to test the SM-DP + platform according to a comparison result between the data returned by the SM-DP + platform and the pre-stored correct data.
The testing apparatus of the subscription relationship management data preparation platform provided in this embodiment may execute the technical solution of the method embodiment shown in fig. 1, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of a second testing apparatus of a contract relation management data preparation platform according to the present invention, and as shown in fig. 6, the testing apparatus of the contract relation management data preparation platform according to the present embodiment further includes, on the basis of the first testing apparatus of the contract relation management data preparation platform according to the present invention: a storage module 61 and a verification module 62.
Further, the receiving module 51 is further configured to receive the eSIM card certificate uploaded by the user equipment. And the storage module 61 is used for storing the eSIM card certificate. The storage module 61 is further configured to perform associated storage on each test scenario identifier, the test flow corresponding to each test scenario identifier, the test interface, and the correct data.
Wherein, the test scenario includes: a normal test scenario and an abnormal test scenario.
Further, the receiving module 51 is further configured to receive a test request for obtaining the binding configuration file package sent by the user terminal. The accessing module 53 is further configured to access the SM-DP + platform to obtain the binding profile package according to the test request for obtaining the binding profile package. The receiving module 51 is further configured to receive the binding configuration file package sent by the SM-DP + platform. The checking module 62 is configured to obtain a test procedure and a test interface for checking the fields of the binding configuration file package, and respectively complete checking of each preset field in the fields of the binding configuration file package, so as to test the SM-DP + platform.
Wherein, the preset field at least comprises: initializing a secure channel field, dispersing a session key field, an ISDP configuration field, a storage metadata field, a profile metadata field, a substitution session key field, downloading a profile element field, and an unprotected configuration file packet field.
Further, the testing module 54 is specifically configured to: judging whether the data returned by the SM-DP + platform is consistent with the pre-stored correct data; if the data returned by the SM-DP + platform is consistent with the pre-stored correct data, determining that the SM-DP + platform passes the test of the test scene; and if the data returned by the SM-DP + platform is inconsistent with the pre-stored correct data, determining that the SM-DP + platform fails the test of the test scene.
The testing apparatus of the subscription relationship management data preparation platform provided in this embodiment may execute the technical solutions of the method embodiments shown in fig. 2 to fig. 4, and the implementation principles and technical effects thereof are similar, and are not described herein again.
An embodiment of the present invention further provides a network device, including: a memory 71, a processor 72 and a computer program.
The computer program is stored in the memory 71 and configured to be executed by the processor 72 to implement the method in the first testing method embodiment of the contract relation management data preparation platform of the present invention, the second testing method embodiment of the contract relation management data preparation platform of the present invention, or the third testing method embodiment of the contract relation management data preparation platform of the present invention. The relevant description may be understood by referring to the relevant description and effect corresponding to the steps in fig. 1 to fig. 4, and redundant description is not repeated here.
In the present embodiment, the memory 71 and the processor 72 are connected by a bus 73.
The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method in the embodiment of the testing method for the contract-related management data preparation platform of the present invention, or the method in the embodiment of the testing method for the contract-related management data preparation platform of the present invention.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A test method for a contract-signing relationship management data preparation platform is characterized by comprising the following steps:
receiving a test request sent by a user terminal, wherein the test request carries test scene identification information and test platform identification information;
acquiring a test flow and a test interface corresponding to the test scene identification information according to the test request;
accessing an SM-DP + platform corresponding to the test platform identification information through a corresponding test interface according to the test flow;
testing the SM-DP + platform according to the comparison result of the data returned by the SM-DP + platform and the pre-stored correct data; the method for receiving the test request sent by the user terminal further includes, before the test request carries the test scenario identification information and the test platform identification information:
receiving an eSIM card certificate uploaded by user equipment;
storing the eSIM card certificate;
performing associated storage on each test scene identification, the test flow corresponding to each test scene identification, the test interface and correct data;
the test scenario includes: a normal test scenario and an abnormal test scenario.
2. The method of claim 1, further comprising:
receiving a test request for acquiring a binding configuration file package sent by a user terminal;
accessing the SM-DP + platform to acquire a binding configuration file package according to the test request for acquiring the binding configuration file package;
receiving a binding configuration file packet sent by the SM-DP + platform;
acquiring a test flow and a test interface for verifying the fields of the binding configuration file packet, and respectively completing the verification of each preset field in the fields of the binding configuration file packet so as to test the SM-DP + platform;
the preset field at least comprises: initializing a secure channel field, dispersing a session key field, an ISDP configuration field, a storage metadata field, a profile metadata field, a substitution session key field, downloading a profile element field, and an unprotected configuration file packet field.
3. The method according to claim 1 or 2, wherein the testing of the SM-DP + platform according to the comparison result between the data returned by the SM-DP + platform and the pre-stored correct data specifically comprises:
judging whether the data returned by the SM-DP + platform is consistent with the pre-stored correct data;
if the data returned by the SM-DP + platform is consistent with the pre-stored correct data, determining that the SM-DP + platform passes the test of the test scene;
and if the data returned by the SM-DP + platform is inconsistent with the pre-stored correct data, determining that the SM-DP + platform fails the test of the test scene.
4. A testing device for a contract relation management data preparation platform is characterized by comprising:
the system comprises a receiving module, a sending module and a processing module, wherein the receiving module is used for receiving a test request sent by a user terminal, and the test request carries test scene identification information and test platform identification information;
the acquisition module is used for acquiring a test flow and a test interface corresponding to the test scene identification information according to the test request;
the access module is used for accessing the SM-DP + platform corresponding to the test platform identification information through the corresponding test interface according to the test flow;
the test module is used for testing the SM-DP + platform according to the comparison result of the data returned by the SM-DP + platform and the pre-stored correct data;
the receiving module is further configured to receive an eSIM card certificate uploaded by the user equipment;
the storage module is used for storing the eSIM card certificate;
the storage module is further used for performing associated storage on each test scene identifier, the test flow corresponding to each test scene identifier, the test interface and correct data;
the test scenario includes: a normal test scenario and an abnormal test scenario.
5. The apparatus of claim 4, further comprising: a checking module;
the receiving module is also used for receiving a test request for acquiring the binding configuration file package sent by the user terminal;
the access module is further configured to access the SM-DP + platform to obtain a binding configuration file package according to the test request for obtaining the binding configuration file package;
the receiving module is further configured to receive a binding configuration file package sent by the SM-DP + platform;
the checking module is used for acquiring a testing process and a testing interface for checking the fields of the binding configuration file packet, and respectively finishing checking of each preset field in the fields of the binding configuration file packet so as to test the SM-DP + platform;
the preset field at least comprises: initializing a secure channel field, dispersing a session key field, an ISDP configuration field, a storage metadata field, a profile metadata field, a substitution session key field, downloading a profile element field, and an unprotected configuration file packet field.
6. The device according to claim 4 or 5, wherein the test module is specifically configured to:
judging whether the data returned by the SM-DP + platform is consistent with the pre-stored correct data; if the data returned by the SM-DP + platform is consistent with the pre-stored correct data, determining that the SM-DP + platform passes the test of the test scene; and if the data returned by the SM-DP + platform is inconsistent with the pre-stored correct data, determining that the SM-DP + platform fails the test of the test scene.
7. A network device, comprising:
a memory, a processor, and a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1-3.
8. A computer-readable storage medium, having stored thereon a computer program for execution by a processor to perform the method of any one of claims 1-3.
CN201810717968.4A 2018-07-03 2018-07-03 Test method, device and medium for subscription relationship management data preparation platform Active CN108990047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810717968.4A CN108990047B (en) 2018-07-03 2018-07-03 Test method, device and medium for subscription relationship management data preparation platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810717968.4A CN108990047B (en) 2018-07-03 2018-07-03 Test method, device and medium for subscription relationship management data preparation platform

Publications (2)

Publication Number Publication Date
CN108990047A CN108990047A (en) 2018-12-11
CN108990047B true CN108990047B (en) 2021-06-29

Family

ID=64536592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810717968.4A Active CN108990047B (en) 2018-07-03 2018-07-03 Test method, device and medium for subscription relationship management data preparation platform

Country Status (1)

Country Link
CN (1) CN108990047B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111356121B (en) * 2018-12-21 2024-01-26 西安佰才邦网络技术有限公司 Method and equipment for binding subscription data based on blockchain
CN110351161B (en) * 2019-05-22 2021-05-07 口碑(上海)信息技术有限公司 Business end-to-end test method, device, storage medium and computer equipment
CN111427778A (en) * 2020-03-18 2020-07-17 中国平安人寿保险股份有限公司 Test method, test device, terminal equipment and storage medium
CN112105025B (en) * 2020-11-17 2021-02-09 深圳杰睿联科技有限公司 eSIM-based operator network test system and method
CN113434410A (en) * 2021-06-25 2021-09-24 青岛海尔科技有限公司 Data testing method and device, storage medium and electronic device
CN116680203B (en) * 2023-08-02 2024-05-03 北京白龙马云行科技有限公司 Multi-tenant-oriented SaaS platform testing method, device, equipment and medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2012467A1 (en) * 2007-07-04 2009-01-07 Nec Corporation Network apparatus test system and network apparatus test method
CN102932197A (en) * 2011-08-11 2013-02-13 阿里巴巴集团控股有限公司 Testing method and system
CN103518401A (en) * 2012-10-31 2014-01-15 华为终端有限公司 Network switching method and device
CN103902446A (en) * 2012-12-27 2014-07-02 北京新媒传信科技有限公司 Network server automated testing method and device
CN105099811A (en) * 2015-06-03 2015-11-25 北京金山安全软件有限公司 Interface testing method and device
CN105101158A (en) * 2014-05-23 2015-11-25 华为技术有限公司 Profile switching method, signal intensity detection method and equipment
CN106445817A (en) * 2016-09-09 2017-02-22 网易(杭州)网络有限公司 Test data processing method, apparatus and system
CN106470133A (en) * 2015-08-20 2017-03-01 阿里巴巴集团控股有限公司 System pressure method of testing and device
CN106851621A (en) * 2017-02-17 2017-06-13 惠州Tcl移动通信有限公司 A kind of LPA applications implementation method based on RSP and realize system
CN107438059A (en) * 2016-05-27 2017-12-05 宇龙计算机通信科技(深圳)有限公司 Terminal anti-theft verification method, terminal and server
CN108108297A (en) * 2016-11-25 2018-06-01 腾讯科技(深圳)有限公司 The method and apparatus of automatic test

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4940791B2 (en) * 2006-07-04 2012-05-30 富士通株式会社 Test support program, test support apparatus, and test support method
CN103457783B (en) * 2012-05-31 2017-04-12 国际商业机器公司 Method and system for testing mobile network application

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2012467A1 (en) * 2007-07-04 2009-01-07 Nec Corporation Network apparatus test system and network apparatus test method
CN102932197A (en) * 2011-08-11 2013-02-13 阿里巴巴集团控股有限公司 Testing method and system
CN103518401A (en) * 2012-10-31 2014-01-15 华为终端有限公司 Network switching method and device
CN103902446A (en) * 2012-12-27 2014-07-02 北京新媒传信科技有限公司 Network server automated testing method and device
CN105101158A (en) * 2014-05-23 2015-11-25 华为技术有限公司 Profile switching method, signal intensity detection method and equipment
CN105099811A (en) * 2015-06-03 2015-11-25 北京金山安全软件有限公司 Interface testing method and device
CN106470133A (en) * 2015-08-20 2017-03-01 阿里巴巴集团控股有限公司 System pressure method of testing and device
CN107438059A (en) * 2016-05-27 2017-12-05 宇龙计算机通信科技(深圳)有限公司 Terminal anti-theft verification method, terminal and server
CN106445817A (en) * 2016-09-09 2017-02-22 网易(杭州)网络有限公司 Test data processing method, apparatus and system
CN108108297A (en) * 2016-11-25 2018-06-01 腾讯科技(深圳)有限公司 The method and apparatus of automatic test
CN106851621A (en) * 2017-02-17 2017-06-13 惠州Tcl移动通信有限公司 A kind of LPA applications implementation method based on RSP and realize system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
RSP Test Specification Version 1.0;GSMA;《GSM Association SGP.23-rsp Test Specification》;20170609;全文 *

Also Published As

Publication number Publication date
CN108990047A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN108990047B (en) Test method, device and medium for subscription relationship management data preparation platform
CN105490815B (en) Short message verification code acquisition methods and device, login method, apparatus and system
CN102958022A (en) Short message verification method, device and system
CN106572081B (en) The method of logon rights verifying
CN108076056A (en) Cloud server login method and device
CN110619208B (en) User authentication method, server, user equipment and system
CN105657781B (en) WiFi network access method and device
CN104268756B (en) Method of mobile payment and system
CN112448956B (en) Authority processing method and device of short message verification code and computer equipment
CN111885043B (en) Internet account login method, system, equipment and storage medium
CN106203021A (en) The application login method of a kind of many certification modes integration and system
CN115982694A (en) Resource access method, device, equipment and medium
CN107766717A (en) A kind of access control method, apparatus and system
CN109699015B (en) Machine-card binding relationship authentication method and device and communication system
CN113347179A (en) Authentication server, card authentication system, secret-free authentication method and system
CN108600242B (en) Account registration method, device and equipment of application software and readable storage medium
CN111340635A (en) Data checking method, equipment, server and readable storage medium
CN108881320B (en) Authentication processing method for user login, server and client
CN110752933A (en) Verification code input method and device, electronic equipment and storage medium
CN112822172B (en) Login verification method and device, electronic equipment and storage medium
CN115408298A (en) Test method, device and system
CN106330882B (en) Security verification method and security verification device
CN114679336B (en) Authentication method, authentication system, authentication device, and readable storage medium
CN114025316B (en) Method and device for sending verification code and computer-readable storage medium
CN112712142B (en) Method for manufacturing radio frequency identification RFID card and related product

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