CN111726453A - System switching method, device and terminal - Google Patents

System switching method, device and terminal Download PDF

Info

Publication number
CN111726453A
CN111726453A CN201910216572.6A CN201910216572A CN111726453A CN 111726453 A CN111726453 A CN 111726453A CN 201910216572 A CN201910216572 A CN 201910216572A CN 111726453 A CN111726453 A CN 111726453A
Authority
CN
China
Prior art keywords
identifier
communication request
target system
target
self
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
Application number
CN201910216572.6A
Other languages
Chinese (zh)
Other versions
CN111726453B (en
Inventor
许玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201910216572.6A priority Critical patent/CN111726453B/en
Priority to PCT/CN2020/071988 priority patent/WO2020186918A1/en
Publication of CN111726453A publication Critical patent/CN111726453A/en
Application granted granted Critical
Publication of CN111726453B publication Critical patent/CN111726453B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/725Cordless telephones

Landscapes

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

Abstract

The embodiment of the invention provides a method, a device and a terminal for system switching, relates to the field of computers, and aims to solve the problem of poor communication security caused by the fact that the terminal processes a communication request aiming at another system under one system. The method may comprise: receiving a first communication request; acquiring an identifier corresponding to the communication request; determining a target system corresponding to the acquired identifier based on the acquired identifier and a preset matching rule between the identifier and the system, wherein the target system is one of the first system and the second system; processing the communication request in the context of the target system. The invention is used for system switching.

Description

系统切换的方法、装置和终端System switching method, device and terminal

技术领域technical field

本发明涉及计算机领域,尤其涉及一种系统切换的方法、装置和终端。The present invention relates to the field of computers, and in particular, to a method, device and terminal for system switching.

背景技术Background technique

随着智能手机的普及和应用程序功能的日益强大,手机安全问题日益凸显,尤其是针对快速发展的移动化办公,个人信息和业务信息共存于一个终端中,带来了更多的安全风险。With the popularization of smartphones and the increasingly powerful functions of applications, the security of mobile phones has become increasingly prominent. Especially for the rapidly developing mobile office, personal information and business information coexist in one terminal, which brings more security risks.

为保证安全性,目前在终端中会采用双系统,例如,一个办公系统和一个生活系统。在生活系统可以正常使用终端的各项功能,而在办公系统则只能使用终端的某些指定功能。To ensure security, dual systems are currently used in the terminal, for example, an office system and a living system. In the living system, various functions of the terminal can be used normally, while in the office system, only some designated functions of the terminal can be used.

但是,在终端在生活系统下运行却接收到针对办公系统的通信请求的情况下,终端仍会在生活系统下处理这一通信请求,导致通信的安全性较差。However, when the terminal runs under the living system but receives a communication request for the office system, the terminal still processes the communication request under the living system, resulting in poor communication security.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种系统切换的方法、装置和终端,以解决终端在一个系统下处理针对另一个系统的通信请求而导致通信安全性较差的问题。Embodiments of the present application provide a system switching method, device, and terminal, so as to solve the problem of poor communication security caused by the terminal processing a communication request for another system under one system.

第一方面,本申请实施例提供了一种系统切换的方法,应用于终端,所述终端中设置有第一系统和第二系统,所述方法包括:In a first aspect, an embodiment of the present application provides a method for system switching, which is applied to a terminal, where a first system and a second system are set in the terminal, and the method includes:

接收第一通信请求;receiving a first communication request;

获取所述第一通信请求对应的标识;obtaining the identifier corresponding to the first communication request;

基于获取的所述标识以及预先设置的标识和系统之间的匹配规则,确定获取的所述标识对应的目标系统,所述目标系统为所述第一系统和所述第二系统中的一种;Based on the acquired identifier and a preset matching rule between the identifier and the system, a target system corresponding to the acquired identifier is determined, and the target system is one of the first system and the second system ;

在所述目标系统的环境下处理所述第一通信请求。The first communication request is processed in the context of the target system.

第二方面,本申请实施例提供了一种系统切换的装置,包括:In a second aspect, an embodiment of the present application provides a system switching device, including:

接收模块,用于接收第一通信请求;a receiving module, configured to receive the first communication request;

处理模块,用于获取所述第一通信请求对应的标识,基于获取的所述标识以及预先设置的标识和系统之间的匹配规则,确定获取的所述标识对应的目标系统,所述目标系统为第一系统和第二系统中的一种;在所述目标系统的环境下处理所述第一通信请求。A processing module, configured to acquire the identifier corresponding to the first communication request, and determine the target system corresponding to the acquired identifier based on the acquired identifier and a preset matching rule between the identifier and the system, and the target system is one of the first system and the second system; the first communication request is processed under the environment of the target system.

第三方面,本申请实施例提供了一种终端,包括:存储器和处理器,所述存储器上存储计算机程序,当所述计算机程序被执行时,实现第一方面所述的加载应用的插件的方法中的步骤。In a third aspect, an embodiment of the present application provides a terminal, including: a memory and a processor, where a computer program is stored in the memory, and when the computer program is executed, the plug-in for loading an application described in the first aspect is implemented. steps in the method.

第四方面,本申请实施例提供了非临时性计算机可读存储介质,所述存储介质上存储计算机程序,当所述计算机程序被执行时,实现第一方面所述的加载应用的插件的方法中的步骤。In a fourth aspect, embodiments of the present application provide a non-transitory computer-readable storage medium, where a computer program is stored on the storage medium, and when the computer program is executed, the method for loading a plug-in of an application described in the first aspect is implemented steps in .

本申请实施例采用的上述至少一个技术方案能够达到以下有益效果:The above-mentioned at least one technical solution adopted in the embodiments of the present application can achieve the following beneficial effects:

在本申请的实施例中,在接收到第一通信请求之后,先获取第一通信请求对应的标识,进而可根据获取的所述标识以及预先设置的标识和系统之间的匹配规则,确定获取的所述标识对应的目标系统,并在目标系统的环境下处理第一通信请求。如此,通过在第一通信请求对应的目标系统下处理第一通信请求,可以保证通信的安全性。In the embodiment of the present application, after the first communication request is received, the identifier corresponding to the first communication request is obtained first, and then it can be determined to obtain the identifier according to the acquired identifier and the matching rule between the preset identifier and the system The identifier corresponds to the target system, and the first communication request is processed in the environment of the target system. In this way, by processing the first communication request under the target system corresponding to the first communication request, the security of the communication can be guaranteed.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments described in the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1是本发明实施例提供的一种系统切换的方法的流程图;1 is a flowchart of a method for system switching provided by an embodiment of the present invention;

图2是本发明实施例提供的一种基于双系统切换的终端的通讯原理组成图;Fig. 2 is a communication principle composition diagram of a terminal based on dual-system handover provided by an embodiment of the present invention;

图3为本发明实施例提供的双系统的终端基于人工智能自主学习的方法的流程图;FIG. 3 is a flowchart of a method for self-learning of a dual-system terminal based on artificial intelligence provided by an embodiment of the present invention;

图4为本发明实施例提供的双系统终端的安全通话的方法的流程图;FIG. 4 is a flowchart of a method for a secure call of a dual-system terminal provided by an embodiment of the present invention;

图5是本发明实施例提供的一种系统切换的装置的结构框图;5 is a structural block diagram of an apparatus for system switching provided by an embodiment of the present invention;

图6为本申请实施例提供的终端的结构示意图。FIG. 6 is a schematic structural diagram of a terminal provided by an embodiment of the present application.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本发明中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明实施例中,需了解的是,应用即表示应用程序。In the embodiment of the present invention, it should be understood that an application refers to an application program.

需了解的是,在下文描述中,如果提及安卓系统仅是表示以安卓系统为例进行举例说明,而并非限制,本发明实施例提供的系统切换的方法也可以应用于其他操作系统,例如苹果操作系统(iOS)。It should be understood that, in the following description, if the Android system is mentioned, it only means that the Android system is used as an example for illustration, rather than a limitation, and the system switching method provided in the embodiment of the present invention can also be applied to other operating systems, such as Apple Operating System (iOS).

以下结合附图,详细说明本发明各实施例提供的技术方案。The technical solutions provided by the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

下面将从终端的角度,对本发明实施例提供的系统切换的方法进行介绍。其中,所述终端可以为手机、平板电脑等,所述终端中可设置有第一系统和第二系统。其中,第一系统和第二系统可以是相互隔离的系统,第一系统和第二系统可以同属于安卓类操作系统,但是终端在第一系统下和在第二系统下运行时实现的功能可以有所不同,例如第一系统下可正常实现终端的各项功能,而在第二系统下只能实现终端的某些指定功能。The following describes the system switching method provided by the embodiment of the present invention from the perspective of the terminal. The terminal may be a mobile phone, a tablet computer, etc., and the terminal may be provided with a first system and a second system. Wherein, the first system and the second system may be mutually isolated systems, and the first system and the second system may both belong to the Android operating system, but the functions implemented by the terminal when running under the first system and under the second system may be For example, various functions of the terminal can be normally implemented in the first system, while only certain specified functions of the terminal can be implemented in the second system.

双系统运行的终端通过终端内核虚拟化技术,提供轻量级的虚拟化,可以隔离进程和资源。这种方案是应用框架层的隔离,可以支持同时运行两个用户系统,包括一个工作系统,一个生活系统,每个系统里支持独立的应用、系统设置、通讯录、短信等。两个系统之间相互隔离从而可保证安全性。The terminal running with dual systems provides lightweight virtualization through the terminal kernel virtualization technology, which can isolate processes and resources. This solution is the isolation of the application framework layer, which can support running two user systems at the same time, including a working system and a living system. Each system supports independent applications, system settings, address books, text messages, etc. The two systems are isolated from each other for security.

图1是本发明实施例提供的一种系统切换的方法的流程图。参照图1,本发明实施例提供的一种系统切换的方法可由终端执行,且可包括:FIG. 1 is a flowchart of a system switching method provided by an embodiment of the present invention. Referring to FIG. 1 , a method for system switching provided by an embodiment of the present invention may be performed by a terminal, and may include:

步骤110,接收第一通信请求。Step 110, receiving a first communication request.

在本发明实施例中,第一通信请求可以是任一种类的通信请求,包括但不限于,视频聊天请求、语音聊天请求、与电话相关的请求、与短信相关的请求等。与电话相关的请求可涵盖来电请求,与短信相关的请求可涵盖普通短信请求、彩信请求等。第一通信请求可以来自于与终端相分离的另一设备。In this embodiment of the present invention, the first communication request may be any type of communication request, including but not limited to, a video chat request, a voice chat request, a request related to a phone call, a request related to a short message, and the like. Phone-related requests may cover incoming call requests, and SMS-related requests may cover ordinary SMS requests, MMS requests, and so on. The first communication request may come from another device separate from the terminal.

步骤120,获取所述第一通信请求对应的标识。Step 120: Obtain the identifier corresponding to the first communication request.

在本发明实施例中,第一通信请求对应的标识可以为第一通信请求的唯一标识。举例而言,若所述第一通信请求为与电话或短信相关的请求,则第一通信请求对应的标识可以为电话号码。又举例而言,若第一通信请求为视频聊天请求,则第一通信请求对应的标识可以为聊天软件的唯一标识,例如聊天软件的名称、会话ID或序列号等。In this embodiment of the present invention, the identifier corresponding to the first communication request may be a unique identifier of the first communication request. For example, if the first communication request is a request related to a phone call or a short message, the identifier corresponding to the first communication request may be a phone number. For another example, if the first communication request is a video chat request, the identifier corresponding to the first communication request may be a unique identifier of the chat software, such as the name of the chat software, session ID or serial number, and the like.

步骤130,基于获取的所述标识以及预先设置的标识和系统之间的匹配规则,确定获取的所述标识对应的目标系统,所述目标系统为所述第一系统和所述第二系统中的一种。Step 130, based on the acquired identifier and the matching rule between the preset identifier and the system, determine the target system corresponding to the acquired identifier, and the target system is one of the first system and the second system. a kind of.

在本发明实施例中,可预先设置标识与系统之间的匹配规则。其中,匹配规则可以按照需求来设定。例如,在预先设置有标识白名单的情况下,匹配规则可以包括,出现在预先设置的白名单中的标识对应于所述目标系统。又例如,在预先设置有标识黑名单的情况下,匹配规则可以包括,未出现在预先设置的黑名单中的标识对应于所述目标系统,等。当然,还可以按照需求设置其他匹配规则。In this embodiment of the present invention, a matching rule between the identifier and the system may be preset. The matching rules can be set according to requirements. For example, in the case where a whitelist of identifiers is preset, the matching rule may include that the identifiers appearing in the preset whitelist correspond to the target system. For another example, in the case where a blacklist of identifiers is preset, the matching rule may include that the identifiers that do not appear in the preset blacklist correspond to the target system, and so on. Of course, other matching rules can also be set as required.

以政企客户的电话号码白名单为例,电话号码白名单可包括有企业用户的集团短号码,或者企业固定电话等,白名单只需要配置该企业的短号码和固定电话的范围就可以。比如某个公司的集团短号码为61开头5位号码,只要配置白名单为61***,企业固定电话为021-8534****。Take the phone number whitelist of government and enterprise customers as an example. The phone number whitelist can include group short numbers of corporate users, or corporate landline phones, etc. The whitelist only needs to configure the company's short number and landline range. For example, the group short number of a company is a 5-digit number starting with 61, as long as the whitelist is configured as 61***, and the corporate fixed phone number is 021-8534****.

在本发明实施例中,目标系统可以为权限受管控的系统。换言之,目标系统可以为对安全性或保密性要求较高的系统。In this embodiment of the present invention, the target system may be a system whose authority is controlled. In other words, the target system may be a system that requires higher security or confidentiality.

在本发明实施例中,可选地,在确定获取的所述标识对应的目标系统之后,本发明实施例提供的系统切换的方法还可包括:判断所述终端的当前运行系统是否为所述目标系统;若当前运行系统不是所述目标系统,切换至所述目标系统下运行;若当前运行系统是所述目标系统,保持在当前运行系统继续运行。本发明实施例通过上述过程可以保证终端最终在目标系统下运动,在终端的当前运行系统即为目标系统的情况下,可以无需进行系统切换,减少切换的工作量。In the embodiment of the present invention, optionally, after determining the target system corresponding to the acquired identifier, the system switching method provided by the embodiment of the present invention may further include: judging whether the current operating system of the terminal is the target system; if the current running system is not the target system, switch to run under the target system; if the current running system is the target system, keep running in the current running system. The embodiments of the present invention can ensure that the terminal eventually moves under the target system through the above process, and when the current operating system of the terminal is the target system, system switching is not required, thereby reducing the workload of switching.

举例而言,若终端的当前运行系统为第一系统(例如生活系统),目标系统为第二系统(例如工作系统),则终端会从第一系统(例如生活系统)切换到第二系统(例如工作系统);反之,若终端的当前运行系统为第二系统(例如工作系统),目标系统也为第二系统(例如工作系统),则终端会继续在当前运行系统(即第二系统)下运行。For example, if the current operating system of the terminal is the first system (such as the living system) and the target system is the second system (such as the working system), the terminal will switch from the first system (such as the living system) to the second system ( For example, the working system); on the contrary, if the current running system of the terminal is the second system (such as the working system), and the target system is also the second system (such as the working system), the terminal will continue to run in the current running system (ie the second system) run under.

步骤140,在所述目标系统的环境下处理所述第一通信请求。Step 140: Process the first communication request in the environment of the target system.

举例而言,若第一通信请求为来电请求,则处理第一通信请求可具体为:例如通过触摸操作或按键操作来接听来电请求,例如通过触摸操作或按键操作来拒接来电请求等。若第一通信请求为普通短信请求,则处理第一通信请求可具体为:例如通过触摸操作或按键操作来查看短信息,例如通过触摸操作或按键操作来回复短信息等。For example, if the first communication request is an incoming call request, processing the first communication request may specifically include: answering the incoming call request through touch operation or key operation, such as rejecting the incoming call request through touch operation or key operation, etc. If the first communication request is an ordinary short message request, the processing of the first communication request may specifically include, for example, viewing a short message through a touch operation or key operation, such as replying to a short message through a touch operation or a key operation, and the like.

在本发明实施例中,所述目标系统可以为第一系统,例如生活系统。或者,所述目标系统可以为第二系统,例如工作系统。在确定出目标系统处于生活系统时,可以在生活系统的环境下处理第一通信请求在确定出目标系统处于工作系统时,可以在工作系统的环境下处理第一通信请求。在处理第一通信请求的过程中,在第一通信请求例如为来电时,可以响铃提示用户接听电话。In this embodiment of the present invention, the target system may be a first system, such as a living system. Alternatively, the target system may be a second system, such as a working system. When it is determined that the target system is in the living system, the first communication request can be processed in the environment of the living system. When it is determined that the target system is in the working system, the first communication request can be processed in the environment of the working system. In the process of processing the first communication request, when the first communication request is, for example, an incoming call, a bell may be rang to prompt the user to answer the call.

在本申请的实施例中,在接收到第一通信请求之后,先获取第一通信请求对应的标识,进而可根据获取的所述标识以及预先设置的标识和系统之间的匹配规则,确定获取的所述标识对应的目标系统,并在目标系统的环境下处理第一通信请求。如此,通过在第一通信请求对应的目标系统下处理第一通信请求,可以保证通信的安全性。In the embodiment of the present application, after the first communication request is received, the identifier corresponding to the first communication request is obtained first, and then it can be determined to obtain the identifier according to the acquired identifier and the matching rule between the preset identifier and the system The identifier corresponds to the target system, and the first communication request is processed in the environment of the target system. In this way, by processing the first communication request under the target system corresponding to the first communication request, the security of the communication can be guaranteed.

需要指出的是,在本发明实施例中,在终端处于权限受管控的目标系统(例如工作系统)之后,用户可能会在此目标系统(例如工作系统)下利用终端进行进一步操作,例如在终端上进行触摸或按键操作以触发第二通信请求。可选地,在本发明的一个实施例中,本发明实施例提供的系统切换的方法还可包括:接收触发第二通信请求的操作;在所述第二通信请求受触发时,确定执行所述第二通信请求的实施系统;在所述实施系统为所述目标系统时,将所述第二通信请求对应的标识记录在自学习列表中;在所述实施系统不为所述目标系统时,在所述实施系统的环境下发出所述第二通信请求。其中,所述第二通信请求可包括与电话或短信相关的请求。如此,可以实现终端处于目标系统时的自学习,减少用户操作,后续可基于自学习的结果进行系统切换,如此,不仅可以保证通信安全性,而且可以提高系统切换的准确性和应用范围。It should be pointed out that, in this embodiment of the present invention, after the terminal is in a target system (for example, a working system) whose authority is controlled, the user may use the terminal to perform further operations under the target system (for example, a working system), for example, on the terminal A touch or key operation is performed on the device to trigger the second communication request. Optionally, in an embodiment of the present invention, the method for system switching provided by the embodiment of the present invention may further include: receiving an operation that triggers a second communication request; and determining to execute the operation when the second communication request is triggered. the implementation system of the second communication request; when the implementation system is the target system, record the identifier corresponding to the second communication request in the self-learning list; when the implementation system is not the target system , sending the second communication request in the context of the implementation system. Wherein, the second communication request may include a request related to a phone call or a short message. In this way, self-learning when the terminal is in the target system can be realized, user operations can be reduced, and subsequent system switching can be performed based on the self-learning result, thus not only ensuring communication security, but also improving the accuracy and application range of system switching.

在本发明实施例中,自学习列表可以与标识和系统之间的匹配规则相关联。也就是说,在一个实施例中,标识和系统之间的匹配规则可包括,出现在已记录的自学习列表中的标识对应于权限受管控的所述目标系统。在此情况下,步骤13中所述基于获取的所述标识以及预先设置的标识和系统之间的匹配规则,确定获取的所述标识对应的目标系统可包括:在所述自学习列表中查找获取的所述标识;若在所述自学习列表中查找到获取的所述标识,确定所述标识对应于所述目标系统。本发明实施例基于自学习列表确定目标系统的方式不仅可以保证目标系统确定的准确性,而且通过自学习列表的不断更新可以保证后续兼容性,可以扩大应用范围。In an embodiment of the present invention, the self-learning list may be associated with a matching rule between the identification and the system. That is, in one embodiment, the matching rules between the identities and the systems may include that the identities appearing in the recorded self-learning list correspond to the target systems whose rights are controlled. In this case, in step 13, determining the target system corresponding to the acquired identifier based on the acquired identifier and a preset matching rule between the identifier and the system may include: searching in the self-learning list The acquired identifier; if the acquired identifier is found in the self-learning list, it is determined that the identifier corresponds to the target system. The method of determining the target system based on the self-learning list in the embodiment of the present invention can not only ensure the accuracy of the determination of the target system, but also can ensure the subsequent compatibility through the continuous updating of the self-learning list, and can expand the application scope.

在此情况下,用户在权限受管控的目标系统下发起的例如电话或短信操作,都可以记录在自学习列表中。进而,后续再接收到来自另一设备的例如电话或短信请求时,终端就可以在已记录的自学习列表中进行查找。如果在自学习列表中查找到与接收的例如电话或短信相对应的电话号码,则可确定出接收的电话或短信对应于目标系统,进而可在目标系统的环境下处理接收到的电话或短信。In this case, operations such as phone calls or text messages initiated by the user under the target system whose permissions are controlled can be recorded in the self-learning list. Furthermore, when a request such as a phone call or a short message is subsequently received from another device, the terminal can search in the recorded self-learning list. If the phone number corresponding to the received call or text message is found in the self-learning list, it can be determined that the received call or text message corresponds to the target system, and then the received call or text message can be processed in the context of the target system .

在本发明实施例中,实施系统可以为终端当前运行的系统。相应地,在所述第二通信请求受触发时,确定出的实施系统(例如,生活系统)不是目标系统(办公系统)的情况下,可直接在实施系统(例如,生活系统)下发出第二通信请求。举例而言,在本发明实施例中,若在出发第二通信请求时,终端并不是处于权限受管控的目标系统(例如工作系统),而是例如处于生活系统。则此时,可直接在生活系统下发出第二通信请求。In this embodiment of the present invention, the implementation system may be a system currently running on the terminal. Correspondingly, when the second communication request is triggered, if the determined implementation system (for example, the living system) is not the target system (the office system), the first communication can be sent directly under the implementation system (for example, the living system). 2. Communication request. For example, in this embodiment of the present invention, when the second communication request is sent, the terminal is not in a target system (eg, a work system) whose authority is controlled, but is, for example, in a living system. At this time, the second communication request can be sent directly under the living system.

图2是本发明实施例提供的一种基于双系统切换的终端的通讯原理组成图。参照图2,本发明实施例提供的终端可包括:主(Host)系统、生活(Home)系统、工作(Work)系统和调制解调(Modem)模块。其中:FIG. 2 is a composition diagram of a communication principle of a terminal based on dual-system handover provided by an embodiment of the present invention. 2 , a terminal provided by an embodiment of the present invention may include: a host (Host) system, a living (Home) system, a work (Work) system, and a modulation and demodulation (Modem) module. in:

主(Host)系统:虚拟化系统,提供轻量级的虚拟化,支持隔离进程和资源,而且不需要提供全虚拟化所需要的指令解释等机制,性能损耗比较小。Host system: a virtualization system that provides lightweight virtualization, supports isolation of processes and resources, and does not need to provide mechanisms such as instruction interpretation required for full virtualization, with relatively little performance loss.

生活(Home)系统:和工作系统同时运行的一个用户系统,该系统主要安装了用户日常使用的应用。Home system: a user system that runs at the same time as the work system, and the system mainly installs applications that the user uses on a daily basis.

工作系统:工作系统,和生活系统同时运行的一个用户系统,该系统主要安装了用户需要处理工作事务的应用。Work system: The work system is a user system that runs at the same time as the living system. The system mainly installs applications that the user needs to handle work affairs.

在本发明实施例中,生活(Home)系统可以为标准的智能操作系统,用户可以进行正常的手机功能操作;而工作(Work)系统可对敏感权限进行了安全管控,如限制上网,限制蓝牙、无法安装第三方应用等,工作(Work)系统主要用于开展工作业务。In the embodiment of the present invention, the home system can be a standard intelligent operating system, and the user can perform normal mobile phone function operations; while the work system can perform security management and control on sensitive permissions, such as restricting Internet access, restricting Bluetooth , Unable to install third-party applications, etc. The work system is mainly used to carry out work business.

电话(Phone)模块:安卓(Android)系统的通讯模块。Phone module: the communication module of the Android system.

Ril(Radio Interface Layer)为无线接口适配层模块,其包括两个部分,一个部分是Java层Rilj,一个部分是底层的Rild模块。Ril (Radio Interface Layer) is a wireless interface adaptation layer module, which includes two parts, one part is the Java layer Rilj, and the other part is the underlying Rild module.

Rilj:是Ril的一部分,Rilj为上层提供了通用的API(应用程序接口)接口,负责维持与Rild的通信,并将上层的请求发送给Rild模块。Rilj: It is a part of Ril. Rilj provides a common API (application program interface) interface for the upper layer, which is responsible for maintaining communication with Rild and sending upper-layer requests to the Rild module.

Rild模块:是Ril的一部分,Rild是系统的守护进程。Rild的功能主要功能是将Rilj发送过来的请求继续传递给下层的调制解调(Modem)模块,同时会及时将Modem的请求发送给Rilj。Rild module: is a part of Ril, Rild is the daemon of the system. The main function of Rild is to continue to pass the request sent by Rilj to the lower-layer Modem module, and at the same time, it will send the Modem request to Rilj in time.

AI(人工智能)模块:可以配置标识白名单,以及通过自学习得到的标识,例如电话号码。AI (Artificial Intelligence) module: You can configure a whitelist of identifiers, as well as identifiers obtained through self-learning, such as phone numbers.

系统切换模块:响应两个用户系统的系统切换命令进行系统切换,或者在满足一定条件下进行系统自动切换。System switching module: perform system switching in response to system switching commands of two user systems, or perform system automatic switching when certain conditions are met.

图3为本发明实施例提供的双系统的终端基于人工智能自主学习的方法的流程图。图3是以标识为电话号码为例进行说明,并不意为限制。参照图3,本发明实施例提供的双系统的终端基于人工智能自主学习的方法的流程图可包括:FIG. 3 is a flowchart of a method for self-learning based on artificial intelligence of a dual-system terminal according to an embodiment of the present invention. FIG. 3 takes the identification as a telephone number as an example for description, which is not intended to be limiting. Referring to FIG. 3 , a flowchart of a method for autonomous learning of a dual-system terminal based on artificial intelligence provided by an embodiment of the present invention may include:

步骤301,接收用户触发的通信请求。例如,用户在前台系统拨打电话或者发送短信。其中,前台系统可以为工作(Work)系统或者生活(Home)系统。Step 301, receiving a communication request triggered by a user. For example, the user makes a call or sends a text message in the front-end system. The foreground system may be a work (Work) system or a home (Home) system.

步骤302,前台系统的电话(Phone)模块通过RilJ将通讯数据传递到主(Host)系统的Rild模块。Step 302, the phone (Phone) module of the foreground system transmits the communication data to the Rild module of the main (Host) system through RilJ.

步骤303,主(Host)系统中的Rild模块判断通信请求是否来自于工作(Work)系统。Step 303, the Rild module in the host (Host) system determines whether the communication request comes from the work (Work) system.

步骤304,如果通信请求是来自于工作(Work)系统,Rild模块把发起通讯请求的电话号码信息传递给AI模块,AI模块从工作(Work)系统发起的通信请求中提取电话号码并进行存储。Step 304, if the communication request is from the work (Work) system, the Rild module transmits the phone number information that initiates the communication request to the AI module, and the AI module extracts the phone number from the communication request initiated by the work (Work) system and stores it.

步骤305,如果通信请求不是来自于工作(Work)系统,Rild模块将通讯数据传递到调制解调(Modem)模块,进行通讯处理,例如发出通信请求。Step 305, if the communication request does not come from the work system, the Rild module transmits the communication data to the modem module for communication processing, such as sending a communication request.

通过这个过程,AI模块处理存储了一次工作系统相关的电话号码。通过一段时间的持续学习处理,AI模块学习存储到的工作相关的电话号码就会越来越多,后续当接收到相关号码打来的电话或者短息时,分发到工作系统来处理就会越来越精确。Through this process, the AI module processes and stores the phone numbers associated with the working system at one time. After a period of continuous learning and processing, the AI module learns and stores more and more work-related phone numbers. When it receives a call or short message from the relevant number, it will be distributed to the work system for processing. more and more precise.

图4为本发明实施例提供的双系统终端的安全通话的方法的流程图。图3是以标识为电话号码为例进行说明,并不意为限制。参照图4,本发明实施例提供的双系统终端的安全通话的方法可包括:FIG. 4 is a flowchart of a method for a secure call of a dual-system terminal according to an embodiment of the present invention. FIG. 3 takes the identification as a telephone number as an example for description, which is not intended to be limiting. Referring to FIG. 4 , a method for a secure call for a dual-system terminal provided by an embodiment of the present invention may include:

步骤401,接收来电请求。此时,终端前台系统例如为生活(Home)系统。Step 401, receiving an incoming call request. At this time, the terminal foreground system is, for example, a home system.

步骤402,调制解调(Modem)模块将来电请求上报到主(Host)系统的Rild模块,Rild模块传递到AI模块。Step 402, the Modem module reports the incoming call request to the Rild module of the host system, and the Rild module transmits it to the AI module.

步骤403,当AI模块收到Rild模块传递的来电请求后,判断来电号码是否是AI模块中存储的白名单号码,或者是否是AI模块自学习存储的电话号码。Step 403, after the AI module receives the incoming call request transmitted by the Rild module, it determines whether the incoming call number is a whitelist number stored in the AI module, or whether it is a phone number stored by the AI module through self-learning.

其中,主(Host)系统中的AI模块已经配置了电话白名单,或者通过前文图3的自学习流程,学习到和工作相关的电话号码。Among them, the AI module in the main (Host) system has been configured with a phone whitelist, or has learned work-related phone numbers through the self-learning process shown in Figure 3 above.

如果来电号码是AI模块中存储的白名单号码,或者是AI模块自学习存储的电话号码,执行步骤404至步骤406。If the incoming call number is a whitelist number stored in the AI module, or a phone number stored by the AI module through self-learning, step 404 to step 406 are performed.

步骤404,主(Host)系统切换模块发起切换,将前台系统切换为工作(Work)系统。Step 404 , the host system switching module initiates switching, and switches the foreground system to the work system.

步骤405,主(Host)系统的Rild模块将数据上报到工作(Work)系统的电话(Phone)模块的RilJ。Step 405, the Rild module of the host (Host) system reports data to the RilJ of the phone (Phone) module of the work (Work) system.

步骤406,工作(Work)系统的电话(Phone)模块进行响铃处理,等待用户接听。Step 406, the phone module of the work system performs ringing processing and waits for the user to answer.

如果来电号码不是AI模块中存储的白名单号码,也不是AI模块自学习存储的电话号码,执行步骤407至步骤408。If the incoming call number is neither the whitelist number stored in the AI module nor the phone number stored by the AI module self-learning, go to step 407 to step 408.

步骤407,主(Host)系统中的Rild模块将数据上报到生活(Home)系统的电话(Phone)模块的RilJ。Step 407, the Rild module in the host (Host) system reports data to the RilJ of the phone (Phone) module in the home (Home) system.

步骤408,生活(Home)系统的电话(Phone)模块进行响铃处理,等待用户接听。Step 408, the phone module of the home system performs ringing processing and waits for the user to answer.

本发明实施例在传统双系统方案基础上增加了AI模块,该AI模块在主(Host)系统中,AI模块上可以配置政企客户的电话号码白名单,包括有该企业用户的集团短号码,或者企业固定电话等;如果是白名单上的号码来电和短信,终端系统会自动分发到工作(Work)系统来处理通讯请求。此外,AI模块可以自学习并存储用户从工作(Work)系统发出的去电和发送短信的号码信息;通过持续学习后,当双系统终端接收到来电或短信的通讯请求时,自动判断号码来确定是否需要分发到工作(Work)系统处理通讯请求。这样可保证工作相关的号码发来的通讯请求自动分发到工作(Work)系统处理。如此,保证了通信数据的安全性。The embodiment of the present invention adds an AI module on the basis of the traditional dual-system solution. The AI module is in the host system, and the AI module can be configured with a white list of telephone numbers of government and enterprise customers, including the group short number of the enterprise user. , or corporate landline, etc.; if it is an incoming call and text message from a number on the whitelist, the terminal system will automatically distribute it to the Work system to process communication requests. In addition, the AI module can self-learn and store the number information of outgoing calls and text messages sent by the user from the work system; after continuous learning, when the dual-system terminal receives a communication request for an incoming call or text message, it will automatically determine the number to come from. Determine if it needs to be distributed to the Work system to handle communication requests. This can ensure that the communication requests sent by the work-related numbers are automatically distributed to the Work system for processing. In this way, the security of the communication data is guaranteed.

图5是本发明实施例提供的一种系统切换的装置的结构框图。参照图5,本发明实施例提供的一种系统切换的装置500可包括:接收模块510和处理模块520。需了解的是,上文提到的系统切换模块和AI模块都可以属于处理模块的一部分。其中:FIG. 5 is a structural block diagram of an apparatus for system switching provided by an embodiment of the present invention. Referring to FIG. 5 , an apparatus 500 for system switching provided by an embodiment of the present invention may include: a receiving module 510 and a processing module 520 . It should be understood that both the system switching module and the AI module mentioned above can be part of the processing module. in:

接收模块510,用于接收第一通信请求;a receiving module 510, configured to receive a first communication request;

处理模块520,用于获取所述接收模块510接收的所述第一通信请求对应的标识,基于获取的所述标识以及预先设置的标识和系统之间的匹配规则,确定获取的所述标识对应的目标系统,所述目标系统为第一系统和第二系统中的一种;在所述目标系统的环境下处理所述第一通信请求。The processing module 520 is configured to acquire the identifier corresponding to the first communication request received by the receiving module 510, and based on the acquired identifier and the matching rule between the preset identifier and the system, determine that the acquired identifier corresponds to The target system is one of the first system and the second system; the first communication request is processed in the environment of the target system.

在本申请的实施例中,在接收到第一通信请求之后,先获取第一通信请求对应的标识,进而可根据获取的所述标识以及预先设置的标识和系统之间的匹配规则,确定获取的所述标识对应的目标系统,并在目标系统的环境下处理第一通信请求。如此,通过在第一通信请求对应的目标系统下处理第一通信请求,可以保证通信的安全性。In the embodiment of the present application, after the first communication request is received, the identifier corresponding to the first communication request is obtained first, and then it can be determined to obtain the identifier according to the acquired identifier and the matching rule between the preset identifier and the system The identifier corresponds to the target system, and the first communication request is processed in the environment of the target system. In this way, by processing the first communication request under the target system corresponding to the first communication request, the security of the communication can be guaranteed.

可选地,在本发明的一个实施例中,所述第一通信请求包括与电话或短信相关的请求,所述标识为电话号码。Optionally, in an embodiment of the present invention, the first communication request includes a request related to a phone call or a short message, and the identifier is a phone number.

可选地,在本发明的一个实施例中,所述目标系统为权限受管控的系统。Optionally, in an embodiment of the present invention, the target system is a system whose authority is controlled.

可选地,在本发明的一个实施例中,所述接收模块510,还用于接收触发第二通信请求的操作;所述处理模块520,还用于在所述第二通信请求受触发时,确定执行所述第二通信请求的实施系统;在所述实施系统为所述目标系统时,将所述第二通信请求对应的标识记录在自学习列表中。其中,所述第二通信请求可包括与电话或短信相关的请求Optionally, in an embodiment of the present invention, the receiving module 510 is further configured to receive an operation triggering a second communication request; the processing module 520 is further configured to trigger the second communication request when the second communication request is triggered , determine the implementation system that executes the second communication request; when the implementation system is the target system, record the identifier corresponding to the second communication request in the self-learning list. Wherein, the second communication request may include a request related to a phone call or a short message

相应地,所述装置500还包括发送模块,用于在所述实施系统不为所述目标系统时,在所述实施系统的环境下发出所述第二通信请求。Correspondingly, the apparatus 500 further includes a sending module, configured to send the second communication request in the environment of the implementing system when the implementing system is not the target system.

可选地,在本发明的一个实施例中,所述匹配规则包括:出现在所述自学习列表中的标识对应于所述目标系统;Optionally, in an embodiment of the present invention, the matching rule includes: the identifier appearing in the self-learning list corresponds to the target system;

在基于获取的所述标识以及预先设置的标识和系统之间的匹配规则,确定获取的所述标识对应的目标系统的过程中,所述处理模块520可具体用于:In the process of determining the target system corresponding to the acquired identifier based on the acquired identifier and a preset matching rule between the identifier and the system, the processing module 520 may be specifically configured to:

在所述自学习列表中查找获取的所述标识;若在所述自学习列表中查找到获取的所述标识,确定所述标识对应于所述目标系统。The acquired identifier is searched in the self-learning list; if the acquired identifier is found in the self-learning list, it is determined that the identifier corresponds to the target system.

可选地,在本发明的一个实施例中,在确定获取的所述标识对应的目标系统之后,所述处理模块520还可用于:Optionally, in an embodiment of the present invention, after determining the target system corresponding to the acquired identifier, the processing module 520 may be further configured to:

判断所述终端的当前运行系统是否为所述目标系统;若当前运行系统不是所述目标系统,切换至所述目标系统下运行;若当前运行系统是所述目标系统,保持在当前运行系统继续运行。Determine whether the current operating system of the terminal is the target system; if the current operating system is not the target system, switch to run under the target system; if the current operating system is the target system, keep the current operating system and continue run.

可选地,在本发明的一个实施例中,所述匹配规则包括:出现在预先设置的白名单中的标识对应于所述目标系统,和/或,出现在已记录的自学习列表中的标识对应于所述目标系统。Optionally, in an embodiment of the present invention, the matching rule includes: an identifier that appears in a preset whitelist corresponds to the target system, and/or an identifier that appears in a recorded self-learning list The identification corresponds to the target system.

本申请实施例还提供了一种终端,图6为本申请实施例提供的终端的结构示意图。如图6所示,终端可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上的处理器601和存储器602,存储器602中可以存储有一个或一个以上存储应用程序或数据。其中,存储器602可以是短暂存储或持久存储。存储在存储器602的应用程序可以包括一个或一个以上模块(图示未示出),每个模块可以包括对终端中的一系列计算机程序。更进一步地,处理器601可以设置为与存储器602通信,在终端上执行存储器602中的一系列计算机程序。终端还可以包括一个或一个以上电源603,一个或一个以上有线或无线网络接口604,一个或一个以上输入输出接口605,一个或一个以上键盘606等。The embodiment of the present application further provides a terminal, and FIG. 6 is a schematic structural diagram of the terminal provided by the embodiment of the present application. As shown in FIG. 6 , the terminals may vary greatly due to different configurations or performances, and may include one or more processors 601 and a memory 602, and the memory 602 may store one or more storage applications or data. Among them, the memory 602 may be short-lived storage or persistent storage. The application program stored in the memory 602 may include one or more modules (not shown), and each module may include a series of computer programs for the terminal. Furthermore, the processor 601 may be arranged to communicate with the memory 602 to execute a series of computer programs in the memory 602 on the terminal. The terminal may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input and output interfaces 605, one or more keyboards 606, and the like.

在一个具体的实施例中,终端包括存储器、处理器和存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现以下流程:In a specific embodiment, the terminal includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program implements the following processes when executed by the processor:

接收第一通信请求;receiving a first communication request;

获取所述第一通信请求对应的标识;obtaining the identifier corresponding to the first communication request;

基于获取的所述标识以及预先设置的标识和系统之间的匹配规则,确定获取的所述标识对应的目标系统,所述目标系统为第一系统和第二系统中的一种;Based on the acquired identifier and the matching rule between the preset identifier and the system, determine the target system corresponding to the acquired identifier, and the target system is one of the first system and the second system;

在所述目标系统的环境下处理所述第一通信请求。The first communication request is processed in the context of the target system.

本申请实施例提供的终端,在接收到第一通信请求之后,先获取第一通信请求对应的标识,进而可根据获取的所述标识以及预先设置的标识和系统之间的匹配规则,确定获取的所述标识对应的目标系统,并在目标系统的环境下处理第一通信请求。如此,通过在第一通信请求对应的目标系统下处理第一通信请求,可以保证通信的安全性。The terminal provided by the embodiment of the present application, after receiving the first communication request, first obtains the identifier corresponding to the first communication request, and then can determine to obtain the identifier according to the acquired identifier and the matching rule between the preset identifier and the system The identifier corresponds to the target system, and the first communication request is processed in the environment of the target system. In this way, by processing the first communication request under the target system corresponding to the first communication request, the security of the communication can be guaranteed.

可选地,所述第一通信请求包括与电话或短信相关的请求,所述标识为电话号码,所述目标系统为权限受管控的系统。Optionally, the first communication request includes a request related to a phone call or a short message, the identifier is a phone number, and the target system is a system whose authority is controlled.

可选地,所述匹配规则包括:出现在预先设置的白名单中的标识对应于所述目标系统,和/或,出现在已记录的自学习列表中的标识对应于所述目标系统。Optionally, the matching rule includes: the identifiers appearing in the preset whitelist correspond to the target system, and/or the identifiers appearing in the recorded self-learning list correspond to the target system.

可选地,所述计算机程序在被所述处理器执行时,还可以执行以下操作:接收触发第二通信请求的操作;在所述第二通信请求受触发时,确定执行所述第二通信请求的实施系统;在所述实施系统为所述目标系统时,将所述第二通信请求对应的标识记录在自学习列表中;在所述实施系统不为所述目标系统时,在所述实施系统的环境下发出所述第二通信请求。其中,所述第二通信请求可包括与电话或短信相关的请求。Optionally, when executed by the processor, the computer program may further perform the following operations: receiving an operation that triggers a second communication request; and determining to execute the second communication when the second communication request is triggered The implementation system of the request; when the implementation system is the target system, record the identifier corresponding to the second communication request in the self-learning list; when the implementation system is not the target system, in the The second communication request is issued in the context of the implementation system. Wherein, the second communication request may include a request related to a phone call or a short message.

可选地,所述匹配规则包括:出现在所述自学习列表中的标识对应于所述目标系统。所述计算机程序在被所述处理器执行时,还可以执行以下操作:在所述自学习列表中查找获取的所述标识;若在所述自学习列表中查找到获取的所述标识,确定所述标识对应于所述目标系统。Optionally, the matching rule includes: the identifier appearing in the self-learning list corresponds to the target system. When executed by the processor, the computer program may further perform the following operations: search the acquired identifier in the self-learning list; if the acquired identifier is found in the self-learning list, determine The identification corresponds to the target system.

可选地,所述计算机程序在被所述处理器执行时,还可以执行以下操作:在确定获取的所述标识对应的目标系统之后,判断所述终端的当前运行系统是否为所述目标系统;若当前运行系统不是所述目标系统,切换至所述目标系统下运行;若当前运行系统是所述目标系统,保持在当前运行系统继续运行。Optionally, when the computer program is executed by the processor, the following operations may also be performed: after determining the target system corresponding to the acquired identifier, determine whether the current operating system of the terminal is the target system ; If the current operating system is not the target system, switch to the target system to run; if the current operating system is the target system, keep running in the current operating system.

此外,本申请实施例还提供了一种非临时性计算机可读存储介质,所述存储介质用于存储计算机程序,所述计算机程序被处理器执行时实现本发明实施例提供的任一种系统切换的方法中的步骤。例如,所述计算机程序被处理器执行时实现以下操作:接收第一通信请求;获取所述第一通信请求对应的标识;基于获取的所述标识以及预先设置的标识和系统之间的匹配规则,确定获取的所述标识对应的目标系统,所述目标系统为第一系统和第二系统中的一种;在所述目标系统的环境下处理所述第一通信请求。In addition, the embodiments of the present application also provide a non-transitory computer-readable storage medium, where the storage medium is used to store a computer program, and when the computer program is executed by a processor, any system provided by the embodiments of the present invention is implemented The steps in the method of switching. For example, when the computer program is executed by the processor, the following operations are implemented: receiving a first communication request; acquiring an identifier corresponding to the first communication request; based on the acquired identifier and a preset identifier and a matching rule between systems , determining the target system corresponding to the acquired identifier, where the target system is one of the first system and the second system; and processing the first communication request in the environment of the target system.

本申请实施例提供的计算机可读存储介质,在在接收到第一通信请求之后,先获取第一通信请求对应的标识,进而可根据获取的所述标识以及预先设置的标识和系统之间的匹配规则,确定获取的所述标识对应的目标系统,并在目标系统的环境下处理第一通信请求。如此,通过在第一通信请求对应的目标系统下处理第一通信请求,可以保证通信的安全性。In the computer-readable storage medium provided by the embodiment of the present application, after receiving the first communication request, the identifier corresponding to the first communication request is firstly obtained, and then the identifier corresponding to the first communication request can be obtained according to the acquired identifier and the preset identifier and the identifier between the systems. Matching rules, determining the target system corresponding to the acquired identifier, and processing the first communication request in the environment of the target system. In this way, by processing the first communication request under the target system corresponding to the first communication request, the security of the communication can be guaranteed.

其中,所述的计算机可读存储介质包括只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The computer-readable storage medium includes a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

本领域内的技术人员应明白,本发明的实施例可提供为方法、装置、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitorymedia),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.

还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a series of elements includes not only those elements, but also Other elements not expressly listed or inherent to such a process, method, article of manufacture or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture or device that includes the element.

本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。It will be appreciated by those skilled in the art that the embodiments of the present application may be provided as a method, a system or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve desirable results. Additionally, the processes depicted in the figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for related parts, please refer to the partial descriptions of the method embodiments.

以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above descriptions are merely examples of the present application, and are not intended to limit the present application. Various modifications and variations of this application are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.

Claims (12)

1.一种系统切换的方法,应用于终端,其特征在于,所述终端中设置有第一系统和第二系统,所述方法包括:1. A method for system switching, applied to a terminal, wherein the terminal is provided with a first system and a second system, the method comprising: 接收第一通信请求;receiving a first communication request; 获取所述第一通信请求对应的标识;obtaining the identifier corresponding to the first communication request; 基于获取的所述标识以及预先设置的标识和系统之间的匹配规则,确定获取的所述标识对应的目标系统,所述目标系统为所述第一系统和所述第二系统中的一种;Based on the acquired identifier and a preset matching rule between the identifier and the system, a target system corresponding to the acquired identifier is determined, and the target system is one of the first system and the second system ; 在所述目标系统的环境下处理所述第一通信请求。The first communication request is processed in the context of the target system. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, wherein the method further comprises: 接收触发第二通信请求的操作;receiving an operation that triggers the second communication request; 在所述第二通信请求受触发时,确定执行所述第二通信请求的实施系统;When the second communication request is triggered, determine an implementation system that executes the second communication request; 在所述实施系统为所述目标系统时,将所述第二通信请求对应的标识记录在自学习列表中;When the implementation system is the target system, recording the identifier corresponding to the second communication request in the self-learning list; 在所述实施系统不为所述目标系统时,在所述实施系统的环境下发出所述第二通信请求。When the implementation system is not the target system, the second communication request is issued in the context of the implementation system. 3.根据权利要求2所述的方法,其特征在于,所述匹配规则包括:出现在所述自学习列表中的标识对应于所述目标系统;3. The method according to claim 2, wherein the matching rule comprises: the identification appearing in the self-learning list corresponds to the target system; 所述基于获取的所述标识以及预先设置的标识和系统之间的匹配规则,确定获取的所述标识对应的目标系统包括:Based on the acquired identifier and the matching rule between the preset identifier and the system, determining the target system corresponding to the acquired identifier includes: 在所述自学习列表中查找获取的所述标识;Find the acquired identifier in the self-learning list; 若在所述自学习列表中查找到获取的所述标识,确定所述标识对应于所述目标系统。If the acquired identifier is found in the self-learning list, it is determined that the identifier corresponds to the target system. 4.根据权利要求1所述的方法,其特征在于,在所述确定获取的所述标识对应的目标系统之后,所述方法还包括:4. The method according to claim 1, wherein after the determining the target system corresponding to the acquired identifier, the method further comprises: 判断所述终端的当前运行系统是否为所述目标系统;Determine whether the current operating system of the terminal is the target system; 若当前运行系统不是所述目标系统,切换至所述目标系统下运行;If the current operating system is not the target system, switch to the target system to run; 若当前运行系统是所述目标系统,保持在当前运行系统继续运行。If the current operating system is the target system, keep the current operating system and continue to operate. 5.根据权利要求1所述的方法,其特征在于,所述匹配规则包括:出现在预先设置的白名单中的标识对应于所述目标系统,和/或,出现在已记录的自学习列表中的标识对应于所述目标系统。5. The method according to claim 1, wherein the matching rule comprises: an identifier appearing in a preset whitelist corresponds to the target system, and/or appearing in a recorded self-learning list The identifier in corresponds to the target system. 6.根据权利要求2或3所述的方法,其特征在于,所述第一通信请求包括与电话或短信相关的请求,所述标识为电话号码,所述目标系统为权限受管控的系统,所述第二通信请求包括与电话或短信相关的请求。6. The method according to claim 2 or 3, wherein the first communication request comprises a request related to a phone call or a short message, the identifier is a phone number, and the target system is a system whose authority is controlled, The second communication request includes a request related to a phone call or a short message. 7.一种系统切换的装置,其特征在于,包括:7. A system switching device, comprising: 接收模块,用于接收第一通信请求;a receiving module for receiving the first communication request; 处理模块,用于获取所述接收模块接收的所述第一通信请求对应的标识,基于获取的所述标识以及预先设置的标识和系统之间的匹配规则,确定获取的所述标识对应的目标系统,所述目标系统为第一系统和第二系统中的一种;在所述目标系统的环境下处理所述第一通信请求。a processing module, configured to acquire the corresponding identifier of the first communication request received by the receiving module, and determine the target corresponding to the acquired identifier based on the acquired identifier and the matching rule between the preset identifier and the system system, the target system is one of the first system and the second system; the first communication request is processed in the environment of the target system. 8.根据权利要求7所述的装置,其特征在于,8. The device of claim 7, wherein 所述接收模块,还用于接收触发第二通信请求的操作;The receiving module is further configured to receive an operation that triggers the second communication request; 所述处理模块,还用于在所述第二通信请求受触发时,确定执行所述第二通信请求的实施系统;在所述实施系统为所述目标系统时,将所述第二通信请求对应的标识记录在自学习列表中;The processing module is further configured to determine an implementation system that executes the second communication request when the second communication request is triggered; and when the implementation system is the target system, send the second communication request The corresponding identification is recorded in the self-learning list; 所述装置还包括发送模块,用于在所述实施系统不为所述目标系统时,在所述实施系统的环境下发出所述第二通信请求。The apparatus further includes a sending module configured to send the second communication request under the environment of the implementing system when the implementing system is not the target system. 9.根据权利要求8所述的装置,其特征在于,所述匹配规则包括:出现在所述自学习列表中的标识对应于所述目标系统;9. The apparatus according to claim 8, wherein the matching rule comprises: the identifier appearing in the self-learning list corresponds to the target system; 在基于获取的所述标识以及预先设置的标识和系统之间的匹配规则,确定获取的所述标识对应的目标系统的过程中,所述处理模块具体用于:In the process of determining the target system corresponding to the acquired identifier based on the acquired identifier and the matching rule between the preset identifier and the system, the processing module is specifically configured to: 在所述自学习列表中查找获取的所述标识;Find the acquired identifier in the self-learning list; 若在所述自学习列表中查找到获取的所述标识,确定所述标识对应于所述目标系统。If the acquired identifier is found in the self-learning list, it is determined that the identifier corresponds to the target system. 10.根据权利要求8或9所述的装置,其特征在于,所述第一通信请求包括与电话或短信相关的请求,所述标识为电话号码,所述目标系统为权限受管控的系统,所述第二通信请求包括与电话或短信相关的请求。10. The device according to claim 8 or 9, wherein the first communication request comprises a request related to a phone call or a short message, the identifier is a phone number, and the target system is a system whose authority is controlled, The second communication request includes a request related to a phone call or a short message. 11.一种终端,其特征在于,包括存储器和处理器,所述存储器上存储计算机程序,当所述计算机程序被执行时,实现根据权利要求1至6中任一项所述的方法中的步骤。11. A terminal, comprising a memory and a processor, wherein a computer program is stored on the memory, and when the computer program is executed, the method according to any one of claims 1 to 6 is implemented. step. 12.一种非临时性计算机可读存储介质,其特征在于,所述存储介质上存储计算机程序,当所述计算机程序被执行时,实现根据权利要求1至6中任一项所述的方法中的步骤。12. A non-transitory computer-readable storage medium, wherein a computer program is stored on the storage medium, and when the computer program is executed, the method according to any one of claims 1 to 6 is implemented steps in .
CN201910216572.6A 2019-03-21 2019-03-21 System switching method, device, terminal and readable storage medium Active CN111726453B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910216572.6A CN111726453B (en) 2019-03-21 2019-03-21 System switching method, device, terminal and readable storage medium
PCT/CN2020/071988 WO2020186918A1 (en) 2019-03-21 2020-01-14 System switching method and apparatus, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910216572.6A CN111726453B (en) 2019-03-21 2019-03-21 System switching method, device, terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN111726453A true CN111726453A (en) 2020-09-29
CN111726453B CN111726453B (en) 2022-06-03

Family

ID=72518961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910216572.6A Active CN111726453B (en) 2019-03-21 2019-03-21 System switching method, device, terminal and readable storage medium

Country Status (2)

Country Link
CN (1) CN111726453B (en)
WO (1) WO2020186918A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114640738B (en) * 2020-12-15 2024-10-29 鼎桥通信技术有限公司 Communication method, device, mobile terminal and readable storage medium
CN113656077A (en) * 2021-07-23 2021-11-16 北京鸿合爱学教育科技有限公司 Function setting method and related equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468611A (en) * 2014-12-24 2015-03-25 宇龙计算机通信科技(深圳)有限公司 Data security processing method and device based on dual-system switching
CN105635428A (en) * 2015-03-23 2016-06-01 西安酷派软件科技有限公司 Notice processing method, notice processing device and terminal
CN105847524A (en) * 2015-01-15 2016-08-10 宇龙计算机通信科技(深圳)有限公司 Dual-system-based communication method and terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8077845B2 (en) * 2007-06-27 2011-12-13 Honeywell International Inc. Remote control of a security system using telephone device
CN104243716B (en) * 2014-09-28 2017-02-08 酷派软件技术(深圳)有限公司 Information acquiring method and device
CN105049630B (en) * 2015-08-07 2018-06-19 北京元心科技有限公司 The telephone receiving method of intelligent terminal and its multisystem
CN105554259B (en) * 2015-12-11 2019-07-19 北京元心科技有限公司 Multi-system-based method for preventing telephone conflict and intelligent terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468611A (en) * 2014-12-24 2015-03-25 宇龙计算机通信科技(深圳)有限公司 Data security processing method and device based on dual-system switching
CN105847524A (en) * 2015-01-15 2016-08-10 宇龙计算机通信科技(深圳)有限公司 Dual-system-based communication method and terminal
CN105635428A (en) * 2015-03-23 2016-06-01 西安酷派软件科技有限公司 Notice processing method, notice processing device and terminal

