WO2017067486A1 - 一种终端及数据传输方法和装置 - Google Patents

一种终端及数据传输方法和装置 Download PDF

Info

Publication number
WO2017067486A1
WO2017067486A1 PCT/CN2016/102766 CN2016102766W WO2017067486A1 WO 2017067486 A1 WO2017067486 A1 WO 2017067486A1 CN 2016102766 W CN2016102766 W CN 2016102766W WO 2017067486 A1 WO2017067486 A1 WO 2017067486A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
data transmission
systems
transmission
interface
Prior art date
Application number
PCT/CN2016/102766
Other languages
English (en)
French (fr)
Inventor
沙爽
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017067486A1 publication Critical patent/WO2017067486A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Definitions

  • the embodiments of the present invention relate to the field of mobile communications, and in particular, to a terminal and a data transmission method and apparatus.
  • dual operating system mobile phones one of which is a general operating system and the other is a secure operating system.
  • the general-purpose operating system such as the Android system
  • the dual-operating system mobile phone can be freely switched between the general operating system and the secure operating system, and can realize the expansion of the mobile phone function.
  • due to strong isolation between the general operating system and the secure operating system even if the general operating system is infected with a malicious application, it cannot be Important information in a secure operating system poses a threat.
  • the embodiment of the present invention provides an overcoming of the above problem or at least partially A terminal and data transmission method and apparatus for solving the above problems.
  • a data transmission apparatus including:
  • a data transfer control unit configured to control the number between any two of the plurality of systems According to transmission.
  • the data transmission control unit includes:
  • a data transfer configuration module configured to configure and save data transfer rules between any two systems
  • the data transmission detection module is connected to the data transmission configuration module and is configured to control data transmission between any two systems according to data transmission rules.
  • the data transmission device further includes:
  • the shared memory includes:
  • the data write interface is set to provide an interface for writing data to the system that sends the data according to the data transmission rule
  • the data read interface is configured to provide an interface for reading data for the system receiving the data according to the data transmission rule.
  • each of the multiple systems includes:
  • Application layer module data transmission interface and transmission driver module
  • the data transfer between any two of the multiple systems includes:
  • An application layer of a system that transmits data configured to send a data request to a data transmission interface of a system that transmits data
  • the data transmission interface of the system for transmitting data is set to call the transmission driver module of the system that sends the data according to the data request, and apply for sending data to the data transmission control unit;
  • the data transmission detecting module is configured to determine whether to permit the current data transmission according to the data transmission rule in the data transmission configuration module, and if the current data transmission is allowed, notify the transmission driver module of the system that sends the data to write the data through the data.
  • the interface sends the shared memory and notifies the transmission driver module of the system that receives the data;
  • the transmission driver module of the system receiving the data is set to be from the share through the data reading interface Storing data and transmitting the data to a data transmission interface of the system receiving the data;
  • the data transmission interface of the system receiving the data is arranged to send data to an application layer module of the system receiving the data.
  • the data transmission rule includes: one-way transmission of data between any two systems.
  • the data transmission rule includes: bidirectional transmission of data between any two systems.
  • the data transmission rule includes: no data transmission between any two systems.
  • the system is an operating system.
  • a data transmission method including:
  • the data transmission rule includes one of the following: one-way transmission of data between any two systems, two-way transmission of data between any two systems, and no data transmission between any two systems.
  • a terminal comprising the above data transmission device.
  • a computer storage medium arranged to store a computer program for performing the above data transmission method.
  • the dual-operating system mobile phone in the related art largely solves the convenience and practicability of the user to use the mobile phone, can not meet the user demand, reduces the user experience, and can facilitate the user to
  • the data in the system is transferred to another system, which improves the convenience and practicality of the user's use of the mobile phone and improves the user experience.
  • FIG. 1 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention.
  • FIG. 2 is a detailed structural diagram of a data transmission device according to an embodiment of the present invention.
  • FIG. 3 is a detailed structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a data transmission method according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of detailed processing of a data transmission method according to an embodiment of the present invention.
  • the first system is an operating system
  • the second system is a security system
  • the second system cannot access the Internet and transmit data. If the first system has confidential data and data, it cannot be transferred to the security system. , largely lost the convenience and practicality of the user.
  • the present invention contemplates that it is very practical in certain scenarios if certain data can be transferred from one system to another. For example, transferring some contact contacts, photos, and materials from the first system to the second system, the original data can be conveniently added to the user's second system, which is very convenient.
  • FIG. 1 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention.
  • a data transmission apparatus according to an embodiment of the present invention includes: multiple systems. (System 1, System 2, ..., System N), Data Transmission Control Unit 10, each module of the embodiment of the present invention will be described in detail below.
  • System 1, System 2, ..., System N are operating systems, each capable of surfing the Internet and transmitting data, such as Android.
  • the data transmission control unit 10 is connected to the above N systems and is configured to control data transmission between any two of the plurality of systems.
  • the data transmission control unit includes a data transmission configuration module 100 and a data transmission detection module 102, where
  • the data transmission configuration module 100 is configured to configure and save a data transmission rule between any two systems, wherein the data transmission rule includes: one-way data transmission between any two systems, and data bidirectional between any two systems Data transmission between transmission and any two systems is not possible.
  • the data transmission detecting module 102 is connected to the data transmission configuration module and configured to control data transmission between any two systems according to the data transmission rule.
  • the apparatus also includes a shared memory 12 coupled to the N systems and also to the data transfer control unit 10, configured to hold data transferred between any two systems.
  • shared memory includes:
  • the data writing interface 120 is configured to provide an interface for writing data to the system for transmitting data according to the data transmission rule;
  • the data read interface 122 is configured to provide an interface for reading data for the system receiving the data in accordance with the data transfer rules.
  • each of the plurality of systems includes: an application layer module, a data transmission interface, and a transmission driver module, wherein data transmission between any two of the plurality of systems includes:
  • An application layer of a system that transmits data configured to send a data request to a data transmission interface of a system that transmits data
  • the data transmission interface of the system for transmitting data is set to call the transmission driver module of the system that sends the data according to the data request, and apply for sending data to the data transmission control unit;
  • the data transmission detecting module is configured to determine whether to permit the current data transmission according to the data transmission rule in the data transmission configuration module, and if the current data transmission is allowed, notify the transmission driver module of the system that sends the data to write the data through the data.
  • the interface sends the shared memory and notifies the transmission driver module of the system that receives the data;
  • a transmission driver module of the system receiving data configured to read data from the shared memory through the data reading interface, and send the data to a data transmission interface of the system receiving the data;
  • the data transmission interface of the system receiving the data is arranged to send data to an application layer module of the system receiving the data.
  • the user can conveniently transfer data in one system to another system, which improves the convenience and practicability of the user to use the mobile phone, and improves the user experience.
  • a terminal including the data transmission device described above, which is not described herein again.
  • FIG. 3 is a detailed structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal according to the embodiment of the present invention includes: an operating system 30, Operating system 32, shared memory 34, multi-system virtualization module 36, and dual system data transfer channel 38, wherein:
  • the operating system application layer 300 includes application scenarios on the terminal, such as an address book, a picture, a file, a call record, a short message, and the like;
  • the dual system data transmission interface 302 is configured to provide an interface and service for the operating system application layer 300 to access the kernel dual system data transmission driver 304;
  • Dual system data transfer driver 304 configured to provide an interface to the framework layer to access dual system data transfer channel 38 in multi-system virtual module 36;
  • the operating system application layer 320 includes application scenarios on the device, such as an address book, a picture, a file, a call record, a short message, and the like;
  • the dual system data transfer interface 322 is configured to provide an interface and services for the operating system application layer 320 to access the kernel dual system data transfer driver 324;
  • the dual system data transfer driver 324 is configured to provide an interface for the framework layer to access the dual system data transfer channel 38 of the multi-system virtual module 36;
  • Data write interface 340 configured to provide an interface for writing data to dual system data transfer channel 38;
  • a data read interface 342 is provided to provide an interface for reading data to the dual system data transfer channel 38;
  • Multi-system virtual module 36
  • the virtual multi-system resource scheduling unit is configured to dynamically allocate CPU, memory, and Flash resources of the entire smart terminal between multiple systems;
  • the virtual multi-system software unit is configured to manage all applications installed by the smart terminal, so that the software applications under different systems operate independently;
  • the virtual multi-system hardware unit is set to virtualize separate hardware devices under different systems and can be managed separately.
  • the transmission configuration unit 380 in order to consider the smart device when it is shipped from the factory, can be set to pre-configure the control principle of data transmission between the systems according to the definition of the two systems, as follows 4 types:
  • the transmission detecting unit 382 can detect the direction of data transmission between the two systems, and decide whether to allow the current transmission according to the definition of the transmission configuration unit, including four types:
  • the data transmission channel 384 is configured to receive data from the source operating system and transmit the data to the target operating system through the shared memory; if the file data of the target operating system is encrypted, the data transmitted in the shared memory also needs to be encrypted to ensure that the data is in the data transmission channel. The same level of security is available during transmission.
  • the operating system 30 and the operating system 32 are intelligent systems with independent system resources and file systems, which can be used as data senders and receivers, respectively, mainly based on the definition of two systems, for example, the operating system 30 represents ordinary The user system, the operating system 32 represents a private user system; the receiving party processes the received data according to the storage mode of the system file, that is, determines whether to encrypt; the operating system framework provides a dual system data transmission interface, and the operating system kernel provides dual System data transfer driver.
  • the terminal proposed by the embodiment of the present invention has a transmission path between two systems.
  • the data transmission between the systems can be pre-configured according to the definition of the two systems.
  • Control principle you can set two-way transmission, you can also set a single To the transmission.
  • the two systems use the shared memory as a medium to utilize the transmission channel in the multi-system virtual module to complete data transmission between the dual systems.
  • the transmission data in the shared memory is processed correspondingly to ensure the same security.
  • FIG. 4 is a flowchart of a data transmission method according to an embodiment of the present invention. As shown in FIG. 4, a data transmission method according to an embodiment of the present invention includes the following steps. deal with:
  • Step 401 Configure and save a data transmission rule between any two systems.
  • Step 402 Control data transmission between any two systems according to a data transmission rule.
  • FIG. 5 is a flowchart of detailed processing of a data transmission method according to an embodiment of the present invention. As shown in FIG. 5, the following specifically includes the following processing:
  • Step 501 For security considerations, when the smart device is shipped from the factory, the control principle of data transmission between the systems may be configured in advance in the dual system data transmission channel 38 according to the definition of the two systems, for example, the operating system 30 is an ordinary user system and an operating system. 32 is a private user system that only allows 30->32 to transfer data;
  • Step 502 The terminal is powered on, and the multi-system virtualization module 36 configures the operating system 30 and the operating system 32;
  • Step 503 Transfer data from the operating system 30 to the operating system 32, such as address book, short message, call record, file, etc.; the application layer 320 of the operating system 30 calls the dual-system data transmission interface 322 of the framework layer;
  • Step 504 The dual system data transmission interface 322 calls the dual system data transmission driver 324 to apply for sending data to the dual system data transmission channel 38.
  • Step 505 The dual system data transmission channel 38 calls the transmission detecting unit 382 to determine whether the current transmission is allowed. According to the preset condition 30->32 is allowed, the data transmission channel 38 is used.
  • the data S sent by the operating system 30 is transferred to the shared memory 34, and the dual system data transmission driver 324 of the operating system 32 is notified to the shared memory 34 to receive the data S. If the data of the operating system 32 is encrypted, the transmitted data S Also encrypted;
  • Step 506 The operating system 32 that receives the data is acquired by the dual system data transmission driver 324 from the shared memory 34, and then transmitted to the dual system data transmission interface 322, and then handed over to the application layer 320 for processing.
  • the operating system 32 according to itself. Data storage requirements to determine whether the received data is encrypted.
  • the core of the embodiment of the present invention is to establish a data transmission path between two intelligent systems, which can be made bidirectional or unidirectional, taking systems A and B as examples, if system B is a security system. , only data can be transmitted from system A to system B, and data cannot be transmitted from system B to system A, so that the data of the security system is not leaked. If the security of the systems A and B is equal, the systems A and B can transmit data to each other, which is convenient and flexible. If systems A and B are absolutely isolated, systems A and B cannot exchange data independently of each other. For this interworking channel, we can add a control management interface with sufficient controllability. In actual use, such as transferring some contacts, photos, and materials from one system to another, it is very convenient, and the original data can be easily added to the user's second system.
  • the private file can be protected
  • the financial transaction application and the data can be protected
  • the application and data such as social protection
  • the work and the business can be protected.
  • the file is mainly.
  • the definition of the system is generally defined according to the usage scenarios of enterprise users or individual users.
  • modules in the client in the embodiment can be adaptively changed and placed in one or more clients different from the embodiment.
  • the modules in the embodiments can be combined into one module, and further they can be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the client are combined.
  • Each feature disclosed in this specification may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components loaded with the ordered web address in accordance with an embodiment of the present invention.
  • the invention may also be embodied as a device or device program (e.g., a computer program and a computer program product) arranged to perform some or all of the methods described herein.
  • Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • the terminal and the data transmission method and apparatus provided by the embodiments of the present invention have the following beneficial effects: the terminal of the embodiment of the present invention solves the problem that the dual operating system mobile phone largely affects the user in the related art.
  • the convenience and practicability of using mobile phones can not meet the needs of users and reduce the user experience. It is convenient for users to transfer data from one system to another system, which improves the convenience and practicability of users to use mobile phones and improves users. Experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Bioethics (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明实施例公开了一种终端及数据传输方法和装置。该装置包括:多个系统;数据传输控制单元,设置为控制多个系统中的任意两个系统之间的数据传输。借助于本发明实施例,解决了相关技术中双操作系统手机很大程度上影响了用户使用手机的便捷性和实用性,无法满足用户需求,降低用户体验的问题,能够方便用户将一个系统中的数据传输到另一个系统,提高了用户使用手机的便捷性和实用性,提高了用户体验。

Description

一种终端及数据传输方法和装置 技术领域
本发明实施例涉及移动通讯领域,特别是涉及一种终端及数据传输方法和装置。
背景技术
目前的双操作系统手机,其中的一个操作系统是通用操作系统,另一个操作系统是安全操作系统。通用操作系统例如Android系统,Android系统市场占有率高,移动应用资源丰富,但存在恶意应用等安全威胁,安全操作系统与通用操作系统之间存在强隔离,用于安全性要求较高的场合。双操作系统手机可以在通用操作系统和安全操作系统之间自由切换,能够实现手机功能的扩展,同时由于通用操作系统和安全操作系统之间强隔离,即使通用操作系统感染恶意应用,也无法对安全操作系统中的重要信息造成威胁。
但是,由于目前的双操作系统手机中,通用操作系统和安全操作系统之间的数据是完全隔离的,安全操作系统不能上网和传输数据,通用操作系统中的数据无法添加到安全操作系统中,很大程度上影响了用户使用手机的便捷性和实用性,无法满足用户需求,降低用户体验。
发明内容
鉴于相关技术中双操作系统手机很大程度上影响了用户使用手机的便捷性和实用性,无法满足用户需求,降低用户体验的问题,本发明实施例提供了一种克服上述问题或者至少部分地解决上述问题的终端及数据传输方法和装置。
根据本发明的一个实施例,提供了一种数据传输装置,包括:
多个系统;
数据传输控制单元,设置为控制多个系统中的任意两个系统之间的数 据传输。
其中,数据传输控制单元包括:
数据传输配置模块,设置为配置并保存任意两个系统之间的数据传输规则;
数据传输检测模块,与数据传输配置模块相连接,设置为根据数据传输规则,控制任意两个系统之间的数据传输。
其中,数据传输装置还包括:
共享内存,设置为保存任意两个系统之间传输的数据。
该共享内存包括:
数据写入接口,设置为根据数据传输规则,为发送数据的系统提供写入数据的接口;
数据读取接口,设置为根据数据传输规则,为接收数据的系统提供读取数据的接口。
另外,多个系统中的每一个系统包括:
应用层模块,数据传输接口和传输驱动模块,
则多个系统中的任意两个系统之间的数据传输包括:
发送数据的系统的应用层,设置为向发送数据的系统的数据传输接口发送数据请求;
发送数据的系统的数据传输接口,设置为根据数据请求,调用发送数据的系统的传输驱动模块,向数据传输控制单元申请发送数据;
数据传输检测模块,设置为根据数据传输配置模块中的数据传输规则,判断是否允许本次数据传输,如果本次数据传输被允许,则通知发送数据的系统的传输驱动模块将数据通过数据写入接口发送给共享内存,并通知接收数据的系统的传输驱动模块;
接收数据的系统的传输驱动模块,设置为通过数据读取接口从共享内 存读取数据,并将数据发送给接收数据的系统的数据传输接口;
接收数据的系统的数据传输接口,设置为将数据发送给接收数据的系统的应用层模块。
可选地,数据传输规则包括:任意两个系统之间的数据单向传输。
可选地,数据传输规则包括:任意两个系统之间的数据双向传输。
可选地,数据传输规则包括:任意两个系统之间不能进行数据传输。
其中,系统为操作系统。
根据本发明的另一实施例,还提供了一种数据传输方法,包括:
配置并保存任意两个系统之间的数据传输规则;
根据数据传输规则,控制任意两个系统之间的数据传输。
其中,数据传输规则包括以下之一:任意两个系统之间的数据单向传输、任意两个系统之间的数据双向传输、任意两个系统之间不能进行数据传输。
根据本发明的另一实施例,还提供了一种包括上述数据传输装置的终端。
根据本发明的另一实施例,还提供了一种计算机存储介质,设置为存储用于执行上述数据传输方法的计算机程序。
本发明实施例有益效果如下:
借助于本发明实施例的终端,解决了相关技术中双操作系统手机很大程度上影响了用户使用手机的便捷性和实用性,无法满足用户需求,降低用户体验的问题,能够方便用户将一个系统中的数据传输到另一个系统,提高了用户使用手机的便捷性和实用性,提高了用户体验。
上述说明仅是本发明实施例技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是本发明实施例的数据传输装置的结构示意图;
图2是本发明实施例的数据传输装置的详细结构示意图;
图3是本发明实施例的终端的详细结构示意图;
图4是本发明实施例的数据传输方法的流程图;
图5是本发明实施例的数据传输方法的详细处理的流程图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
目前的双系统方案,第一系统为操作系统,第二系统为安全系统,第二系统不能上网和传输数据,如果第一系统中如果有需要保密的资料和数据,就无法转移到安全系统中,很大程度上损失了用户的便捷性和实用性。鉴于此,本发明考虑到如果能够从一个系统将某些数据传递到另一个系统,在某些场景下是非常实用的。例如将一些联系人通讯录、照片、资料从第一系统转移到第二系统,对于原有的数据可以方便地加入到用户的第二系统,这样是非常方便的。以下结合附图以及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。
装置实施例
根据本发明的实施例,提供了一种数据传输装置,图1是本发明实施例的数据传输装置的结构示意图,如图1所示,根据本发明实施例的数据传输装置包括:多个系统(系统1、系统2、……、系统N)、数据传输控制单元10,以下对本发明实施例的各个模块进行详细的说明。
多个系统(系统1、系统2、……、系统N)均为操作系统,每个系统都能够上网和传输数据,例如安卓系统。
数据传输控制单元10,与上述N个系统都相连接,设置为控制多个系统中的任意两个系统之间的数据传输。
图2是本发明实施例的数据传输装置的详细结构示意图,如图2所示,数据传输控制单元包括数据传输配置模块100和数据传输检测模块102,其中,
数据传输配置模块100,设置为配置并保存任意两个系统之间的数据传输规则,其中,数据传输规则包括:任意两个系统之间的数据单向传输、任意两个系统之间的数据双向传输、任意两个系统之间不能进行数据传输。
数据传输检测模块102,与数据传输配置模块相连接,设置为根据数据传输规则,控制任意两个系统之间的数据传输。
该装置还包括共享内存12,该共享内存12与N个系统相连接,也与数据传输控制单元10相连接,设置为保存任意两个系统之间传输的数据。其中,共享内存包括:
数据写入接口120,设置为根据数据传输规则,为发送数据的系统提供写入数据的接口;
数据读取接口122,设置为根据数据传输规则,为接收数据的系统提供读取数据的接口。
具体地,多个系统中的每一个系统包括:应用层模块,数据传输接口和传输驱动模块,则多个系统中的任意两个系统之间的数据传输包括:
发送数据的系统的应用层,设置为向发送数据的系统的数据传输接口发送数据请求;
发送数据的系统的数据传输接口,设置为根据数据请求,调用发送数据的系统的传输驱动模块,向数据传输控制单元申请发送数据;
数据传输检测模块,设置为根据数据传输配置模块中的数据传输规则,判断是否允许本次数据传输,如果本次数据传输被允许,则通知发送数据的系统的传输驱动模块将数据通过数据写入接口发送给共享内存,并通知接收数据的系统的传输驱动模块;
接收数据的系统的传输驱动模块,设置为通过数据读取接口从共享内存读取数据,并将数据发送给接收数据的系统的数据传输接口;
接收数据的系统的数据传输接口,设置为将数据发送给接收数据的系统的应用层模块。
通过本发明实施例,能够方便用户将一个系统中的数据传输到另一个系统,提高了用户使用手机的便捷性和实用性,提高了用户体验。
终端实施例
根据本发明的实施例,提供了一种终端,该终端包括上文所述的数据传输装置,这里不再赘述。
为方便说明本发明实施例,下文以两个操作系统为例进行描述,但多个操作系统仍在本发明的保护范围内。
下面结合附图对本发明实施例的技术方案作进一步的详细描述:图3是本发明实施例的终端的详细结构示意图,如图3所示,根据本发明实施例的终端包括:操作系统30、操作系统32、共享内存34、多系统虚拟化模块36和双系统数据传输通道38,其中:
操作系统30:
操作系统应用层300,包括终端上的应用场景,例如通讯录、图片、文件、通话记录、短信等;
双系统数据传输接口302,设置为为操作系统应用层300提供了访问内核双系统数据传输驱动304的接口和服务;
双系统数据传输驱动304,设置为为框架层提供访问多系统虚拟模块36中双系统数据传输通道38的接口;
操作系统32:
操作系统应用层320,包括设备上的应用场景,例如通讯录、图片、文件、通话记录、短信等;
双系统数据传输接口322,设置为为操作系统应用层320提供了访问内核双系统数据传输驱动324的接口和服务;
双系统数据传输驱动324,设置为为框架层提供访问多系统虚拟模块36中双系统数据传输通道38的接口;
共享内存34:
数据写入接口340,设置为为双系统数据传输通道38提供写入数据的接口;
数据读取接口342,设置为为双系统数据传输通道38提供读取数据的接口;
多系统虚拟模块36:
虚拟多系统资源调度单元,设置为将整个智能终端的CPU、内存、Flash资源在多个系统之间动态调配;
虚拟多系统软件单元,设置为管理智能终端安装的所有应用,使不同系统下的软件应用独立运行;
虚拟多系统硬件单元,设置为在不同系统下虚拟出单独的硬件设备,可分别单独管理。
双系统数据传输通道38:
传输配置单元380,为了安全考虑智能设备在出厂的时候,可以根据两个系统的定义,设置为预先配置系统之间数据传输的控制原则,如下述 4种类型:
只允许操作系统30-〉操作系统32;
只允许操作系统32-〉操作系统30;
允许双向传输,那么操作系统30<->操作系统32可以互传;
拒绝数据传输,那么操作系统30和操作系统32之间不允许传输数据。
传输检测单元382,可以检测两个系统之间数据传输的方向,根据传输配置单元的定义,决定是否允许本次传输,包括4个类型:
只允许操作系统操作系统30-〉操作系统操作系统32,那么当检测到操作系统32-〉操作系统30的数据传输时,则拒绝传输;
只允许操作系统操作系统32-〉操作系统操作系统30,那么当检测到操作系统30-〉操作系统32的数据传输时,则拒绝传输;
允许双向传输,那么操作系统30<->操作系统32可以互传;
拒绝数据传输,那么操作系统30和操作系统32之间不允许传输数据。
数据传输通道384,设置为从源操作系统接收到数据,通过共享内存传递给目标操作系统;如果目标操作系统的文件数据加密保存的,那么在共享内存中传输的数据也需要加密,保证数据在传输过程中具备同样的安全级别。
其中,操作系统30和操作系统32均为具备独立系统资源和文件系统的智能系统,分别都可以作为数据发送方和接收方,主要依据产品对两个系统的定义,例如:操作系统30代表普通的用户系统,操作系统32代表隐私的用户系统;接收方根据本系统文件的保存方式,来处理接收到的数据,即决定是否加密;操作系统框架提供双系统数据传输接口,操作系统内核提供双系统数据传输驱动。
综上所述,本发明实施例提出的终端,在两个系统之间架设了传输通路,为了安全考虑智能设备在出厂的时候,可以根据两个系统的定义,预先配置系统之间数据传输的控制原则,可以设置双向传输,也可以设置单 向传输。当从操作系统30传输数据到操作系统32时,两个系统借助共享内存作为介质,利用多系统虚拟模块中的传输通道,完成双系统之间的数据传输。在传输时,根据预先配置的控制原则,判断本次传输是否允许,同时根据目的系统文件数据是否加密,来相应处理共享内存中的传输数据,以保证具备同样的安全性。
方法实施例
根据本发明的实施例,提供了一种多频段射频信号发送方法,图4是本发明实施例的数据传输方法的流程图,如图4所示,根据本发明实施例的数据传输方法包括如下处理:
步骤401,配置并保存所述任意两个系统之间的数据传输规则;
步骤402,根据数据传输规则,控制任意两个系统之间的数据传输。
图5是本发明实施例的数据传输方法的详细处理的流程图,如图5所示,具体包括如下处理:
步骤501:为了安全考虑智能设备在出厂的时候,可以根据两个系统的定义,预先在双系统数据传输通道38配置系统之间数据传输的控制原则,如操作系统30是普通用户系统、操作系统32是私密用户系统,只允许30-〉32传输数据;
步骤502:终端开机,多系统虚拟化模块36配置操作系统30和操作系统32;
步骤503:从操作系统30向操作系统32传输数据,如通讯录、短信、通话记录、文件等;操作系统30的应用层320调用框架层的双系统数据传输接口322;
步骤504:双系统数据传输接口322调用双系统数据传输驱动324,向双系统数据传输通道38申请发送数据;
步骤505:双系统数据传输通道38调用传输检测单元382,判断是否允许本次传输,根据预设条件30-〉32是被允许的,则由数据传输通道38 将操作系统30发送的数据S传到共享内存34,并通知操作系统32的双系统数据传输驱动324到共享内存34接收数据S,如果操作系统32的数据都是加密的,则传输的数据S也加密处理;
步骤506:接收数据的操作系统32,由双系统数据传输驱动324从共享内存34获取到数据S后,传给双系统数据传输接口322,然后交给应用层320来处理,操作系统32根据自身的数据存储要求,来决定接收到的数据是否加密。
综上,本发明实施例的核心是为两个智能系统之间建立数据传输通路,可以做成双向的,也可以做成单向的,以系统A和B为例,如果系统B是安全系统,则只能从系统A传数据到系统B,而不能从系统B传数据到系统A,保证安全系统的数据不会泄露。如果系统A和B的安全性等同,则系统A和B可以互传数据,方便灵活。如果系统A和B之间绝对隔离,则系统A和B不可以互传数据,相互独立。对于这个互通通道,我们可以加一道控制管理接口,具备充分的可控性。在实际的使用中,比如将一些联系人通讯录、照片、资料从一个系统转移到另一个系统,这样是非常方便的,对于原有的数据可以方便地加入到用户的第二系统。
另外,本发明实施例中,可以根据用途保护不同的内容,例如,可以保护私密文件为主,可以保护金融交易应用及数据为主,可以保护社交等应用及数据为主,可以保护工作及商业文件为主。系统的定义一般是根据企业用户、或者个人用户的使用场景来定义的。
显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对 任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的客户端中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个客户端中。可以把实施例中的模块组合成一个模块,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者客户端的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合 方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的加载有排序网址的客户端中的一些或者全部部件的一些或者全部功能。本发明还可以实现为设置为执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
工业实用性
如上所述,本发明实施例提供的一种终端及数据传输方法和装置,具有以下有益效果:借助于本发明实施例的终端,解决了相关技术中双操作系统手机很大程度上影响了用户使用手机的便捷性和实用性,无法满足用户需求,降低用户体验的问题,能够方便用户将一个系统中的数据传输到另一个系统,提高了用户使用手机的便捷性和实用性,提高了用户体验。

Claims (11)

  1. 一种数据传输装置,包括:
    多个系统;
    数据传输控制单元,设置为控制所述多个系统中的任意两个系统之间的数据传输。
  2. 如权利要求1所述的装置,其中,数据传输控制单元包括:
    数据传输配置模块,设置为配置并保存所述任意两个系统之间的数据传输规则;
    数据传输检测模块,设置为根据所述数据传输规则,控制所述任意两个系统之间的数据传输。
  3. 如权利要求2所述的装置,其中,所述数据传输装置还包括:
    共享内存,设置为保存所述任意两个系统之间传输的数据。
  4. 如权利要求3所述的装置,其中,所述共享内存包括:
    数据写入接口,设置为根据所述数据传输规则,为发送数据的系统提供写入数据的接口;
    数据读取接口,设置为根据所述数据传输规则,为接收数据的系统提供读取数据的接口。
  5. 如权利要求4所述的装置,其中,所述多个系统中的每一个系统包括:
    应用层模块,数据传输接口和传输驱动模块,具体地:
    发送数据的系统的应用层,设置为向发送数据的系统的数据传输接口发送数据请求;
    所述发送数据的系统的数据传输接口,设置为根据所述数据请求,调用所述发送数据的系统的传输驱动模块,向所述数据传输控制单元申请发送数据;
    所述数据传输检测模块,设置为根据所述数据传输配置模块中的 数据传输规则,判断是否允许本次数据传输,如果本次数据传输被允许,则通知所述发送数据的系统的传输驱动模块将数据通过所述数据写入接口发送给共享内存,并通知接收数据的系统的传输驱动模块;
    所述接收数据的系统的传输驱动模块,设置为通过所述数据读取接口从共享内存读取数据,并将所述数据发送给接收数据的系统的数据传输接口;
    所述接收数据的系统的数据传输接口,设置为将所述数据发送给接收数据的系统的应用层模块。
  6. 如权利要求2所述的装置,其中,所述数据传输规则包括以下之一:所述任意两个系统之间的数据单向传输、所述任意两个系统之间的数据双向传输、所述任意两个系统之间不能进行数据传输。
  7. 如权利要求1至6中任一项所述的装置,其中,所述系统为操作系统。
  8. 一种数据传输方法,包括:
    配置并保存任意两个系统之间的数据传输规则;
    根据所述数据传输规则,控制所述任意两个系统之间的数据传输。
  9. 如权利要求8所述的方法,其中,所述数据传输规则包括以下之一:所述任意两个系统之间的数据单向传输、所述任意两个系统之间的数据双向传输、所述任意两个系统之间不能进行数据传输。
  10. 一种终端,包括权利要求1至7中任一项所述的装置。
  11. 一种计算机存储介质,设置为存储用于执行如权利要求8或9所述的数据传输方法的计算机程序。
PCT/CN2016/102766 2015-10-21 2016-10-20 一种终端及数据传输方法和装置 WO2017067486A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510688860.3A CN106612362A (zh) 2015-10-21 2015-10-21 一种终端及数据传输方法和装置
CN201510688860.3 2015-10-21

Publications (1)

Publication Number Publication Date
WO2017067486A1 true WO2017067486A1 (zh) 2017-04-27

Family

ID=58556735

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/102766 WO2017067486A1 (zh) 2015-10-21 2016-10-20 一种终端及数据传输方法和装置

Country Status (2)

Country Link
CN (1) CN106612362A (zh)
WO (1) WO2017067486A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134528A (zh) * 2019-04-15 2019-08-16 平安普惠企业管理有限公司 微服务框架的接口信息存储调用方法、装置和终端设备
CN115775199A (zh) * 2022-11-23 2023-03-10 海光信息技术股份有限公司 数据处理方法和装置、电子设备和计算机可读存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108011913B (zh) * 2016-12-29 2021-08-20 北京车和家信息技术有限责任公司 数据传输方法、车机显示装置、车辆多媒体设备及系统
CN110830760B (zh) * 2018-08-10 2021-07-02 北京仁光科技有限公司 一种安全网络数据交互系统及方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2945498B2 (ja) * 1991-04-12 1999-09-06 富士通株式会社 システム間通信方式
US20030084334A1 (en) * 2001-11-01 2003-05-01 Takeshi Miyao Firewall computer system
US6961870B2 (en) * 2002-03-13 2005-11-01 Inventec Corporation Data exchange update and back-up system and method between dual operating systems of a computer
CN102567275A (zh) * 2010-12-08 2012-07-11 中国科学院声学研究所 一种多核处理器上多个操作系统间内存访问的方法及系统
CN104268478A (zh) * 2014-09-22 2015-01-07 宇龙计算机通信科技(深圳)有限公司 一种多系统终端的数据交互方法及装置
US20150264047A1 (en) * 2014-03-12 2015-09-17 Agreeya Mobility, Inc. Method and system for providing secure communication between multiple operating systems in a communication device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2945498B2 (ja) * 1991-04-12 1999-09-06 富士通株式会社 システム間通信方式
US20030084334A1 (en) * 2001-11-01 2003-05-01 Takeshi Miyao Firewall computer system
US6961870B2 (en) * 2002-03-13 2005-11-01 Inventec Corporation Data exchange update and back-up system and method between dual operating systems of a computer
CN102567275A (zh) * 2010-12-08 2012-07-11 中国科学院声学研究所 一种多核处理器上多个操作系统间内存访问的方法及系统
US20150264047A1 (en) * 2014-03-12 2015-09-17 Agreeya Mobility, Inc. Method and system for providing secure communication between multiple operating systems in a communication device
CN104268478A (zh) * 2014-09-22 2015-01-07 宇龙计算机通信科技(深圳)有限公司 一种多系统终端的数据交互方法及装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134528A (zh) * 2019-04-15 2019-08-16 平安普惠企业管理有限公司 微服务框架的接口信息存储调用方法、装置和终端设备
CN115775199A (zh) * 2022-11-23 2023-03-10 海光信息技术股份有限公司 数据处理方法和装置、电子设备和计算机可读存储介质
CN115775199B (zh) * 2022-11-23 2024-04-16 海光信息技术股份有限公司 数据处理方法和装置、电子设备和计算机可读存储介质

Also Published As

Publication number Publication date
CN106612362A (zh) 2017-05-03

Similar Documents

Publication Publication Date Title
US10542109B2 (en) Proxied push
US10499205B2 (en) SMS proxying
US9485177B2 (en) Client applications communicating via a user tunnel
US10887400B2 (en) Answering a call with client through a host
US11088807B2 (en) Application-level acknowledgements
US8725808B2 (en) Method for transferring data between a first device and a second device
AU2010265909B2 (en) Migrating functionality in virtualized mobile devices
US9900275B2 (en) Tracking object across processes
WO2017067486A1 (zh) 一种终端及数据传输方法和装置
WO2017162043A1 (zh) 用于设备间服务的访问方法、配置方法及装置
WO2016206171A1 (zh) 一种基于网络隔离的安全连网方法及终端
US10587551B1 (en) Techniques for multi-agent messaging
WO2016145820A1 (zh) 一种近场通信数据传输方法和装置、计算机存储介质
US9755788B2 (en) Messages with attenuating retransmit importance
US20120131076A1 (en) File sharing method and file sharing system utilizing the same
US9992357B2 (en) Authentication of a print request
US10785187B2 (en) Auto-attach signaling used as wireless local area network (WLAN) selection criterion
KR101730449B1 (ko) 인증 정보를 공유할 수 있는 이동통신 단말기 및 이동통신 단말기 사이에 인증 정보를 공유하는 방법, 및 인증 정보를 공유하여 클라우드 서버에 접속할 수 있는 이동통신 시스템
WO2017054733A1 (zh) 存储接管、切换处理方法及装置
KR102208667B1 (ko) 보안 카메라 이용 방법, 보안 카메라 이용 장치, 보안 정책 관리 방법, mdm 관리 장치, 데이터 관리 방법 및 데이터 관리 장치
WO2018133551A1 (zh) 通信号码验证的方法与设备
CN112748992B (zh) 用于迁移任务的电子设备、方法及存储介质
WO2023124258A1 (zh) 远程访问用户识别模块sim卡的方法和装置
CN113891310A (zh) 协作通信方法、用户设备及系统

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: 16856917

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16856917

Country of ref document: EP

Kind code of ref document: A1