CN104216761A - 一种在能够运行两种操作系统的装置中使用共享设备的方法 - Google Patents
一种在能够运行两种操作系统的装置中使用共享设备的方法 Download PDFInfo
- Publication number
- CN104216761A CN104216761A CN201310217898.3A CN201310217898A CN104216761A CN 104216761 A CN104216761 A CN 104216761A CN 201310217898 A CN201310217898 A CN 201310217898A CN 104216761 A CN104216761 A CN 104216761A
- Authority
- CN
- China
- Prior art keywords
- shared device
- application
- shared
- operating system
- operating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000004891 communication Methods 0.000 abstract description 6
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/52—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
- G06F21/53—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow by executing in a restricted environment, e.g. sandbox or secure virtual machine
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/71—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
- G06F21/74—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information operating in dual or compartmented mode, i.e. at least one secure mode
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Mathematical Physics (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
- Storage Device Security (AREA)
- Computer And Data Communications (AREA)
Abstract
本发明公开一种在能够运行两种操作系统的装置中使用共享设备的方法,该方法包括使用第一操作系统中的第一应用与共享设备通信,当从所述第一操作系统切换到第二操作系统时,所述共享设备的关联信息被发送到第二操作系统中的第二应用,使得所述第二应用能够利用所述关联信息与所述共享设备通信。
Description
技术领域
本发明涉及一种在能够运行两种操作系统的装置中使用共享设备的方法。
背景技术
现有技术,例如移动支付技术中,为了安全的目的,移动设备上的操作模式被分为两种:正常模式和安全模式。正常模式下的程序的运行环境通常是多媒体操作系统,例如Android。安全模式下的程序的运行环境通常是封闭的、简单的安全操作系统。正常模式下的程序无法访问安全模式下的资源,而安全模式下的程序可访问所有的软硬件资源。
一般情况下诸如移动设备等的能够运行两种操作系统的装置处于正常模式下,即多媒体操作系统环境。当进行涉及安全的信息的交互时(例如,输入银行卡密码),移动设备将切换到安全模式下,即安全操作系统,并启用安全程序来进行信息的处理,待处理完后切换回正常模式,如此能够确保用户输入密码的环境安全可靠,避免密码被恶意程序。
现有技术采用图1中的方案来完成从正常模式切换到安全模式的数据流处理。如图所示,应用1在与共享设备通信时,当需要进行安全信息处理时,应用1将通过通讯框架接口成向安全应用1发送指定格式的数据报文(例如,操作类型、操作参数等信息);安全应用1在接收该信息并与该共享设备建立通信后进行安全处理,然后将处理的结果通过通讯框架接口返回给应用1。
在上述过程中,安全应用1需要与共享设备重新建立联系,也就是说在应用1对共享设备进行相应的信息获取和操作后,安全应用1需要重新对该共享设备进行相同的信息获取和操作,这将延长处理时间,降低响应速度。
另一方面,处理的结果通过通讯框架接口返回给应用1,然后再由应用1通过共享设备发送到外部终端,这也会延长处理时间,降低响应速度。
发明内容
根据本发明的一个目的,公开一种在能够运行两种操作系统的装置中使用共享设备的方法,该方法包括使用第一操作系统中的第一应用与共享设备通信,当从所述第一操作系统切换到第二操作系统时,所述共享设备的关联信息被发送到第二操作系统中的第二应用,使得所述第二应用能够利用所述关联信息与所述共享设备通信。
优选地,所述第二应用将与所述共享设备通信的结果直接通过该共享设备发送到外部终端。
优选地,所述关联信息包括以下一个或多个:共享设备标识、共享设备收发数据接口地址、共享设备配置信息、所述第一应用与共享设备的连接通道。
优选地,所述共享设备是NFC芯片。
本发明的优势在于,根据本发明提出的对对共享设备的操作进行继承的方法,简化了数据的流程,减少了应用的处理时间,提高了应用的响应速度;当安全应用产生的数据为最终要通过外设发往给外部情况时,无需切换回普通应用进行发送处理,最终输出结果给外部终端时处于安全模式下,确保了该输出数据的可信性。
附图说明
在参照附图阅读了本发明的具体实施方式以后,本领域技术人员将会更清楚地了解本发明的各个方面。本领域技术人员应当理解的是,这些附图仅仅用于配合具体实施方式说明本发明的技术方案,而并非意在对本发明的保护范围构成限制。
图1是现有技术中的使用共享设备时的数据流示意图。
图2是根据本发明实施例的在能够运行两种操作系统的装置中使用共享设备的方法步骤示意图。
具体实施方式
下面参照附图,对本发明的具体实施方式作进一步的详细描述。在下面的描述中,为了解释的目的,陈述许多具体细节以便提供对实施例的一个或多个方面的透彻理解。然而,对于本领域技术人员可以显而易见的是,可以这些具体细节的较少程度来实践各实施例的一个或多个方面。因此下面的描述不被视为局限性的,而是通过所附权利要求来限定保护范围。
本发明的装置能够运行第一操作系统和第二操作系统,由此第一操作系统中的应用运行在第一模式下,第二操作系统中的应用运行在第二模式下。第一模式例如可以为正常模式,第二模式例如可以为安全模式。
如图2所示,图2是根据本发明实施例的在能够运行两种操作系统的装置中使用共享设备的方法步骤示意图。
在第一步骤中,使用第一操作系统中的第一应用与共享设备通信。
在第二步骤中,当从所述第一操作系统切换到第二操作系统时,所述共享设备的关联信息被发送到第二操作系统中的第二应用,使得所述第二应用能够利用所述关联信息与所述共享设备通信。
上述关联信息可以被包含在从第一应用发送往第二应用的指定格式的数据报文中,例如可以在数据报文格式中增加一个域作为共享设备域,用于存储共享设备的关联信息,例如共享设备标识、共享设备收发数据接口地址、共享设备配置信息、所述第一应用与共享设备的连接通道等。第二操作系统中的第二应用可以利用上述信息的一个或多个与共享设备直接建立联系,而不需要对共享设备进行相应的信息获取和操作来建立联系。
扩展后的数据报文也可以通过底层通讯框架接口层传送,例如可采用在第一应用与第二应用之间共享内存来实现。
第二应用可以通过共享设备的关联信息晓要产生的结果需要通过指定的共享设备输出,由此可根据共享设备的关联信息继续对共享设备进行第一尚未完成的操作。在一个示例中,所述第二应用将与所述共享设备通信的结果直接通过该共享设备发送到外部终端。
在本发明的另一个实施例中,所述共享设备是NFC芯片。在该情况下,上述的装置是移动通信装置,例如手机,NFC芯片被设置在移动通信装置中。
例如,在手机的场景下,手机中的普通应用能够对NFC芯片设置好相应的管道号与对应的非接速率。当用户进行消费,把手机置于非接POS终端时,普通应用程序检测到非接POS发送的命令,为了支付环境的安全,此时手机切换到安全模式下的安全应用进行运行。由于在切换时,普通应用在已把跟NFC芯片关联的信息(例如,建立的管道号)发送给安全应用,那么安全应用就省去了和NFC芯片重建管道的过程,能够直接使用普通应用已建立成功的管道和非接POS进行数据交互直到一个交易成功完成。
通过以上实施方式的描述,本领域中的普通技术人员能够理解,在不偏离本发明的精神和范围的情况下,还可以对本发明的具体实施方式作各种变更和替换。这些变更和替换都落在本发明权利要求书所限定的范围内。
Claims (4)
1.一种在能够运行两种操作系统的装置中使用共享设备的方法,其特征在于,
使用第一操作系统中的第一应用与共享设备通信,
当从所述第一操作系统切换到第二操作系统时,所述共享设备的关联信息被发送到第二操作系统中的第二应用,使得所述第二应用能够利用所述关联信息与所述共享设备通信。
2.如权利要求1所述的方法,其特征在于,
所述第二应用将与所述共享设备通信的结果直接通过该共享设备发送到外部终端。
3.如权利要求1所述的方法,其特征在于,
所述关联信息包括以下一个或多个:
共享设备标识、共享设备收发数据接口地址、共享设备配置信息、所述第一应用与共享设备的连接通道。
4.如权利要求1所述的方法,其特征在于,
所述共享设备是NFC芯片。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310217898.3A CN104216761B (zh) | 2013-06-04 | 2013-06-04 | 一种在能够运行两种操作系统的装置中使用共享设备的方法 |
EP14808225.8A EP3007066A4 (en) | 2013-06-04 | 2014-05-30 | Method for using shared device in apparatus capable of operating two operating systems |
US14/895,087 US9459937B2 (en) | 2013-06-04 | 2014-05-30 | Method for using shared device in apparatus capable of operating two operating systems |
PCT/CN2014/078881 WO2014194793A1 (zh) | 2013-06-04 | 2014-05-30 | 一种在能够运行两种操作系统的装置中使用共享设备的方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310217898.3A CN104216761B (zh) | 2013-06-04 | 2013-06-04 | 一种在能够运行两种操作系统的装置中使用共享设备的方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104216761A true CN104216761A (zh) | 2014-12-17 |
CN104216761B CN104216761B (zh) | 2017-11-03 |
Family
ID=52007552
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310217898.3A Active CN104216761B (zh) | 2013-06-04 | 2013-06-04 | 一种在能够运行两种操作系统的装置中使用共享设备的方法 |
Country Status (4)
Country | Link |
---|---|
US (1) | US9459937B2 (zh) |
EP (1) | EP3007066A4 (zh) |
CN (1) | CN104216761B (zh) |
WO (1) | WO2014194793A1 (zh) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461749A (zh) * | 2014-12-30 | 2015-03-25 | 宇龙计算机通信科技(深圳)有限公司 | 一种多系统终端的应用程序同步方法、同步装置及终端 |
CN104615426A (zh) * | 2015-01-20 | 2015-05-13 | 宇龙计算机通信科技(深圳)有限公司 | 运行多系统的方法、装置及终端 |
CN104778084A (zh) * | 2015-04-28 | 2015-07-15 | 宇龙计算机通信科技(深圳)有限公司 | 一种系统切换方法和装置 |
CN106845247A (zh) * | 2017-01-13 | 2017-06-13 | 北京奇虎科技有限公司 | 移动终端上同步安卓系统设置的方法、装置和移动终端 |
CN107180176A (zh) * | 2017-07-05 | 2017-09-19 | 上海京颐科技股份有限公司 | 便携式移动终端的控制系统及其操作系统切换方法、介质 |
WO2021109655A1 (zh) * | 2019-12-03 | 2021-06-10 | 支付宝(杭州)信息技术有限公司 | 安全任务处理方法、装置、电子设备及存储介质 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104484229A (zh) * | 2014-12-29 | 2015-04-01 | 宇龙计算机通信科技(深圳)有限公司 | 切换操作系统的方法、装置及终端 |
DE102015117172B4 (de) * | 2015-10-08 | 2023-05-04 | Infineon Technologies Ag | Kommunikationsanordnung |
CN110069952B (zh) * | 2019-03-27 | 2021-07-13 | 百富计算机技术(深圳)有限公司 | 终端测试方法、装置和终端测试系统 |
US11431755B1 (en) * | 2021-07-16 | 2022-08-30 | Dope.Security Inc. | Endpoint-based security |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101290669A (zh) * | 2008-04-24 | 2008-10-22 | 北京爱奥时代信息科技有限公司 | Nfc手机支付终端、支付方法及系统 |
CN101409719A (zh) * | 2007-10-08 | 2009-04-15 | 联想(北京)有限公司 | 实现网络安全支付的方法及客户端 |
US20120089513A1 (en) * | 2010-10-04 | 2012-04-12 | Kt Corporation | Near field communication terminal capable of loading card with money and method of operating the same |
CN102982445A (zh) * | 2012-11-16 | 2013-03-20 | 江苏乐买到网络科技有限公司 | 一种实现网络安全交易和支付的客户端系统 |
US20130124346A1 (en) * | 2011-11-14 | 2013-05-16 | At&T Intellectual Property I, L.P. | Security Token for Mobile Near Field Communication Transactions |
CN103123708A (zh) * | 2011-08-23 | 2013-05-29 | 宏达国际电子股份有限公司 | 安全支付方法、移动装置及安全支付系统 |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
SE515327C2 (sv) * | 1999-08-27 | 2001-07-16 | Ericsson Telefon Ab L M | Anordning för att utföra säkra transaktioner i en kommunikationsanordning |
KR20050023699A (ko) * | 2003-09-02 | 2005-03-10 | 삼성전자주식회사 | 복수의 cpu 시스템에서 디바이스를 공유하는 방법 및장치 |
CN100472452C (zh) * | 2006-06-23 | 2009-03-25 | 联想(北京)有限公司 | 一种虚拟机系统及其硬件设备的切换方法 |
US20080121687A1 (en) * | 2006-11-28 | 2008-05-29 | Motorola, Inc. | Method and system for detecting an end of transaction for contactless transactions on a mobile device |
JP2010514028A (ja) * | 2006-12-22 | 2010-04-30 | バーチャルロジックス エスエイ | 単一データ処理を共有するために複数の実行環境を有効化するシステム |
US8662401B2 (en) * | 2008-07-25 | 2014-03-04 | First Data Corporation | Mobile payment adoption by adding a dedicated payment button to mobile device form factors |
US20100145854A1 (en) * | 2008-12-08 | 2010-06-10 | Motorola, Inc. | System and method to enable a secure environment for trusted and untrusted processes to share the same hardware |
US9804866B2 (en) * | 2009-12-14 | 2017-10-31 | Citrix Systems, Inc. | Methods and systems for securing sensitive information using a hypervisor-trusted client |
CN103620612B (zh) * | 2011-07-12 | 2016-04-13 | 惠普发展公司,有限责任合伙企业 | 包括端口和来宾域的计算设备 |
CN103092305B (zh) * | 2011-11-01 | 2015-09-23 | 联想(北京)有限公司 | 共享设备切换控制方法及便携终端 |
US11836706B2 (en) * | 2012-04-16 | 2023-12-05 | Sticky.Io, Inc. | Systems and methods for facilitating a transaction using a virtual card on a mobile device |
AU2013204110B2 (en) * | 2012-04-18 | 2014-08-21 | Google Llc | Processing payment transactions without a secure element |
US9270336B2 (en) * | 2013-02-25 | 2016-02-23 | Lexmark International, Inc. | Provisioning user attributes for use with mobile computing device |
US9325381B2 (en) * | 2013-03-15 | 2016-04-26 | The Nielsen Company (Us), Llc | Methods, apparatus and articles of manufacture to monitor mobile devices |
-
2013
- 2013-06-04 CN CN201310217898.3A patent/CN104216761B/zh active Active
-
2014
- 2014-05-30 WO PCT/CN2014/078881 patent/WO2014194793A1/zh active Application Filing
- 2014-05-30 EP EP14808225.8A patent/EP3007066A4/en not_active Ceased
- 2014-05-30 US US14/895,087 patent/US9459937B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101409719A (zh) * | 2007-10-08 | 2009-04-15 | 联想(北京)有限公司 | 实现网络安全支付的方法及客户端 |
CN101290669A (zh) * | 2008-04-24 | 2008-10-22 | 北京爱奥时代信息科技有限公司 | Nfc手机支付终端、支付方法及系统 |
US20120089513A1 (en) * | 2010-10-04 | 2012-04-12 | Kt Corporation | Near field communication terminal capable of loading card with money and method of operating the same |
CN103123708A (zh) * | 2011-08-23 | 2013-05-29 | 宏达国际电子股份有限公司 | 安全支付方法、移动装置及安全支付系统 |
US20130124346A1 (en) * | 2011-11-14 | 2013-05-16 | At&T Intellectual Property I, L.P. | Security Token for Mobile Near Field Communication Transactions |
CN102982445A (zh) * | 2012-11-16 | 2013-03-20 | 江苏乐买到网络科技有限公司 | 一种实现网络安全交易和支付的客户端系统 |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461749A (zh) * | 2014-12-30 | 2015-03-25 | 宇龙计算机通信科技(深圳)有限公司 | 一种多系统终端的应用程序同步方法、同步装置及终端 |
CN104461749B (zh) * | 2014-12-30 | 2018-05-25 | 宇龙计算机通信科技(深圳)有限公司 | 一种多系统终端的应用程序同步方法、同步装置及终端 |
CN104615426A (zh) * | 2015-01-20 | 2015-05-13 | 宇龙计算机通信科技(深圳)有限公司 | 运行多系统的方法、装置及终端 |
CN104778084A (zh) * | 2015-04-28 | 2015-07-15 | 宇龙计算机通信科技(深圳)有限公司 | 一种系统切换方法和装置 |
CN104778084B (zh) * | 2015-04-28 | 2019-01-15 | 宇龙计算机通信科技(深圳)有限公司 | 一种系统切换方法和装置 |
CN106845247A (zh) * | 2017-01-13 | 2017-06-13 | 北京奇虎科技有限公司 | 移动终端上同步安卓系统设置的方法、装置和移动终端 |
CN107180176A (zh) * | 2017-07-05 | 2017-09-19 | 上海京颐科技股份有限公司 | 便携式移动终端的控制系统及其操作系统切换方法、介质 |
WO2021109655A1 (zh) * | 2019-12-03 | 2021-06-10 | 支付宝(杭州)信息技术有限公司 | 安全任务处理方法、装置、电子设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN104216761B (zh) | 2017-11-03 |
US9459937B2 (en) | 2016-10-04 |
WO2014194793A1 (zh) | 2014-12-11 |
EP3007066A4 (en) | 2017-12-27 |
EP3007066A1 (en) | 2016-04-13 |
US20160103716A1 (en) | 2016-04-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104216761A (zh) | 一种在能够运行两种操作系统的装置中使用共享设备的方法 | |
CN106022080B (zh) | 一种基于PCIe接口的密码卡及该密码卡的数据加密方法 | |
CN102685210B (zh) | 一种无线路由设备、移动终端、管理系统及方法 | |
US20170272933A1 (en) | Method of realizing virtual subscriber identity module card and system thereof | |
CN104253840B (zh) | 用于支持多种类型安全载体之间通信的装置及其通信方法 | |
US10708744B2 (en) | NFC-based communication method and apparatus | |
CN102316043B (zh) | 端口虚拟化方法、交换机及通信系统 | |
CN104125307A (zh) | 一种数据流量分享方法和装置 | |
WO2019184658A1 (zh) | 配置文件的切换方法、装置与移动终端 | |
CN103067918A (zh) | 一种通信网络中隐私数据匿名化方法、装置及系统 | |
CN104244243A (zh) | 终端外设控制方法、机器对机器网关及通信系统 | |
CN103368612B (zh) | 通过切换至沉默对电子设备通讯进行控制方法和设备 | |
CN201788511U (zh) | 安全性信息交互设备 | |
CN104252388A (zh) | 移动设备中的非可信环境与可信环境之间的切换 | |
CN105429903A (zh) | 一种交换机及配置方法 | |
CN104951417A (zh) | 一种实现适用于大容量usim的usb复合设备的方法 | |
CN106302432B (zh) | 一种基于车联网的通信装置及控制方法 | |
CN104462905A (zh) | 操作系统的数据处理方法、数据处理装置和终端 | |
CN106845974B (zh) | 一种实现近场通信的点对点通信的方法及装置 | |
CN105450659A (zh) | 一种物联网安全认证系统及认证方法 | |
CN106534602B (zh) | 一种终端及信息处理方法 | |
CN105592032B (zh) | 基于互联网的安全性信息交互方法 | |
CN103796331B (zh) | 一种近距离交换数据的方法和装置 | |
CN108848156B (zh) | 接入网关处理方法、装置及存储介质 | |
CN109862553B (zh) | 终端和通信方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |