



技术领域technical field
本申请属于通信技术领域,尤其涉及一种卡资源分配方法及服务端。The present application belongs to the field of communication technologies, and in particular, relates to a card resource allocation method and a server.
背景技术Background technique
目前,基于云卡CloudSIM方案的用户数据业务发展迅速,本地市场、漫游市场用户量越来越大,如何成本最优化运营云卡业务是每个移动虚拟网络运营商(Mobile VirtualNetwork Operator,MVNO)的关注核心。At present, the user data service based on the cloud card CloudSIM solution is developing rapidly, and the number of users in the local market and roaming market is increasing. Focus on the core.
由于不同时段使用云卡的用户数量不同,且难以准确预估用户数量,尤其在节假日高峰期间,使用云卡的用户数量波动很大,在这种情况下,如何避免由于云卡储备不足导致用户无卡可用,又不会因为云卡储备过多导致流量成本浪费,是每个MVNO面对的运营难题。Since the number of users using cloud cards at different times is different, and it is difficult to accurately estimate the number of users, especially during peak holidays, the number of users using cloud cards fluctuates greatly. No card is available, and the traffic cost will not be wasted due to excessive cloud card reserves. This is an operational problem faced by every MVNO.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种卡资源分配方法及服务端,可以解决现有因云卡用户数量不确定性导致的难以实现云卡成本最优化运营的问题。The embodiments of the present application provide a card resource allocation method and a server, which can solve the existing problem that it is difficult to realize the optimal operation of cloud card costs due to the uncertainty of the number of cloud card users.
第一方面,本申请实施例提供了一种卡资源分配方法,包括:In a first aspect, an embodiment of the present application provides a method for allocating card resources, including:
服务端在接收到用户端发送的卡资源分配请求信息后,获取与所述用户端的第一流量产品对应的第一逻辑卡池;After receiving the card resource allocation request information sent by the client, the server acquires the first logical card pool corresponding to the first traffic product of the client;
所述服务端根据所述第一逻辑卡池的标识,查找与所述第一逻辑卡池的标识存在映射关系的第一资源标识集合,所述第一资源标识集合包括第一标识集合和/或第二标识集合中,所述第一标识集合为运营商自身第一运营商提供的IMSI卡的标识集合,所述第二标识集合为第三方运营商第二运营商提供的服务包的标识集合;The server searches for, according to the identifier of the first logical card pool, a first resource identifier set that has a mapping relationship with the identifier of the first logical card pool, where the first resource identifier set includes the first identifier set and/ Or in the second identification set, the first identification set is the identification set of the IMSI card provided by the operator's own first operator, and the second identification set is the identification of the service package provided by the second operator of the third-party operator gather;
若所述第一资源标识集合包括所述第一标识集合和所述第二标识集合,所述服务端则根据所述第一逻辑卡池的卡资源分配规则,确定为所述用户端提供卡资源服务的主体。If the first resource identifier set includes the first identifier set and the second identifier set, the server determines to provide a card for the client according to the card resource allocation rule of the first logical card pool The principal of the resource service.
第二方面,本申请实施例提供了一种卡资源分配装置,包括:In a second aspect, an embodiment of the present application provides an apparatus for allocating card resources, including:
第一逻辑卡池获取单元,用于由服务端在接收到用户端发送的卡资源分配请求信息后,获取与所述用户端的第一流量产品对应的第一逻辑卡池;a first logical card pool acquisition unit, configured to acquire, by the server, a first logical card pool corresponding to the first traffic product of the user terminal after receiving the card resource allocation request information sent by the user terminal;
第一资源标识集合查找单元,用于由所述服务端根据所述第一逻辑卡池的标识,查找与所述第一逻辑卡池的标识存在映射关系的第一资源标识集合,所述第一资源标识集合包括第一标识集合和/或第二标识集合中,所述第一标识集合为第一运营商提供的IMSI卡的标识集合,所述第二标识集合为第二运营商提供的服务包的标识集合;The first resource identifier set search unit is used for the server to search for, according to the identifier of the first logical card pool, a first resource identifier set that has a mapping relationship with the identifier of the first logical card pool, and the first resource identifier set has a mapping relationship with the identifier of the first logical card pool. A resource identifier set includes a first identifier set and/or a second identifier set, the first identifier set is the identifier set of the IMSI card provided by the first operator, and the second identifier set is provided by the second operator. A collection of identifiers for service packs;
卡资源提供主体确定单元,用于若所述第一资源标识集合包括所述第一标识集合和所述第二标识集合,则由所述服务端根据所述第一逻辑卡池的卡资源分配规则,确定为所述用户端提供卡资源服务的主体。A card resource provider determination unit, configured to allocate the card resources by the server according to the first logical card pool if the first resource identifier set includes the first identifier set and the second identifier set A rule is used to determine the subject that provides the card resource service for the client.
第三方面,本申请实施例提供了一种服务端,包括:In a third aspect, an embodiment of the present application provides a server, including:
第一逻辑卡池获取单元,用于由服务端在接收到用户端发送的卡资源分配请求信息后,获取与所述用户端的第一流量产品对应的第一逻辑卡池;a first logical card pool acquisition unit, configured to acquire, by the server, a first logical card pool corresponding to the first traffic product of the user terminal after receiving the card resource allocation request information sent by the user terminal;
第一资源标识集合查找单元,用于由所述服务端根据所述第一逻辑卡池的标识,查找与所述第一逻辑卡池的标识存在映射关系的第一资源标识集合,所述第一资源标识集合包括第一标识集合和/或第二标识集合中,所述第一标识集合为第一运营商提供的IMSI卡的标识集合,所述第二标识集合为第二运营商提供的服务包的标识集合;The first resource identifier set search unit is used for the server to search for, according to the identifier of the first logical card pool, a first resource identifier set that has a mapping relationship with the identifier of the first logical card pool, and the first resource identifier set has a mapping relationship with the identifier of the first logical card pool. A resource identifier set includes a first identifier set and/or a second identifier set, the first identifier set is the identifier set of the IMSI card provided by the first operator, and the second identifier set is provided by the second operator. A collection of identifiers for service packs;
卡资源提供主体确定单元,用于若所述第一资源标识集合包括所述第一标识集合和所述第二标识集合,则由所述服务端根据所述第一逻辑卡池的卡资源分配规则,确定为所述用户端提供卡资源服务的主体。A card resource provider determination unit, configured to allocate the card resources by the server according to the first logical card pool if the first resource identifier set includes the first identifier set and the second identifier set A rule is used to determine the subject that provides the card resource service for the client.
第四方面,本申请实施例提供了一种计算机可读存储介质,包括:In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, including:
第一逻辑卡池获取单元,用于由服务端在接收到用户端发送的卡资源分配请求信息后,获取与所述用户端的第一流量产品对应的第一逻辑卡池;a first logical card pool acquisition unit, configured to acquire, by the server, a first logical card pool corresponding to the first traffic product of the user terminal after receiving the card resource allocation request information sent by the user terminal;
第一资源标识集合查找单元,用于由所述服务端根据所述第一逻辑卡池的标识,查找与所述第一逻辑卡池的标识存在映射关系的第一资源标识集合,所述第一资源标识集合包括第一标识集合和/或第二标识集合中,所述第一标识集合为第一运营商提供的IMSI卡的标识集合,所述第二标识集合为第二运营商提供的服务包的标识集合;The first resource identifier set search unit is used for the server to search for, according to the identifier of the first logical card pool, a first resource identifier set that has a mapping relationship with the identifier of the first logical card pool, and the first resource identifier set has a mapping relationship with the identifier of the first logical card pool. A resource identifier set includes a first identifier set and/or a second identifier set, the first identifier set is the identifier set of the IMSI card provided by the first operator, and the second identifier set is provided by the second operator. A collection of identifiers for service packs;
卡资源提供主体确定单元,用于若所述第一资源标识集合包括所述第一标识集合和所述第二标识集合,则由所述服务端根据所述第一逻辑卡池的卡资源分配规则,确定为所述用户端提供卡资源服务的主体。A card resource provider determination unit, configured to allocate the card resources by the server according to the first logical card pool if the first resource identifier set includes the first identifier set and the second identifier set A rule is used to determine the subject that provides the card resource service for the client.
第五方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行上述第一方面中任一项所述的卡资源分配方法。In a fifth aspect, an embodiment of the present application provides a computer program product, which, when the computer program product runs on a terminal device, enables the terminal device to execute the card resource allocation method described in any one of the above-mentioned first aspects.
可以理解的是,上述第二方面至第五方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。It can be understood that, for the beneficial effects of the second aspect to the fifth aspect, reference may be made to the relevant description in the first aspect, which is not repeated here.
本申请实施例与现有技术相比存在的有益效果是:通过服务端根据用户端的流量产品对应的逻辑卡池的标识,查找与逻辑卡池的标识存在映射关系的资源标识集合,该资源标识集合包括第一标识集合和/或第二标识集合中,第一标识集合为第一运营商提供的IMSI卡的标识集合,第二标识集合为第二运营商提供的服务包的标识集合;服务端根据第一逻辑卡池的卡资源分配规则,确定为用户端提供卡资源服务的主体,从而保证了第一运营商在其自有的IMSI卡不足以为其用户提供卡资源服务时,可以使用服务包来保证卡资源的分配,有效地避免了因备卡不足导致用户无卡可用,又因备卡太多导致成本浪费的问题,实现了云卡成本最优化运营的目的。Compared with the prior art, the embodiment of the present application has the beneficial effect that: the server searches for a resource identifier set that has a mapping relationship with the identifier of the logical card pool according to the identifier of the logical card pool corresponding to the traffic product of the client, and the resource identifier The set includes the first identity set and/or the second identity set, the first identity set is the identity set of the IMSI card provided by the first operator, and the second identity set is the identity set of the service package provided by the second operator; service; According to the card resource allocation rules of the first logical card pool, the terminal determines the main body that provides card resource services for the user terminal, thereby ensuring that the first operator can use the card resource service when its own IMSI card is insufficient to provide card resource services for its users. The service package ensures the allocation of card resources, effectively avoids the problem that users have no cards available due to insufficient backup cards, and wastes costs due to too many backup cards, and achieves the purpose of optimizing the operation of cloud card costs.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present application. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1是本申请实施例提供的一种销售品、流量产品以及逻辑卡池的关系示意图;1 is a schematic diagram of the relationship between a sales product, a traffic product, and a logic card pool provided by an embodiment of the present application;
图2是本申请实施例提供的一种卡资源分配的方法的实现流程图;FIG. 2 is a flowchart of the realization of a method for card resource allocation provided by an embodiment of the present application;
图3是本申请实施例提供的一种卡资源分配装置的示意图;3 is a schematic diagram of a card resource allocation device provided by an embodiment of the present application;
图4是本申请实施例提供的一种服务端的示意图。FIG. 4 is a schematic diagram of a server provided by an embodiment of the present application.
具体实施方式Detailed ways
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as a specific system structure and technology are set forth in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It is to be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described feature, integer, step, operation, element and/or component, but does not exclude one or more other The presence or addition of features, integers, steps, operations, elements, components and/or sets thereof.
如在本申请说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in the specification of this application and the appended claims, the term "if" may be contextually interpreted as "when" or "once" or "in response to determining" or "in response to detecting ". Similarly, the phrases "if it is determined" or "if the [described condition or event] is detected" may be interpreted, depending on the context, to mean "once it is determined" or "in response to the determination" or "once the [described condition or event] is detected. ]" or "in response to detection of the [described condition or event]".
另外,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In addition, in the description of the specification of the present application and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the description, and should not be construed as indicating or implying relative importance.
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。References in this specification to "one embodiment" or "some embodiments" and the like mean that a particular feature, structure or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in other embodiments," etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless specifically emphasized otherwise. The terms "including", "including", "having" and their variants mean "including but not limited to" unless specifically emphasized otherwise.
如在本申请说明书和所附权利要求书中所使用的那样,部分术语具体解释如下:As used in the specification of this application and the appended claims, some terms are specifically explained as follows:
服务端:为处理用户端发送的卡资源分配请求信息的终端,比如某一移动虚拟网络运营商(以下简称为运营商)所使用的计算机终端或者服务器终端。Server: a terminal that processes the card resource allocation request information sent by the client, such as a computer terminal or a server terminal used by a certain mobile virtual network operator (hereinafter referred to as the operator).
用户端:为用户持有的并且使用卡资源的移动终端,比如手机、平板电脑、可穿戴设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等。User terminal: a mobile terminal held by the user and using card resources, such as mobile phones, tablet computers, wearable devices, notebook computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (personal digital assistants) digital assistant, PDA) and so on.
第一运营商:用户端对应的运营商,可以理解为运营商自身。The first operator: the operator corresponding to the user terminal, which can be understood as the operator itself.
第二运营商:区别于用户端对应的运营商的其他运营商,可以理解为第三方运营商。Second operator: other operators different from the operator corresponding to the user terminal, can be understood as a third-party operator.
卡资源:为第一运营商提供的国际移动用户识别码(International MobileSubscriber Identity,IMSI)卡资源,或者为第二运营商提供的服务包,其中,服务包中包含有但不限于第二运营商用于为第一运营商提供的用于交易的IMSI卡的信息、IMSI卡的可交易数量等。Card resources: International Mobile Subscriber Identity (IMSI) card resources provided by the first operator, or service packages provided by the second operator, wherein the service package includes but is not limited to the second operator Information about the IMSI card used for transaction, the transactional quantity of the IMSI card, etc. provided for the first operator.
销售品:用户端的用户所购买的流量销售品,比如某一具体的流量套餐如全球套餐。Sales products: traffic sales products purchased by users on the client side, such as a specific traffic package such as a global package.
流量产品:逻辑卡池定义的相关属性,包括卡资源覆盖国家范围、卡资源属性等,一个销售品对应一个流量产品,比如全球套餐对应的流量产品为全球卡池。Traffic product: The related attributes defined by the logical card pool, including the country coverage of card resources, card resource attributes, etc. One sales product corresponds to one traffic product, for example, the traffic product corresponding to the global package is the global card pool.
服务包:卡资源购买方从不同的运营商处购买到的卡资源服务,定义了卡资源的各种属性,比如卡资源购买方可以使用卡资源提供方的哪些卡资源,提供的卡资源的数量等。Service package: The card resource service purchased by the card resource buyer from different operators, which defines various attributes of the card resource, such as which card resources of the card resource provider can be used by the card resource buyer, and the provided card resources. quantity etc.
逻辑卡池:为运营商提供关联该第一运营商所提供的IMSI卡标识和/或该运营商所购买的由第二运营商提供的服务包标识,以及为运营商提供设置卡资源分配规则的虚拟卡池,比如在逻辑卡池中,可以将不同的IMSI卡设置不同的分配优先级;相同分配优先级的IMSI卡,可以设置某个运营商优先;某种覆盖特性或某个套餐的卡资源优先分配等各种分配规则。一个流量产品对应一个逻辑卡池,比如全球卡池对应逻辑卡池a。Logical card pool: provide the operator with the identification of the IMSI card provided by the first operator and/or the identification of the service package purchased by the operator and provided by the second operator, and provide the operator with setting card resource allocation rules For example, in the logical card pool, different allocation priorities can be set for different IMSI cards; for IMSI cards with the same allocation priority, a certain operator can be given priority; a certain coverage feature or a certain package Various allocation rules such as priority allocation of card resources. One traffic product corresponds to one logical card pool, for example, the global card pool corresponds to logical card pool a.
载卡设备:物理卡的载体设备,可读取物理卡信息,并上传卡信息到服务器。Card carrier device: The carrier device of the physical card, which can read the physical card information and upload the card information to the server.
为说明销售品、流量产品以及逻辑卡池三者之间的关系,请参考图1,图1示出了本申请实施例提供的一种销售品、流量产品以及逻辑卡池的关系示意图。To illustrate the relationship among sales items, traffic products, and logic card pools, please refer to FIG. 1 , which shows a schematic diagram of the relationship between sales items, traffic products, and logic card pools provided by an embodiment of the present application.
如图1所示:A运营商的用户购买了A运营商提供的销售品:中国无限量套餐,使用的流量产品为A运营商的4G国内卡。该流量产品对应一个A逻辑卡池,A逻辑卡池中包含有A运营商自身拥有的IMSI卡,并且在A逻辑卡池中可将不同IMSI卡设置不同的优先级,也即卡池优先级。As shown in Figure 1: A user of operator A purchased the sales product provided by operator A: China Unlimited Package, and the traffic product used is operator A's 4G domestic card. This traffic product corresponds to a logical card pool A. The logical card pool A contains the IMSI cards owned by operator A, and different priorities can be set for different IMSI cards in the logical card pool A, that is, the card pool priority. .
B运营商的用户购买了B运营商提供的销售品:全球套餐,该销售品关联的流量产品的名称为全球卡池。该流量产品对应的B逻辑卡池中包含了两种卡资源,一种是A运营商提供的服务包,一种B运营商自身拥有的IMSI卡。服务包为A运营商的流量产品全球卡,交易给B运营商产生,B逻辑卡池定义的相关属性为:交易覆盖属性为东南亚覆盖,交易生效时间为当前时间,一年后过期等,因此尽管A运营商交易的流量产品的逻辑卡池是全球卡,但交易属性限制只能在东南亚提供服务。B运营商的用户在东南亚的其他地区上线时,只能分配B第一运营商的卡资源,但在东南亚地区上线时,在B第一运营商的卡资源已被全部占用后,可以分配A运营商全球卡对应的逻辑卡池中的东南亚地区的卡资源。A user of operator B purchased the sales product provided by operator B: a global package, and the name of the traffic product associated with the sales product is Global Card Pool. The B logical card pool corresponding to the traffic product contains two card resources, one is the service package provided by operator A, and the other is the IMSI card owned by operator B. The service package is the global card of the traffic product of operator A, which is generated by the transaction to operator B. The relevant attributes defined by the logical card pool of B are: the transaction coverage attribute is Southeast Asia coverage, the transaction effective time is the current time, and it will expire in one year. Therefore, Although the logical card pool of the traffic products traded by operator A is a global card, the transaction attribute is restricted to provide services only in Southeast Asia. When users of operator B go online in other regions of Southeast Asia, they can only allocate the card resources of the first operator of B, but when they go online in Southeast Asia, after the card resources of the first operator of B have been fully occupied, they can be allocated to A Card resources in Southeast Asia in the logical card pool corresponding to the operator's global card.
需要说明的是,服务包的相关属性有交易的买卖双方协商预定,可随时扩展,不进行特殊约定。It should be noted that the relevant attributes of the service package are negotiated and scheduled by the buyer and the seller of the transaction, and can be expanded at any time without special agreement.
可以理解的是,同一张IMSI卡,可以同时属于不同的逻辑卡池,比如可以同时属于A逻辑卡池和B逻辑卡池。It can be understood that the same IMSI card can belong to different logical card pools at the same time, for example, it can belong to the A logical card pool and the B logical card pool at the same time.
为了说明本申请所述的技术方案,下面通过具体实施例来进行说明。请参考图2,图2示出了本申请实施例提供的一种卡资源分配方法的实现流程,详述如下:In order to illustrate the technical solutions described in the present application, the following specific embodiments are used for description. Please refer to FIG. 2. FIG. 2 shows an implementation process of a card resource allocation method provided by an embodiment of the present application, and the details are as follows:
在步骤S201中,服务端在接收到用户端发送的卡资源分配请求信息后,获取与所述用户端的第一流量产品对应的第一逻辑卡池。In step S201, after receiving the card resource allocation request information sent by the client, the server acquires the first logical card pool corresponding to the first traffic product of the client.
在本申请实施例中,用户端在登录时,服务端将获取用户端的位置信息,并根据该位置信息比如国家信息、地区信息等,确定用户是否购买了当前位置可使用的销售品,比如当用户在东南亚地区登录时,服务端将确定用户是否购买了可在东南亚地区或者覆盖了东南亚地区可使用的销售品,从而确定用户当前使用的是运营商提供的哪个销售品,服务端在确定用户当前所使用的销售品后,即确定可为用户提供卡资源服务的销售品后,将发送登录响应信息给到用户端,该登录响应信息用于指示用户端进行卡资源分配请求。In the embodiment of the present application, when the user terminal logs in, the server terminal will obtain the location information of the user terminal, and according to the location information, such as country information, regional information, etc., determine whether the user has purchased the sales products that can be used in the current location, such as when When a user logs in in Southeast Asia, the server will determine whether the user has purchased a sales product that can be used in Southeast Asia or covers the Southeast Asian region, so as to determine which sales product provided by the operator is currently used by the user. After the currently used sales product is determined, the sales product that can provide the card resource service for the user is determined, and the login response information is sent to the user terminal, and the login response information is used to instruct the user terminal to make a card resource allocation request.
可以理解的是,当用户未购买在当前位置可使用的销售品后,服务端可以发送提示用户其未购买当前位置可使用的流量数据的提示信息给到用户端以对用户进行提示,或者不发送登录响应信息给到用户端,这里不做具体限制。It can be understood that, when the user has not purchased the sales items that can be used in the current location, the server can send a prompt message to the user to remind the user that he has not purchased the traffic data that can be used in the current location to remind the user, or not. Send login response information to the client, no specific restrictions are made here.
服务端在接收到用户端发送的卡资源分配请求信息后,根据所确定的用户当前所使用的销售品的信息,获取与该销售品对应的流量产品,再根据该流量产品查找对应的逻辑卡池,即第一逻辑卡池。After receiving the card resource allocation request information sent by the client, the server obtains the traffic product corresponding to the sales product according to the determined information of the sales product currently used by the user, and then searches for the corresponding logic card according to the traffic product. pool, that is, the first logical card pool.
需要说明的是,销售品与流量产品预先设置有对应关系,可由提供该销售品的运营商自行设置;流量产品与逻辑卡池也预先设置有对应关系,亦可由该提供该销售品的运营商自行设置。It should be noted that there is a preset corresponding relationship between sales products and traffic products, which can be set by the operator that provides the sales products; traffic products and logic card pools also have a preset corresponding relationship, which can also be provided by the operator that provides the sales product. Set it up yourself.
作为示例而非限定,第一逻辑卡池中关联有该销售品所属运营商提供的卡资源,所关联的卡资源由运营商自行设定,包括但不限于在某一国家或地区使用的卡资源。As an example and not a limitation, the first logical card pool is associated with card resources provided by the operator to which the sales item belongs, and the associated card resources are set by the operator, including but not limited to cards used in a certain country or region. resource.
在步骤S202中,所述服务端根据所述第一逻辑卡池的标识,查找与所述第一逻辑卡池的标识存在映射关系的第一资源标识集合。In step S202, the server searches for a first resource identifier set that has a mapping relationship with the identifier of the first logical card pool according to the identifier of the first logical card pool.
在本申请实施例中,每个逻辑卡池都对应有其相应的标识,该标识具有唯一性,不同的运营商根据其所提供的流量产品的类型,具有至少一个逻辑卡池。In the embodiment of the present application, each logical card pool corresponds to its corresponding identifier, and the identifier is unique, and different operators have at least one logical card pool according to the types of traffic products they provide.
需要说明的是,服务端初始分配给每个运营商的逻辑卡池是不具有任何数据的,仅有该逻辑卡池的标识,运营商可以根据其自身的需求,将其要与该逻辑卡池进行关联的资源标识,设置与该逻辑卡池关联,服务端将根据运营商所关联的资源标识,建立该逻辑卡池的标识与该资源标识的映射关系,从而可以使得服务端可以根据逻辑卡池的标识获取到与其存在映射关系的资源标识的集合。It should be noted that the logical card pool initially allocated by the server to each operator does not have any data, but only the identifier of the logical card pool. The resource identifier associated with the pool is set to be associated with the logical card pool, and the server will establish the mapping relationship between the identifier of the logical card pool and the resource identifier according to the resource identifier associated with the operator, so that the server can be based on the logic card pool. The ID of the card pool is obtained from the set of resource IDs with which there is a mapping relationship.
还需要说明的是,资源标识集合中包含有至少一个资源的标识。当该资源标识集合中包含有两个或两个以上运营商提供的资源标识时,不同的运营商对应不同的资源标识子集合,即资源标识集合中至少包含有两个资源标识子集合比如第一标识集合和第二标识集合。It should also be noted that the resource identifier set includes at least one resource identifier. When the resource identifier set contains resource identifiers provided by two or more operators, different operators correspond to different resource identifier subsets, that is, the resource identifier set contains at least two resource identifier subsets. A set of identities and a second set of identities.
作为示例而非限定,第一资源标识集合包括第一标识集合和/或第二标识集合中,其中第一标识集合为第一运营商提供的IMSI卡的标识集合,第二标识集合为第二运营商提供的服务包的标识集合。在服务包中,包含有第二运营商提供的用于交易的流量产品,即第二流量产品,该第二流量产品为服务端当前确定的销售品所属运营商向第二运营商购买的流量产品。By way of example and not limitation, the first resource identifier set includes the first identifier set and/or the second identifier set, wherein the first identifier set is the identifier set of the IMSI card provided by the first operator, and the second identifier set is the second identifier set. A collection of identifiers for service packages provided by an operator. The service package includes the traffic product provided by the second operator for transaction, namely the second traffic product, and the second traffic product is the traffic purchased from the second operator by the operator to which the sales product currently determined by the server belongs. product.
可以理解的是,这里所指的第一运营商是指用户端的用户所购买的销售品所属的运营商,第二运营商为区别于该销售品所属运营商的其他运营商。It can be understood that the first operator referred to here refers to the operator to which the sales item purchased by the user at the user end belongs, and the second operator is an operator different from the operator to which the sales item belongs.
在步骤S203中,基于所述第一资源标识集合,所述服务端根据所述第一逻辑卡池的卡资源分配规则,确定为所述用户端提供卡资源服务的主体。In step S203, based on the first resource identifier set, the server determines, according to a card resource allocation rule of the first logical card pool, a subject that provides a card resource service for the client.
在本申请实施例中,提供卡资源服务的主体为销售品所属第一运营商提供的IMSI卡和第二运营商提供的服务包。确定为用户端提供卡资源服务的主体,具体为确定为用户端提供卡资源的是由销售品所属第一运营商提供的IMSI卡提供,还是由第二运营商提供的服务包提供。In the embodiment of the present application, the main body that provides the card resource service is the IMSI card provided by the first operator to which the sales item belongs and the service package provided by the second operator. Determining the main body that provides the card resource service for the client is specifically determining whether the card resource provided for the client is provided by the IMSI card provided by the first operator to which the sales item belongs, or by the service package provided by the second operator.
在一些实施例中,某些运营商自身备有卡资源,即备有IMSI卡,但由于某些特殊时段其用户会大量增加,这些运营商自身备有的卡资源不足以为该特殊时段的所有用户提高卡资源,这时,可以通过购买第三方运营商的服务包以进行资源补充,避免因备卡不足而无法满足用户用卡需求的问题,这时,这些运营商对应的逻辑卡池中也就包含有其自身拥有的IMSI卡的标识以及其他运营商提供的服务包的标识,也即第一资源标识中同时包括第一标识集合第二标识集合,这时,步骤S203具体为:In some embodiments, some operators have their own card resources, that is, IMSI cards. However, due to a large increase in their users in certain special periods, the card resources prepared by these operators are not enough for all the special period of time. Users can increase the card resources. At this time, they can purchase the service packages of third-party operators to supplement resources to avoid the problem that the user's card needs cannot be met due to insufficient spare cards. At this time, the logical card pools corresponding to these operators are in the That is to say, the identifier of the IMSI card owned by itself and the identifier of the service package provided by other operators are included, that is, the first resource identifier also includes the first identifier set and the second identifier set. At this time, step S203 is specifically:
若所述第一资源标识集合包括所述第一标识集合和所述第二标识集合,所述服务端在确定所述第一标识集合无法为所述用户端提供卡资源后,根据所述第一逻辑卡池的卡资源分配规则,从所述第二标识集合对应的若干个服务包中选定一个为所述用户端提供卡资源。在本申请实施例中,某一运营商自定义其逻辑卡池的卡资源分配规则为其自有卡资源优先分配,在其逻辑卡池同时包含有该第一运营商提供的IMSI卡和第二运营商提供的服务包时,将优先分配该第一运营商提供的IMSI卡为用户端提供卡资源,仅在该第一运营商提供的IMSI卡不足时,才分配第二运营商提供的服务包为用户端提供卡资源。If the first resource identifier set includes the first identifier set and the second identifier set, the server, after determining that the first identifier set cannot provide card resources for the client, according to the first identifier set A card resource allocation rule for a logical card pool, selecting one from several service packages corresponding to the second identification set to provide card resources for the client. In the embodiment of the present application, a certain operator customizes the card resource allocation rule of its logical card pool to allocate its own card resources preferentially, and its logical card pool contains both the IMSI card and the third card provided by the first operator. When the service package provided by the second operator is used, the IMSI card provided by the first operator will be preferentially allocated to provide card resources for the user end, and only when the IMSI card provided by the first operator is insufficient, the IMSI card provided by the second operator will be allocated. The service pack provides card resources for the client.
需要说明的是,由于卡资源可能存在着国家或者地区限制,在某一国家或某一地区,运营商提供卡资源的数量有限,因此,服务端在根据第一逻辑卡池的卡资源分配规则之前,还包括下述步骤:It should be noted that, due to possible country or region restrictions on card resources, in a certain country or region, the number of card resources provided by the operator is limited. Therefore, the server is based on the card resource allocation rules of the first logical card pool. Previously, the following steps were also included:
服务端根据用户端的位置信息,从所述第一资源标识集合中,确定可为所述用户端提供卡资源服务的第三资源标识集合,所述三资源标识集合属于所述第一资源标识集合的子集合。According to the location information of the client, the server determines, from the first resource identifier set, a third resource identifier set that can provide card resource services for the client, and the three resource identifier sets belong to the first resource identifier set sub-collection.
可以理解的是,第三资源标识集合可以与第一资源标识集合完全相同,也可以是由第一资源标识集合中具有某一国家或地区标识的部分资源标识组成。It can be understood that the third resource identifier set may be exactly the same as the first resource identifier set, or may be composed of some resource identifiers having a certain country or region identifier in the first resource identifier set.
在本申请实施例中,通过根据用户端的位置信息,筛选出可为用户端提供卡资源服务的主体,在缩小可为用户端提供卡资源服务的主体的范围后,再根据逻辑卡池的卡资源分配规则,从所筛选出的可为用户端提供卡资源服务的主体中进一步筛选出可为用户端提供卡资源服务的主体,提高了分配的确认效率。In the embodiment of the present application, the main body that can provide the card resource service for the user terminal is screened out according to the location information of the user terminal, and after narrowing the scope of the main body that can provide the card resource service The resource allocation rule further filters out the main body that can provide the card resource service for the user terminal from the screened out main body that can provide the card resource service for the user terminal, which improves the confirmation efficiency of allocation.
在一些实施例中,某些运营商并没有购买其他运营商提供的服务包,而仅是就其自身拥有的卡资源为其用户提供服务,其逻辑卡池中也就不包含有其他运营商提供的服务包的标记,也即第一资源标识中仅包括第一标识集合,服务端将根据其确定的第一逻辑卡池的分配规则,从第一标识集合中对应的若干个IMSI卡中选定一个为用户提供卡资源,这时,步骤S203具体为:In some embodiments, some operators do not purchase service packages provided by other operators, but only provide services for their users with their own card resources, and their logical card pools do not contain other operators. The mark of the provided service package, that is, the first resource identification only includes the first identification set, and the server will, according to the allocation rule of the first logical card pool determined by it, select from several IMSI cards corresponding to the first identification set. Select one to provide card resources for the user, in this case, step S203 is specifically:
若所述第一资源标识集合包括所述第一标识集合,所述服务端则根据所述第一逻辑卡池的卡资源分配规则,从所述第一标识集合对应的若干个IMSI卡中选定一个为所述用户端提供卡资源。If the first resource identifier set includes the first identifier set, the server selects a number of IMSI cards corresponding to the first identifier set according to the card resource allocation rule of the first logical card pool One is determined to provide card resources for the client.
在一些实施例中,基于成本或者其他考虑,比如某一运营商仅是在某一具体时段才有用户需要其提供卡资源,其他时段并不需要,这时,为了节省成本,运营商自身并不提供卡资源,而是提前在该具体时段之前或者在该在其用户需要使用卡资源时,向其他运营商购买服务包以为其用户所使用的用户端提供卡资源,这时,该运营商提供的销售品对应的逻辑卡池中也就仅包含有其他运营商提供的服务包的标记,也即第一资源标识中仅包括第二标识集合,服务端将根据其确定的第一逻辑卡池的分配规则,从第二标识集合中对应的若干个服务包卡中选定一个为用户提供卡资源,即步骤S203具体为:In some embodiments, based on cost or other considerations, for example, a certain operator only needs users to provide card resources in a specific time period, but not in other time periods. In this case, in order to save costs, the operator itself does not It does not provide card resources, but purchases service packages from other operators to provide card resources for the client used by its users before the specific time period or when its users need to use card resources. At this time, the operator The logical card pool corresponding to the provided sales product only contains the marks of the service packages provided by other operators, that is, the first resource identifier only includes the second set of identifiers, and the server will determine the first logical card according to the first resource identifier. The allocation rule of the pool is to select one from several service pack cards corresponding to the second identification set to provide card resources for the user, that is, step S203 is specifically:
若所述第一资源标识集合包括所述第二标识集合,所述服务端根据所述第一逻辑卡池的卡资源分配规则,从所述第二标识集合对应的若干个服务包中选定一个为所述用户端提供卡资源。If the first resource identifier set includes the second identifier set, the server selects from several service packages corresponding to the second identifier set according to the card resource allocation rule of the first logical card pool One provides card resources for the client.
需要说明的是,由于服务包中仅包含第二运营商用于交易的第二流量产品,并没有提供具体的卡资源,在选定服务包为用户提供卡资源后,还需要确定该服务包对应的流量产品的逻辑卡池,从而确定第二运营商所提供的卡资源具体是由哪一个IMSI卡提供,即在确定或选定为所述用户端提供卡资源服务的主体为所述第二运营商提供的服务包后,还包括下述步骤:It should be noted that, since the service package only contains the second traffic product used by the second operator for transactions, and does not provide specific card resources, after selecting a service package to provide users with card resources, it is also necessary to determine the corresponding service package. The logical card pool of the traffic product, so as to determine which IMSI card specifically provides the card resources provided by the second operator, that is, when it is determined or selected to provide card resource services for the client, the main body is the second operator. After the service package provided by the operator, it also includes the following steps:
步骤a1:所述服务端根据所述第二流量产品对应的第二逻辑卡池的标识,查找与所述第二逻辑卡池的标识存在映射关系的第二资源标识集合;所述第二资源标识集合至少包括第三标识集合,所述第三标识集合为所述第二运营商提供的IMSI卡的标识集合;Step a1: The server searches for a second resource identifier set that has a mapping relationship with the identifier of the second logical card pool according to the identifier of the second logical card pool corresponding to the second traffic product; the second resource The identity set at least includes a third identity set, and the third identity set is the identity set of the IMSI card provided by the second operator;
步骤a2:所述服务端根据所述第二逻辑卡池的卡资源分配规则,从所述第三标识集合对应的若干个IMSI卡中选定一个为所述用户端提供卡资源。Step a2: According to the card resource allocation rule of the second logical card pool, the server selects one of several IMSI cards corresponding to the third identifier set to provide card resources for the client.
可以理解的是,在第二资源标识集合中还可以包括第四标识集合,该第四标识集合为由不同于第一运营商和第二运营商的第三运营商提供的服务包的标识组成的集合。It can be understood that the second resource identification set may also include a fourth identification set, and the fourth identification set is composed of identifications of service packages provided by a third operator different from the first operator and the second operator. collection.
在一些实施例中,为便于运营商实现对服务包资源的管控,在步确定或选定为所述用户端提供卡资源服务的主体为所述第二运营商提供的服务包后,还包括下述步骤:In some embodiments, in order to facilitate the operator to realize the management and control of the service package resources, after the step of determining or selecting the service package provided by the second operator for the entity providing the card resource service for the user terminal, further comprising: The following steps:
步骤b1:所述服务端在为所述用户端分配服务包后,更新所述第一运营商与所述第二运营商的交易信息,所述交易信息包括所述服务包的已提供数量。Step b1: After allocating a service package to the client, the server updates the transaction information between the first operator and the second operator, where the transaction information includes the provided quantity of the service package.
在本申请实施例中,交易信息中包含有但不限于服务包的已提供数量、服务国家等信息,在为用户端分配服务包后,第一运营商的用户在线数量将会增加。In the embodiment of the present application, the transaction information includes, but is not limited to, information such as the number of service packages provided, service countries, etc. After the service package is allocated to the client, the number of online users of the first operator will increase.
需要说明的是,这里所指的用户在线数量仅为使用服务包的用户的数量。用户在线数量根据所使用的服务包数量而发生变化。It should be noted that the number of online users referred to here is only the number of users who use the service package. The number of users online varies according to the number of service packs used.
在另一些实施例中,在步骤b1之后,还包括:In other embodiments, after step b1, it further includes:
步骤b2:若所述已提供数量已达到交易数量,所述服务端向所述第一运营商发送资源告警提示信息。Step b2: if the provided quantity has reached the transaction quantity, the server sends resource warning prompt information to the first operator.
作为示例而非限定,资源告警提示信息用于提示第一运营商其当前购买的服务包已被全部占用,如果继续新增用户的话需要购买新的服务包或者IMSI卡,或者提示第一运营商限制其用户在线数量以避免资源不足给用户带来不好的体验。As an example and not a limitation, the resource alarm prompt information is used to prompt the first operator that the currently purchased service package has been fully occupied. If new users continue to be added, a new service package or an IMSI card needs to be purchased, or a notification to the first operator is required. Limit the number of its users online to avoid insufficient resources to bring a bad experience to users.
在用户端退出使用服务包资源时,为了便于其他用户使用该服务包资源,还包括下述步骤:When the client quits using the service package resources, in order to facilitate other users to use the service package resources, the following steps are also included:
步骤c1,所述服务端监控所述用户端对所述服务包的使用状态。Step c1, the server monitors the usage status of the service package by the client.
步骤c2,若所述用户端不再使用所述服务包,所述服务端则更新交易数据库购买方的在线用户数量,释放所述服务包对应的卡资源以供其他用户使用。Step c2, if the service package is no longer used by the client, the server updates the number of online users of the purchaser in the transaction database, and releases the card resources corresponding to the service package for use by other users.
在本申请实施例中,如果用户端不再使用服务包资源时,服务端将扣将用户在线数量,并释放该服务包对应的卡资源以供其他用户使用,提高该服务包资源的利用率,降低运营成本。In the embodiment of the present application, if the user terminal no longer uses the service package resources, the server terminal will deduct the number of users online, and release the card resources corresponding to the service package for other users to use, so as to improve the utilization rate of the service package resources , reduce operating costs.
在本申请实施例中,通过服务端根据用户端的流量产品对应的逻辑卡池的标识,查找与逻辑卡池的标识存在映射关系的资源标识集合,该资源标识集合包括第一标识集合和/或第二标识集合中,第一标识集合为第一运营商提供的IMSI卡的标识集合,第二标识集合为第二运营商提供的服务包的标识集合;服务端根据第一逻辑卡池的卡资源分配规则,确定为用户端提供卡资源服务的主体,从而保证了第一运营商在其自有的IMSI卡不足以为其用户提供卡资源服务时,可以使用服务包来保证卡资源的分配,有效地避免了因备卡不足导致用户无卡可用,又因备卡太多导致成本浪费的问题,实现了云卡成本最优化运营的目的。In the embodiment of the present application, the server searches for a resource identifier set that has a mapping relationship with the identifier of the logical card pool according to the identifier of the logical card pool corresponding to the traffic product of the client, and the resource identifier set includes the first identifier set and/or In the second identification set, the first identification set is the identification set of the IMSI card provided by the first operator, and the second identification set is the identification set of the service package provided by the second operator; The resource allocation rule determines the main body that provides card resource services for the client, thereby ensuring that the first operator can use the service package to ensure the allocation of card resources when its own IMSI card is not enough to provide card resource services for its users, It effectively avoids the problem that users have no cards available due to insufficient backup cards, and wastes costs due to too many backup cards, and realizes the purpose of optimizing the operation of cloud card costs.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑控制,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the sequence of execution, and the execution sequence of each process should be controlled by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
对应于上文实施例所述的一种图像分析方法,图3示出了本申请实施例提供的一种图像分析装置的示意图,为了便于说明,仅示出了与本申请实施例相关的部分。Corresponding to the image analysis method described in the above embodiment, FIG. 3 shows a schematic diagram of an image analysis apparatus provided by the embodiment of the present application. For the convenience of description, only the part related to the embodiment of the present application is shown. .
参照图3,该装置包括:Referring to Figure 3, the device includes:
第一逻辑卡池获取单元31,用于由服务端在接收到用户端发送的卡资源分配请求信息后,获取与所述用户端的第一流量产品对应的第一逻辑卡池;The first logical card
第一资源标识集合查找单元32,用于由所述服务端根据所述第一逻辑卡池的标识,查找与所述第一逻辑卡池的标识存在映射关系的第一资源标识集合,所述第一资源标识集合包括第一标识集合和/或第二标识集合中,所述第一标识集合为第一运营商提供的IMSI卡的标识集合,所述第二标识集合为第二运营商提供的服务包的标识集合;The first resource identifier set
卡资源提供主体确定单元33,用于若所述第一资源标识集合包括所述第一标识集合和所述第二标识集合,则由所述服务端根据所述第一逻辑卡池的卡资源分配规则,确定为所述用户端提供卡资源服务的主体。A card resource
示例性的,所述卡资源提供主体确定单元33,具体用于:Exemplarily, the card resource providing
若所述第一资源标识集合包括所述第一标识集合和所述第二标识集合,所述服务端在确定所述第一标识集合无法为所述用户端提供卡资源后,根据所述第一逻辑卡池的卡资源分配规则,从所述第二标识集合对应的若干个服务包中选定一个为所述用户端提供卡资源。If the first resource identifier set includes the first identifier set and the second identifier set, the server, after determining that the first identifier set cannot provide card resources for the client, according to the first identifier set A card resource allocation rule for a logical card pool, selecting one from several service packages corresponding to the second identification set to provide card resources for the client.
示例性的,所述卡资源提供主体确定单元33,具体还用于:Exemplarily, the card resource providing
若所述第一资源标识集合仅包括所述第一标识集合,所述服务端则根据所述第一逻辑卡池的卡资源分配规则,从所述第一标识集合对应的若干个IMSI卡中选定一个为所述用户端提供卡资源。If the first resource identifier set only includes the first identifier set, the server will, according to the card resource allocation rule of the first logical card pool, select from several IMSI cards corresponding to the first identifier set One is selected to provide card resources for the client.
示例性的,所述卡资源提供主体确定单元33,具体还用于:Exemplarily, the card resource providing
若所述第一资源标识集合仅包括所述第二标识集合,所述服务端根据所述第一逻辑卡池的卡资源分配规则,从所述第二标识集合对应的若干个服务包中选定一个为所述用户端提供卡资源。If the first resource identifier set only includes the second identifier set, the server selects from several service packages corresponding to the second identifier set according to the card resource allocation rule of the first logical card pool One is determined to provide card resources for the client.
具体的,所述服务包中包含有第二运营商提供的用于交易的第二流量产品。Specifically, the service package includes the second traffic product provided by the second operator for transaction.
示例性的,该装置还包括:Exemplarily, the device further includes:
第二资源标识集合查找单元,用于由所述服务端根据所述第二流量产品对应的第二逻辑卡池的标识,查找与所述第二逻辑卡池的标识存在映射关系的第二资源标识集合;所述第二资源标识集合至少包括第三标识集合,所述第三标识集合为所述第二运营商提供的IMSI卡的标识集合;The second resource identifier set search unit is used for the server to search for a second resource that has a mapping relationship with the identifier of the second logical card pool according to the identifier of the second logical card pool corresponding to the second traffic product an identity set; the second resource identity set includes at least a third identity set, and the third identity set is the identity set of the IMSI card provided by the second operator;
IMSI卡选定单元,用于由所述服务端根据所述第二逻辑卡池的卡资源分配规则,从所述第三标识集合对应的若干个IMSI卡中选定一个为所述用户端提供卡资源。The IMSI card selection unit is configured to, according to the card resource allocation rule of the second logical card pool, the server select one of the several IMSI cards corresponding to the third identification set to provide the user terminal with card resources.
示例性的,该装置还包括:Exemplarily, the device further includes:
交易信息更新单元,用于由所述服务端在为所述用户端分配服务包后,更新所述第二运营商的交易信息,所述交易信息包括所述服务包的已提供数量;a transaction information update unit, configured to update the transaction information of the second operator by the server after allocating a service package to the client, the transaction information including the provided quantity of the service package;
提示信息发送单元,用于若所述已提供数量已达到交易数量,由所述服务端向所述第一运营商发送资源告警提示信息。The prompt information sending unit is configured to send, by the server, resource alarm prompt information to the first operator if the provided quantity has reached the transaction quantity.
示例性的,该装置还包括:Exemplarily, the device further includes:
第三资源标识集合确定单元,用于由所述服务端根据用户端的位置信息,从所述第一资源标识集合中,确定可为所述用户端提供卡资源服务的第三资源标识集合,所述三资源标识集合为所述第一资源标识集合的子集合。A third resource identifier set determining unit is configured to determine, by the server, a third resource identifier set that can provide card resource services for the client from the first resource identifier set according to the location information of the client, where the The three resource identifier sets are a subset of the first resource identifier set.
在本申请实施例中,通过服务端根据用户端的流量产品对应的逻辑卡池的标识,查找与逻辑卡池的标识存在映射关系的资源标识集合,该资源标识集合包括第一标识集合和/或第二标识集合中,第一标识集合为第一运营商提供的IMSI卡的标识集合,第二标识集合为第二运营商提供的服务包的标识集合;服务端根据第一逻辑卡池的卡资源分配规则,确定为用户端提供卡资源服务的主体,从而保证了第一运营商在其自有的IMSI卡不足以为其用户提供卡资源服务时,可以使用服务包来保证卡资源的分配,有效地避免了因备卡不足导致用户无卡可用,又因备卡太多导致成本浪费的问题,实现了云卡成本最优化运营的目的。In the embodiment of the present application, the server searches for a resource identifier set that has a mapping relationship with the identifier of the logical card pool according to the identifier of the logical card pool corresponding to the traffic product of the client, and the resource identifier set includes the first identifier set and/or In the second identification set, the first identification set is the identification set of the IMSI card provided by the first operator, and the second identification set is the identification set of the service package provided by the second operator; The resource allocation rule determines the main body that provides card resource services for the client, thereby ensuring that the first operator can use the service package to ensure the allocation of card resources when its own IMSI card is not enough to provide card resource services for its users, It effectively avoids the problem that users have no cards available due to insufficient backup cards, and wastes costs due to too many backup cards, and realizes the purpose of optimizing the operation of cloud card costs.
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。It should be noted that the information exchange, execution process and other contents between the above-mentioned devices/units are based on the same concept as the method embodiments of the present application. For specific functions and technical effects, please refer to the method embodiments section. It is not repeated here.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art 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. Module completion, that is, dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated in one processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit, and the above-mentioned integrated units may adopt hardware. It can also be realized 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 from each other, and are not used to limit the protection scope of the present application. For the specific working processes of the units and modules in the above-mentioned system, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
本申请实施例还提供了一种如图4所示的服务端,该服务端包括:至少一个处理器、存储器以及存储在所述存储器中并可在所述至少一个处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述任意各个方法实施例中的步骤。An embodiment of the present application further provides a server as shown in FIG. 4 , where the server includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor , the processor implements the steps in any of the foregoing method embodiments when executing the computer program.
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现可实现上述各个方法实施例中的步骤。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the foregoing method embodiments can be implemented.
本申请实施例提供了一种计算机程序产品,当计算机程序产品在移动终端上运行时,使得移动终端执行时实现可实现上述各个方法实施例中的步骤。The embodiments of the present application provide a computer program product, when the computer program product runs on a mobile terminal, the steps in the foregoing method embodiments can be implemented when the mobile terminal executes the computer program product.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质至少可以包括:能够将计算机程序代码携带到拍照装置/终端设备的任何实体或装置、记录介质、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,RandomAccess Memory)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the present application realizes all or part of the processes in the methods of the above embodiments, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When executed by a processor, the steps of each of the above method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form, and the like. The computer-readable medium may include at least: any entity or device capable of carrying the computer program code to the photographing device/terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electrical carrier signal, telecommunication signal, and software distribution medium. For example, U disk, mobile hard disk, disk or CD, etc. In some jurisdictions, under legislation and patent practice, computer readable media may not be electrical carrier signals and telecommunications signals.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the description of each embodiment has its own emphasis. For parts that are not described or described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize 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. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
在本申请所提供的实施例中,应该理解到,所揭露的装置/服务端和方法,可以通过其它的方式实现。例如,以上所描述的装置/服务端实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed apparatus/server and method may be implemented in other manners. For example, the apparatus/server embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units. Or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the above-mentioned embodiments, those of ordinary skill in the art should understand that: it can still be used for the above-mentioned implementations. The technical solutions described in the examples are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the application, and should be included in the within the scope of protection of this application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910880256.9ACN110753323B (en) | 2019-09-18 | 2019-09-18 | Card resource allocation method and server |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910880256.9ACN110753323B (en) | 2019-09-18 | 2019-09-18 | Card resource allocation method and server |
| Publication Number | Publication Date |
|---|---|
| CN110753323A CN110753323A (en) | 2020-02-04 |
| CN110753323Btrue CN110753323B (en) | 2022-09-09 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910880256.9AActiveCN110753323B (en) | 2019-09-18 | 2019-09-18 | Card resource allocation method and server |
| Country | Link |
|---|---|
| CN (1) | CN110753323B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113055878B (en)* | 2020-07-09 | 2023-03-07 | 深圳优克云联科技有限公司 | Cloud card distribution method and device, electronic equipment and storage medium |
| CN112911578A (en)* | 2020-12-28 | 2021-06-04 | 合肥途鸽科技有限公司 | Network service resource management method, server, terminal, medium, and program |
| CN113163393A (en)* | 2021-03-29 | 2021-07-23 | 深圳市优克联新技术有限公司 | System, method and device for distributing cloud card, terminal equipment, server and medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105228259A (en)* | 2015-08-26 | 2016-01-06 | 中国联合网络通信集团有限公司 | The method of communication service resource sharing and device |
| CN107682850A (en)* | 2017-10-18 | 2018-02-09 | 影响力技术有限公司 | A kind of soft SIM card selection, acquisition methods and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101534498B (en)* | 2008-03-11 | 2010-09-22 | 中国移动通信集团公司 | A method for realizing international roaming, a roaming processing device and a communication system |
| US9721279B2 (en)* | 2010-03-23 | 2017-08-01 | Microsoft Technology Licensing, Llc | Determining mobile operators for mobile devices |
| CN104378754B (en)* | 2014-06-30 | 2018-06-01 | 天津泰岳小漫科技有限公司 | A kind of mobile communications network business realizing system and method |
| CN105072602A (en)* | 2015-07-14 | 2015-11-18 | 深圳市斯凯荣科技有限公司 | SIM/USIM distribution system, and card distribution, card release and card switching methods thereof |
| CN105916149A (en)* | 2016-05-27 | 2016-08-31 | 努比亚技术有限公司 | Operator network switching method and communication terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105228259A (en)* | 2015-08-26 | 2016-01-06 | 中国联合网络通信集团有限公司 | The method of communication service resource sharing and device |
| CN107682850A (en)* | 2017-10-18 | 2018-02-09 | 影响力技术有限公司 | A kind of soft SIM card selection, acquisition methods and device |
| Publication number | Publication date |
|---|---|
| CN110753323A (en) | 2020-02-04 |
| Publication | Publication Date | Title |
|---|---|---|
| CN110753323B (en) | Card resource allocation method and server | |
| CN108989238A (en) | Method for distributing service bandwidth and related equipment | |
| CN108427581A (en) | System micro services method and terminal device | |
| US9451393B1 (en) | Automated multi-party cloud connectivity provisioning | |
| CN103458004B (en) | Internet of things equipment CAMEL-Subscription-Information variation and equipment | |
| CN106171019B (en) | Method, device, terminal and server for determining terminal roaming state | |
| CN105654321A (en) | Method and device for establishing incidence relation | |
| CN105630977A (en) | Application recommending method, device and system | |
| CN107181821A (en) | A kind of information push method and device based on SSE specifications | |
| WO2011084874A2 (en) | Syndication of multiple service instances | |
| CN106131822B (en) | Virtual access module distribution device and method | |
| CN109088949A (en) | A kind of matching process and MME of internet of things service | |
| CN111209060A (en) | Capability development platform processing method and device | |
| WO2022205666A1 (en) | System, method and apparatus for allocating cloud card, terminal device, server, and medium | |
| CN107943423A (en) | The management method and computer-readable recording medium of storage resource in cloud system | |
| CN109348434B (en) | Scene information sending method, sending device and terminal equipment | |
| CN113434063A (en) | Information display method, device and equipment | |
| KR20250130184A (en) | Method, device and recording medium of processing service data | |
| CN102802145A (en) | Network service billing method, device and system | |
| CN113055876B (en) | Method and device for downloading standby cloud card and terminal equipment | |
| US20120109771A1 (en) | Application Name Marketplace | |
| CN106685708B (en) | Method, device and system for determining service relationship | |
| CN114255026B (en) | Account recharging method, device and system | |
| WO2025035937A1 (en) | Number configuration method and configuration apparatus, electronic device and storage medium | |
| CN108513303A (en) | The abnormality monitoring method and device of jack per line terminal |
| 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 |