WO2015007183A1 - Procédé permettant d'adapter un terminal à deux sim, terminal à deux sim, et serveur - Google Patents

Procédé permettant d'adapter un terminal à deux sim, terminal à deux sim, et serveur Download PDF

Info

Publication number
WO2015007183A1
WO2015007183A1 PCT/CN2014/082005 CN2014082005W WO2015007183A1 WO 2015007183 A1 WO2015007183 A1 WO 2015007183A1 CN 2014082005 W CN2014082005 W CN 2014082005W WO 2015007183 A1 WO2015007183 A1 WO 2015007183A1
Authority
WO
WIPO (PCT)
Prior art keywords
adaptation
dual
sim terminal
identity
package
Prior art date
Application number
PCT/CN2014/082005
Other languages
English (en)
Inventor
Yuanhan HU
Jingzhong LI
Bin Li
Original Assignee
Tencent Technology (Shenzhen) Company Limited
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology (Shenzhen) Company Limited filed Critical Tencent Technology (Shenzhen) Company Limited
Publication of WO2015007183A1 publication Critical patent/WO2015007183A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data

Definitions

  • the present disclosure relates to computer technologies, and particularly to methods for adapting a dual-SIM terminal, a dual-SIM terminal, and a server.
  • a system framework thereof provides standard communication functional interfaces, e.g., SmsManager, TelephonyManager, Itelephony, etc. These standard communication functional interfaces provide functions relevant to phone call and short messaging.
  • a terminal that supports the dual-SIM dual-standby is called a dual-SIM terminal.
  • a method for adapting a dual-SIM terminal includes:
  • adaptation class data at least includes a communication functional interface
  • a method for adapting a dual-SIM terminal includes:
  • the adaptation package at least includes adaptation class data and an adaptation class identity
  • the adaptation class data at least includes a communication functional interface that is adapted to the dual-SIM terminal.
  • a dual-SIM terminal comprising:
  • [0022] send an adaptation request to a server, wherein the adaptation request contains an identity of the dual-SIM terminal;
  • [0023] receive an adaptation package sent from the server, wherein the adaptation package is an adaptation package matched at the server based on the identity of the dual-SIM terminal contained in the adaptation request;
  • adaptation class data parse out adaptation class data and an adaptation class identity from the adaptation package, wherein the adaptation class data at least includes a communication functional interface;
  • [0025] load the adaptation class data to invoke a communication functional interface in the adaptation class data as a communication functional interface that is adapted to the dual-SIM terminal by using the adaptation class identity.
  • a server includes:
  • [0031] receive an adaptation request from a dual-SIM terminal, wherein the adaptation request contains an identity of the dual-SIM terminal;
  • the adaptation package at least includes adaptation class data and an adaptation class identity
  • the adaptation class data at least includes a communication functional interface that is adapted to the dual-SIM terminal.
  • the dual-SIM terminal sends the adaptation request to the cloud server, the adaptation request carrying an identity of the dual-SIM terminal; the cloud server matches an adaptation package corresponding to the dual-SIM terminal identity out of all the adaptation packages stored on the server in advance, and sends the matched adaptation package to the dual-SIM terminal.
  • the dual-SIM terminal can obtain and invoke a communication functional interface that is adapted to it, which dramatically increases the efficiency and accuracy of the dual-SIM terminal being adapted to the communication functional interface.
  • FIG.l shows a schematic diagram of a system architecture according to embodiments of the present disclosure
  • FIG.2 shows a schematic diagram of a flowchart of a method for adapting a dual-SIM terminal according to an embodiment of the present disclosure
  • FIG.3 shows a schematic diagram of a flowchart of a method for adapting a dual-SIM terminal according to another embodiment of the present disclosure
  • FIG.4 shows a schematic diagram of a dual-SIM terminal according to an embodiment of the present disclosure
  • FIG.5 shows a schematic diagram of a cloud server according to an embodiment of the present disclosure
  • FIG.6 shows a schematic diagram of a dual-SIM terminal according to another embodiment of the present disclosure.
  • FIG.7 shows a schematic diagram of a cloud server according to another embodiment of the present disclosure.
  • Fig. l shows a schematic diagram of a system architecture according to embodiments of the present disclosure.
  • the system at least includes a server 200 and a dual-SIM terminal 300.
  • the server 200 and the dual-SIM terminal 300 communicate with each other via network 100.
  • the server 200 for example is a cloud server.
  • the dual-SIM terminal 300 for example is a mobile phone.
  • FIG. 2 shows a schematic diagram of a flowchart of a method for adapting a dual-SIM terminal according to an embodiment of the present disclosure. As shown in Fig.2, the flowchart includes the following process.
  • the dual-SIM terminal sends an adaptation request to a server to request for being adapted to a communication functional interface corresponding to the dual-SIM terminal.
  • the adaptation request may carry an identity of the dual-SIM terminal.
  • the identity of the dual-SIM terminal may at least include model type, manufacturer, operating system version information, etc. of the dual-SIM terminal.
  • the dual-SIM terminal receives an adaptation package sent from the cloud server.
  • the adaptation package is an adaptation package that is matched by the cloud server according to the identity of the dual-SIM terminal carried in the request.
  • the cloud server matching the adaptation package according to the identity carried in the request in the block 102 please refer to block 203 of Fig.3 as described in the following.
  • the dual-SIM terminal parses out adaptation class data and an adaptation class identity from the received adaptation package.
  • the adaptation class data at least includes information on the communication functional interface that is adapted to the dual-SIM terminal.
  • the adaptation class data at block 103 is a Java Archive (Jar) package formed by compiling an adaptation class to which the communication functional interface that is adapted to the dual-SIM terminal belongs.
  • the adaptation class identity is a name of the adaptation class to which the communication functional interface that is adapted to the dual-SIM terminal belongs.
  • the present disclosure may realize different adaptation classes based on the communication functional interfaces adapted to the dual-SIM terminals.
  • the adaptation class of the dual-SIM terminal may at least include the communication functional interface adapted to the dual-SIM terminal. Then the adaptation class of the dual-SIM terminal is compiled into the Jar package and stored together with the adaptation class identity on the cloud server. In this way, when the dual-SIM terminal receives the adaptation package sent from the cloud server at block 102, it will parse out the Jar package of the adaptation class and the adaptation class identity from the received adaptation package at the present block 103.
  • the dual-SIM terminal loads the adaptation class data, invokes the communication functional interface in the adaptation class data by using the adaptation class identity, and uses the communication functional interface as a communication functional interface adapted to the dual-SIM terminal.
  • the Android operating system provides a mechanism of dynamically loading Jar packages. And based on this, at block 104, the adaptation class data may be loaded by using the mechanism of dynamically loading the Jar packages provided by the Android operating system.
  • the Android operating system provides a reflection mechanism.
  • the reflection mechanism By using the reflection mechanism, when a program is being executed, it can obtain internal information of any class with a known name by using Reflection APIs.
  • an identity of an adaptation class may be used to invoke communication functional interfaces in the adaptation class.
  • the block 104 of invoking the communication functional interface in the adaptation class data by using the adaptation class identity may include the following process.
  • the adaptation class data is loaded by using the reflection mechanism in the Android operating system according to the adaptation class identity, and the communication functional interface in the adaptation class data is invoked by using an "Interface" interface defined for the dual-SIM terminal.
  • the "Interface" interface is a predefined interface that provides communication functions for the dual-SIM terminal.
  • the functions of the communication functional interfaces are the same, and they all provide phone call and short messaging functions.
  • the adaptation class of the terminal at least includes a specific communication functional interface of the dual-SIM terminal.
  • a phone call interface of the Type 1 mobile phone is “Typel_phone call” and a phone call interface of the Type 2 mobile phone is “Type2_phone call”.
  • the names of the two interfaces are different, they both have a phone call function. Therefore, the two interfaces for example can be abstracted into a "phone_call” method (function). Same principle applies to the short messaging function. Then, all these methods (functions) can be written into an interface class to form the "Interface" interface of the present disclosure.
  • the "Interface” interface can be inherited to implement different adaptation classes for the two mobile phones, e.g., "Typel adaptation class” and “Type2 adaptation class", then, methods (functions) such as phone call and "short messaging" can be realized in the "Interface” interface, and then in these methods, specific interfaces that realize the phone call and short messaging functions are defined. For example, “Typel_phone call” and “Type2_phone call” are defined to realize the phone call function.
  • the dual-SIM terminal may periodically send the request to the cloud server so as to obtain a new adaptation package when an adaptation package corresponding to the dual-SIM terminal on the cloud server changes.
  • the method before adapting the dual-SIM terminal to the adaptation class data, the method further includes storing the adaptation class data and the adaptation class identity to a local software storage directory so as to facilitate subsequent inquiries and updates.
  • Fig.3 shows a schematic diagram of a flowchart of a method for adapting a dual-SIM terminal according to another embodiment of the present disclosure. As shown in Fig.3, the method may include the following process.
  • the cloud server stores adaptation packages corresponding to different dual-SIM terminal identities in advance.
  • the adaptation packages at least include: adaptation class data and adaptation class identities, in which the adaptation class data is Jar packages obtained by compiling adaptation classes to which the communication functional interface that is adapted to the dual-SIM terminal belongs.
  • the present disclosure unifies an "Interface" interface for different communication interfaces that provide the phone call and short messaging functions, and realizes the adaptation class of different dual card terminal by the "Interface" interface.
  • the adaptation class of the terminal at least contains the specified communication functional interfaces of the dual card terminal.
  • the adaptation class of the dual-SIM terminal is compiled into a Jar package, and is stored together with the adaptation class identity on the cloud server as the adaption class package.
  • adaptation packages corresponding to the different dual- SIM terminal identities may be stored on the cloud server.
  • the cloud server receives a request from the dual-SIM terminal.
  • the request carries an identity of the dual-SIM terminal.
  • the cloud server matches an adaptation package corresponding to the dual card terminal identity carried in the request from all the adaptation packages stored thereon in advance.
  • the cloud server sends the matched adaptation package to the dual-SIM terminal.
  • the dual- SIM terminal communicates with the cloud server, and dynamically obtains the communication functional interface adapted to it. In this way, the efficiency and accuracy of matching the dual-SIM terminal and the communication functional interface may be highly improved.
  • Fig.4 shows a structure of the dual card terminal provided according to examples of the present disclosure.
  • the dual-SIM terminal 400 includes a request unit 401, a receiving unit 402, an analysis unit 403 and a processing unit 404.
  • the request unit 401 is configured to send a request to a server to request for being adapted to a communication functional interface corresponding to the dual-SIM terminal.
  • the request may carry an identity of the dual-SIM terminal.
  • the receiving unit 402 is configured to receive an adaptation package sent from the server.
  • the adaptation package is an adaptation package that is matched by the cloud server according to the identity carried in the request.
  • the analysis unit 403 is configured to parse out adaptation class data and an adaptation class identity from the received adaptation package.
  • the adaptation class data at least contains information on the communication functional interface adapted to the dual-SIM terminal.
  • the processing unit 404 is configured to use the reflection mechanism in the Android operating system to load the adaptation data according to the adaptation identity, and use the defined "Interface" interface of the dual-SIM terminal to invoke the communication functional interface in the adaptation class data as the communication functional interface adapted to the dual-SIM terminal.
  • the "Interface" interface is an interface to provide the communication function for the dual-SIM terminal.
  • the request unit sends the request periodically to the cloud server.
  • the identity of the dual-SIM terminal at least includes the model type, manufacturer, operating system version information, etc. of the dual-SIM terminal.
  • the adaptation class data is a Java Archive (Jar) package obtained by compiling an adaptation class to which the communication functional interface that is adapted to the dual-SIM terminal belongs.
  • Jar Java Archive
  • Fig.5 shows a schematic diagram of a cloud server according to an embodiment of the present disclosure.
  • the cloud server 500 includes a storage unit 501, a receiving unit 502, a matching unit 503, and a sending unit 504.
  • the storage unit 501 is configured to store adaptation packages corresponding to different dual-SIM terminal identities.
  • the receiving unit 502 is configured to receive the request from the dual-SIM terminal. The request contains an identity of the dual-SIM terminal.
  • the matching unit 503 is configured to match an adaptation package corresponding to the dual-SIM terminal identity carried in the request from all adaptation packages stored in advance.
  • the sending unit 504 is configured to send the matched adaptation package to the dual- SIM terminal.
  • the adaptation package at least includes adaptation class data and an adaptation class identity.
  • the adaptation class data at least includes the communication functional interface adapted to the dual-SIM terminal.
  • the adaptation class data is a Java Archive (Jar) package obtained by compiling an adaptation class to which the communication functional interface that is adapted to the dual-SIM terminal belongs.
  • Jar Java Archive
  • Fig.6 shows a schematic diagram of a dual-SIM terminal according to another embodiment of the present disclosure.
  • the dual-SIM terminal 600 for example includes one or more processors 601, memory 602, and one or more application programs 603 that are stored on the memory 602 and are executed by the one or more processors 601.
  • the application programs 603 for example include instructions to execute the respective blocks 101 to 104 in the method embodiment shown in Fig.2.
  • the method embodiment please refer to the method embodiment.
  • Fig. 7 shows a schematic diagram of a cloud server according to another embodiment of the present disclosure.
  • the cloud server 700 for example includes one or more processors 701, memory 702, and one or more application programs 703 that are stored on the memory 702 and are executed by the one or more processors 701.
  • the application program 703 for example includes instructions that execute the above blocks 201 to 204.
  • FIG. 7 shows a schematic diagram of a cloud server according to another embodiment of the present disclosure.
  • the cloud server 700 for example includes one or more processors 701, memory 702, and one or more application programs 703 that are stored on the memory 702 and are executed by the one or more processors 701.
  • the application program 703 for example includes instructions that execute the above blocks 201 to 204.
  • the memory 602 and 603 includes but is not limited to various non-volatile memory, e.g., U disk, hard disk, ROM, RAM, EPROM, EEPROM, flash or other solid memory, CD-ROM, DVD, HD-DVD, Blue-Ray or other optic storage device, magnetic disk, disk memory or other magnetic storage device, or other medium that may store information and may be accessed by a computer.
  • non-volatile memory e.g., U disk, hard disk, ROM, RAM, EPROM, EEPROM, flash or other solid memory, CD-ROM, DVD, HD-DVD, Blue-Ray or other optic storage device, magnetic disk, disk memory or other magnetic storage device, or other medium that may store information and may be accessed by a computer.
  • the dual-SIM terminal sends the adaptation request to the cloud server, the adaptation request carrying an identity of the dual-SIM terminal; the cloud server matches an adaptation package corresponding to the dual-SIM terminal identity out of all the adaptation packages stored on the server in advance, and sends the matched adaptation package to the dual-SIM terminal.
  • the dual-SIM terminal can obtain and invoke a communication functional interface that is adapted to it, which dramatically increases the efficiency and accuracy of the dual-SIM terminal being adapted to the communication functional interface.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