Also Published As

Publication number Publication date
CN111726453B (en) 2022-06-03
WO2020186918A1 (en) 2020-09-24

Similar Documents

Publication Publication Date Title
US9747120B2 (en) Mobile device with virtual interfaces
JP2020533628A (en) Selective voice-activated memory for voice capture devices
WO2016000636A1 (en) Communications processing method and system
US8738791B1 (en) Location based network usage policies
US9065788B2 (en) Method, device and system for voice communication
US10264109B2 (en) Contact synchronization between related devices of a subscriber account
US20140029478A1 (en) Voip service with streamlined call transfer options
US20160088151A1 (en) Communication method, apparatus, and system
CN111726453A (en) System switching method, device and terminal
US9185148B1 (en) Methods and systems for efficient discovery of devices in a peer-to-peer network
EP2974159A1 (en) Method, device and system for voice communication
US20140297817A1 (en) Managing Software Operations Based Upon User Status In A Unified Communications Environment
CN111010479A (en) Information sharing method, mobile terminal and computer storage medium
US11563782B2 (en) Enriched calling based call routing
US9602964B1 (en) Current location-based communication with mobile devices
US10165117B2 (en) Call handling based on augmented caller information
US11271975B2 (en) Enriched calling based call type notification
US20140359147A1 (en) Systems and methods of communicating via a web browser
US10129366B2 (en) Callee condition based communication with mobile devices
US9473888B1 (en) Location-based communication with mobile devices
CA2912703C (en) Location based network usage policies
US9622043B2 (en) Past location-based communication with mobile devices
US20250016530A1 (en) Systems and methods for providing numbers-as-a-platform services
CN114329655A (en) Control method and device of USB interface, storage medium and processor
WO2016054929A1 (en) Multiple terminal calling method, mobile terminal, wireless router and storage medium

Legal Events

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