Code number configuration method, configuration device, electronic device and storage medium
By pre-setting a code number pool for each customer and performing batch code number configuration based on the mapping relationship, the problem of low efficiency in ESIM chip code number configuration of IoT terminals is solved, and simplified processes and efficient configuration are achieved.
Patent Information
- Application Number
- CN202311033879.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-15
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-08-15
AI Technical Summary
In the existing technology, the ESIM chip code number configuration efficiency of the Internet of Things terminal is low, and the code number needs to be configured one-to-one according to the different configuration requirements of different customers, resulting in cumbersome steps and a long production process.
Set the corresponding code number pool for each customer in advance. Based on the mapping relationship between the customer and the code number pool, configure the code numbers of the target terminals in batches, using the first-in-first-out mode or the order number locking method to configure the code numbers.
It realizes batch configuration of ESIM chip code numbers, improves code number configuration efficiency, simplifies the production process, and reduces configuration complexity.
Smart Images

Figure CN117221874B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic communication technology, and in particular to a code number configuration method, a configuration device, an electronic device and a storage medium. Background Art
[0002] Although the Internet of Things technology has achieved rapid development in recent years, a large number of IoT terminals do not yet have the ability to connect to the wireless network through WiFi or Bluetooth, and can only rely on the wireless cellular network provided by the operator. IoT terminals can connect to the wireless cellular network through an embedded subscriber identity module (ESIM). ESIM is different from the traditional pluggable subscriber identity module (SIM) card. It embeds the SIM card directly into the device in the form of an ESIM chip. Due to the advantages of ESIM such as small size, high stability and convenient switching of operators, it will play an important role in communications such as Internet of Vehicles, wearable devices, smart homes, smart homes, wireless mobile sales terminals (point of sale, POS), etc.
[0003] At present, when configuring ESIM chips for IoT terminals, it is necessary to configure code numbers for each ESIM chip one-to-one according to the different configuration requirements of different customers. This method has cumbersome steps and a long production process, resulting in low configuration efficiency.
[0004] Therefore, how to improve the efficiency of ESIM chip code configuration has become an urgent problem to be solved. Summary of the invention
[0005] The embodiments of the present application provide a code number configuration method, a configuration device, an electronic device and a storage medium, which improve the efficiency of ESIM chip code number configuration.
[0006] In a first aspect, an embodiment of the present application provides a code number configuration method, the method comprising: obtaining code number configuration request information, the code number configuration request information comprising a first customer identifier and multiple terminal identifiers; determining a first target code number pool based on the first customer identifier and a first mapping relationship, the first mapping relationship being used to represent a mapping relationship between a preset customer and a code number pool; configuring a target code number for each target terminal based on the first target code number pool, the target terminal being a terminal corresponding to the terminal identifier.
[0007] In one possible implementation, the code number configuration request information also includes a target order number, and configuring the target code number of each target terminal based on the first target code number pool includes: determining whether there is a code number locked with an order number in the first target code number pool; if there is no code number locked with an order number in the first target code number pool, configuring the target code number of each target terminal based on the first target code number pool in a first-in-first-out mode.
[0008] In a possible implementation, after determining whether there is a code number locked with an order number in the first target code number pool, it also includes: if there is a code number locked with an order number in the first target code number pool, based on the target order number, searching the first target code number pool for an order number consistent with the target order number; when an order number consistent with the target order number is found, configuring the target code number of each target terminal based on the target order number and a second mapping relationship, the second mapping relationship being used to represent a mapping relationship between a preset order number and a code number.
[0009] In a possible implementation, after configuring the target code number of each target terminal based on the first target code number pool, the method further includes: generating a correspondence table between terminal identifiers and code numbers based on the multiple terminal identifiers and the target code numbers of the target terminals.
[0010] In a possible implementation, before obtaining the code number configuration request information, it also includes: obtaining code number upload information, the code number upload information including a first customer identifier and a code number table; determining a first target code number pool based on the first customer identifier and the first mapping relationship; and storing the code number table in the first target code number pool.
[0011] In one possible implementation, determining the first target code number pool based on the first customer identifier and the first mapping relationship includes: judging whether there is a code number pool corresponding to the first customer identifier based on the first mapping relationship; if there is a code number pool corresponding to the first customer identifier, determining the first target code number pool based on the first customer identifier and the first mapping relationship; if there is no code number pool corresponding to the first customer identifier, creating a first target code number pool corresponding to the first target customer identifier.
[0012] In one possible implementation, the method also includes: querying the number of code numbers in each of the code number pools; when there is a code number pool whose number of code numbers is less than a preset threshold, outputting a code number supplement instruction, the code number supplement instruction including a second customer identifier, the second customer identifier being used to represent a customer identifier corresponding to a second target code number pool, the second target code number pool being used to represent a code number pool whose number of code numbers is less than the preset threshold.
[0013] In the second aspect, an embodiment of the present application provides a code number configuration device, which includes: an acquisition module, used to obtain code number configuration request information, the code number configuration request information includes a first customer identifier and multiple terminal identifiers; a determination module, used to determine a first target code number pool based on the first customer identifier and a first mapping relationship, the first mapping relationship is used to represent a mapping relationship between a preset customer and a code number pool; a configuration module, used to configure a target code number for each target terminal based on the first target code number pool, the target terminal being a terminal corresponding to the terminal identifier.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method described in the first aspect or any one of the implementation methods thereof is implemented.
[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect or any one of the implementation methods thereof is implemented.
[0016] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device executes the method described in the first aspect or any one of the implementation methods thereof.
[0017] Compared with the prior art, the beneficial effect of the embodiments of the present application is that a corresponding code number pool is set for each customer in advance. When a target customer needs to configure code numbers for the ESIM chips of multiple target terminals, it is only necessary to determine the target code number pool corresponding to the target customer based on the preset mapping relationship between the customer and the code number pool, and select multiple target code numbers with the same number as the target terminals from the target code number pool to configure the target terminals. There is no need to configure code numbers for the ESIM chip of each terminal one-to-one according to the different configuration requirements of different customers, which realizes batch configuration of code numbers and improves the efficiency of code number configuration. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0019] Figure 1 A flowchart of a code number configuration method provided in one embodiment of the present application;
[0020] Figure 2 A flowchart of an implementation method of S130 in a code number configuration method provided in an embodiment of the present application;
[0021] Figure 3 A flowchart of a method for managing a number pool provided in one embodiment of the present application;
[0022] Figure 4 A structural block diagram of a code number configuration device provided in one embodiment of the present application;
[0023] Figure 5 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0024] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0025] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0026] It should also be understood that the term “and / or” used in the specification and appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0027] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0028] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0029] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0030] ESIM card is an embedded SIM card that can integrate SIM card information into the chip of the terminal. Compared with the traditional SIM card, ESIM card is similar to a virtual SIM card. The terminal using ESIM card no longer requires users to insert the card after purchasing the terminal, but can directly select the operator network and package by software registration or direct purchase. ESIM card provides users with a flexible operator SIM configuration function, for example, they can freely switch to a more favorable operator; they can automatically switch to the operator with the best network according to the signal conditions; they can realize plug-in and connect, and connection as a service; there can also be a unified management platform to manage the network conditions of all terminals equipped with ESIM cards.
[0031] Among them, the biggest advantage of ESIM cards is that they can remotely configure operator packages to achieve more convenient mobile network access. However, for commercial equipment such as POS machines that are centrally produced, the ESIM requirements in different regions of the world are different, for example, different operators, different packages, different charges, and different roaming rules. Therefore, when configuring ESIM chips for IoT terminals, it is necessary to configure code numbers for each ESIM chip one by one according to the different configuration requirements of different customers. This code number configuration method has cumbersome steps and a long production process, resulting in low configuration efficiency.
[0032] In order to solve the above technical problems, the present application proposes a code number configuration method, which pre-sets a corresponding code number pool for each customer, and the code number pool stores the code numbers of different operators provided by the corresponding customer. After obtaining the code number configuration request information containing the first customer identifier and multiple terminal identifiers, the first target code number pool is determined based on the first customer identifier and the first mapping relationship, and the target code number of each target terminal is configured based on the first target code number pool, wherein the first mapping relationship is used to represent the mapping relationship between the preset customer and the code number pool, and the target terminal is the terminal corresponding to the terminal identifier. The technical solution provided by the present application, when a customer needs to configure code numbers for the ESIM chips of multiple target terminals, only needs to batch select the target code numbers from the code number pool corresponding to the customer and configure them for the target terminal, thereby realizing batch configuration of code numbers and improving the efficiency of code number configuration.
[0033] For ease of understanding, the technical solution of the present application will be described in detail below with reference to the accompanying drawings.
[0034] Figure 1 A flowchart of a code number configuration method provided in one embodiment of the present application is shown in FIG. Figure 1 As shown, including:
[0035] S110, obtaining code number configuration request information, where the code number configuration request information includes a first client identifier and multiple terminal identifiers.
[0036] In one possible implementation, when the factory production line configures the code number for the ESIM chip of the terminal, the code number pool obtains the code number configuration request information sent by the upper computer of the factory production line, and the code number configuration request information includes but is not limited to the first customer identifier and multiple terminal identifiers.
[0037] The first customer identifier is used to indicate the first customer, and the first customer identifier may be the first customer code or the name of the first customer, for example, the first customer identifier may be A or the name of a company, etc. The terminal identifier is used to indicate the target terminal to be configured with the code number, and the terminal identifier may be a unique identifier for identifying the terminal, such as the production number of the target terminal and the terminal serial number.
[0038] In another possible implementation manner, the code number configuration request information includes multiple first client identifiers and one or more terminal identifiers corresponding to each first client identifier.
[0039] When the factory production line configures codes for terminals of multiple customers at the same time, the code number configuration request information obtained by the code number pool from the factory production line includes multiple first customer identifiers, which are used to represent multiple customers. Each of the multiple customers has its corresponding terminal identifier that needs to be configured with a code number, and the number of terminals that each customer needs to configure with a code number can be one or more.
[0040] In another possible implementation, the code number configuration request information includes but is not limited to the first customer identifier, multiple terminal identifiers, and the operator identifier corresponding to each terminal. Based on the operator identifier corresponding to each terminal, the code number provided by the corresponding operator can be configured for each terminal.
[0041] Specifically, the operator identifier is used to indicate the operator. The operator identifier may be an operator code or an operator name, etc. For example, the operator identifier may be 1, 2, or 3, where 1 represents China Mobile, 2 represents China Unicom, and 3 represents China Telecom. For another example, the operator identifier may be China Mobile, China Unicom, or China Telecom, etc.
[0042] In another possible implementation, the code number configuration request information includes but is not limited to the first customer identifier, multiple terminal identifiers and a target order number. Based on the target order number, a code number locked by the target order number can be configured for the terminal.
[0043] In another possible implementation, the code configuration request information includes but is not limited to the first customer identifier, multiple terminal identifiers, and the ESIM service type, wherein the ESIM service type may be selected by the first customer when submitting a production order to the factory.
[0044] Specifically, ESIM service types include general, customized and customer types. The general type is a standard service, and customers can use the activation code (AC) number in the form of a QR code provided by the operator to remotely configure the ESIM for Internet access; the customized type is provided by Baifu Computer Technology Co., Ltd. as a virtual operator service, and connects with operators to provide traffic services. At the same time, it supports customers to publish AC number tables to Baifu Computer Technology Co., Ltd.; the customer type refers to the situation where the customer's network is a dedicated network, and there is a customized strategy between the operator and the customer to support the customer to independently develop and deploy ESIM services.
[0045] S120, determining a first target number pool based on the first customer identifier and a first mapping relationship, where the first mapping relationship is used to represent a mapping relationship between a preset customer and a number pool.
[0046] In a possible implementation manner, when the acquired code number configuration request information includes a first customer identifier, a unique first target code number pool is determined based on the first customer identifier and the first mapping relationship.
[0047] In another possible implementation, when the acquired code number configuration request information includes multiple first customer identifiers, multiple first target code number pools corresponding to each first customer identifier are determined based on each first customer identifier and the first mapping relationship.
[0048] The first mapping relationship is used to represent a preset mapping relationship between a customer and a number pool, and a customer has a mapping relationship with only one number pool. Customers with the same customer identifier have a mapping relationship with the number pool.
[0049] Exemplarily, when a code number pool is established for a customer with customer identification A, the identification of the code number pool is marked as A, that is, the customer with customer identification A and the code number pool with code number pool identification A have a mapping relationship.
[0050] In yet another possible implementation, when the acquired code number configuration request information includes the first customer identifier, multiple terminal identifiers, and an ESIM service type, the first target code number pool is determined based on the first customer identifier and the ESIM service type.
[0051] Specifically, when the ESIM service type is customized, the code number pool of the customized seed associated with the first customer identifier is determined as the first target code number pool; when the ESIM service type is universal or customer type, based on the first customer identifier and the first mapping relationship, the first target code number pool is determined from the code number pool established for each customer.
[0052] S130: Based on the first target code number pool, configure a target code number for each target terminal, where the target terminal is a terminal corresponding to the terminal identifier.
[0053] In a possible implementation, when the code number configuration request information includes a first customer identifier and multiple terminal identifiers, based on the determined first target code number pool, a first-in-first-out mode is adopted to sequentially configure target codes for multiple target terminals corresponding to the multiple terminal identifiers.
[0054] In another possible implementation, when the code number configuration request information includes multiple first customer identifiers and one or more terminal identifiers corresponding to each first customer identifier, based on the determined multiple first target code number pools, the target code numbers are configured in sequence for one or more target terminals corresponding to each first customer identifier in a first-in-first-out mode.
[0055] As an example, the code number configuration request information includes two first customer identifiers, A and B. There are three terminal identifiers corresponding to the first customer identifier A, namely 01, 02 and 03, and there are two terminal identifiers corresponding to the first customer identifier B, namely 04 and 05. Based on the first customer identifier A, the first customer identifier B and the first mapping relationship, the first target code number pool identified by A and the first target code number pool identified by B are determined. Based on the first target code number pool identified by A, a first-in-first-out mode is used to configure target code numbers for target terminals with terminal identifiers of 01, 02 and 03. Based on the first target code number pool identified by B, a first-in-first-out mode is used to configure target code numbers for target terminals with terminal identifiers of 04 and 05.
[0056] In another possible implementation, the code number configuration request information includes a first customer identifier, multiple terminal identifiers, and an operator identifier corresponding to each terminal. Based on the operator identifier corresponding to each terminal, a code number provided by the corresponding operator can be configured for each terminal.
[0057] As an example, the code number configuration request information includes a first customer identifier A, three terminal identifiers 06, 07 and 08, where the operator identifiers corresponding to terminal identifiers 06 and 07 are China Mobile, and the operator identifier corresponding to terminal identifier 08 is China Unicom. Based on the first customer identifier A, the first target code number pool identified by A is determined, and based on the code number table in the first target code number pool identified by A where the operator is China Mobile, a first-in-first-out mode is adopted to configure the target code numbers for the target terminals corresponding to terminal identifiers 06 and 07. Based on the code number table in the first target code number pool identified by A where the operator is China Unicom, a first-in-first-out mode is adopted to configure the target code number for the target terminal corresponding to terminal identifier 08.
[0058] In another possible implementation, the code number configuration request information includes a first customer identifier, multiple terminal identifiers, and a target order number. Based on the target order number and the determined first target code number pool, a code number locked by the target order number is configured for the target terminal corresponding to each terminal identifier.
[0059] As an example, Figure 2 As shown, based on the target order number and the determined first target code number pool, configuring a code number locked by the target order number for the target terminal corresponding to each terminal identifier includes:
[0060] S131, determine whether there is a code number locked by the order number in the first target code number pool.
[0061] If the code number locked by the order number does not exist in the first target code number pool, execute S132;
[0062] If there is a code number locked with the order number in the first target code number pool, execute S133 to S134.
[0063] S132, based on the first target code number pool, using a first-in-first-out mode, configure the target code number of each target terminal.
[0064] S133, based on the target order number, searching the first target code pool for an order number that is consistent with the target order number.
[0065] In one possible implementation, when there is a code number locked with an order number in the first target code number pool, all order numbers in the first target code number pool are traversed to find out whether there is an order number consistent with the target order number. When there is an order number consistent with the target order number in the first target code number pool, the target code number is configured for each target terminal based on the target order number; when there is no order number consistent with the target order number in the first target code number pool, the target code number of each target terminal is configured based on the first target code number pool in a first-in-first-out mode.
[0066] S134, when an order number consistent with the target order number is found, the target code number of each target terminal is configured based on the target order number and the second mapping relationship, and the second mapping relationship is used to represent the mapping relationship between the preset order number and the code number.
[0067] As an example, if the target order number has a corresponding relationship with all terminal identifiers in the code number configuration request information, the target code number is configured for the target terminal corresponding to all terminal identifiers in the configuration request information based on the code number locked by the target order number in the first target code number pool.
[0068] As another example, if the target order number has a corresponding relationship with some of the multiple terminal identifiers in the code number configuration request information, the target code numbers are configured for the target terminals corresponding to some of the terminal identifiers in the code number configuration request information that have a corresponding relationship with the target order number based on the code numbers locked by the target order number in the first target code number pool, and based on the first target code number pool, a first-in-first-out mode is adopted to configure the target code numbers for the target terminals corresponding to the terminal identifiers in the configuration request information that do not have a corresponding relationship with the target order number.
[0069] In one possible implementation, after step 130, a correspondence table between terminal identifiers and code numbers is generated based on multiple terminal identifiers and target code numbers of each target terminal, and the correspondence table is sent to the first customer so that the customer can clearly know which terminal each code number is configured to facilitate subsequent maintenance and operator management.
[0070] In one possible implementation, after step 130, the code number status of the first target code number pool is updated. For example, in the first target code number pool, the status of the target code number configured for the target terminal is marked as used, or the identification information of the target terminal is marked in the terminal information of the corresponding target code number, indicating that the target code number has been configured in the terminal marked in the terminal information.
[0071] In a possible implementation, after step 130, at the factory stage, the ESIM card of each terminal may be configured as required based on the target code number of each terminal.
[0072] Specifically, when the ESIM service type is universal, the factory stage automatically configures the ESIM standard version service for the ESIM card of each terminal based on the target code number of each terminal; when the ESIM service type is customer type, the factory stage automatically configures the ESIM customer version service for the ESIM card of each terminal based on the target code number of each terminal; when the ESIM service type is customized, the factory stage automatically configures the ESIM customized version service for the ESIM card of each terminal based on the target code number of each terminal.
[0073] In a possible implementation, the embodiment of the present application further provides a code number pool management method, which is performed before step 110, such as Figure 3 As shown, the method includes:
[0074] S310, obtaining code number upload information, where the code number upload information includes a first customer identifier and a code number table.
[0075] In a possible implementation, based on the operation of the customer uploading the code number table, the code number upload information is obtained, and the code number upload information includes the customer identifier corresponding to the customer who performs the operation of uploading the code number table and the uploaded code number table.
[0076] Specifically, the operations of the customer uploading the code number table may include adding code numbers, deleting code numbers, and updating code numbers.
[0077] S320: Determine a first target code number pool based on the first customer identifier and the first mapping relationship.
[0078] Specifically, based on the first mapping relationship, determine whether there is a code number pool corresponding to the first customer identifier; if there is a code number pool corresponding to the first customer identifier, determine the first target code number pool based on the first customer identifier and the first mapping relationship; if there is no code number pool corresponding to the first customer identifier, create a first target code number pool corresponding to the first customer identifier.
[0079] As an example, the first customer identifier is A. When there is no code number pool corresponding to the first customer identifier, the identifier of the first target code number pool created corresponding to the first customer identifier is recorded as A, indicating that the first customer has a mapping relationship with the first target code number pool.
[0080] S330, storing the code number table in the first target code number pool.
[0081] Customers can dynamically upload code number tables at any time, and the uploaded code number tables will be added to the code number pool corresponding to each customer.
[0082] In a possible implementation, the number of codes in each code number pool is queried. When there is a code number pool with a code number less than a preset threshold, the code number pool outputs a code number supplement instruction, which includes a second customer identifier, and the second customer identifier is used to indicate the customer identifier corresponding to the second target code number pool. The second target code number pool is used to indicate the code number pool with a code number less than the preset threshold. The code number supplement instruction is sent to the second customer to indicate that the number of codes in the code number pool corresponding to the second customer is small, and the second customer is reminded to supplement the code number in time, so as to ensure that there are sufficient code numbers for production orders in the production process, and avoid affecting the production progress due to insufficient code numbers. For example, the preset threshold is 10000.
[0083] Exemplarily, the number of codes in each code pool is queried according to a preset time interval, and when there is a code pool with less than 10,000 codes, a code supplement instruction is output to the customer corresponding to the code pool, reminding the customer to supplement the code pool in time. For example, the preset time interval may be 5 days.
[0084] It should be noted that the preset threshold and preset time interval can be customized according to actual conditions, and this application does not limit this.
[0085] The technical solution provided by the present application sets a corresponding code number pool for each customer in advance. When the target customer needs to configure code numbers for the ESIM chips of multiple target terminals, it is only necessary to determine the target code number pool corresponding to the target customer based on the mapping relationship between the preset customer identifier and the code number pool, and select multiple target code numbers with the same number as the target terminals from the target code number pool to configure the target terminals, thereby realizing batch configuration of code numbers and improving the efficiency of code number configuration; further, according to actual needs, code numbers locked by order numbers are set in the preset code number pool, and these code numbers are only used in the corresponding orders, thereby improving the accuracy and efficiency of code number configuration; furthermore, an early warning value is set for the number of code numbers in the preset code number pool. When the number of code numbers in the code number pool is less than the early warning value, a code number supplement instruction is sent to the customer corresponding to the code number pool to remind the customer to supplement the code number in time, thereby ensuring that there are sufficient code numbers for production orders during the production process, avoiding the impact of insufficient number of code numbers on production progress, and improving the efficiency of code number configuration.
[0086] Figure 4 The structural block diagram of the code number configuration device provided in this embodiment only shows the part related to the embodiment of the present application for the convenience of explanation. Figure 4 The code number configuration device 400 may include an acquisition module 401, a determination module 402 and a configuration module 403.
[0087] In one implementation, the apparatus 400 may be used to implement the above Figure 1For example, the acquisition module 401 is used to implement S110, the determination module 402 is used to implement S120, and the configuration module 403 is used to implement S130.
[0088] In another implementation, the device 400 further includes a judgment module and a search module. The device 400 in this implementation can be used to implement the above Figure 2 For example, the judgment module is used to implement S131, the search module is used to implement S133, and the configuration module 403 is used to implement S132 and S134.
[0089] In another implementation, the device 400 further includes a storage module. The device 400 in this implementation can be used to implement the above Figure 3 For example, the acquisition module 401 is used to implement S310, the determination module 402 is used to implement S320, and the storage module is used to implement S330.
[0090] The embodiment of the present application pre-sets a corresponding code number pool for each customer. When a target customer needs to configure code numbers for the ESIM chips of multiple target terminals, it is only necessary to determine the target code number pool corresponding to the target customer based on the mapping relationship between the preset customer identifier and the code number pool, and select multiple target code numbers with the same number as the target terminals from the target code number pool to configure the target terminals. There is no need to configure code numbers for the ESIM chip of each terminal one-to-one according to the different configuration requirements of different customers, which realizes batch configuration of code numbers and improves the efficiency of code number configuration.
[0091] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0092] Figure 5 This is a schematic diagram of the structure of the electronic device provided in this embodiment. Figure 5 As shown, the electronic device 5 of this embodiment includes: at least one processor 50 ( Figure 5 Only one is shown in the figure) a processor, a memory 51, and a computer program 52 stored in the memory 51 and executable on the at least one processor 50, the processor 50 executes the computer program 52 to implement the above Figures 1 to 3 The steps in any method embodiment.
[0093] The electronic device 5 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device may include, but is not limited to, a processor 50 and a memory 51. Those skilled in the art will appreciate that Figure 5It is only an example of the electronic device 5 and does not constitute a limitation on the electronic device 5. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.
[0094] The processor 50 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0095] In some embodiments, the memory 51 may be an internal storage unit of the electronic device 5, such as a hard disk or memory of the electronic device 5. In other embodiments, the memory 51 may also be an external storage device of the electronic device 5, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the electronic device 5. The memory 51 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 51 may also be used to temporarily store data that has been output or is to be output.
[0096] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0097] An embodiment of the present application also provides a network device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor implements the steps in any of the above-mentioned method embodiments when executing the computer program.
[0098] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0099] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0100] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0101] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0102] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0103] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0104] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0105] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A code number configuration method, characterized in that: The method comprises: Acquire code number configuration request information, wherein the code number configuration request information includes a first client identifier and a plurality of terminal identifiers; Based on the first customer identifier and the first mapping relationship, a first target code number pool is determined, the first mapping relationship is used to represent a mapping relationship between a preset customer and a code number pool, wherein when the code number configuration request also includes an ESIM service type, the ESIM service type includes a universal type, a customized type, and a customer type, and the first target code number pool is determined based on the first customer identifier and the ESIM service type: when the ESIM service type is a customized type, a code number pool of a customized seed associated with the first customer identifier is determined as the first target code number pool; when the ESIM service type is a universal type or a customer type, based on the first customer identifier and the first mapping relationship, the first target code number pool is determined from the code number pool established for each customer; the universal type belongs to a standard service, and the customer uses the activation code number in the form of a QR code provided by the operator to remotely configure the ESIM to surf the Internet; the customized type is a virtual operator service provided by the company, and the connection operator provides traffic services, and at the same time, supports customers to publish AC code number tables to the company; the customer type refers to the situation where the customer's network is a dedicated network, and there is a customized strategy between the customer and the operator, and supports customers to independently develop and deploy ESIM services; Based on the first target code number pool, configure a target code number for each target terminal, the target terminal being a terminal corresponding to the terminal identifier; The code number configuration request information also includes a target order number. The configuring of the target code number of each target terminal based on the first target code number pool includes: Determine whether there is a code number locked by the order number in the first target code number pool; If there is a code number locked by the order number in the first target code number pool, based on the target order number, searching the first target code number pool for an order number that is consistent with the target order number; When an order number consistent with the target order number is found, the target code number of each target terminal is configured based on the target order number and a second mapping relationship, wherein the second mapping relationship is used to represent a mapping relationship between a preset order number and a code number.
2. The method according to claim 1, characterized in that After determining whether there is a code number locked by the order number in the first target code number pool, the method further includes: If there is no code number locked by the order number in the first target code number pool, the target code number of each target terminal is configured based on the first target code number pool in a first-in-first-out mode.
3. The method according to claim 1, characterized in that After configuring the target code number of each target terminal based on the first target code number pool, the method further includes: Based on the multiple terminal identifiers and the target code numbers of the target terminals, a correspondence table between the terminal identifiers and the code numbers is generated.
4. The method according to claim 1, characterized in that: Before obtaining the code number configuration request information, the method further includes: Acquire code number upload information, wherein the code number upload information includes the first customer identifier and a code number table; Determine the first target number pool based on the first customer identifier and the first mapping relationship; The code number table is stored in the first target code number pool.
5. The method according to claim 2, characterized in that: The determining the first target code number pool based on the first customer identifier and the first mapping relationship includes: Based on the first mapping relationship, determining whether there is a code number pool corresponding to the first customer identifier; If there is a code number pool corresponding to the first customer identifier, determine the first target code number pool based on the first customer identifier and the first mapping relationship; If there is no code number pool corresponding to the first customer identifier, a first target code number pool corresponding to the first target customer identifier is created.
6. The method according to claim 1, characterized in that The method further comprises: Query the number of code numbers in each of the code number pools; When there is a code number pool whose number of code numbers is less than a preset threshold, a code number supplement instruction is output, and the code number supplement instruction includes a second customer identifier, and the second customer identifier is used to represent the customer identifier corresponding to the second target code number pool, and the second target code number pool is used to represent the code number pool whose number of code numbers is less than the preset threshold.
7. A code number configuration device, characterized in that: The device comprises: An acquisition module, used to acquire code number configuration request information, wherein the code number configuration request information includes a first client identifier and a plurality of terminal identifiers; A determination module, configured to determine a first target code number pool based on the first customer identifier and the first mapping relationship, wherein the first mapping relationship is used to indicate a mapping relationship between a preset customer and a code number pool, wherein when the code number configuration request further includes an ESIM service type, the ESIM service type includes a universal type, a customized type, and a customer type, and the first target code number pool is determined based on the first customer identifier and the ESIM service type: when the ESIM service type is a customized type, a code number pool of a customized seed associated with the first customer identifier is determined as the first target code number pool; when the ESIM service type is a universal type or a customer type, the first target code number pool is determined from the code number pool established for each customer based on the first customer identifier and the first mapping relationship; the universal type belongs to a standard service, and the customer uses the activation code number in the form of a QR code provided by the operator to remotely configure the ESIM to surf the Internet; the customized type is a virtual operator service provided by the company, and a traffic service provided by the docking operator, and at the same time, supports the customer to publish an AC code number table to the company; the customer type refers to the situation where the customer's network is a dedicated network, and there is a customized strategy between the customer and the operator, and supports the customer to independently develop and deploy ESIM services; a configuration module, configured to configure a target code number of each target terminal based on the first target code number pool, the target terminal being a terminal corresponding to the terminal identifier; Among them, the code number configuration request information also includes a target order number, and the configuration module is also used to determine whether there is a code number with a locked order number in the first target code number pool; if there is a code number with a locked order number in the first target code number pool, based on the target order number, search the first target code number pool for an order number consistent with the target order number; when an order number consistent with the target order number is found, configure the target code number of each target terminal based on the target order number and a second mapping relationship, and the second mapping relationship is used to represent the mapping relationship between a preset order number and a code number.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
eSIM card configuration method and system based on internet of things
CN109151805A
Method, device and system for realizing machine card pool binding
CN109714493A