La présente invention concerne un procédé permettant d'adapter un terminal à deux SIM, un terminal et un serveur. Le terminal à deux SIM envoie une requête d'adaptation à un serveur. La requête d'adaptation contient une identité du terminal à deux SIM. Ensuite, le terminal à deux SIM reçoit un paquet d'adaptation envoyé depuis le serveur. Le paquet d'adaptation est un paquet d'adaptation mis en correspondance au niveau du serveur selon l'identité du terminal à deux SIM contenue dans la requête. Le terminal à deux SIM analyse les données de classe d'adaptation et une identité de classe d'adaptation du paquet d'adaptation. Les données de classe d'adaptation comprennent au moins une interface fonctionnelle de communication. Et puis, le terminal à deux SIM charge les données de classe d'adaptation pour invoquer une interface fonctionnelle de communication parmi les données de classe d'adaptation en tant qu'interface fonctionnelle de communication adaptée au terminal à deux SIM.
PCT/CN2014/082005 2013-07-18 2014-07-11 Procédé permettant d'adapter un terminal à deux sim, terminal à deux sim, et serveur WO2015007183A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310303018.4A CN104301352B (zh) 2013-07-18 2013-07-18 双卡终端的适配方法和装置
CN201310303018.4 2013-07-18

Publications (1)

