CN110460987B - Card writing method, device, server and storage medium - Google Patents

Card writing method, device, server and storage medium Download PDF

Info

Publication number
CN110460987B
CN110460987B CN201910555655.8A CN201910555655A CN110460987B CN 110460987 B CN110460987 B CN 110460987B CN 201910555655 A CN201910555655 A CN 201910555655A CN 110460987 B CN110460987 B CN 110460987B
Authority
CN
China
Prior art keywords
card writing
card
request
information
terminal equipment
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
CN201910555655.8A
Other languages
Chinese (zh)
Other versions
CN110460987A (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 Mobile Communications Group Co Ltd
China Mobile Group Jiangxi Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Jiangxi Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Group Jiangxi Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910555655.8A priority Critical patent/CN110460987B/en
Publication of CN110460987A publication Critical patent/CN110460987A/en
Application granted granted Critical
Publication of CN110460987B publication Critical patent/CN110460987B/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/183Processing at user equipment or user record carrier
    • 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

Abstract

The embodiment of the invention provides a card writing method, a card writing device, a server and a storage medium. According to the technical scheme provided by the embodiment of the invention, according to a plurality of preset types of information, a type score corresponding to each type of information is generated according to a plurality of user information corresponding to each type of information, a priority score corresponding to a card writing request is calculated, then the card writing request is transferred into a card writing processing queue according to the priority score, so that card writing data corresponding to the card writing request is generated, the card writing data is sent to terminal equipment, and a card writing device is controlled by the terminal equipment to write the card writing data into a blank SIM card of the terminal equipment, so that when the service request amount is large and the concurrency amount is large, the fast processing of the card writing service with high priority can be preferentially ensured, the problem of system congestion is relieved, the fast response of the whole process of the remote card writing request can be effectively ensured at the system level, and the use perception of a user is improved.

Description

Card writing method, device, server and storage medium
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of communications technologies, and in particular, to a card writing method, an apparatus, a server, and a storage medium.
[ background of the invention ]
With the development of mobile services, a front-line worker has an increasing demand for helping a user select numbers and access to a network, but the manufacturing of SIM card information in the process of selecting numbers and accessing to the network is critical, and can only be completed in a business hall by using a special card writer in the early stage, so that the mode is inconvenient to use, and the card manufacturing process is limited to be limited in the range of the business hall. With the development of technology, the SIM card is manufactured by connecting a small card writer with terminal equipment, and in such a way, a front-line worker can go out of a business hall and manufacture the SIM card on site for a number selection process at any time and any place.
In the era of mobile internet, a front-line worker handles services through terminal equipment under the condition of huge concurrent requests, and when a plurality of card writing requests arrive at a server at the same time, the condition of system congestion may occur, so that service response is not timely, and the user perception is poor.
[ summary of the invention ]
In view of this, embodiments of the present invention provide a card writing method, a card writing device, a server, and a storage medium, so as to solve the problem in the prior art that a service response is not timely due to system congestion occurring in a process of processing a card writing request.
In one aspect, an embodiment of the present invention provides a card writing method, where the method includes:
receiving a card writing request sent by terminal equipment, wherein the card writing request comprises a plurality of user information corresponding to different types of information;
generating a type score corresponding to each type information according to a plurality of preset type information and a plurality of user information corresponding to each type information;
generating a priority grade corresponding to the card writing request according to the plurality of types of grades;
judging whether the priority grade is larger than a first set threshold value or not;
if the priority score is larger than a first set threshold value, sending a card writing request to a service support system, so that the service support system adds the card writing request to a card writing processing queue, and generating card writing data corresponding to the card writing request according to the arrangement sequence of the card writing requests in the card writing processing queue;
and receiving card writing data corresponding to the card writing request sent by the service support system, and sending the card writing data to the terminal equipment so that the terminal equipment controls the card writer to write the card writing data into a blank SIM card of the terminal equipment.
Optionally, the generating, according to a plurality of preset types of information, a type score corresponding to each of the types of information according to a plurality of pieces of user information corresponding to each of the types of information includes:
inquiring a reference score corresponding to each user information from a preset scoring relation corresponding to each type information;
the preset scoring relationship is a corresponding relationship between the user information and the reference score;
multiplying the reference value by the weighting factor corresponding to each user information to obtain a final score corresponding to each user information;
and adding the final scores to calculate the type score corresponding to each type information.
Optionally, the generating a priority score corresponding to the card writing request according to the multiple type scores includes:
multiplying the type score corresponding to each type information by the balance coefficient factor corresponding to each type information to obtain a multiplication result corresponding to each type information;
and adding the multiplication results corresponding to each type of information, and calculating the priority grade corresponding to the card writing request.
Optionally, if the priority score is judged to be less than or equal to a first set threshold, sending a card writing request to a service support system, so that the service support system adds the card writing request to a comprehensive service processing queue to generate card writing data corresponding to the card writing request;
and receiving card writing data corresponding to the card writing request sent by the service support system, and sending the card writing data to the terminal equipment so that the terminal equipment controls the card writer to write the card writing data into a blank SIM card of the terminal equipment.
Optionally, the order of the card writing requests in the card writing processing queue may be determined according to the priority scores corresponding to the card writing requests.
Optionally, the service support system determines whether the number of the card writing requests in the card writing processing queue is greater than a second set threshold;
and if the number of the card writing requests in the card writing processing queue is judged to be larger than a second set threshold value, adding the SIM card resource updating request and the paperless signature storage request into a storage queue, and performing asynchronous processing on the SIM card resource updating request and the paperless signature storage request in the storage queue.
Optionally, the service support system determines whether the number of the card writing requests in the integrated service processing queue is greater than a third set threshold;
and if the number of the card writing requests in the comprehensive service processing queue is judged to be larger than a third set threshold value, adding the SIM card resource updating request and the paperless signature storage request into a storage queue, and performing asynchronous processing on the SIM card resource updating request and the paperless signature storage request in the storage queue.
In another aspect, an embodiment of the present invention provides a card writing device, including:
the card writing device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a card writing request sent by terminal equipment, and the card writing request comprises a plurality of user information corresponding to different types of information; receiving card writing data corresponding to a card writing request sent by a service support system, and sending the card writing data to terminal equipment so that the terminal equipment can control a card writer to write the card writing data into a blank SIM card of the terminal equipment;
the first generation unit is used for generating a type score corresponding to each type information according to a plurality of preset type information and a plurality of user information corresponding to each type information;
the second generation unit is used for generating a priority grade corresponding to the card writing request according to the plurality of types of grades;
the judging unit is used for judging whether the priority grade is larger than a first set threshold value or not;
and the third generating unit is used for sending the card writing request to a service support system if the priority score is judged to be larger than the first set threshold value, so that the service support system adds the card writing request to a card writing processing queue, and generates card writing data corresponding to the card writing request according to the arrangement sequence of the card writing requests in the card writing processing queue.
On the other hand, the embodiment of the invention provides a storage medium, which includes a stored program, wherein when the program runs, the device where the storage medium is located is controlled to execute the card writing method.
In another aspect, an embodiment of the present invention provides a server, including a memory and a processor, where the memory is used to store information including program instructions, and the processor is used to control execution of the program instructions, where the program instructions are loaded by the processor and executed to implement the steps of the card writing method described above.
According to the scheme of the embodiment of the invention, according to a plurality of preset types of information, a type score corresponding to each type of information is generated according to a plurality of user information corresponding to each type of information, a priority score corresponding to a card writing request is calculated, the card writing request is transferred into a card writing processing queue according to the priority score, so that card writing data corresponding to the card writing request is generated, the card writing data is sent to terminal equipment, and the card writing device is controlled by the terminal equipment to write the card writing data into a blank SIM card of the terminal equipment, so that when the service request amount is large and the concurrent amount is large, the fast processing of the card writing service with high priority can be preferentially ensured, the problem of system congestion is relieved, the fast response of the whole process of the remote card writing request can be effectively ensured at the system level, and the use perception of a user is improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a card writing method according to an embodiment of the present invention;
FIG. 2 is a flowchart of another card writing method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a card writing device according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a server according to an embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
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.
It should be understood that although the terms first, second, etc. may be used to describe the set thresholds in the embodiments of the present invention, the set thresholds should not be limited to these terms. These terms are used only to distinguish the set thresholds from each other. For example, the first set threshold may also be referred to as the second set threshold, and similarly, the second set threshold may also be referred to as the first set threshold, without departing from the scope of embodiments of the present invention.
Fig. 1 is a flowchart of a card writing method according to an embodiment of the present invention, and as shown in fig. 1, the method includes:
step S101, receiving a card writing request sent by terminal equipment, wherein the card writing request comprises a plurality of user information corresponding to different types of information;
step S102, generating a type score corresponding to each type information according to a plurality of preset type information and a plurality of user information corresponding to each type information;
step S103, generating a priority grade corresponding to the card writing request according to the grades of the multiple types;
step S104, judging whether the priority grade is larger than a first set threshold value, if so, executing step S105; if not, executing step S106;
step S105, sending the card writing request to a service support system so that the service support system can add the card writing request into a card writing processing queue, generating card writing data corresponding to the card writing request according to the arrangement sequence of the card writing requests in the card writing processing queue, and continuously executing step S107;
step S106, sending the card writing request to a service support system so that the service support system can add the card writing request into a comprehensive service processing queue to generate card writing data corresponding to the card writing request;
and S107, receiving card writing data corresponding to the card writing request sent by the service support system, and sending the card writing data to the terminal equipment so that the terminal equipment can control the card writer to write the card writing data into a blank SIM card of the terminal equipment.
According to the technical scheme provided by the embodiment of the invention, according to a plurality of preset types of information, a type score corresponding to each type of information is generated according to a plurality of user information corresponding to each type of information, a priority score corresponding to a card writing request is calculated, then the card writing request is transferred into a card writing processing queue according to the priority score, so that card writing data corresponding to the card writing request is generated, the card writing data is sent to terminal equipment, and a card writing device is controlled by the terminal equipment to write the card writing data into a blank SIM card of the terminal equipment, so that when the service request amount is large and the concurrency amount is large, the fast processing of the card writing service with high priority can be preferentially ensured, the problem of system congestion is relieved, the fast response of the whole process of the remote card writing request can be effectively ensured at the system level, and the use perception of a user is improved.
Fig. 2 is a flowchart of another card writing method according to an embodiment of the present invention, as shown in fig. 2, the method includes:
step S201, the server receives a card writing request sent by the terminal device, where the card writing request includes a plurality of user information corresponding to different types of information.
The steps in this embodiment may be performed by a server.
In this embodiment, the type information includes: customer type information, number type information, and job number type information.
In this embodiment, the user information specifically includes: number star level, average income per user (ARPU) value, important group network number, important relation person, important list, OA examination and approval number, lucky number, important mark number, Business Support System (BOSS) number of group client part, important BOSS number during campus autumn opening, BOSS number in important mark list and BOSS number when transacted Business volume exceeds a specific threshold.
Step S202, the server generates a type score corresponding to each type information according to a plurality of preset type information and a plurality of user information corresponding to each type information.
In this embodiment, the server queries a reference score corresponding to each piece of user information from a preset scoring relationship corresponding to each piece of type information, multiplies the reference score by a weighting factor corresponding to each piece of user information to obtain a final score corresponding to each piece of user information, and adds the final scores to calculate a type score corresponding to each piece of type information. The preset scoring relationship is a corresponding relationship between the user information and the reference score. The preset scoring relationship corresponding to each type of information is shown in the following tables 1-3, where table 1 is the preset scoring relationship corresponding to the customer type of information, table 2 is the preset scoring relationship corresponding to the number type of information, and table 3 is the preset scoring relationship corresponding to the job number type of information.
TABLE 1
Figure BDA0002106796780000071
As shown in table 1, when the mobile phone number selected by the user is a four-star annual rating number, the corresponding reference is divided into 1, and the reference is multiplied by the corresponding weighting factor 1 to obtain a final score a corresponding to the number star level, or when the mobile phone number selected by the user is a five-star annual rating number, the corresponding reference is divided into 2, and the reference is multiplied by the corresponding weighting factor 1 to obtain a final score a corresponding to the number star level; when the monthly average consumption of the user is more than or equal to 100 yuan and less than 200 yuan, the corresponding reference is divided into 1, the reference is multiplied by the corresponding weighting factor 2 to obtain the final score B corresponding to the ARPU value, or when the monthly average consumption of the user is more than or equal to 200 yuan and less than 300 yuan, the corresponding reference is divided into 2, the reference is multiplied by the corresponding weighting factor 2 to obtain the final score B corresponding to the ARPU value, or when the monthly average consumption of the user is more than or equal to 300 yuan and less than 500 yuan, the corresponding reference is divided into 3, the reference is multiplied by the corresponding weighting factor 2 to obtain the final score B corresponding to the ARPU value, or when the monthly average consumption of the user is more than or equal to 500 yuan, the corresponding reference is divided into 4, and the reference is multiplied by the corresponding weighting factor 2 to obtain the final score B corresponding to the ARPU value; when the mobile phone number selected by the user is the member number of the important group network, the corresponding reference is divided into 2, the reference is multiplied by the corresponding weighting factor 3 to obtain the final score C corresponding to the important group network number, otherwise, the corresponding reference is divided into 0, and the final score C is 0; when the user is an important relation person marked by the system, the corresponding reference is divided into 3, the reference is multiplied by the corresponding weighting factor 4 to obtain a final score D corresponding to the important relation person, otherwise, the corresponding reference is divided into 0, and the final score D is 0; and when the user is positioned in the important list relation table, dividing the corresponding reference into 2, multiplying the reference by the corresponding weighting factor 5 to obtain the final score E corresponding to the important list, otherwise, dividing the corresponding reference into 0, and setting the final score E to be 0.
In this embodiment, the final scores A, B, C, D, E are added to calculate a type score Z1 corresponding to the customer type information, that is: z1 ═ a + B + C + D + E.
TABLE 2
Figure BDA0002106796780000081
As shown in table 2, when the mobile phone number selected by the user is a number specially approved by the OA system process, the corresponding reference is divided into 2, the reference is multiplied by the corresponding weighting factor 1 to obtain the final score a corresponding to the OA approval number, otherwise, the corresponding reference is divided into 0, and the final score a is 0; when the mobile phone number selected by the user is the number of the first grade in the lucky number list, the corresponding reference is divided into 1, the reference is multiplied by the corresponding weighting factor 2 to obtain the final score B corresponding to the lucky number, or when the mobile phone number selected by the user is the number of the second grade in the lucky number list, the corresponding reference is divided into 2, the reference is multiplied by the corresponding weighting factor 2 to obtain the final score B corresponding to the lucky number, or when the mobile phone number selected by the user is the number of the third grade in the lucky number list, the corresponding reference is divided into 3, the reference is multiplied by the corresponding weighting factor 2 to obtain the final score B corresponding to the lucky number, or when the mobile phone number selected by the user is the number of the fourth grade in the lucky number list, the corresponding reference is divided into 4, the reference is multiplied by the corresponding weighting factor 2, obtaining a final score B corresponding to the lucky number; and when the mobile phone number selected by the user is the number included in the key mark table, dividing the corresponding reference into 1, multiplying the reference by the corresponding weighting factor 3 to obtain a final score C corresponding to the key mark number, otherwise, dividing the corresponding reference into 0, and setting the final score C to be 0.
In this embodiment, the final scores A, B, C are added to calculate a genre score Z2 corresponding to the number genre information, that is: z2 ═ a + B + C.
TABLE 3
Figure BDA0002106796780000091
As shown in table 3, when the job number of the staff member is the related BOSS job number of the group client, the corresponding reference is divided into 1, and the reference is multiplied by the corresponding weighting factor 1 to obtain the final score a corresponding to the related BOSS job number of the group client, otherwise, the corresponding reference is divided into 0, and the final score a is 0; when the work number of the worker is the key BOSS work number during the campus autumn opening period, the corresponding reference is divided into 1, the reference is multiplied by the corresponding weighting factor 2 to obtain a final score B corresponding to the key BOSS work number during the campus autumn opening period, otherwise, the corresponding reference is divided into 0, and the final score B is 0; when the work number of the worker is the BOSS work number contained in the key mark table, the corresponding reference is divided into 1, the reference is multiplied by the corresponding weighting factor 3 to obtain the final score C corresponding to the BOSS work number in the key mark table, otherwise, the corresponding reference is divided into 0, and the final score C is 0; and when the job number of the staff is the BOSS job number with the transacted traffic volume exceeding the specific threshold, dividing the corresponding reference into 2, multiplying the reference by the corresponding weighting factor 4 to obtain the final score D corresponding to the BOSS job number with the transacted traffic volume exceeding the specific threshold, otherwise, dividing the corresponding reference into 0, and finally, dividing the final score D into 0.
In this embodiment, the server adds the final scores A, B, C, D to calculate a type score Z3 corresponding to the job number type information, that is: z3 ═ a + B + C + D.
In this embodiment, the values of the reference points and the weighting factors in tables 1 to 3 are adjusted in a one-year cycle.
In this embodiment, the weighting factors in tables 1 to 3 take values greater than or equal to 0 and less than or equal to 1.
In this embodiment, the specific threshold for handling traffic in table 3 is set according to seasonal traffic.
And step S203, the server generates a priority grade corresponding to the card writing request according to the plurality of type grades.
In this embodiment, the server multiplies the type score corresponding to each type of information by the balance coefficient factor corresponding to each type of information, obtains a multiplication result corresponding to each type of information, adds the multiplication results corresponding to each type of information, and calculates the priority score corresponding to the card writing request.
In this embodiment, the value of the balance coefficient factor is greater than or equal to 0 and less than or equal to 1, and is adjusted in a cycle of one year.
Step S204, the server judges whether the priority score is larger than a first set threshold, if so, the step S205 is executed; if not, go to step S207.
And step S205, the server sends the card writing request to the service support system.
Step S206, the service support system adds the card writing request into the card writing processing queue, generates card writing data corresponding to the card writing request according to the arrangement sequence of the card writing requests in the card writing processing queue, and continues to execute step S209.
For example: and after adding the card writing requests into the card writing processing queue, the service support system can judge whether the number of the card writing requests in the card writing processing queue is greater than a second set threshold, if the number of the card writing requests in the card writing processing queue is greater than the second set threshold, add the SIM card resource updating requests and the paperless signature storage requests into the storage queue, asynchronously process the SIM card resource updating requests and the paperless signature storage requests in the storage queue, synchronize the updating contents of the SIM card resources to the card writing system according to the request sequence in the storage queue, and store the paperless signature to the card writing system.
In this embodiment, the SIM card resource update request and the paperless signature storage request relate to internal resource update and storage change, do not affect the actual opening of number selection networking, and can be executed step by step in the storage queue after card writing is completed. The SIM card resource updating request and the paperless signature storage request are added into a storage queue, and the SIM card resource updating request and the paperless signature storage request in the storage queue are processed asynchronously, so that the service response efficiency can be improved, and the use feeling of a user can be enhanced.
In this embodiment, the card-writing processing queue has independent system resources and processing channels, and is not shared with other service requests, so that the card-writing processing queue can be isolated from other service requests, the response speed of the card-writing request with the priority score greater than the first set threshold is preferentially ensured, and the use perception of a user is improved.
And step S207, the server sends the card writing request to the service support system.
And S208, adding the card writing request into the comprehensive service processing queue by the service support system to generate card writing data corresponding to the card writing request.
For example: after the business support system adds the card writing requests into the comprehensive business processing queue, whether the number of the card writing requests in the comprehensive business processing queue is larger than a third set threshold value or not can be judged, if the number of the card writing requests in the comprehensive business processing queue is judged to be larger than the third set threshold value, SIM card resource updating requests and paperless signature storage requests are added into a storage queue, the SIM card resource updating requests and the paperless signature storage requests in the storage queue are processed asynchronously, the updating content of the SIM card resources is synchronized to the card writing system according to the request sequence in the storage queue, and the paperless signature is stored to the card writing system.
In this embodiment, the SIM card resource update request and the paperless signature storage request relate to internal resource update and storage change, do not affect the actual opening of number selection networking, and can be executed step by step in the storage queue after card writing is completed. The SIM card resource updating request and the paperless signature storage request are added into a storage queue, and the SIM card resource updating request and the paperless signature storage request in the storage queue are processed asynchronously, so that the service response efficiency can be improved, and the use feeling of a user can be enhanced.
In this embodiment, the arrangement sequence of the SIM card resource update requests and the paperless signature storage requests in the storage queue may be determined according to the arrangement sequence of the card writing requests in the card writing processing queue and/or the integrated service processing queue.
In this embodiment, the integrated service processing queue is a queue shared by all service requests except the card writing request whose priority score is greater than the first set threshold, and the service requests in the integrated service processing queue share resources and processing channels.
In this embodiment, the first set threshold is determined according to the priority rating of the standard user, where the standard user is a user whose user information, such as ARPU value and number star level, is at an average level. For example, if the priority score of the standard user is 70 points, the first set threshold value is set to 70.
In this embodiment, the order of the card writing requests in the card writing processing queue may be determined according to the priority scores corresponding to the card writing requests, where the card writing request with the higher priority score is processed preferentially.
Step S209, the server receives card writing data corresponding to the card writing request sent by the service support system, and sends the card writing data to the terminal device.
And step S210, the terminal equipment controls the card writer to write the card writing data into a blank SIM card of the terminal equipment.
In the embodiment of the invention, multiple types of information are provided by combining diversified data sources, so as to evaluate the importance degree of the card writing request, quantify the importance degree based on real-time data of a big data platform, give priority scores in a numerical form, add the card writing request with high priority score into a card writing processing queue, use special system resources, guarantee the response speed and response time of the card writing request with high priority score, and obviously improve the use perception of a user.
In this embodiment, the second set threshold is determined according to an Application Programming Interface (API) processing capability. For example, when the response time is significantly increased when an Application Programming Interface (API) processes more than 200 requests, the second set threshold is set to 200.
In this embodiment, the third set threshold may be equal to the second set threshold.
The card writing process is described below using a specific embodiment:
the method comprises the steps that firstly, the terminal equipment controls a card writer to read basic data in a blank SIM card of the terminal equipment, and sends a plurality of user information corresponding to different types of information to a server. And secondly, the server generates a type score corresponding to each type information according to the user information corresponding to the preset type information, generates a priority score corresponding to the card writing request according to each type score, and if the priority score corresponding to the card writing request is larger than a first set threshold value, the service support system adds the card writing request into a card writing processing queue, otherwise, the service support system adds the card writing request into a comprehensive service processing queue. And thirdly, the service support system carries out internal transmission, verification, assembly and encryption on the user information to generate card writing data and returns the card writing data to the server. And fourthly, the server sends the card writing data to the terminal equipment. And fifthly, the terminal equipment controls the card writer to write the received card writing data into the blank SIM card. And sixthly, the terminal equipment calls a real-name system plug-in to carry out real-name system verification on the new network access user. And seventhly, the terminal equipment transmits the card writing success information and the real-name authentication success information back to the server, and the server informs the service support system. And step eight, the service support system updates the SIM card resources. And ninthly, the service support system sends an account opening instruction to the network side for account opening activation. And step ten, the terminal equipment carries out paperless signature and uploads and stores the signature to the server.
Further, if the business support system judges that the number of the card writing requests in the card writing processing queue is larger than a second set threshold value, adding the SIM card resource updating request and the paperless signature storage request into a storage queue, and performing asynchronous processing on the SIM card resource updating request and the paperless signature storage request in the storage queue; and if the business support system judges that the number of the card writing requests in the comprehensive business processing queue is greater than a third set threshold value, adding the SIM card resource updating requests and the paperless signature storage requests into a storage queue, and performing asynchronous processing on the SIM card resource updating requests and the paperless signature storage requests in the storage queue.
In the embodiment of the invention, according to the processing capacity of an Application Programming Interface (API), the storage operation and the generated card writing data in the service support system are asynchronously processed by splitting necessary links and unnecessary links in the card writing process, so that the service response under the condition that the service request quantity exceeds the processing capacity of the API is improved, the service response time and efficiency are improved, the fast processing of the card writing service with high priority is preferentially ensured, the problem of system congestion is alleviated, and the use perception of a user is improved.
According to the technical scheme of the card writing method provided by the embodiment of the invention, according to a plurality of preset types of information, a type score corresponding to each type of information is generated according to a plurality of user information corresponding to each type of information, a priority score corresponding to a card writing request is calculated, then the card writing request is called into a card writing processing queue according to the priority score, so that card writing data corresponding to the card writing request is generated, the card writing data is sent to terminal equipment, and a card writer is controlled by the terminal equipment to write the card writing data into a blank SIM card of the terminal equipment, so that when the service request amount is large, the card writing service with high priority can be preferentially ensured to be rapidly processed, the problem of system congestion is relieved, the rapid response of the whole process of the remote card writing request can be effectively ensured at the system level, and the use perception of a user is improved.
Fig. 3 is a schematic structural diagram of a card writing device according to an embodiment of the present invention, the device is configured to execute the card writing method, and as shown in fig. 3, the device includes: a receiving unit 11, a first generating unit 12, a second generating unit 13, a judging unit 14 and a third generating unit 15.
The receiving unit 11 is configured to receive a card writing request sent by a terminal device, where the card writing request includes multiple pieces of user information corresponding to different types of information; receiving card writing data corresponding to a card writing request sent by a service support system, sending the card writing data to terminal equipment, and controlling a card writer by the terminal equipment to write the card writing data into a blank SIM card of the terminal equipment;
the first generating unit 12 is configured to generate a type score corresponding to each piece of type information according to a plurality of preset pieces of type information and a plurality of pieces of user information corresponding to each piece of type information;
the second generating unit 13 is configured to generate a priority score corresponding to the card writing request according to the multiple type scores;
the judging unit 14 is used for judging whether the priority score is larger than a first set threshold value;
the third generating unit 15 is configured to send the card writing request to the service support system if it is determined that the priority score is greater than the first set threshold, the service support system adds the card writing request to the card writing processing queue, and generates card writing data corresponding to the card writing request according to an arrangement order of the card writing requests in the card writing processing queue.
In the embodiment of the present invention, the first generating unit 12 includes a query submodule 121, a first calculating submodule 122, and a second calculating submodule 123.
The query submodule 121 is configured to query a reference score corresponding to each piece of user information from a preset scoring relationship corresponding to each piece of type information;
the first calculating sub-module 122 is configured to multiply the reference value by the weighting factor corresponding to each piece of the user information to obtain a final score corresponding to each piece of the user information;
the second calculating and calculating module 123 is configured to add the final scores and calculate a type score corresponding to each piece of the type information.
In the embodiment of the present invention, the second generating unit 13 includes a third calculating submodule 131 and a fourth calculating submodule 132.
The third calculating submodule 131 is configured to multiply the type score corresponding to each piece of the type information by the balance coefficient factor corresponding to each piece of the type information, so as to obtain a multiplication result corresponding to each piece of the type information;
the fourth calculating sub-module 132 is configured to add the multiplication results corresponding to each of the types of information, and calculate a priority score corresponding to the card writing request.
According to the scheme of the embodiment of the invention, according to a plurality of preset types of information, a type score corresponding to each type of information is generated according to a plurality of user information corresponding to each type of information, a priority score corresponding to a card writing request is calculated, the card writing request is transferred into a card writing processing queue according to the priority score, so that card writing data corresponding to the card writing request is generated, the card writing data is sent to terminal equipment, and the card writing device is controlled by the terminal equipment to write the card writing data into a blank SIM card of the terminal equipment, so that when the service request amount is large and the concurrent amount is large, the fast processing of the card writing service with high priority can be preferentially ensured, the problem of system congestion is relieved, the fast response of the whole process of the remote card writing request can be effectively ensured at the system level, and the use perception of a user is improved.
An embodiment of the present invention provides a storage medium, where the storage medium includes a stored program, where, when the program runs, a device on which the storage medium is located is controlled to execute each step of the above-described embodiment of the card writing method, and for specific description, reference may be made to the above-described embodiment of the card writing method.
Embodiments of the present invention provide a server, including a memory and a processor, where the memory is configured to store information including program instructions, and the processor is configured to control execution of the program instructions, and the program instructions are loaded and executed by the processor to implement steps of the above card writing method, and specific descriptions may refer to the above card writing method.
Fig. 4 is a schematic diagram of a server according to an embodiment of the present invention. As shown in fig. 4, the server 20 of this embodiment includes: the processor 21, the memory 22, and the computer program 23 stored in the memory 22 and capable of running on the processor 21, where the computer program 23 is executed by the processor 21 to implement the data processing method applied in the embodiments, and in order to avoid repetition, the details are not repeated herein. Alternatively, the computer program is executed by the processor 21 to implement the functions of the models/units applied to the card writing device in the embodiment, which are not described herein again to avoid redundancy.
The server 20 includes, but is not limited to, a processor 21, a memory 22. Those skilled in the art will appreciate that fig. 4 is merely an example of a server 20 and does not constitute a limitation of server 20 and may include more or fewer components than shown, or some components in combination, or different components, e.g., the server may also include input-output devices, network access devices, buses, etc.
The Processor 21 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 22 may be an internal storage unit of the server 20, such as a hard disk or a memory of the server 20. The memory 22 may also be an external storage device of the server 20, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like provided on the server 20. Further, the memory 22 may also include both an internal storage unit of the server 20 and an external storage device. The memory 22 is used for storing computer programs and other programs and data required by the server. The memory 22 may also be used to temporarily store data that has been output or is to be output.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method of writing a card, the method comprising:
receiving a card writing request sent by terminal equipment, wherein the card writing request comprises a plurality of user information corresponding to different types of information;
generating a type score corresponding to each type information according to a plurality of preset type information and a plurality of user information corresponding to each type information;
generating a priority grade corresponding to the card writing request according to the plurality of types of grades;
judging whether the priority grade is larger than a first set threshold value or not;
if the priority score is larger than a first set threshold value, sending a card writing request to a service support system, so that the service support system adds the card writing request to a card writing processing queue, and generating card writing data corresponding to the card writing request according to the arrangement sequence of the card writing requests in the card writing processing queue;
and receiving card writing data corresponding to the card writing request sent by the service support system, and sending the card writing data to the terminal equipment so that the terminal equipment controls the card writer to write the card writing data into a blank SIM card of the terminal equipment.
2. The card writing method according to claim 1, wherein the generating a type score corresponding to each of the type information according to a plurality of preset type information and a plurality of user information corresponding to each of the type information comprises:
inquiring a reference score corresponding to each user information from a preset scoring relation corresponding to each type information;
the preset scoring relationship is a corresponding relationship between the user information and the reference score;
multiplying the reference value by the weighting factor corresponding to each user information to obtain a final score corresponding to each user information;
and adding the final scores to calculate the type score corresponding to each type information.
3. The card writing method according to claim 1, wherein generating a priority score corresponding to the card writing request according to the plurality of type scores comprises:
multiplying the type score corresponding to each type information by the balance coefficient factor corresponding to each type information to obtain a multiplication result corresponding to each type information;
and adding the multiplication results corresponding to each type of information, and calculating the priority grade corresponding to the card writing request.
4. The card writing method according to claim 1, further comprising:
if the priority score is smaller than or equal to a first set threshold value, sending a card writing request to a service support system, so that the service support system adds the card writing request to a comprehensive service processing queue to generate card writing data corresponding to the card writing request;
and receiving card writing data corresponding to the card writing request sent by the service support system, and sending the card writing data to the terminal equipment so that the terminal equipment controls the card writer to write the card writing data into a blank SIM card of the terminal equipment.
5. The card writing method according to claim 1,
the arrangement sequence of the card writing requests in the card writing processing queue can be determined according to the priority scores corresponding to the card writing requests.
6. The method of claim 1, further comprising:
the business support system judges whether the number of the card writing requests in the card writing processing queue is larger than a second set threshold value or not;
and if the number of the card writing requests in the card writing processing queue is judged to be larger than a second set threshold value, adding the SIM card resource updating requests and the paperless signature storage requests into a storage queue, and performing asynchronous processing on the SIM card resource updating requests and the paperless signature storage requests in the storage queue.
7. The card writing method according to claim 4, further comprising:
the service support system judges whether the number of the card writing requests in the comprehensive service processing queue is greater than a third set threshold value;
and if the number of the card writing requests in the comprehensive service processing queue is judged to be larger than a third set threshold value, adding the SIM card resource updating request and the paperless signature storage request into a storage queue, and performing asynchronous processing on the SIM card resource updating request and the paperless signature storage request in the storage queue.
8. A card writing apparatus, characterized in that the apparatus comprises:
the card writing device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a card writing request sent by terminal equipment, and the card writing request comprises a plurality of user information corresponding to different types of information; receiving card writing data corresponding to a card writing request sent by a service support system, and sending the card writing data to terminal equipment so that the terminal equipment can control a card writer to write the card writing data into a blank SIM card of the terminal equipment;
the first generation unit is used for generating a type score corresponding to each type information according to a plurality of preset type information and a plurality of user information corresponding to each type information;
the second generation unit is used for generating a priority grade corresponding to the card writing request according to the plurality of types of grades;
the judging unit is used for judging whether the priority grade is larger than a first set threshold value or not;
and the third generating unit is used for sending the card writing request to a service support system if the priority score is judged to be larger than the first set threshold value, so that the service support system adds the card writing request to a card writing processing queue, and generates card writing data corresponding to the card writing request according to the arrangement sequence of the card writing requests in the card writing processing queue.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein when the program runs, a device where the storage medium is located is controlled to execute the card writing method according to any one of claims 1 to 7.
10. A server comprising a memory for storing information including program instructions and a processor for controlling the execution of the program instructions, wherein the program instructions are loaded and executed by the processor to implement the steps of the card writing method of any one of claims 1 to 7.
CN201910555655.8A 2019-06-25 2019-06-25 Card writing method, device, server and storage medium Active CN110460987B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910555655.8A CN110460987B (en) 2019-06-25 2019-06-25 Card writing method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910555655.8A CN110460987B (en) 2019-06-25 2019-06-25 Card writing method, device, server and storage medium

Publications (2)

Publication Number Publication Date
CN110460987A CN110460987A (en) 2019-11-15
CN110460987B true CN110460987B (en) 2022-04-08

Family

ID=68480868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910555655.8A Active CN110460987B (en) 2019-06-25 2019-06-25 Card writing method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN110460987B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115866579B (en) * 2023-02-28 2023-05-12 广州市易售宝互联网科技有限公司 Smart card writing method, smart card writing system, terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200410159A (en) * 2002-12-11 2004-06-16 Far Eastone Telecomm Co Ltd System for examining applicant for telecom number and execution method thereof
CN105101163A (en) * 2015-07-22 2015-11-25 联通兴业通信技术有限公司 Method and apparatus for card personalization over air
CN107179948A (en) * 2017-05-02 2017-09-19 中国联合网络通信集团有限公司 A kind of card writing method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9247023B2 (en) * 2011-07-27 2016-01-26 Qualcomm Incorporated System and method for prioritizing requests to a SIM
CN104093139B (en) * 2014-07-15 2017-10-03 中国联合网络通信集团有限公司 Air card-writing method, server and smart card

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200410159A (en) * 2002-12-11 2004-06-16 Far Eastone Telecomm Co Ltd System for examining applicant for telecom number and execution method thereof
CN105101163A (en) * 2015-07-22 2015-11-25 联通兴业通信技术有限公司 Method and apparatus for card personalization over air
CN107179948A (en) * 2017-05-02 2017-09-19 中国联合网络通信集团有限公司 A kind of card writing method and system

Also Published As

Publication number Publication date
CN110460987A (en) 2019-11-15

Similar Documents

Publication Publication Date Title
CN107464151B (en) Order data processing method and device for high-concurrency service
CN109104336A (en) Service request processing method, device, computer equipment and storage medium
CN111722918A (en) Service identification code generation method and device, storage medium and electronic equipment
WO2019019649A1 (en) Method and apparatus for generating investment portfolio product, storage medium and computer device
CN107798135B (en) Paging query method and device and electronic equipment
CN111080429A (en) Virtual resource acquisition method, device and storage medium
CN106227597A (en) Task priority treating method and apparatus
CN110460987B (en) Card writing method, device, server and storage medium
CN115145587A (en) Product parameter checking method and device, electronic equipment and storage medium
CN111522840B (en) Label configuration method, device, equipment and computer readable storage medium
Akingbesote et al. Performance modeling of proposed GUISET middleware for mobile healthcare services in E-marketplaces
CN109582439A (en) DCN dispositions method, device, equipment and computer readable storage medium
CN109062683A (en) The method, apparatus and computer readable storage medium of host resource distribution
CN110347477B (en) Service self-adaptive deployment method and device in cloud environment
CN109450684B (en) Method and device for expanding physical node capacity of network slicing system
CN106484417A (en) A kind of the application list methods of exhibiting and device
CN113850394B (en) Federal learning method and device, electronic equipment and storage medium
CN116185578A (en) Scheduling method of computing task and executing method of computing task
CN114070791B (en) Speed limiting processing method and device for data traffic
CN108667647A (en) A kind of setting method of device parameter, equipment and server
CN114490719A (en) Data query method and device, electronic equipment and storage medium
CN114090247A (en) Method, device, equipment and storage medium for processing data
CN112182107A (en) Method and device for acquiring list data, computer equipment and storage medium
CN112994911A (en) Calculation unloading method and device and computer readable storage medium
CN113326680A (en) Method and device for generating table

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