CN113723576A - Method for setting device number for ICCID, computer device and storage medium - Google Patents
Method for setting device number for ICCID, computer device and storage medium Download PDFInfo
- Publication number
- CN113723576A CN113723576A CN202110900439.XA CN202110900439A CN113723576A CN 113723576 A CN113723576 A CN 113723576A CN 202110900439 A CN202110900439 A CN 202110900439A CN 113723576 A CN113723576 A CN 113723576A
- Authority
- CN
- China
- Prior art keywords
- iccid
- device number
- obtaining
- setting
- equipment number
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2358—Change logging, detection, and notification
Abstract
The invention discloses a method for setting an equipment number for an ICCID, which relates to the technical field of card information input, and comprises the steps of setting the equipment number on a front-end page, allowing the equipment number to be renewed, changing a package and recharging.
Description
Technical Field
The invention relates to the technical field of card information input, in particular to a method for setting an equipment number for an ICCID, computer equipment and a storage medium.
Background
The ICCID of the existing card is a character string with the length of 20 bits, which is inconvenient for a user to memorize and input, can only use the ICCID for renewal operation, cannot use a device number for renewal operation in a resale system, cannot use the device number for package change, recharging and other operations in the resale system, and cannot use the device number to inquire the corresponding ICCID card number.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a method, a computer device and a storage medium for setting a device number for an ICCID, which can solve the problems.
The technical scheme adopted by the invention for solving the technical problems is as follows:
in a method of setting a device number to an ICCID, the improvement comprising the method steps of:
s1, setting a device number on the front-end page;
s2, allowing the device number to be renewed, the package to be changed, and the value to be added.
As an improvement of the above technical solution, in step S1, the step of setting the device number on the front page includes the following steps:
submitting an ICCID equipment number file;
judging whether the ICCID of the file content is correct or not;
judging whether the equipment number is set;
if the device number is not set, a new device number is imported and stored in the database, and the updating state is successful.
As an improvement of the above technical solution, if the ICCID of the file content is incorrect, the device number has been used, the database connection fails or an error is reported, the setting fails.
As an improvement of the above technical solution, in step S2, the device number renewal step is as follows:
and obtaining the ICCID in the database according to the equipment number, wherein the obtaining is successful, a renewal interface is called, and the obtaining is failed.
As an improvement of the technical scheme, the method for changing the equipment number package comprises the following steps:
and obtaining the ICCID in the database according to the equipment number, and calling a package change interface if the obtaining is successful.
As an improvement of the technical scheme, the steps of recharging the equipment number are as follows:
and obtaining the ICCID in the database according to the equipment number, and calling a recharging interface if the obtaining is successful.
As an improvement of the above technical solution, if the acquisition of the ICCID in the database fails, the tag device number does not exist or an error is reported.
As an improvement of the above technical solution, the present invention further includes a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the method of any one of claims 1 to 7 is implemented.
As an improvement of the above technical solution, the present invention further includes a computer-readable storage medium storing a computer program for executing the method of any one of claims 1 to 7.
The invention has the beneficial effects that:
1. the ICCID of the card is bound with a device number which is convenient to memorize, so that the memory and the input of a user are convenient.
2. And the user can use the equipment number to carry out renewal operation in the resale system.
3. And the user can use the equipment number to change the package in the resale system.
4. And the user can use the equipment number to carry out recharging operation in the resale system.
5. The function of inquiring the corresponding ICCID card number by using the device number is realized.
Drawings
The invention is further illustrated with reference to the following figures and examples.
FIG. 1 is an overall flow diagram of the present invention;
FIG. 2 is a flow chart of the present invention for setting device numbers;
FIG. 3 is a flow chart of the device number renewal of the present invention;
FIG. 4 is a flow chart of the device number package change of the present invention;
fig. 5 is a flow chart of the device number recharge of the present invention.
Detailed Description
The conception, the specific structure, and the technical effects produced by the present invention will be clearly and completely described below in conjunction with the embodiments and the accompanying drawings to fully understand the objects, the features, and the effects of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and those skilled in the art can obtain other embodiments without inventive effort based on the embodiments of the present invention, and all embodiments are within the protection scope of the present invention. In addition, all the connection/connection relations referred to in the patent do not mean that the components are directly connected, but mean that a better connection structure can be formed by adding or reducing connection auxiliary components according to specific implementation conditions. All technical characteristics in the invention can be interactively combined on the premise of not conflicting with each other.
Referring to fig. 1, the present invention discloses a method for setting a device number to an ICCID, comprising the following method steps:
step S1: setting a device number on a front-end page;
step S2, allow the device number to renew, change the package, and recharge.
Referring to fig. 2, setting the device number on the front-end page includes the following steps:
submitting an ICCID equipment number file;
judging whether the ICCID of the file content is correct or not, and if the ICCID of the file content is incorrect, setting fails;
judging whether the device number is set or not, and if the ICCID of the file content is incorrect, setting fails;
if the device number is not set, a new device number is imported and stored in the database, the updating state is successful, and if the database connection fails or an error is reported, the setting fails.
In the above embodiment, the front-end page operation flow is as follows:
a user uploads a txt format file corresponding to an ICCID (integrated circuit identification device) equipment number, when the txt file content is empty, the user prompts that the file content is empty and repeatedly uploads the file content, and clicks a button for setting the equipment number to submit the file content; when the ICCID in the txt file content is wrong, prompting that the ICCID is wrong and requesting to upload repeatedly; when the device number in the txt file content is set, prompting that the device number is set and please upload repeatedly; when the input ICCID and the equipment number are correct, the successful setting is prompted.
The logic principle is realized for the ICCID binding equipment number:
receiving a txt format file corresponding to an ICCID (integrated circuit identifier) equipment number uploaded by a user by using a move _ uploaded _ file function of php;
acquiring an ICCID and a device number in a txt format file, and if the file content is empty, returning josn data of ' the file content is empty and repeat uploading ' is requested ';
judging whether the ICCID exists in a system mysql database or not, and if not, returning josn data of 'ICCID error request repeat uploading';
judging whether the equipment number exists in a system mysql database or not, and if so, returning josn data of 'the equipment number is set and please upload repeatedly';
and storing the ICCID and the new equipment number into a mysql database, and returning josn data of 'successful setting'.
Further, referring to fig. 3, the device number renewal step is as follows:
and obtaining the ICCID in the database according to the equipment number, successfully obtaining, calling a renewal interface, failing to obtain the ICCID in the database, and marking that the equipment number does not exist or reports an error.
In the above embodiment, the device number is allowed to continue implementing the logic principle:
inquiring corresponding ICCID according to the equipment number during the renewal period, and returning josn error report data if the corresponding equipment number is not inquired;
and applying a corresponding renewal interface according to the ICCID.
Still further, referring to fig. 4, the step of changing the equipment number package is as follows:
and obtaining the ICCID in the database according to the equipment number, if the obtaining is successful, calling a package change interface, and if the obtaining of the ICCID in the database is failed, marking that the equipment number does not exist or reporting an error.
In the above embodiment, the logic principle is implemented by allowing the equipment number package to change:
inquiring corresponding ICCID according to the equipment number during the renewal period, and returning josn error report data if the corresponding equipment number is not inquired;
and changing the interface according to the corresponding package for ICCID.
In addition, referring to fig. 5, the step of device number charging is as follows:
and obtaining the ICCID in the database according to the equipment number, if the obtaining is successful, calling a recharging interface, if the obtaining of the ICCID in the database is failed, and marking that the equipment number does not exist or reports an error.
In the above embodiment, the device number recharge is allowed to implement the logic principle:
and inquiring corresponding ICCID according to the equipment number during the renewal period, and returning josn error report data if the corresponding equipment number is not inquired.
And applying a corresponding recharging interface according to the ICCID.
The invention also comprises a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of any one of claims 1 to 7 when executing the computer program.
The invention also comprises a computer-readable storage medium having stored thereon a computer program for executing the method according to any of claims 1 to 7.
The invention has the beneficial effects that:
1. the ICCID of the card is bound with a device number which is convenient to memorize, so that the memory and the input of a user are convenient.
2. And the user can use the equipment number to carry out renewal operation in the resale system.
3. And the user can use the equipment number to change the package in the resale system.
4. And the user can use the equipment number to carry out recharging operation in the resale system.
5. The function of inquiring the corresponding ICCID card number by using the device number is realized.
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (9)
1. A method of setting a device number to an ICCID, comprising the method steps of:
s1, setting a device number on the front-end page;
s2, allowing the device number to be renewed, the package to be changed, and the value to be added.
2. The method of claim 1, wherein the step of setting the device number in the front page in step S1 comprises the steps of:
submitting an ICCID equipment number file;
judging whether the ICCID of the file content is correct or not;
judging whether the equipment number is set;
if the device number is not set, a new device number is imported and stored in the database, and the updating state is successful.
3. The method of claim 2, wherein the setting is failed if the ICCID of the file content is incorrect, the device number has been used, the database connection has failed, or an error is reported.
4. The method of claim 3, wherein the step of renewing the device number in step S2 comprises:
and obtaining the ICCID in the database according to the equipment number, wherein the obtaining is successful, a renewal interface is called, and the obtaining is failed.
5. The method of claim 1, wherein the step of changing the package of device numbers is as follows:
and obtaining the ICCID in the database according to the equipment number, and calling a package change interface if the obtaining is successful.
6. The method of claim 1, wherein the step of charging the device number is as follows:
and obtaining the ICCID in the database according to the equipment number, and calling a recharging interface if the obtaining is successful.
7. A method as claimed in any one of claims 4 to 6, wherein if the acquisition of the ICCID in the database fails, the absence of the device number or an error is flagged.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1 to 7 when executing the computer program.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110900439.XA CN113723576A (en) | 2021-08-06 | 2021-08-06 | Method for setting device number for ICCID, computer device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110900439.XA CN113723576A (en) | 2021-08-06 | 2021-08-06 | Method for setting device number for ICCID, computer device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113723576A true CN113723576A (en) | 2021-11-30 |
Family
ID=78675032
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110900439.XA Pending CN113723576A (en) | 2021-08-06 | 2021-08-06 | Method for setting device number for ICCID, computer device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113723576A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008147262A1 (en) * | 2007-05-28 | 2008-12-04 | Telefonaktiebolaget Lm Ericsson (Publ) | User equipment tracing in a wireless communications network |
CN105162748A (en) * | 2014-05-30 | 2015-12-16 | 苹果公司 | Electronic subscriber identity module application identifier handling |
CN111510887A (en) * | 2020-03-30 | 2020-08-07 | 深圳联想懂的通信有限公司 | SIM card management method, equipment and storage medium |
CN112153627A (en) * | 2020-09-23 | 2020-12-29 | 前海联大(深圳)技术有限公司 | Management method and system of Internet of things card and electronic equipment |
-
2021
- 2021-08-06 CN CN202110900439.XA patent/CN113723576A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008147262A1 (en) * | 2007-05-28 | 2008-12-04 | Telefonaktiebolaget Lm Ericsson (Publ) | User equipment tracing in a wireless communications network |
CN105162748A (en) * | 2014-05-30 | 2015-12-16 | 苹果公司 | Electronic subscriber identity module application identifier handling |
CN111510887A (en) * | 2020-03-30 | 2020-08-07 | 深圳联想懂的通信有限公司 | SIM card management method, equipment and storage medium |
CN112153627A (en) * | 2020-09-23 | 2020-12-29 | 前海联大(深圳)技术有限公司 | Management method and system of Internet of things card and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109558525B (en) | Test data set generation method, device, equipment and storage medium | |
CN105549991A (en) | Software upgrading method and system for automobile diagnosis device | |
CN109800169A (en) | Acquisition methods, device, readable storage medium storing program for executing and the electronic equipment of test case | |
CN111600945B (en) | FTP server breakpoint downloading method and device based on block transmission | |
CN113312336A (en) | Data processing method, data processing apparatus, electronic device, storage medium, and program product | |
CN112698868A (en) | Unified error code method applied to multiple systems and storage device | |
CN113723576A (en) | Method for setting device number for ICCID, computer device and storage medium | |
CN110019485A (en) | A kind of product data storage method, terminal device and storage medium | |
CN111026531B (en) | Task repeated transmission processing method and device, computer equipment and storage medium | |
CN109343800B (en) | Storage device management method and device and readable storage medium | |
CN109245941B (en) | Service compensation method and device | |
CN1132105C (en) | Method enabling communication between an electronic device and a battery, and apparatus comprising an electronic device and a battery, and a battery enabling communication | |
CN109391380B (en) | HARQ retransmission method, device and sending equipment | |
CN113849477A (en) | Sign-in management method and device, electronic equipment and storage medium | |
CN114385290B (en) | Page conversion method, device and storage medium | |
CN106371867B (en) | Financial equipment software updating method and system | |
CN114003520B (en) | Data transmission method, device, system and medium between host and equipment | |
CN112162701B (en) | Storage space recycling method, device, equipment and computer storage medium | |
CN112948173A (en) | Data recovery method, device, equipment and medium | |
CN114205345A (en) | Method for setting service code for ICCID by Internet of things | |
CN112445800A (en) | Method and system for generating data serial number and electronic equipment | |
CN110955435A (en) | Burning method and related components of FPGA accelerator card onboard flash | |
CN106708549B (en) | OTA (over the air) upgrading method of handheld terminal | |
CN114866530B (en) | Method, device and computer storage medium for downloading upgrade data packet | |
CN111739543B (en) | Debugging method of audio coding method and related device thereof |
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 |