Publication Number Publication Date
WO2015007183A1 true WO2015007183A1 (fr) 2015-01-22

Family

ID=52320920

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/082005 WO2015007183A1 (fr) 2013-07-18 2014-07-11 Procédé permettant d'adapter un terminal à deux sim, terminal à deux sim, et serveur

Country Status (2)

Country Link
CN (1) CN104301352B (fr)
WO (1) WO2015007183A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935656A (zh) * 2015-06-15 2015-09-23 北京奇虎科技有限公司 通讯录自适配方法、装置及系统

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547724B (zh) * 2016-06-23 2020-02-21 百度在线网络技术(北京)有限公司 应用于双卡智能手机的适配方法和装置
CN106899959B (zh) * 2017-01-16 2020-09-25 腾讯科技(深圳)有限公司 一种获取sim卡信息的方法、装置、终端及系统
CN113660644B (zh) * 2021-08-17 2023-10-03 深圳市唐为电子有限公司 一种智能手机双卡适配控制方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008052598A1 (fr) * 2006-11-03 2008-05-08 Telefonaktiebolaget Lm Ericsson (Publ) Accès à un réseau de télécommunication
CN101287233A (zh) * 2008-05-23 2008-10-15 德信无线通讯科技(北京)有限公司 一种在双卡双待移动终端中实现stk应用的方法和系统
CN101480103A (zh) * 2006-06-26 2009-07-08 西姆毕恩软件有限公司 操作双sim无线通信装置的方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487500B (zh) * 2009-10-29 2015-04-01 中国电信股份有限公司 终端管理方法及系统
CN102348004B (zh) * 2010-08-04 2014-03-19 中国移动通信有限公司 一种业务组件的配置方法、系统及设备
CN102523276B (zh) * 2011-12-09 2016-02-24 华为终端有限公司 一种管理移动宽带设备的方法、设备及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101480103A (zh) * 2006-06-26 2009-07-08 西姆毕恩软件有限公司 操作双sim无线通信装置的方法
WO2008052598A1 (fr) * 2006-11-03 2008-05-08 Telefonaktiebolaget Lm Ericsson (Publ) Accès à un réseau de télécommunication
CN101287233A (zh) * 2008-05-23 2008-10-15 德信无线通讯科技(北京)有限公司 一种在双卡双待移动终端中实现stk应用的方法和系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935656A (zh) * 2015-06-15 2015-09-23 北京奇虎科技有限公司 通讯录自适配方法、装置及系统

