


技术领域technical field
本发明属于通信技术领域,具体涉及一种发送数据的方法和装置。The invention belongs to the technical field of communication, and in particular relates to a method and device for sending data.
背景技术Background technique
随着物联网与智能卡技术的发展,终端与卡组合的优势日益凸显,如终端为智能手表,其只具备附属终端的工作模式,则其对应的卡业务应为附属卡业务。With the development of Internet of Things and smart card technology, the advantages of the combination of terminal and card are becoming more and more prominent. If the terminal is a smart watch, which only has the working mode of an auxiliary terminal, its corresponding card business should be an auxiliary card business.
但由于卡业务由网络侧独立管理,与终端相对隔离,容易导致终端的工作模式与卡业务不适配,如终端为智能手表,其只具备附属终端的工作模式,而其对应的卡业务应为独立卡业务。从而,导致卡业务对应的数据无法下载或者下载之后无法使用,极大的影响了卡业务的可用性,造成用户体验差。However, since the card business is independently managed by the network side and relatively isolated from the terminal, it is easy to cause the working mode of the terminal to be incompatible with the card business. For independent card business. As a result, the data corresponding to the card service cannot be downloaded or cannot be used after downloading, which greatly affects the usability of the card service and results in poor user experience.
发明内容Contents of the invention
本发明至少部分解决现有的发送数据的方法和装置用户体验差的问题,提供一种用户体验好的发送数据的方法和装置。The present invention at least partly solves the problem of poor user experience in existing methods and devices for sending data, and provides a method and device for sending data with good user experience.
本发明的一个方面提供一种发送数据的方法,所述方法包括:One aspect of the present invention provides a method of sending data, the method comprising:
接收开通请求信息,所述开通请求信息包括终端的信息以及待激活卡的信息;receiving activation request information, where the activation request information includes terminal information and card information to be activated;
根据所述开通请求信息,确定至少一个所述待激活卡的已签约业务为待选择业务,并将所述待选择业务发送至所述终端;According to the opening request information, determine that at least one service signed by the card to be activated is a service to be selected, and send the service to be selected to the terminal;
接收所述终端发送的待开通业务,将所述待开通业务对应的卡数据发送至所述终端,所述待开通业务为所述待选择业务中的一个业务。receiving the service to be activated sent by the terminal, and sending the card data corresponding to the service to be activated to the terminal, where the service to be activated is one of the services to be selected.
可选的,所述根据所述开通请求信息,确定至少一个所述待激活卡的已签约业务为待选择业务,包括:从所述待激活卡的所有已签约业务中,确定所有对应的卡数据与所述终端至少一种工作模式兼容的已签约业务,为待选择业务。Optionally, determining at least one signed service of the card to be activated as a service to be selected according to the activation request information includes: determining all corresponding card services from all signed services of the card to be activated The subscribed service whose data is compatible with at least one working mode of the terminal is a service to be selected.
可选的,所述将所述待开通业务对应的卡数据发送至所述终端之后,还包括:若所述待开通业务对应的卡数据与所述终端的当前工作模式不兼容,则向所述终端发送更改当前工作模式的请求,所述更改当前工作模式的请求中包括与所述待开通业务对应的卡数据兼容的终端的工作模式。Optionally, after sending the card data corresponding to the service to be activated to the terminal, it further includes: if the card data corresponding to the service to be activated is not compatible with the current working mode of the terminal, sending to the terminal The terminal sends a request for changing the current working mode, and the request for changing the current working mode includes the working mode of the terminal compatible with the card data corresponding to the service to be opened.
可选的,所述将所述待开通业务对应的卡数据发送至所述终端之后,还包括:Optionally, after sending the card data corresponding to the service to be activated to the terminal, the method further includes:
若所述待开通业务对应的卡数据与所述终端的当前工作模式不兼容,则向所述终端重新发送除所述待开通业务外的其他待选择业务;If the card data corresponding to the service to be opened is not compatible with the current working mode of the terminal, resend other services to be selected except the service to be opened to the terminal;
接收所述终端发送的第二待开通业务,将所述第二待开通业务对应的卡数据发送至所述终端。receiving the second service to be activated sent by the terminal, and sending card data corresponding to the second service to be activated to the terminal.
可选的,所述根据所述开通请求信息,确定至少一个所述终端的待选择业务之前,还包括:Optionally, before determining at least one service to be selected of the terminal according to the opening request information, the method further includes:
获取所述待激活卡以及其他签约卡对应的所有已签约业务,所述所有已签约业务中,业务数据可相互兼容的已签约业务为一个业务序列,所述其他签约卡与所述待激活卡为同一个用户签约的卡片;Obtain all signed services corresponding to the card to be activated and other signed cards. Among all signed services, the signed services whose business data are compatible with each other are a service sequence. The other signed cards and the card to be activated Cards signed up for the same user;
确定每个所述业务序列中一个业务为该业务序列的主选业务,每个所述业务序列中除主选业务外其他业务使用与所述主选业务卡数据的数据副本为其对应的卡数据。Determining that one service in each of the service sequences is the main service of the service sequence, and other services in each of the service sequences except the main service use the card corresponding to the data copy of the main service card data data.
进一步可选的,所述将所述待开通业务对应的卡数据发送至所述终端之后,还包括:若所述待开通业务对应的卡数据与所述终端的当前工作模式兼容,但所述待开通业务不是主选业务,则更换所述待开通业务为该选择序列的主选业务。Further optionally, after sending the card data corresponding to the service to be activated to the terminal, it further includes: if the card data corresponding to the service to be activated is compatible with the current working mode of the terminal, but the If the service to be opened is not the main service, then the service to be opened is replaced with the main service of the selection sequence.
进一步可选的,所述将所述待开通业务对应的卡数据发送至所述终端之后,还包括:若所述待开通业务对应的卡数据与所述终端的当前工作模式兼容,但所述待开通业务不是主选业务,则向终端发送更改当前工作模式的请求,所述更改当前工作模式的请求中包括所述待开通业务对应的主选业务适配的工作模式。Further optionally, after sending the card data corresponding to the service to be activated to the terminal, it further includes: if the card data corresponding to the service to be activated is compatible with the current working mode of the terminal, but the If the service to be opened is not the main service, a request for changing the current working mode is sent to the terminal, and the request for changing the current working mode includes the working mode adapted to the main service corresponding to the service to be opened.
本发明的另一个方面提供一种发送数据的装置,所述装置包括:Another aspect of the present invention provides a device for sending data, the device comprising:
第一接收模块,用于接收开通请求信息,所述开通请求信息包括终端的信息以及待激活卡的信息;The first receiving module is configured to receive activation request information, where the activation request information includes terminal information and card information to be activated;
确认模块,用于根据所述开通请求信息,确定至少一个所述待激活卡的已签约业务为待选择业务,并将所述待选择业务发送至所述终端;A confirming module, configured to determine, according to the activation request information, that at least one contracted service of the card to be activated is a service to be selected, and send the service to be selected to the terminal;
第二接收模块,用于接收所述终端发送的待开通业务,将所述待开通业务对应的卡数据发送至所述终端,所述待开通业务为所述待选择业务中的一个业务。The second receiving module is configured to receive the service to be activated sent by the terminal, and send the card data corresponding to the service to be activated to the terminal, where the service to be activated is one of the services to be selected.
可选的,所述确认模块用于:从所述待激活卡的所有已签约业务中,确定所有对应的卡数据与所述终端至少一种工作模式兼容的已签约业务,为待选择业务。Optionally, the confirming module is configured to: determine all signed services whose corresponding card data is compatible with at least one working mode of the terminal from all signed services of the card to be activated, as services to be selected.
可选的,所述装置还包括:发送模块,用于当所述待开通业务对应的卡数据与所述终端的当前工作模式不兼容时,向终端发送更改当前工作模式的请求,所述更改当前工作模式的请求中包括与所述待开通业务对应的卡数据兼容的终端的工作模式。Optionally, the device further includes: a sending module, configured to send a request to the terminal to change the current working mode when the card data corresponding to the service to be opened is incompatible with the current working mode of the terminal, and the changing The request for the current working mode includes the working mode of the terminal compatible with the card data corresponding to the service to be opened.
本发明实施例的发送数据的方法和装置中,通过向终端发送待选择业务,以便终端可以对卡业务进行选择,减少了终端的工作模式与卡业务不适配的可能性,从而,减少了卡业务对应的数据无法下载或者下载之后无法使用的情况,极大的提高了卡业务的可用性,提升了用户体验。In the method and device for sending data in the embodiment of the present invention, by sending the service to be selected to the terminal, so that the terminal can select the card service, the possibility that the working mode of the terminal does not match the card service is reduced, thereby reducing the The data corresponding to the card service cannot be downloaded or cannot be used after downloading, which greatly improves the usability of the card service and improves the user experience.
附图说明Description of drawings
图1为本发明实施例的一种发送数据的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for sending data according to an embodiment of the present invention;
图2为本发明实施例的另一种发送数据的方法的流程示意图;FIG. 2 is a schematic flowchart of another method for sending data according to an embodiment of the present invention;
图3为本发明实施例的一种发送数据的装置的组成示意框图。FIG. 3 is a schematic block diagram of a device for sending data according to an embodiment of the present invention.
具体实施方式Detailed ways
为使本领域技术人员更好地理解本发明的技术方案,下面结合附图和具体实施方式对本发明作进一步详细描述。In order to enable those skilled in the art to better understand the technical solutions of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
可以理解的是,此处描述的具体实施例和附图仅仅用于解释本发明,而非对本发明的限定。It should be understood that the specific embodiments and drawings described here are only for explaining the present invention, rather than limiting the present invention.
可以理解的是,在不冲突的情况下,本发明中的各实施例及实施例中的各特征可相互组合。It can be understood that, in the case of no conflict, each embodiment and each feature in the embodiment of the present invention can be combined with each other.
可以理解的是,为便于描述,本发明的附图中仅示出了与本发明相关的部分,而与本发明无关的部分未在附图中示出。It can be understood that, for the convenience of description, only the parts related to the present invention are shown in the drawings of the present invention, while the parts irrelevant to the present invention are not shown in the drawings.
可以理解的是,本发明的实施例中所涉及的每个单元、模块可仅对应一个实体结构,也可由多个实体结构组成,或者,多个单元、模块也可集成为一个实体结构。It can be understood that each unit and module involved in the embodiments of the present invention may only correspond to one physical structure, or may be composed of multiple physical structures, or multiple units and modules may also be integrated into one physical structure.
可以理解的是,在不冲突的情况下,本发明的流程图和框图中所标注的功能、步骤可按照不同于附图中所标注的顺序发生。It can be understood that, under the condition of no conflict, the functions and steps marked in the flowchart and block diagram of the present invention may occur in a sequence different from that marked in the drawings.
可以理解的是,本发明的流程图和框图中,示出了按照本发明各实施例的系统、装置、设备、方法的可能实现的体系架构、功能和操作。其中,流程图或框图中的每个方框可代表一个单元、模块、程序段、代码,其包含用于实现规定的功能的可执行指令。而且,框图和流程图中的每个方框或方框的组合,可用实现规定的功能的基于硬件的系统实现,也可用硬件与计算机指令的组合来实现。It can be understood that the flowcharts and block diagrams of the present invention show the system architecture, functions and operations of possible implementations of systems, devices, devices, and methods according to various embodiments of the present invention. Wherein, each block in the flowchart or block diagram may represent a unit, module, program segment, or code, which includes executable instructions for realizing specified functions. Furthermore, each block or combination of blocks in the block diagrams and flowcharts can be implemented by a hardware-based system which performs the specified function, or by a combination of hardware and computer instructions.
可以理解的是,本发明实施例中所涉及的单元、模块可通过软件的方式实现,也可通过硬件的方式来实现,例如单元、模块可位于处理器中。It can be understood that the units and modules involved in the embodiments of the present invention may be implemented by means of software or hardware, for example, the units and modules may be located in a processor.
实施例1:Example 1:
参照图1,本实施例提供一种发送数据的方法,该方法具体包括:Referring to FIG. 1, this embodiment provides a method for sending data, which specifically includes:
S101、接收开通请求信息,开通请求信息包括终端的信息以及待激活卡的信息。S101. Receive activation request information, where the activation request information includes terminal information and card information to be activated.
S102、根据开通请求信息,确定至少一个待激活卡的已签约业务为待选择业务,并将待选择业务发送至终端。S102. According to the activation request information, determine that at least one contracted service of the card to be activated is a service to be selected, and send the service to be selected to the terminal.
S103、接收终端发送的待开通业务,将待开通业务对应的卡数据发送至终端,待开通业务为待选择业务中的一个业务。S103. Receive the service to be activated sent by the terminal, and send the card data corresponding to the service to be activated to the terminal, where the service to be activated is one of the services to be selected.
本实施例的发送数据的方法中,通过向终端发送待选择业务,以便终端可以对卡业务进行选择,减少了终端的工作模式与卡业务不适配的可能性,从而,减少了卡业务对应的数据无法下载或者下载之后无法使用的情况,极大的提高了卡业务的可用性,提升了用户体验。In the method for sending data in this embodiment, by sending the service to be selected to the terminal, so that the terminal can select the card service, the possibility that the working mode of the terminal does not match the card service is reduced, thereby reducing the card service correspondence. The data cannot be downloaded or cannot be used after downloading, which greatly improves the usability of the card business and improves the user experience.
实施例2:Example 2:
参照图2,本实施例提供一种发送数据的方法,数据具体可以是终端所使用的帮助其实现通信功能的卡片,如流量卡、SIM(Subscriber Identity Model,客户识别模块)卡等的数据,所述方法具体包括:Referring to Fig. 2, the present embodiment provides a method for sending data, and the data may specifically be a card used by a terminal to help it realize a communication function, such as data of a traffic card, a SIM (Subscriber Identity Model, customer identification module) card, etc. Described method specifically comprises:
S201、接收开通请求信息,开通请求信息包括终端的信息以及待激活卡的信息。S201. Receive activation request information, where the activation request information includes terminal information and card information to be activated.
网络侧(如运营商的服务器)接收来自用户的开通请求信息,开通请求信息包括用户想要开通的签约卡(即待激活卡)的信息(如待激活卡的标识等)以及使用该签约卡的终端的信息(如终端可使用的工作模式等)。The network side (such as the operator's server) receives the activation request information from the user. The activation request information includes the information of the contract card (ie, the card to be activated) that the user wants to activate (such as the identity of the card to be activated, etc.) and the use of the contract card. Information about the terminal (such as the working mode that the terminal can use, etc.).
其中,终端是指具有通信功能的机器,如手机、智能手表等;签约卡是指用户已经购买(或者说与运营商签约),但是未开通(或者激活)的,可以帮助终端实现通信功能的卡片(如手机卡等)。Among them, the terminal refers to the machine with communication function, such as mobile phone, smart watch, etc.; the contract card refers to the user has purchased (or signed with the operator), but has not opened (or activated), which can help the terminal realize the communication function Cards (such as mobile phone cards, etc.).
S202、根据开通请求信息,确定至少一个待激活卡的已签约业务为待选择业务,并将待选择业务发送至终端。S202. According to the activation request information, determine that the contracted service of at least one card to be activated is a service to be selected, and send the service to be selected to the terminal.
网络侧根据开通请求信息中的待激活卡的信息,查询该待激活卡已经签约的业务,再根据使用该签约卡的终端的信息确定已经签约的业务中的至少一个为待选择业务,并将所有待选择业务发送至终端。According to the information of the card to be activated in the activation request information, the network side inquires about the service that the card to be activated has subscribed to, and then determines that at least one of the services that have been signed is a service to be selected according to the information of the terminal using the contracted card, and sends All services to be selected are sent to the terminal.
可选的,根据开通请求信息,确定至少一个待激活卡的已签约业务为待选择业务(S202),具体包括:Optionally, according to the activation request information, determine that at least one contracted service of the card to be activated is a service to be selected (S202), specifically including:
S202、从待激活卡的所有已签约业务中,确定所有对应的卡数据与终端至少一种工作模式兼容的已签约业务,为待选择业务。S202. From all the signed services of the card to be activated, determine all signed services whose corresponding card data is compatible with at least one working mode of the terminal, as services to be selected.
网络侧根据待激活卡的信息,查询用户在签约该待激活卡时已经签约的业务,并从该待激活卡所有已经签约的业务中确定,业务对应的卡数据与终端所有工作模式中任何一种工作模式兼容的已签约业务,为待选择业务。According to the information of the card to be activated, the network side queries the services that the user has signed when signing the card to be activated, and determines from all the signed services of the card to be activated, the card data corresponding to the service and any one of all working modes of the terminal The contracted business that is compatible with the two working modes is the business to be selected.
即只要该已签约业务对应的卡数据与终端任意一种工作模式兼容,则该已签约业务就可以作为待选择业务。That is, as long as the card data corresponding to the contracted service is compatible with any working mode of the terminal, the contracted service can be used as a service to be selected.
其中,已签约业务对应的卡数据与终端的任意一种工作模式兼容是指,当该终端在该工作模式下时,终端可以使用该已签约业务,或者是与该已签约业务对应的卡数据兼容的其他已签约业务。Wherein, the card data corresponding to the contracted service is compatible with any working mode of the terminal means that when the terminal is in the working mode, the terminal can use the contracted service, or the card data corresponding to the contracted service Compatible other contracted businesses.
如已签约业务为独立卡业务,终端为智能手表,该智能手表工作模式为附属终端模式,显然该已签约业务与智能手表的附属终端模式是不兼容的,但由于存在与独立卡业务卡数据兼容的附属卡业务,因此可以说独立卡业务对应的卡数据与智能手表的附属终端模式兼容,独立卡业务就可以作为智能手表的待选择业务。If the contracted business is an independent card business, and the terminal is a smart watch, the working mode of the smart watch is the auxiliary terminal mode. Obviously, the contracted business is incompatible with the auxiliary terminal mode of the smart watch. Compatible supplementary card business, so it can be said that the card data corresponding to the independent card business is compatible with the subsidiary terminal mode of the smart watch, and the independent card business can be used as a service to be selected for the smart watch.
使用待激活卡中所有已签约业务中,对应的卡数据与终端至少一种工作模式兼容的已签约业务为待选择业务,则可以保证待选择业务中每一个业务对应的卡数据都可以与终端的至少一种工作模式兼容,保证了卡数据至少与终端的至少一种工作模式兼容,也就大大减少了卡业务对应的数据下载之后无法使用的情况,也就是说,增大了终端选择的待开通业务对应的卡数据的可用性。Among all the contracted services in the card to be activated, the corresponding card data is compatible with at least one working mode of the terminal as the service to be selected, so it can be guaranteed that the card data corresponding to each service in the service to be selected can be compatible with the terminal Compatible with at least one working mode of the terminal, which ensures that the card data is at least compatible with at least one working mode of the terminal, which greatly reduces the situation that the data corresponding to the card business cannot be used after downloading, that is to say, it increases the choice of the terminal. Availability of the card data corresponding to the service to be activated.
可选的,根据开通请求信息,确定至少一个终端的待选择业务(S202)之前,还包括:Optionally, before determining the service to be selected for at least one terminal (S202) according to the opening request information, the method also includes:
S2001、获取待激活卡以及其他签约卡对应的所有已签约业务,所有已签约业务中,业务数据可相互兼容的已签约业务为一个业务序列,其他签约卡与待激活卡为同一个用户签约的卡片。S2001. Obtain all signed services corresponding to the card to be activated and other signed cards. Among all signed services, the signed services whose business data are compatible with each other are a service sequence, and the other signed cards and cards to be activated are signed by the same user card.
S2002、确定每个业务序列中一个业务为该业务序列的主选业务,每个业务序列中除主选业务外其他业务使用与主选业务卡数据的数据副本为其对应的卡数据。S2002. Determine that one service in each service sequence is the main service of the service sequence, and other services in each service sequence except the main service use the card data corresponding to the data copy of the main service card data.
当用户与网络侧完成一个签约,网络侧记录该次签约的具体信息,包括签约的卡片的信息(如该卡片的标识信息等)、该卡片签约的业务、以及已经每个已签约业务适配的终端工作模式等。同时,该签约的卡片也就成为了签约卡。When the user completes a contract with the network side, the network side records the specific information of the contract, including the information of the contracted card (such as the identification information of the card, etc.), the business signed by the card, and the adaptation of each contracted service. terminal working mode, etc. At the same time, the card that should be signed becomes the contract card.
其中,如上所述,已签约业务适配的终端工作模式是指,当该终端在该工作模式下时,终端可以使用该已签约业务。Wherein, as mentioned above, the terminal working mode adapted to the contracted service means that when the terminal is in the working mode, the terminal can use the contracted service.
对于一个用户来说,其可签约多张签约卡,每个签约卡对应一个或多个已签约业务。一个用户对应的多张签约卡的所有已签约业务中,卡数据可以相互兼容的已签约业务为一个业务序列。对于每一个业务序列,确定一个业务为主选业务,除主选业务之外的其他业务都是冗余业务。For a user, he can sign multiple contract cards, and each contract card corresponds to one or more contracted services. Among all the contracted services of multiple contracted cards corresponding to a user, the contracted services whose card data can be compatible with each other constitute a service sequence. For each service sequence, determine a service as the selected service, and other services except the selected service are redundant services.
也就是说,对于用户来说,当其与网络侧完成签约之后,该用户的所有签约卡的所有已签约业务就已经可以被分为至少一个业务序列,在网络侧接收到用户的开通请求之后,只是从已经建立好的业务序列中进行查找并确定待选择业务。That is to say, for a user, after the user completes the contract with the network side, all the subscribed services of all the user's contract cards can be divided into at least one service sequence. After the network side receives the user's activation request , just search and determine the business to be selected from the established business sequence.
当然,在用户与网络侧签约之后,也可以先不建立业务序列,而是在接收到用户的开通请求之后,再建立业务序列。即步骤S201和步骤S2001、S2002之间并没有明确的先后顺序,但是这些步骤都在步骤S202之前。Of course, after the user signs a contract with the network side, the service sequence may not be established first, but the service sequence may be established after receiving the activation request from the user. That is, there is no clear sequence between step S201 and steps S2001 and S2002, but these steps are all before step S202.
对于一个业务序列,主选业务与冗余业务卡数据可以相互兼容,因此只需为主选业务配置卡数据,冗余业务使用主选业务卡数据的数据副本即可,不需要重新配置卡数据。For a service sequence, the card data of the main service and the redundant service are compatible with each other, so it is only necessary to configure the card data for the main service, and the redundant service uses the data copy of the card data of the main service, and there is no need to reconfigure the card data .
在确定待选择业务之前,对用户所有已经签约的业务进行“归类”,即将对应卡数据可以兼容的业务放在同一个业务序列,这就是说,同一个业务序列中的卡业务的数据是相互兼容的,因此,一个业务序列只需要一个卡数据即可,其他业务可以使用对应的数据副本。Before determining the service to be selected, "classify" all the services that the user has signed, that is, put the services that are compatible with the corresponding card data in the same service sequence, that is to say, the card business data in the same service sequence is Compatible with each other, therefore, a business sequence only needs one card data, and other businesses can use the corresponding data copy.
S203、接收终端发送的待开通业务,将待开通业务对应的卡数据发送至终端,待开通业务为待选择业务中的一个业务。S203. Receive the service to be activated sent by the terminal, and send the card data corresponding to the service to be activated to the terminal, where the service to be activated is one of the services to be selected.
网络侧在向终端发送待选择业务之后,终端从待选择业务中选择一个业务为待开通业务,并将选择的待开通业务发送至网络侧。After the network side sends the service to be selected to the terminal, the terminal selects a service from the services to be selected as the service to be activated, and sends the selected service to be activated to the network side.
网络侧在接收到终端发送的待开通业务之后,将待开通业务对应的卡数据发送至终端。当然,若待开通业务为主选业务,则发送为主选业务配置的卡数据,若待开通业务是冗余业务,则发送器对应的主选业务的卡数据的副本。After receiving the service to be activated sent by the terminal, the network side sends the card data corresponding to the service to be activated to the terminal. Of course, if the service to be activated is the primary service, then send the card data configured for the primary service; if the service to be activated is a redundant service, send a copy of the card data corresponding to the primary service.
可选的,将待开通业务对应的卡数据发送至终端(S203)之后,还包括:Optionally, after sending the card data corresponding to the service to be activated to the terminal (S203), it also includes:
S204、若待开通业务对应的卡数据与终端的当前工作模式不兼容,则向终端发送更改当前工作模式的请求,更改当前工作模式的请求中包括与待开通业务对应的卡数据兼容的终端的工作模式。S204. If the card data corresponding to the service to be opened is not compatible with the current working mode of the terminal, send a request to the terminal to change the current working mode, and the request to change the current working mode includes the terminal that is compatible with the card data corresponding to the service to be opened Operating mode.
网络侧将待开通业务对应的卡数据发送至终端后,若终端当前的工作模式与待开通业务对应的卡数据不兼容,则向终端发送更改当前工作模式的请求,该请求中包括与待开通业务对应的终端的工作模式。After the network side sends the card data corresponding to the service to be opened to the terminal, if the current working mode of the terminal is not compatible with the card data corresponding to the service to be opened, it will send a request to the terminal to change the current working mode. The working mode of the terminal corresponding to the service.
如待开通业务为独立卡业务,且不存在与该独立卡业务数据兼容的附属卡业务,但终端的当前工作模式为附属终端模式,则待开通业务就与终端当前工作模式不兼容。则网络侧向终端发送更改当前工作模式的请求,请求终端更改当前工作模式为独立终端模式。终端在接收到该请求后,可以将自己的工作模式更改为独立终端模式。If the service to be opened is an independent card service, and there is no supplementary card service compatible with the service data of the independent card, but the current working mode of the terminal is the supplementary terminal mode, the service to be opened is not compatible with the current working mode of the terminal. Then the network side sends a request for changing the current working mode to the terminal, requesting the terminal to change the current working mode to an independent terminal mode. After receiving the request, the terminal can change its working mode to an independent terminal mode.
可选的,将待开通业务对应的卡数据发送至终端(S203)之后,还包括:Optionally, after sending the card data corresponding to the service to be activated to the terminal (S203), it also includes:
S2051、若待开通业务对应的卡数据与终端的当前工作模式不兼容,则向终端重新发送除待开通业务外的其他待选择业务。S2051. If the card data corresponding to the service to be activated is incompatible with the current working mode of the terminal, resend other services to be selected except the service to be activated to the terminal.
若终端不同意更改当前工作模式,或者说在上面的步骤中出现错误,导致待开通业务对应的卡数据与终端的当前工作模式不兼容,则网络侧向终端发送除待开通业务之外的其他待选择业务供终端进行选择。If the terminal does not agree to change the current working mode, or if an error occurs in the above steps, resulting in that the card data corresponding to the service to be activated is not compatible with the current working mode of the terminal, the network side will send other information to the terminal except the service to be activated. The service to be selected is for the terminal to select.
终端在接收到其他待选择业务之后,从其中选择一个业务作为第二待开通业务,并将第二待开通业务发送至网络侧。After receiving other services to be selected, the terminal selects one of the services as the second service to be activated, and sends the second service to be activated to the network side.
当然,若待选择业务只有一个,则此次发送数据过程结束,重新返回步骤S201,即接收开通请求信息步骤。Of course, if there is only one service to be selected, the process of sending data this time ends, and returns to step S201, that is, the step of receiving activation request information.
S2052、接收终端发送的第二待开通业务,将第二待开通业务对应的卡数据发送至终端。S2052. Receive the second service to be activated sent by the terminal, and send the card data corresponding to the second service to be activated to the terminal.
网络侧在接收到终端发送的第二待开通业务之后,将第二待开通业务对应的卡数据发送至终端。After receiving the second service to be activated from the terminal, the network side sends the card data corresponding to the second service to be activated to the terminal.
若在一些极端情况下(如在信息传递的过程中出现错误),导致待开通业务对应的卡数据与终端的当前工作模式不兼容,则可以对终端的当前工作模式进行修改,将其修改为与待开通业务对应的卡数据兼容的工作模式,则网络侧不需要重新发送待开通业务对应的卡数据,节约了传输资源,提升了用户体验;If in some extreme cases (such as an error occurs in the process of information transmission), the card data corresponding to the service to be activated is not compatible with the current working mode of the terminal, the current working mode of the terminal can be modified to In the working mode compatible with the card data corresponding to the service to be activated, the network side does not need to resend the card data corresponding to the service to be activated, which saves transmission resources and improves user experience;
若终端不存在待开通业务对应的卡数据兼容的工作模式,或者终端拒绝修改当前工作模式,向重新向终端发送除待开通业务外的其他待选择业务,供终端进行选择,减少了选择确定待选择业务的步骤。If the terminal does not have a working mode compatible with the card data corresponding to the service to be opened, or the terminal refuses to modify the current working mode, it will resend other services to be selected except the service to be opened to the terminal for the terminal to choose, reducing the need for selection and determination. Steps to choose a business.
进一步可选的,将待开通业务对应的卡数据发送至终端(S203)之后,还包括:Further optionally, after sending the card data corresponding to the service to be activated to the terminal (S203), it also includes:
S206、若待开通业务对应的卡数据与终端的当前工作模式兼容,但待开通业务不是主选业务,则更换待开通业务为该选择序列的主选业务。S206. If the card data corresponding to the service to be activated is compatible with the current working mode of the terminal, but the service to be activated is not the primary service, replace the service to be activated with the primary service of the selection sequence.
若待开通业务对应的卡数据与终端的当前工作模式兼容,但待开通业务并不是其所在的业务序列的主选业务,也就是说,终端接收到的待开通业务对应的卡数据为待开通业务所在的业务序列的主选业务对应的卡数据的数据副本,则将待开通业务标记为其所在的业务序列的主选业务,也就是说,在网络侧修改待开通业务为其所在的业务序列的主选业务,待开通业务所在的业务序列的其他业务对应的卡数据变更为终端接收到的卡数据对应数据副本。If the card data corresponding to the service to be activated is compatible with the current working mode of the terminal, but the service to be activated is not the main service of the service sequence in which it is located, that is to say, the card data corresponding to the service to be activated received by the terminal is to be activated For the data copy of the card data corresponding to the primary service of the service sequence where the service is located, mark the service to be opened as the primary service of the service sequence where the service is located, that is, modify the service to be activated to be the service it is located on the network side For the primary service of the sequence, the card data corresponding to other services of the service sequence where the service to be opened is changed to the data copy corresponding to the card data received by the terminal.
进一步可选的,将待开通业务对应的卡数据发送至终端(S203)之后,还包括:Further optionally, after sending the card data corresponding to the service to be activated to the terminal (S203), it also includes:
S207、若待开通业务对应的卡数据与终端的当前工作模式兼容,但待开通业务不是主选业务,则向终端发送更改当前工作模式的请求,更改当前工作模式的请求中包括待开通业务对应的主选业务适配的工作模式。S207. If the card data corresponding to the service to be opened is compatible with the current working mode of the terminal, but the service to be opened is not the main service, send a request to the terminal to change the current working mode, and the request to change the current working mode includes the corresponding service to be opened The working mode adapted to the main selected service.
若待开通业务对应的卡数据与终端的当前工作模式兼容,但待开通业务并不是其所在的业务序列的主选业务,也就是说,终端接收到的待开通业务对应的卡数据为待开通业务所在的业务序列的主选业务对应的卡数据的数据副本,则向终端发送更改当前工作模式的请求,该请求中包括待开通业务所在的业务序列的主选业务适配的工作模式。If the card data corresponding to the service to be activated is compatible with the current working mode of the terminal, but the service to be activated is not the main service of the service sequence in which it is located, that is to say, the card data corresponding to the service to be activated received by the terminal is to be activated The data copy of the card data corresponding to the primary service of the service sequence where the service is located sends a request to the terminal to change the current working mode, and the request includes the working mode adapted to the primary service of the service sequence to be activated.
若终端同意更改当前工作模式,则由于主选业务与冗余业务数据兼容,因此并不需要重新向终端发送数据,而是以终端接收到的卡数据作为主选业务对应的卡数据。If the terminal agrees to change the current working mode, since the main service is compatible with the redundant service data, there is no need to resend data to the terminal, but the card data received by the terminal is used as the card data corresponding to the main service.
若待开通业务对应的卡数据与终端的当前工作模式兼容,但待开通业务不是主选业务,也就是说,终端接收到的卡数据为数据副本,则可以选择修改终端的工作模式为主选业务对应的工作模式,以终端接收的数据副本为主选业务对应的卡数据,也就说说,不需要再重新发送卡数据,节约了传输资源;另一方面,主选业务可以为用户优选业务,通过提醒用户修改工作模式的方式,可以给用户再提供一次选择,帮助其选择更加优选的业务,提升用户的体验。If the card data corresponding to the service to be opened is compatible with the current working mode of the terminal, but the service to be opened is not the main service, that is, the card data received by the terminal is a data copy, you can choose to modify the working mode of the terminal as the main selection The working mode corresponding to the business is to use the copy of the data received by the terminal as the card data corresponding to the selected business, that is to say, there is no need to resend the card data, which saves transmission resources; on the other hand, the selected business can be selected for the user For business, by reminding the user to modify the working mode, the user can be provided with another choice to help him choose a more preferred business and improve the user experience.
若终端没有主选业务对应的工作模式,或者说终端拒绝修改工作模式,则可以直接在网络侧将待开通业务作为主选业务,也不需要再重新发送数据,同样减少了使用传输资源。If the terminal does not have a working mode corresponding to the primary service, or if the terminal refuses to modify the working mode, it can directly use the service to be activated as the primary service on the network side without resending data, which also reduces the use of transmission resources.
进一步可选的,将待开通业务对应的卡数据发送至终端(S203)之后,还包括:Further optionally, after sending the card data corresponding to the service to be activated to the terminal (S203), it also includes:
若待开通业务对应的卡数据与终端的当前工作模式兼容,但待开通业务与终端的当前工作模式不适配,则向终端发送更改当前工作模式的请求,更改当前工作模式的请求中包括待开通业务适配的工作模式。If the card data corresponding to the service to be opened is compatible with the current working mode of the terminal, but the service to be opened does not match the current working mode of the terminal, a request for changing the current working mode is sent to the terminal, and the request for changing the current working mode includes the pending Activate the working mode for business adaptation.
当然,也可以直接更改待开通业务为与终端适配的业务,即若待开通业务对应的卡数据与终端的当前工作模式兼容,但待开通业务与终端的当前工作模式不适配,则以对应的卡数据与待开通业务对应的卡数据数据兼容,且与终端的当前工作模式兼容的已签约业务为第二待开通业务,以终端已经接收的待开通业务对应的卡数据为第二待开通业务对应的卡数据。Of course, it is also possible to directly change the service to be activated to a service that is compatible with the terminal, that is, if the card data corresponding to the service to be activated is compatible with the current working mode of the terminal, but the service to be activated is not compatible with the current working mode of the terminal, then use The corresponding card data is compatible with the card data corresponding to the service to be opened, and the contracted service that is compatible with the current working mode of the terminal is the second service to be opened, and the card data corresponding to the service to be opened that the terminal has received is the second service to be opened. The card data corresponding to the activated business.
由于待开通业务与该业务数据兼容,因此,并不需要重新发送该该业务对应的卡数据至终端,直接使用待开通业务对应的卡数据即可。Since the service to be opened is compatible with the service data, there is no need to resend the card data corresponding to the service to the terminal, and the card data corresponding to the service to be opened can be directly used.
如待开通业务为附属卡业务,存在与附属卡业务卡数据兼容的独立卡业务,而终端当前工作模式为独立终端模式,则待开通业务对应的卡数据与终端当前工作模式兼容,但待开通业务与当前终端工作模式并不兼容,则可以向终端发送更改当前工作模式的请求,该请求中包括待开通业务适配(即附属卡业务)的终端工作模式(即附属终端模式),终端更改其当前工作模式为附属终端模式即可。If the service to be opened is a supplementary card service, there is an independent card service compatible with the supplementary card business card data, and the current working mode of the terminal is the independent terminal mode, then the card data corresponding to the service to be opened is compatible with the current working mode of the terminal, but the service to be opened If the business is not compatible with the current terminal working mode, a request to change the current working mode can be sent to the terminal, the request includes the terminal working mode (ie the subsidiary terminal mode) to be activated for service adaptation (ie supplementary card service), and the terminal changes Its current working mode is the auxiliary terminal mode.
当然,由于附属卡业务和独立卡业务对应的卡数据数据兼容,也可以直接开通独立卡业务,即使用终端接收到的附属卡业务对应的卡数据作为独立卡业务的卡数据,开通独立卡业务。Of course, since the card data corresponding to the supplementary card business and the independent card business are compatible, the independent card business can also be opened directly, that is, the card data corresponding to the supplementary card business received by the terminal is used as the card data of the independent card business to activate the independent card business .
若待开通业务对应的卡数据与终端的当前工作模式兼容,但待开通业务与终端的当前工作模式不适配,一方面可以修改终端的当前工作模式;另一方面,由于卡数据兼容,可以直接使用已经接收的卡数据作为与终端当前工作模式适配的业务对应的卡数据,直接开通与终端当前工作模式适配的业务,简单快捷,减少了传输资源的浪费,也提升了用户体验。If the card data corresponding to the service to be opened is compatible with the current working mode of the terminal, but the service to be opened does not match the current working mode of the terminal, on the one hand, the current working mode of the terminal can be modified; on the other hand, because the card data is compatible, it can be Directly use the received card data as the card data corresponding to the business adapted to the current working mode of the terminal, and directly open the business adapted to the current working mode of the terminal, which is simple and fast, reduces the waste of transmission resources, and improves user experience.
本实施例的发送数据的方法中,通过向终端发送待选择业务,以便终端可以对卡业务进行选择,减少了终端的工作模式与卡业务不适配的可能性,从而,减少了卡业务对应的数据无法下载或者下载之后无法使用的情况,极大的提高了卡业务的可用性,提升了用户体验。In the method for sending data in this embodiment, by sending the service to be selected to the terminal, so that the terminal can select the card service, the possibility that the working mode of the terminal does not match the card service is reduced, thereby reducing the card service correspondence. The data cannot be downloaded or cannot be used after downloading, which greatly improves the usability of the card business and improves the user experience.
具体的,下面以终端T为用户当前使用的终端,T当前工作模式为独立终端模式,U为待激活卡,对以上方法进行具体说明。本实施例的处理业务的方法具体包括:Specifically, the above method will be described in detail below by taking the terminal T as the terminal currently used by the user, the current working mode of T as the independent terminal mode, and U as the card to be activated. The method for processing business in this embodiment specifically includes:
A01、网络侧接收终端T的开通请求信息,其包括终端T的所有工作模式,以及U的具体标识信息。A01. The network side receives the provisioning request information of the terminal T, which includes all working modes of the terminal T and specific identification information of the terminal T.
A02、网络侧根据U的具体标识信息,查询U对应的已签约业务,查询到U对应的已签约业务为附属卡业务A、独立卡业务B以及家庭计划卡业务C,其中,A和B对应的卡数据数据兼容。A02. According to the specific identification information of U, the network side queries the contracted services corresponding to U, and finds out that the contracted services corresponding to U are supplementary card business A, independent card business B, and family plan card business C, where A and B correspond to The card data data is compatible.
A03、网络侧根据终端T的工作模式,判断A、B适用于终端T。A03. The network side judges that A and B are applicable to the terminal T according to the working mode of the terminal T.
A04、网络侧将A、B发送至终端T,供T选择,T选择了A,并将其发送回网络侧。A04. The network side sends A and B to the terminal T for selection by T, and T selects A and sends it back to the network side.
A05、网络侧接收到终端侧发送的选择了A的信息,将A对应的卡数据发送至终端T。A05. The network side receives the information that A is selected from the terminal side, and sends the card data corresponding to A to the terminal T.
A06、终端T在接收到A对应的卡数据之后发现,数据与其当前工作模式(独立终端模式)兼容,但A并不兼容当前工作模式。A06. After receiving the card data corresponding to A, terminal T finds that the data is compatible with its current working mode (independent terminal mode), but A is not compatible with the current working mode.
A07、终端选择对其工作模式进行切换,切换至A兼容的附属终端模式。A07. The terminal selects to switch its working mode, and switches to an auxiliary terminal mode compatible with A.
A08、也可以是,网络侧发送除A之外的待选择业务(即B)至终端T,终端T选择B为第二待选择业务,由于A和B对应的卡数据数据兼容,不需要重新发送数据,使用A对应的卡数据作为B对应的卡数据即可。A08. It can also be that the network side sends the service to be selected (i.e. B) other than A to the terminal T, and the terminal T selects B as the second service to be selected. Since the card data corresponding to A and B are compatible, there is no need to re- To send data, use the card data corresponding to A as the card data corresponding to B.
实施例3:Example 3:
参照图3,本实施例提供一种发送数据的装置,该装置具体包括:Referring to Figure 3, this embodiment provides a device for sending data, which specifically includes:
第一接收模块,用于接收开通请求信息,开通请求信息包括终端的信息以及待激活卡的信息;The first receiving module is used to receive activation request information, and the activation request information includes information of the terminal and information of the card to be activated;
确认模块,用于根据开通请求信息,确定至少一个待激活卡的已签约业务为待选择业务,并将待选择业务发送至终端;A confirmation module, configured to determine, according to the activation request information, that the contracted service of at least one card to be activated is a service to be selected, and send the service to be selected to the terminal;
第二接收模块,用于接收终端发送的待开通业务,将待开通业务对应的卡数据发送至终端,待开通业务为待选择业务中的一个业务。The second receiving module is used to receive the service to be activated sent by the terminal, and send the card data corresponding to the service to be activated to the terminal, where the service to be activated is one of the services to be selected.
可选的,确认模块用于:从待激活卡的所有已签约业务中,确定所有对应的卡数据与终端至少一种工作模式兼容的已签约业务,为待选择业务。Optionally, the confirming module is configured to: from all signed services of the card to be activated, determine that all signed services whose corresponding card data is compatible with at least one working mode of the terminal are the services to be selected.
可选的,装置还包括:发送模块,用于当待开通业务对应的卡数据与终端的当前工作模式不兼容时,向终端发送更改当前工作模式的请求,更改当前工作模式的请求中包括与待开通业务对应的卡数据兼容的终端的工作模式。Optionally, the device further includes: a sending module, configured to send a request to the terminal to change the current working mode when the card data corresponding to the service to be opened is not compatible with the current working mode of the terminal, and the request for changing the current working mode includes a request related to The working mode of the terminal compatible with the card data corresponding to the service to be activated.
本发明实施例的发送数据的装置中,通过向终端发送待选择业务,以便终端可以对卡业务进行选择,减少了终端的工作模式与卡业务不适配的可能性,从而,减少了卡业务对应的数据无法下载或者下载之后无法使用的情况,极大的提高了卡业务的可用性,提升了用户体验。In the device for sending data in the embodiment of the present invention, by sending the service to be selected to the terminal, so that the terminal can select the card service, the possibility that the working mode of the terminal does not match the card service is reduced, thereby reducing the number of card services. The corresponding data cannot be downloaded or cannot be used after downloading, which greatly improves the usability of the card business and improves the user experience.
可以理解的是,以上实施方式仅仅是为了说明本发明的原理而采用的示例性实施方式,然而本发明并不局限于此。对于本领域内的普通技术人员而言,在不脱离本发明的精神和实质的情况下,可以做出各种变型和改进,这些变型和改进也视为本发明的保护范围。It can be understood that, the above embodiments are only exemplary embodiments adopted for illustrating the principle of the present invention, but the present invention is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also regarded as the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010916211.5ACN111918275B (en) | 2020-09-03 | 2020-09-03 | Method and device for transmitting data |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010916211.5ACN111918275B (en) | 2020-09-03 | 2020-09-03 | Method and device for transmitting data |
| Publication Number | Publication Date |
|---|---|
| CN111918275A CN111918275A (en) | 2020-11-10 |
| CN111918275Btrue CN111918275B (en) | 2023-04-11 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010916211.5AActiveCN111918275B (en) | 2020-09-03 | 2020-09-03 | Method and device for transmitting data |
| Country | Link |
|---|---|
| CN (1) | CN111918275B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018019988A1 (en)* | 2016-07-29 | 2018-02-01 | Deutsche Telekom Ag | Profile server for the secure downloading of esim profiles |
| CN105637498B (en)* | 2014-05-23 | 2019-05-28 | 华为技术有限公司 | Management method of eUICC, eUICC, SM platform and system |
| CN109906623A (en)* | 2016-10-31 | 2019-06-18 | 华为技术有限公司 | A kind of profile method for down loading and equipment |
| CN110366163A (en)* | 2019-07-03 | 2019-10-22 | 深圳杰睿联科技有限公司 | ESIM management method and system based on Internet of Things |
| CN111148088A (en)* | 2018-11-02 | 2020-05-12 | 中国移动通信集团终端有限公司 | Method, apparatus, device and storage medium and system for managing mobile terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040185888A1 (en)* | 2003-03-18 | 2004-09-23 | Nokia Corporation | Solving mobile station identity in a multi-SIM situation |
| US7680491B2 (en)* | 2003-05-15 | 2010-03-16 | Redknee Inc. | Method and system allowing for one mobile phone number (MSISDN) to be associated with a plurality of wireless devices (‘Multi-SIM’) |
| FR3029728B1 (en)* | 2014-12-04 | 2017-01-06 | Oberthur Technologies | METHOD FOR PROVIDING A SUBSCRIBER PROFILE FOR A SECURE MODULE |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105637498B (en)* | 2014-05-23 | 2019-05-28 | 华为技术有限公司 | Management method of eUICC, eUICC, SM platform and system |
| WO2018019988A1 (en)* | 2016-07-29 | 2018-02-01 | Deutsche Telekom Ag | Profile server for the secure downloading of esim profiles |
| CN109906623A (en)* | 2016-10-31 | 2019-06-18 | 华为技术有限公司 | A kind of profile method for down loading and equipment |
| CN111148088A (en)* | 2018-11-02 | 2020-05-12 | 中国移动通信集团终端有限公司 | Method, apparatus, device and storage medium and system for managing mobile terminal |
| CN110366163A (en)* | 2019-07-03 | 2019-10-22 | 深圳杰睿联科技有限公司 | ESIM management method and system based on Internet of Things |
| Publication number | Publication date |
|---|---|
| CN111918275A (en) | 2020-11-10 |
| Publication | Publication Date | Title |
|---|---|---|
| US10423602B2 (en) | Data update method, apparatus, and embedded universal integrated circuit card | |
| CN109548178B (en) | A communication method and network device | |
| WO2019007345A1 (en) | Method, apparatus, and system for selecting network slice, and storage medium | |
| CN110708694A (en) | Method, system, storage medium and electronic device for realizing simultaneous online public and private networks | |
| CN109617646A (en) | Message forwarding method, device, computer equipment and computer readable storage medium | |
| US8423784B2 (en) | Position registering method, program and apparatus for terminal equipment | |
| US11477695B2 (en) | Network function for end-to-end communication services | |
| EP3624499B1 (en) | Communication control method and communication system | |
| CN112752258B (en) | eSIM card opening method, mobile phone terminal and service acceptance system | |
| US20210176623A1 (en) | Virtual sim card acquisition method, subscriber terminal and server | |
| CN102946464A (en) | Multi-card mode intelligent mobile phone and dialing and message-sending method thereof | |
| CN111278000B (en) | Method, device, terminal and storage medium for binding mobile phone number | |
| EP2685780B1 (en) | Mobile phone and data processing method therefor | |
| CN101820431B (en) | Communication customer end and communication service initiation method | |
| WO2019153533A1 (en) | Dynamic routing control method and apparatus, computer device and storage medium | |
| CN111918275B (en) | Method and device for transmitting data | |
| CN108738027A (en) | A kind of network processing method, resource management system and the network equipment | |
| CN110460989B (en) | Method, device and system for setting telephone number | |
| JP2011035811A (en) | Storage system, access management apparatus, data transfer method and program | |
| JP2003143646A (en) | Mobile telephone terminal device and terminal program thereof | |
| NO332172B1 (en) | Method, system and device for establishing communication between communication networks | |
| CN107528699B (en) | Method and device for determining actual expiration date of package according to activation time | |
| JP7491709B2 (en) | COMMUNICATION CONTROL METHOD, SERVICE PROVIDING SERVER, AND COMMUNICATION SYSTEM | |
| CN116151903B (en) | Service processing method and device based on sales promotion management system | |
| CN120540875B (en) | Service calling method, device, storage medium and computer program product |
| 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 |