Also Published As

Publication number Publication date
CN104301352B (zh) 2019-03-15
CN104301352A (zh) 2015-01-21

Similar Documents

Publication Publication Date Title
US10949191B2 (en) Patch-upgrade-based file processing method and apparatus, terminal, and storage medium
US7810105B2 (en) Method and apparatus for running different types of applications on a wireless mobile device
US10203951B2 (en) Method and terminal for OTA updating
CN109002362A (zh) 一种服务方法、装置、系统以及电子设备
US9681251B1 (en) Customization for preloaded applications
US20110055848A1 (en) Launching an midp-based target application from a launcher application
CN104111827A (zh) 应用程序匹配方法及装置
CN109522055B (zh) 基于分布式服务调用的连接预热方法及系统
US8887181B1 (en) Application add-on platform
US11412558B2 (en) IoT module adaptor
CN109933381B (zh) 一种内核的加载方法及装置
WO2015007183A1 (fr) Procédé permettant d'adapter un terminal à deux sim, terminal à deux sim, et serveur
CN111212183B (zh) 一种用于运行寄宿应用的方法、设备及计算机可读介质
US20170272540A1 (en) Method and device for message sending and receiving based on a communication interface framework
CN109062714B (zh) 远程控制安卓设备的方法、装置及电子设备
US10078532B2 (en) Resource management method and device for terminal system among multiple operating systems
CN112527301A (zh) 一种实现应用插件化的方法及电子设备
US20240345829A1 (en) Mobile service upgrade method and apparatus, and terminal
CN111045746B (zh) 代码扩展方法和框架
CN109343970B (zh) 基于应用程序的操作方法、装置、电子设备及计算机介质
CN112579212A (zh) 跨语言调用的方法、调用方装置及被调用方装置
CN108804236B (zh) 一种aidl文件的共享方法及系统
CN105338025B (zh) 调用组件方法、系统、客户端及集中组件方法和服务器
CN106919405B (zh) 一种客户端的初始化方法及装置
CN112860300A (zh) 分布式sdk热更新处理方法、应用服务器集群

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14825838

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC ( EPO FORM 1205A DATED 02.05.2016 )

122 Ep: pct application non-entry in european phase

Ref document number: 14825838

Country of ref document: EP

Kind code of ref document: A1