CN108600078A - A kind of method and terminal of communication - Google Patents
A kind of method and terminal of communication Download PDFInfo
- Publication number
- CN108600078A CN108600078A CN201810191109.6A CN201810191109A CN108600078A CN 108600078 A CN108600078 A CN 108600078A CN 201810191109 A CN201810191109 A CN 201810191109A CN 108600078 A CN108600078 A CN 108600078A
- Authority
- CN
- China
- Prior art keywords
- communication
- group
- communication object
- terminal
- user
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/56—Unified messaging, e.g. interactions between e-mail, instant messaging or converged IP messaging [CPM]
-
- G06Q10/40—
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Stored Programmes (AREA)
Abstract
本发明实施例提供一种通信的方法及终端,涉及通信技术领域,可以解决终端通信的灵活性较低的问题。该方法包括:接收用户的第一操作,第一操作为触发生成第一通信群组的操作;响应于第一操作,生成第一通信群组,第一通信群组中至少包括第一通信对象和第二通信对象,第一通信对象为第一类应用对应的通信对象,第二通信对象为第二类应用对应的通信对象;控制第一通信对象和第二通信对象在第一通信群组中传输消息。该方法具体应用于不同类别的通讯应用交互的过程中。
Embodiments of the present invention provide a communication method and a terminal, relate to the technical field of communication, and can solve the problem of low flexibility of terminal communication. The method includes: receiving a first operation of a user, the first operation triggering the generation of a first communication group; in response to the first operation, generating a first communication group, the first communication group includes at least the first communication object and the second communication object, the first communication object is the communication object corresponding to the first type of application, the second communication object is the communication object corresponding to the second type of application; control the first communication object and the second communication object in the first communication group transfer messages. The method is specifically applied in the process of interaction between different types of communication applications.
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种通信的方法及终端。The embodiments of the present invention relate to the technical field of communication, and in particular, to a communication method and terminal.
背景技术Background technique
随着通信技术的发展,手机、平板电脑等终端的智能化程度不断提高,以满足用户的各种需求。例如,用户对两个或多个终端之间通信的灵活性要求越来越高。With the development of communication technology, terminals such as mobile phones and tablet computers are becoming more and more intelligent to meet various needs of users. For example, users have higher and higher requirements on the flexibility of communication between two or more terminals.
现有技术中,两个终端之间的通信可以通过同一类别的具有通讯功能的应用程序(记为聊天应用)实现,而不能通过不同类别的聊天应用实现。例如,在终端1与终端2通信的场景中,终端1可以通过终端1中安装的类别为A的聊天应用(记为聊天应用A)与终端2中安装的聊天应用A通信,而不能通过终端1中安装的聊天应用A与终端2中安装的类别为B的聊天应用通信。如此,导致终端通信的灵活性较低。In the prior art, the communication between two terminals can be realized through the same type of application program (denoted as a chat application) having a communication function, but cannot be realized through different types of chat applications. For example, in the scenario where terminal 1 communicates with terminal 2, terminal 1 can communicate with chat application A installed in terminal 2 through a chat application of category A (denoted as chat application A) installed in terminal 1, but cannot communicate with chat application A installed in terminal 2. The chat application A installed in terminal 1 communicates with the chat application of category B installed in terminal 2 . In this way, the flexibility of terminal communication is low.
发明内容Contents of the invention
本发明实施例提供一种通信的方法及终端,可以解决终端通信灵活性较低的问题。Embodiments of the present invention provide a communication method and a terminal, which can solve the problem of low communication flexibility of the terminal.
为了解决上述技术问题,本发明实施例是这样实现的:In order to solve the above-mentioned technical problems, the embodiment of the present invention is implemented as follows:
第一方面,本发明实施例提供一种通信的方法,该方法包括:接收用户的第一操作,第一操作为触发生成第一通信群组的操作;响应于第一操作,生成第一通信群组,第一通信群组中至少包括第一通信对象和第二通信对象,第一通信对象为第一类应用对应的通信对象,第二通信对象为第二类应用对应的通信对象;控制第一通信对象和第二通信对象在第一通信群组中传输消息。In the first aspect, the embodiment of the present invention provides a communication method, the method includes: receiving a first operation of a user, the first operation is an operation triggering the generation of a first communication group; in response to the first operation, generating a first communication Group, the first communication group includes at least a first communication object and a second communication object, the first communication object is a communication object corresponding to the first type of application, and the second communication object is a communication object corresponding to the second type of application; control The first communication object and the second communication object transmit messages in the first communication group.
第二方面,本发明实施例还提供了一种终端,该终端包括:接收模块、生成模块和传输模块;接收模块,用于接收用户的第一操作,第一操作为触发生成第一通信群组的操作;生成模块,用于响应于接收模块接收的第一操作,生成第一通信群组,第一通信群组中至少包括第一通信对象和第二通信对象,第一通信对象为第一类应用对应的通信对象,第二通信对象为第二类应用对应的通信对象;传输模块,用于控制第一通信对象和第二通信对象在生成模块生成的第一通信群组中传输消息。In the second aspect, the embodiment of the present invention also provides a terminal, the terminal includes: a receiving module, a generating module, and a transmitting module; the receiving module is used to receive the first operation of the user, and the first operation is to trigger the generation of the first communication group The operation of the group; the generation module is used to generate the first communication group in response to the first operation received by the receiving module, the first communication group includes at least the first communication object and the second communication object, and the first communication object is the first communication object The communication object corresponding to a class of applications, the second communication object is the communication object corresponding to the second type of application; the transmission module is used to control the first communication object and the second communication object to transmit messages in the first communication group generated by the generation module .
第三方面,本发明实施例提供了一种终端,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面所述的通信的方法的步骤。In a third aspect, an embodiment of the present invention provides a terminal, including a processor, a memory, and a computer program stored in the memory and operable on the processor. When the computer program is executed by the processor, the first The steps of the method of communicating described in the aspect.
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面所述的通信的方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the communication method described in the first aspect are implemented. .
本发明实施例中,终端可以针对不同类别的通讯应用中的通信对象建立通信群组,使得不同类别的通信对象可以通过该通信群组传输消息。如此,使得终端可以通过不同类别的通讯应用交互以传输消息。从而,即使两个通讯应用的类别不同,该两个通讯应用之间也可以传输消息,提高了终端通信的灵活性。In the embodiment of the present invention, the terminal can establish a communication group for communication objects in different types of communication applications, so that communication objects of different types can transmit messages through the communication group. In this way, the terminal can interact with different types of communication applications to transmit messages. Therefore, even if the types of the two communication applications are different, messages can be transmitted between the two communication applications, which improves the flexibility of terminal communication.
附图说明Description of drawings
图1为本发明实施例提供的一种可能的安卓操作系统的架构示意图;Fig. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention;
图2为本发明实施例提供的一种通信的方法的流程示意图;FIG. 2 is a schematic flowchart of a communication method provided by an embodiment of the present invention;
图3为本发明实施例提供的另一种通信的方法的流程示意图;FIG. 3 is a schematic flowchart of another communication method provided by an embodiment of the present invention;
图4为本发明实施例提供的一种可能的终端的结构示意图;FIG. 4 is a schematic structural diagram of a possible terminal provided by an embodiment of the present invention;
图5为本发明实施例提供的另一种可能的终端的结构示意图;FIG. 5 is a schematic structural diagram of another possible terminal provided by an embodiment of the present invention;
图6为本发明实施例提供的一种终端的硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure of a terminal provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
需要说明的是,本文中的“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。“多个”是指两个或多于两个。It should be noted that "/" in this article means or, for example, A/B can mean A or B; "and/or" in this article is just an association relationship describing associated objects, indicating that there can be three A relationship, for example, A and/or B, can mean: A exists alone, A and B exist simultaneously, and B exists alone. "A plurality" means two or more than two.
需要说明的是,本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used for example, illustration or illustration. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention shall not be construed as being more preferred or more advantageous than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
本发明的说明书和权利要求书中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一操作、第二操作、第三操作和第四操作等是用于区别不同的操作,而不是用于描述操作的特定顺序。The terms "first", "second", "third" and "fourth" in the specification and claims of the present invention are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first operation, the second operation, the third operation, and the fourth operation are used to distinguish different operations, rather than to describe a specific order of operations.
本发明实施例提供的通信的方法,可以关联终端中安装的不同类别的通讯应用,如管理该不同类别的通讯应用对应的通信对象。从而,实现不同类别的通讯应用中的通信对象之间传输消息,以提高终端通信的灵活性。The communication method provided by the embodiment of the present invention can be associated with different types of communication applications installed in the terminal, such as managing communication objects corresponding to the different types of communication applications. Therefore, message transmission between communication objects in different types of communication applications is realized, so as to improve the flexibility of terminal communication.
本发明实施例中的终端可以为具有操作系统的终端。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The terminal in this embodiment of the present invention may be a terminal with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present invention.
下面以安卓操作系统为例,介绍一下本发明实施例提供的通信的方法所应用的软件环境。The following uses the Android operating system as an example to introduce the software environment to which the communication method provided by the embodiment of the present invention is applied.
如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1 , it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention. In FIG. 1 , the architecture of the Android operating system includes four layers, namely: an application layer, an application framework layer, a system runtime layer and a kernel layer (specifically, the Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。Wherein, the application program layer includes various application programs (including system application programs and third-party application programs) in the Android operating system.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。例如,系统设置应用、系统聊天应用和系统相机应用等应用程序。第三方设置应用、第三方相机应用和第三方聊天应用等应用程序。The application program framework layer is the application program framework, and developers can develop some applications based on the application program framework layer while complying with the development principles of the application program framework layer. For example, applications such as the system settings application, the system chat application, and the system camera application. Apps such as third-party settings apps, third-party camera apps, and third-party chat apps.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes libraries (also called system libraries) and the Android operating system runtime environment. The library mainly provides various resources required by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the bottom layer of the Android operating system software layer. The kernel layer provides core system services and hardware-related drivers for the Android operating system based on the Linux kernel.
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的通信的方法的软件程序,从而使得该通信的方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的通信的方法。Taking the Android operating system as an example, in the embodiment of the present invention, developers can develop a software program that implements the communication method provided in the embodiment of the present invention based on the system architecture of the Android operating system shown in Figure 1 above, so that the communication The method can run based on the Android operating system as shown in Figure 1. That is, the processor or the terminal device can implement the communication method provided by the embodiment of the present invention by running the software program in the Android operating system.
下面结合图2所示的通信的方法的流程图对本发明实施例提供的通信的方法进行详细描述。其中,虽然在方法流程图中示出了本发明实施例提供的通信方法的逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。例如,图2中示出的通信的方法可以包括S201-S203:The following describes the communication method provided by the embodiment of the present invention in detail with reference to the flowchart of the communication method shown in FIG. 2 . Wherein, although the logic sequence of the communication method provided by the embodiment of the present invention is shown in the method flow chart, in some cases, the steps shown or described may be performed in a different order than here. For example, the communication method shown in Figure 2 may include S201-S203:
S201、终端接收用户的第一操作。S201. The terminal receives a first operation of a user.
其中,第一操作为触发终端生成第一通信群组的操作。Wherein, the first operation is an operation of triggering the terminal to generate the first communication group.
需要说明的是,本发明实施例提供的终端可以具有触控屏,该触控屏可以用于接收用户的操作,并响应于该操作向该用户显示该操作对应的内容。其中,上述第一操作可以为触屏操作、指纹操作、重力操作、按键操作等。触屏操作为用户对终端的触控屏的按压操作、长按操作、滑动操作、点击操作、悬浮操作(用户在触控屏附近的操作)等操作。指纹操作为用户对终端的指纹识别器的滑动指纹、长按指纹、单击指纹和双击指纹等操作。重力操作为用户对终端特定方向的晃动、特定次数的晃动等操作。按键操作对应于用户对终端的电源键、音量键、Home键等按键的单击操作、双击操作、长按操作、组合按键操作等操作。具体的,本发明实施例对第一操作的方式不作具体限定,可以为任一可实现的方式。It should be noted that the terminal provided in the embodiment of the present invention may have a touch screen, and the touch screen may be used to receive an operation of a user, and display content corresponding to the operation to the user in response to the operation. Wherein, the above-mentioned first operation may be a touch screen operation, a fingerprint operation, a gravity operation, a button operation, and the like. The touch screen operation refers to operations such as pressing operation, long pressing operation, sliding operation, clicking operation, and hovering operation (operation performed by the user near the touch screen) on the touch screen of the terminal by the user. The fingerprint operation refers to the user's operations on the terminal's fingerprint reader, such as swiping fingerprints, long-pressing fingerprints, single-clicking fingerprints, and double-clicking fingerprints. Gravity operation refers to operations such as shaking the terminal in a specific direction or a specific number of times by the user. The button operation corresponds to the user's operations such as single-click operation, double-click operation, long-press operation, and combined button operation on the power button, volume button, and Home button of the terminal. Specifically, the embodiment of the present invention does not specifically limit the manner of the first operation, and may be any implementable manner.
S202、响应于第一操作,终端生成第一通信群组,第一通信群组中至少包括第一通信对象和第二通信对象,第一通信对象为第一类应用对应的通信对象,第二通信对象为第二类应用对应的通信对象。S202. In response to the first operation, the terminal generates a first communication group, the first communication group includes at least a first communication object and a second communication object, the first communication object is a communication object corresponding to the first type of application, and the second communication object The communication object is a communication object corresponding to the second type of application.
需要说明的是,上述第一类应用和第二类应用均为通讯类应用,且上述第一类应用和第二类应用的类别不同。It should be noted that the above-mentioned first-type applications and the second-type applications are both communication-type applications, and the above-mentioned first-type applications and the second-type applications are of different types.
可以理解的是,同一类型的多个通讯应用中每个通讯应用对应一个账号,且该多个通讯应用中每个通讯应用对应的账号不同;不同类型的通讯应用对应的账号也不同。其中,本发明实施例提供的一个通信对象为一类通讯应用对应的一个账号。其中,一个终端中可以安装多种类别的通讯应用。不同终端中安装的通讯应用的类别相同或不同。本发明实施例中提供的终端中安装有需要传输消息的所有通讯应用。It can be understood that, among the plurality of communication applications of the same type, each communication application corresponds to an account, and the accounts corresponding to each communication application among the plurality of communication applications are different; the accounts corresponding to different types of communication applications are also different. Wherein, a communication object provided by the embodiment of the present invention is an account corresponding to a type of communication application. Wherein, multiple types of communication applications may be installed in one terminal. The types of communication applications installed in different terminals are the same or different. All communication applications that need to transmit messages are installed in the terminal provided in the embodiment of the present invention.
需要说明的是,上述第一通信群组中包括第一类应用对应的机主通信对象(记为通信对象1)和第二类应用对应的机主通信对象(记为通信对象2)。It should be noted that the above-mentioned first communication group includes the owner communication object corresponding to the first type of application (denoted as communication object 1) and the owner communication object corresponding to the second type of application (denoted as communication object 2).
具体的,本发明实施例提供的通信的方法可以应用在以下四种场景中:Specifically, the communication method provided by the embodiment of the present invention can be applied in the following four scenarios:
场景1、本发明实施例提供的第一通信对象和第二通信对象均为机主用户对应的通信对象,即第一通信对象是上述通信对象1且第二通信对象是上述通信对象2。Scenario 1. Both the first communication object and the second communication object provided by the embodiment of the present invention are communication objects corresponding to the owner and user, that is, the first communication object is the above-mentioned communication object 1 and the second communication object is the above-mentioned communication object 2 .
此时,终端生成的第一通信群组中至少包括通信对象1和通信对象2。At this time, the first communication group generated by the terminal includes at least the communication object 1 and the communication object 2 .
场景2、本发明实施例提供的第一通信对象不是机主用户对应的通信对象,且第二通信是机主用户对应的通信对象,即第一通信对象不是上述通信对象1且第二通信对象是上述通信对象2。Scenario 2. The first communication object provided by the embodiment of the present invention is not the communication object corresponding to the owner user, and the second communication is the communication object corresponding to the owner user, that is, the first communication object is not the communication object 1 above and the second communication object is the above communication object 2.
此时,终端生成的第一通信群组中至少包括上述第一通信对象(记为通信对象3)和上述通信对象1以及通信对象2。其中,终端在接收到第一操作之后,即用户控制终端将通信对象3和通信对象2添加至上述第一通信群组之后,终端可以自动将上述通信对象1添加至第一通信群组中。At this time, the first communication group generated by the terminal includes at least the above-mentioned first communication object (denoted as communication object 3 ), the above-mentioned communication object 1 and communication object 2 . Wherein, after the terminal receives the first operation, that is, after the user controls the terminal to add the communication object 3 and the communication object 2 to the first communication group, the terminal can automatically add the communication object 1 to the first communication group.
场景3、本发明实施例提供的第一通信对象是机主用户对应的通信对象,且第二通信不是机主用户对应的通信对象,即第一通信对象是上述通信对象1且第二通信对象不是上述通信对象2。Scenario 3. The first communication object provided by the embodiment of the present invention is the communication object corresponding to the owner and the user, and the second communication is not the communication object corresponding to the owner and user, that is, the first communication object is the above-mentioned communication object 1 and the second communication object Not the communication partner 2 above.
此时,终端生成的第一通信群组中至少包括第二通信对象(记为通信对象4)和上述通信对象1和通信对象2。其中,终端在接收到第一操作之后,即用户控制终端将通信对象1以及通信对象4添加至上述第一通信群组之后,可以自动将上述通信对象2添加至第一通信群组中。At this time, the first communication group generated by the terminal includes at least the second communication object (denoted as communication object 4 ) and the above-mentioned communication object 1 and communication object 2 . Wherein, after the terminal receives the first operation, that is, after the user controls the terminal to add the communication object 1 and the communication object 4 to the first communication group, it can automatically add the communication object 2 to the first communication group.
场景4、本发明实施例提供的第一通信对象和第二通信均不是机主用户对应的通信对象,即第一通信对象不是上述通信对象1且第二通信对象不是上述通信对象2。Scenario 4. The first communication object and the second communication object provided by the embodiment of the present invention are not the communication object corresponding to the owner and user, that is, the first communication object is not the above-mentioned communication object 1 and the second communication object is not the above-mentioned communication object 2.
此时,终端生成的第一通信群组中至少包括通信对象1和通信对象2,以及上述第一通信对象(即通信对象3)和上述第二通信对象(即通信对象4)。其中,终端在接收到第一操作之后,即用户控制终端将通信对象3以及通信对象4添加至上述第一通信群组之后,终端可以自动将上述通信对象1和通信对象2添加至第一通信群组中。At this time, the first communication group generated by the terminal includes at least communication object 1 and communication object 2, as well as the above-mentioned first communication object (ie, communication object 3) and the above-mentioned second communication object (ie, communication object 4). Wherein, after the terminal receives the first operation, that is, after the user controls the terminal to add the communication object 3 and the communication object 4 to the above-mentioned first communication group, the terminal can automatically add the above-mentioned communication object 1 and communication object 2 to the first communication group. in the group.
S203、终端控制第一通信对象和第二通信对象在第一通信群组中传输消息。S203. The terminal controls the first communication object and the second communication object to transmit messages in the first communication group.
可以理解的是,第一通信群组中的各个通信对象均可以在该第一通信群组中传输消息。It can be understood that each communication object in the first communication group can transmit messages in the first communication group.
一般而言,同一类别的通讯应用对应的多个通信对象之间通过该通讯应用对应的服务器传输消息。示例性的,第一类应用对应的多个通信对象之间传输消息通过第一类应用对应的服务器(记为服务器1);第二类应用对应的多个通信对象之间传输消息通过第二类应用对应的服务器(记为服务器2)。Generally speaking, multiple communication objects corresponding to a communication application of the same type transmit messages through a server corresponding to the communication application. Exemplarily, messages are transmitted between multiple communication objects corresponding to the first type of application through the server corresponding to the first type of application (denoted as server 1); messages between multiple communication objects corresponding to the second type of application are transmitted through the second The server corresponding to the class application (denoted as server 2).
需要强调的是,本发明实施例提供的通信的方法,终端中的多个通信对象之间传输消息具体通过相应的服务器传输。具体的,上述通信对象1和上述通信对象2之间传输消息可以是通过上述服务器1和上述服务器2。It should be emphasized that, in the communication method provided by the embodiment of the present invention, messages are transmitted between multiple communication objects in the terminal through corresponding servers. Specifically, the message transmission between the above-mentioned communication object 1 and the above-mentioned communication object 2 may be through the above-mentioned server 1 and the above-mentioned server 2 .
类似的,用户可以控制终端生成包括上述第一通信群组的多个通信群组,并分别控制各个通信群组中的通信对象传输消息。Similarly, the user may control the terminal to generate multiple communication groups including the above-mentioned first communication group, and control the communication objects in each communication group to transmit messages respectively.
另外,本发明实施例提供的消息可以包括文本、图片、视频和压缩文件等,本发明实施例对此不作限定。In addition, the message provided in the embodiment of the present invention may include text, picture, video, compressed file, etc., which is not limited in the embodiment of the present invention.
需要说明的是,本发明实施例提供的通信的方法,终端可以针对不同类别的通讯应用中的通信对象建立通信群组,使得不同类别的通信对象可以通过该通信群组传输消息。如此,使得终端可以通过不同类别的通讯应用交互以传输消息。从而,即使两个通讯应用的类别不同,该两个通讯应用之间也可以传输消息,提高了终端通信的灵活性。It should be noted that, in the communication method provided by the embodiment of the present invention, the terminal can establish a communication group for communication objects in different types of communication applications, so that different types of communication objects can transmit messages through the communication group. In this way, the terminal can interact with different types of communication applications to transmit messages. Therefore, even if the types of the two communication applications are different, messages can be transmitted between the two communication applications, which improves the flexibility of terminal communication.
在一种可能的实现方式中,上述第一操作具体可以用户在终端特定的界面中输入的。具体的,上述S201可以替换为S201a:In a possible implementation manner, the foregoing first operation may specifically be input by the user in a terminal-specific interface. Specifically, the above S201 can be replaced by S201a:
S201a、在终端显示群组设置界面时,接收用户的第一操作。S201a. When the terminal displays the group setting interface, receive a first operation of the user.
其中,群组设置界面用于用户设置通信群组。上述群组设置界面为第一类应用的界面,或者,群组设置界面为第二类应用的界面,或者上述群组设置界面为第三类应用的界面,或者群组设置界面为终端的群组引擎的界面,该群组引擎用于关联不同类别的通讯应用对应的通信对象。其中,上述第三类应用为终端中安装的除上述第一类应用和第二类应用之外的另一类别的通讯应用。Wherein, the group setting interface is used for the user to set up a communication group. The above-mentioned group setting interface is the interface of the first type of application, or the group setting interface is the interface of the second type of application, or the above-mentioned group setting interface is the interface of the third type of application, or the group setting interface is the terminal group An interface of a group engine, the group engine is used for associating communication objects corresponding to different types of communication applications. Wherein, the above third type of application is another type of communication application installed in the terminal besides the above first type of application and the second type of application.
示例性的,用户可以在上述群组设置界面控制终端创建一个通信群组,并对该通信群组进行设置,如设置该通信群组中的通信对象和该通信群组的状态(如创建状态)、以及为该通信群组中传输的消息分配存储区域。可以理解的是,上述群组设置界面为终端中一个通讯应用(记为通讯应用1)的界面时,该通讯应用可以包括整合终端中安装的各个通讯应用的资源的引擎,即关联终端中安装的各个通讯应用对应的通信对象以生成上述第一通信群组。Exemplarily, the user can control the terminal to create a communication group on the above-mentioned group setting interface, and set the communication group, such as setting the communication objects in the communication group and the status of the communication group (such as the creation status ), and allocate a storage area for the messages transmitted in the communication group. It can be understood that when the above-mentioned group setting interface is an interface of a communication application (denoted as communication application 1) in the terminal, the communication application may include an engine that integrates the resources of each communication application installed in the terminal, that is, an engine installed in the associated terminal The communication objects corresponding to each communication application of the above-mentioned first communication group are generated.
具体的,上述终端的群组引擎用于关联终端中安装的各个通讯应用对应的通信对象以生成上述第一通信群组,该群聊引擎可以由终端的设置应用提供。Specifically, the group engine of the terminal is used to associate communication objects corresponding to various communication applications installed in the terminal to generate the first communication group, and the group chat engine may be provided by the setting application of the terminal.
可选的,本发明实施例提供的通信的方法,在终端在显示群组设置界面之前,还可以包括:终端接收用户触发终端显示群组设置界面的操作。Optionally, the communication method provided by the embodiment of the present invention may further include: before the terminal displays the group setting interface, the terminal receives an operation triggered by the user to trigger the terminal to display the group setting interface.
示例性的,上述用户触发终端显示群组设置界面的操作可以为用户在上述通讯应用1中的操作,或者用户在终端的设置应用中的操作。Exemplarily, the above-mentioned user's operation of triggering the terminal to display the group setting interface may be the user's operation in the above-mentioned communication application 1, or the user's operation in the terminal's setting application.
需要说明的是,本发明实施例提供的通信的方法,终端可以提供多种方式显示群组设置界面,以支持用户控制终端生成用户需求的通信群组。如此,即使终端不支持上述多种方式中的一种,终端还可以采用其他方式向用户提供上述群组设置界面。例如,即使终端的通讯应用不能提供上述群组设置界面,终端的群组引擎也可以提供上述群组设置界面。从而,有利于提高终端通信的灵活性。It should be noted that, in the communication method provided by the embodiment of the present invention, the terminal can provide multiple ways to display the group setting interface, so as to support the user to control the terminal to generate the communication group required by the user. In this way, even if the terminal does not support one of the above-mentioned multiple ways, the terminal may provide the user with the above-mentioned group setting interface in other ways. For example, even if the communication application of the terminal cannot provide the above-mentioned group setting interface, the group engine of the terminal can also provide the above-mentioned group setting interface. Therefore, it is beneficial to improve the flexibility of terminal communication.
在一种可能的实现方式中,第一操作为用户控制终端从第一类应用对应的第一对象列表中选择第一通信对象,并从第二类应用对应的第二对象列表中选择第二通信对象的操作;或者,第一操作为用户控制终端从第一类应用中选择第二通信群组,并从第二类应用中选择第三通信群组的操作,第二通信群组至少包括第一通信对象,第三通信群组至少包括第二通信对象。In a possible implementation, the first operation is that the user controls the terminal to select the first communication object from the first object list corresponding to the first type of application, and select the second communication object from the second object list corresponding to the second type of application. The operation of the communication object; or, the first operation is an operation in which the user controls the terminal to select the second communication group from the first type of application and select the third communication group from the second type of application, and the second communication group includes at least The first communication object and the third communication group include at least the second communication object.
其中,结合上述实施例,在上述群组设置界面为第一类应用的界面的情况下,第一类应用具有整合不同类别的通讯应用的资源的功能。例如,第一类应用不仅可以访问该第一类应用的通讯录(即上述第一对象列表)和该第一类应用的通信列表(包括上述第二通信群组的群组列表),还可以访问第二类应用的通讯录(即上述第二对象列表)和该第二类应用的通信列表(包括上述第三通信群组的群组列表)。Wherein, in combination with the above-mentioned embodiment, in the case that the above-mentioned group setting interface is an interface of the first type of application, the first type of application has a function of integrating resources of different types of communication applications. For example, the first type of application can not only access the address book of the first type of application (that is, the above-mentioned first object list) and the communication list of the first type of application (including the group list of the above-mentioned second communication group), but also Access the address book of the second type of application (that is, the above-mentioned second object list) and the communication list of the second type of application (including the group list of the above-mentioned third communication group).
示例性的,上述第一操作具体可以为用户在第一类应用提供的群组设置界面中,选择“发起群聊”的选项,使得终端显示上述第一对象列表和上述第二对象列表;随后用户选择该第一对象列表中的第一通信对象、选择该第二对象列表中的第二通信对象。或者,上述第一操作具体可以为用户在第一类应用提供的群组设置界面中,选择“发起群聊”的选项,使得终端显示上述包括第二通信群组的列表以及包括第三通信群组的列表;随后用户选择该第二通信群组,并选择该第三通信群组。Exemplarily, the above-mentioned first operation may specifically be that the user selects the option "initiate a group chat" in the group setting interface provided by the first type of application, so that the terminal displays the above-mentioned first object list and the above-mentioned second object list; and then The user selects the first communication object in the first object list, and selects the second communication object in the second object list. Alternatively, the above-mentioned first operation may specifically be that the user selects the option "initiate a group chat" in the group setting interface provided by the first type of application, so that the terminal displays the above-mentioned list including the second communication group and the list including the third communication group. A list of groups; then the user selects the second communication group, and selects the third communication group.
类似的,本发明实施例对上述群组设置界面为除上述第一类应用之外其他类别的通讯应用(如第二类应用)的界面的描述可以参照上述对第一类应用的相关描述,这里不再赘述。Similarly, in the embodiment of the present invention, the above-mentioned group setting interface is described as an interface of other types of communication applications (such as the second type of application) other than the above-mentioned first type of application. I won't go into details here.
其中,结合上述实施例,在上述群组设置界面为终端的群组引擎的界面的情况下,该群组引擎具有整合不同类别的通讯应用的资源的功能。例如,终端中的群组引擎可以访问通讯应用(如第一类应用和第二类应用等)的通讯录和该通讯应用的通信列表。Wherein, in combination with the above-mentioned embodiment, in the case that the above-mentioned group setting interface is an interface of a group engine of the terminal, the group engine has a function of integrating resources of different types of communication applications. For example, the group engine in the terminal can access the address book of the communication application (such as the first type of application and the second type of application, etc.) and the communication list of the communication application.
具体的,上述群组引擎可以为终端的设置应用中的一个功能,该群组引擎可以最小化为一个悬浮选项悬浮显示在终端的各个界面上。在用户控制终端创建上述第一通信群组时,可以点击该悬浮选项,使得该群组引擎的界面在终端的当前界面最大化的形式悬浮显示,或者,使得该群组引擎的界面在终端的当前界面的全部区域显示。Specifically, the above-mentioned group engine may be a function in the setting application of the terminal, and the group engine may be minimized as a floating option displayed on each interface of the terminal. When the user controls the terminal to create the above-mentioned first communication group, the floating option can be clicked, so that the interface of the group engine is displayed in a floating state in the form of maximizing the current interface of the terminal, or the interface of the group engine is displayed on the terminal's All areas of the current interface are displayed.
示例性的,在上述群组引擎的界面在终端的当前界面以最大化的形式悬浮显示。其中,该当前界面可以为各个通讯应用的界面,如第一类应用中显示第一对象列表的界面,或第二类应用中显示第二对象列表的界面。此时,上述第一操作具体可以为用户将上述第一对象列表中的第一通信对象拖动至群组引擎的界面,并将上述第二对象列表中的第一通信对象拖动至该群组引擎的界面。Exemplarily, the interface of the above-mentioned group engine is floating and displayed in a maximized form on the current interface of the terminal. Wherein, the current interface may be an interface of each communication application, such as an interface displaying a first object list in a first type application, or an interface displaying a second object list in a second type application. At this time, the above-mentioned first operation may specifically be that the user drags the first communication object in the above-mentioned first object list to the interface of the group engine, and drags the first communication object in the above-mentioned second object list to the group engine interface. The interface of the group engine.
或者,上述终端的当前界面可以为第一类应用中显示第二通信群组的界面,或第二类应用中显示第二通信群组的界面。此时,上述第一操作具体可以为用户将上述第二通信群组拖动至群组引擎的界面,并将上述第三通信群组拖动至该群组引擎的界面。Alternatively, the current interface of the terminal may be an interface displaying the second communication group in the first type of application, or an interface displaying the second communication group in the second type of application. At this time, the above-mentioned first operation may specifically be that the user drags the above-mentioned second communication group to the interface of the group engine, and drags the above-mentioned third communication group to the interface of the group engine.
可以想到的是,第一操作还可以为用户控制终端从第一类应用对应的第一对象列表中选择第一通信对象,并从第二类应用中选择第三通信群组的操作;或者,第一操作为用户控制终端从第一类应用中选择第二通信群组,并从第二类应用对应的第二对象列表中选择第二通信对象的操作,本发明实施例对此不再详细描述。It is conceivable that the first operation may also be an operation in which the user controls the terminal to select the first communication object from the first object list corresponding to the first type of application, and select the third communication group from the second type of application; or, The first operation is an operation in which the user controls the terminal to select the second communication group from the first type of application, and selects the second communication object from the second object list corresponding to the second type of application, which will not be described in detail in the embodiment of the present invention. describe.
需要说明的是,本发明实施例提供的通信的方法,终端可以提供支持用户的多种操作方式控制终端生成通信群组。如此,有利于用户使用符合用户习惯或喜好的操作方式控制终端生成通信群组,有利于提高终端通信的灵活性,并提高用户控制终端通信过程中的用户体验。It should be noted that, in the communication method provided by the embodiment of the present invention, the terminal can provide multiple operation modes that support the user to control the terminal to generate a communication group. In this way, it is beneficial for the user to control the terminal to generate a communication group using an operation mode that conforms to the user's habits or preferences, which is conducive to improving the flexibility of terminal communication, and improving the user experience in the process of user controlling the terminal communication.
在一种可能的实现方式中,本发明实施例提供的通信的方法,在上述S202之后还可以包括S204和S205。如图3所示,为本发明实施例提供的另一种通信的方法的流程示意图。具体的,图3示出的方法,在上述S202之后、S203之前还可以包括S204和S205:In a possible implementation manner, the communication method provided in the embodiment of the present invention may further include S204 and S205 after the foregoing S202. As shown in FIG. 3 , it is a schematic flowchart of another communication method provided by an embodiment of the present invention. Specifically, the method shown in FIG. 3 may further include S204 and S205 after the above S202 and before S203:
S204、终端接收用户的第二操作,第二操作为用户触发选择第三通信对象的操作。S204. The terminal receives a second operation of the user, where the second operation is an operation triggered by the user to select a third communication object.
其中,第三通信对象为第一类应用对应的通信对象,或第三通信对象为第二类应用对应的通信对象,或第三通信对象为终端中除第一类应用和第二类应用之外的通讯应用对应的通信对象。Wherein, the third communication object is a communication object corresponding to the first type of application, or the third communication object is a communication object corresponding to the second type of application, or the third communication object is a terminal other than the first type of application and the second type of application The communication object corresponding to the external communication application.
类似的,本发明实施例对上述第二操作的描述可以参照上述实施例对第一操作的相关描述,这里不再赘述。Similarly, for the description of the second operation in this embodiment of the present invention, reference may be made to the relevant description of the first operation in the above embodiment, and details are not repeated here.
S205、响应于第二操作,终端将第三通信对象添加至第一通信群组。S205. In response to the second operation, the terminal adds the third communication object to the first communication group.
类似的,用户在控制终端生成一个通信群组(如第一通信群组)之后,还可以控制终端删除该通信群组中的通信对象,如删除上述第一通信群组中的第三通信对象。Similarly, after the user controls the terminal to generate a communication group (such as the first communication group), he can also control the terminal to delete the communication object in the communication group, such as deleting the third communication object in the above-mentioned first communication group .
需要说明的是,用户在控制终端生成一个通信群组(如第一通信群组)之后,还可以控制终端在该通信群组中添加新的通信对象,以及控制终端删除该通信群组中的通信对象。如此,可以使得终端生成满足用户需求的通信群组,有利于提高终端通信的灵活性,并提高用户控制终端通信过程中的用户体验。It should be noted that after the user controls the terminal to generate a communication group (such as the first communication group), he can also control the terminal to add a new communication object in the communication group, and control the terminal to delete the communication group in the communication group. communication object. In this way, the terminal can generate a communication group that meets the needs of the user, which is conducive to improving the flexibility of terminal communication and improving user experience in the process of user controlling terminal communication.
在一种可能的实现方式中,本发明实施例提供的通信的方法,用户控制终端通过上述第一通信群组传输的消息,可以为终端通过该通信群组发送的消息。具体的,本发明实施例提供的通信的方法,上述S203可以包括S206-S208。In a possible implementation manner, in the communication method provided in the embodiment of the present invention, the message transmitted by the user control terminal through the first communication group may be the message sent by the terminal through the communication group. Specifically, in the communication method provided by the embodiment of the present invention, the above S203 may include S206-S208.
S206、在终端显示第一通信群组对应的交互界面的情况下,终端接收用户的第三操作,第三操作为用户在交互界面中输入第一消息的操作。S206. When the terminal displays the interactive interface corresponding to the first communication group, the terminal receives a third operation of the user, where the third operation is an operation of the user inputting the first message in the interactive interface.
其中,上述第一通信群组对应的交互界面为终端显示第一通信群组收发的消息的界面。Wherein, the interactive interface corresponding to the above-mentioned first communication group is an interface for the terminal to display messages sent and received by the first communication group.
类似的,上述第三操作的具体形式可以参照上述实施例中对第一操作的相关描述,这里不再赘述。Similarly, for the specific form of the above third operation, reference may be made to the relevant description of the first operation in the above embodiment, and details are not repeated here.
S207、终端接收用户的第四操作,第四操作用于触发终端显示第一消息。S207. The terminal receives a fourth operation of the user, where the fourth operation is used to trigger the terminal to display the first message.
类似的,上述第四操作的具体形式可以参照上述实施例中对第一操作的相关描述,这里不再赘述。Similarly, for the specific form of the above fourth operation, reference may be made to the related description of the first operation in the above embodiment, and details are not repeated here.
其中,上述第一通信群组对应的交互界面可以包括“发送”选项,上述第四操作具体可以用户对该“发送”选项的操作,以使得终端分别向第一通信群组中除机主用户对应的通信对象发送该第一消息;在终端发送该第一消息之后,第一通信群组对应的交互界面显示该第一消息。其中,终端显示的该第一消息包括未成功发送的第一消息或成功发送的第一消息。Wherein, the interactive interface corresponding to the above-mentioned first communication group may include a "send" option, and the above-mentioned fourth operation may specifically be the user's operation on the "send" option, so that the terminal sends the host user to the first communication group respectively. The corresponding communication object sends the first message; after the terminal sends the first message, the interactive interface corresponding to the first communication group displays the first message. Wherein, the first message displayed by the terminal includes an unsuccessfully sent first message or a successfully sent first message.
S208、响应于第四操作,终端为第一消息添加第一标识,并在交互界面显示第一消息,第一标识用于指示主通信对象,主通信对象为第一通信群组的群主。S208. In response to the fourth operation, the terminal adds a first identifier to the first message, and displays the first message on the interactive interface, where the first identifier is used to indicate a primary communication object, and the primary communication object is a group owner of the first communication group.
其中,上述主通信对象即为一个机主用户对应的通信对象。在主通信对象为第一通信群组的群主的情况下,主通信对象(即主通信对象对应的终端)具有在第一通信群组中添加和删除通信对象的权限。其中,上述第一通信群组的主通信对象为上述第一通信对象或上述第二通信对象。Wherein, the above-mentioned main communication object is a communication object corresponding to a machine owner user. In the case that the main communication object is the group owner of the first communication group, the main communication object (ie, the terminal corresponding to the main communication object) has the authority to add and delete communication objects in the first communication group. Wherein, the main communication object of the first communication group is the first communication object or the second communication object.
可选的,上述主通信对象可以为用户设置的,或者,主通信对象为终端自动设置的。Optionally, the above-mentioned main communication object may be set by the user, or the main communication object may be automatically set by the terminal.
可以理解的是,上述第一通信对象和第二通信对象可以对应于不同类别的通讯应用,且第一通信对象和第二通信对象可以同时在不同的通信群组中。从而,终端在生成第一通信群组时,可以为该第一通信群组中的通信对象添加用于唯一标识该通信对象的标识。如此,终端可以为准确区分该第一通信群组中传输的消息是那个通信对象发送的,有利于提高终端通信的灵活性。It can be understood that the first communication object and the second communication object may correspond to different types of communication applications, and the first communication object and the second communication object may be in different communication groups at the same time. Therefore, when generating the first communication group, the terminal may add an identifier for uniquely identifying the communication object to the communication object in the first communication group. In this way, the terminal can accurately distinguish which communication object sent the message transmitted in the first communication group, which is beneficial to improve the flexibility of terminal communication.
可选的,终端在上述交互界面上显示第一消息的区域,还可以显示第一通信对象的头像、昵称、账号以及第一通信群组的标识等信息。Optionally, the terminal may display the area of the first message on the above-mentioned interactive interface, and may also display information such as the avatar, nickname, account number, and identification of the first communication group of the first communication object.
可选的,终端在第一通信群组的交互界面显示第一消息之后,第一通信群组中除主通信对象之外的一个通信对象对应的通讯应用中,可以显示第一通信群组的另一个交互界面,并在该另一个交互界面显示上述第一消息。Optionally, after the terminal displays the first message on the interactive interface of the first communication group, in the communication application corresponding to a communication object in the first communication group other than the main communication object, the information of the first communication group may be displayed. Another interactive interface, and display the above-mentioned first message on the another interactive interface.
可选的,在机主用户不需要通过第一通信群组传输消息时,机主用户可以控制终端删除该第一通信群组。此时,机主用户可以控制终端选择是否删除该第一通信群组对应的历史记录。在机主用户可以控制终端不删除该第一通信群组对应的历史记录时,终端可以设置该第一通信群组为停用状态。Optionally, when the phone owner user does not need to transmit messages through the first communication group, the phone owner user may control the terminal to delete the first communication group. At this point, the owner user can control the terminal to choose whether to delete the history record corresponding to the first communication group. When the owner user can control the terminal not to delete the history record corresponding to the first communication group, the terminal can set the first communication group to a disabled state.
需要说明的是,终端在后续保存的第一消息为携带有第一标识的消息,如此,使得终端可以准确确定出该第一消息为主通信对象发送的。从而,有利于提高终端通信的灵活性。It should be noted that the first message subsequently saved by the terminal is a message carrying the first identifier, so that the terminal can accurately determine that the first message is sent by the main communication object. Therefore, it is beneficial to improve the flexibility of terminal communication.
在一种可能的实现方式中,本发明实施例提供的通信的方法,用户控制终端通过上述第一通信群组中各个通信对象传输的消息,可以为终端控制该终端对应的通信对象在该通信群组中接收的消息。具体的,本发明实施例提供的通信的方法中,上述S203可以包括S209和S210:In a possible implementation, in the communication method provided by the embodiment of the present invention, the user controls the message transmitted by the terminal through each communication object in the first communication group, which can be used for the terminal to control the communication object corresponding to the terminal in the communication Messages received in the group. Specifically, in the communication method provided by the embodiment of the present invention, the above S203 may include S209 and S210:
S209、终端接收第二消息,第二消息携带有第二标识,第二标识为第一通信群组中发送第二消息的次通信对象。S209. The terminal receives a second message, where the second message carries a second identifier, and the second identifier is a secondary communication object in the first communication group that sends the second message.
其中,上述第一通信群组中发送第二消息的次通信对象为第一通信群组中除主通信对象之外的一个通信对象(记为发送侧通信对象),如上述通信对象3或通信对象4。Wherein, the secondary communication object sending the second message in the above-mentioned first communication group is a communication object in the first communication group except the main communication object (referred to as the sending side communication object), such as the above-mentioned communication object 3 or communication Object 4.
S210、终端在第一通信群组对应的交互界面显示第二消息。S210. The terminal displays the second message on the interactive interface corresponding to the first communication group.
可选的,终端在上述交互界面上显示第二消息的区域,还可以显示上述发送侧通信对象的头像、昵称、账号以及第一通信群组的标识等信息。Optionally, the terminal may display the area of the second message on the above-mentioned interactive interface, and may also display information such as the avatar, nickname, account number, and identification of the first communication group of the above-mentioned sender-side communication partner.
可以理解的是,本发明实施例提供的通信的方法中,上述S209和S210可以在上述实施例中的S208之前或之后执行。例如,上述S203可以包括S206、S207、S208、S209和S210。It can be understood that, in the communication method provided in the embodiment of the present invention, the above S209 and S210 may be performed before or after S208 in the above embodiment. For example, the above S203 may include S206, S207, S208, S209 and S210.
需要说明的是,终端在后续保存的第二消息为携带有第二标识的消息,如此,使得终端可以准确确定出该第二消息为哪个通信对象发送的。从而,有利于提高终端通信的灵活性。It should be noted that the second message subsequently saved by the terminal is a message carrying the second identifier, so that the terminal can accurately determine which communication partner sent the second message. Therefore, it is beneficial to improve the flexibility of terminal communication.
在一种可能的实现方式中,本发明实施例提供的通信的方法,在上述S208或者S210之后,还可以包括S211:In a possible implementation manner, the communication method provided by the embodiment of the present invention may further include S211 after the above S208 or S210:
S211、若在预设时间内,终端在交互界面未显示消息,则在预设时间后,终端保存在预设时间前交互界面已显示的消息,并设置第一通信群组为非激活状态。S211. If the terminal does not display a message on the interactive interface within the preset time, after the preset time, the terminal saves the message displayed on the interactive interface before the preset time, and sets the first communication group as an inactive state.
需要说明的是,终端在通过第一通信群组传输消息的过程中,终端处于激活状态。此时,终端可以监测第一通信群组中是否有待传输的消息,并可以通过第一通信群组对应的服务器传输消息。It should be noted that, when the terminal transmits a message through the first communication group, the terminal is in an active state. At this time, the terminal may monitor whether there is a message to be transmitted in the first communication group, and may transmit the message through a server corresponding to the first communication group.
可以理解的是,在预设时间(如30分钟)内,终端上述交互界面未显示消息,说明终端在该预设时间内未通过第一通信群组传输消息。例如,终端在发送并显示第一消息之后的预设时间内,在该交互界面未显示消息;或者,终端在接收并显示第二消息之后的预设时间内,在该交互界面未显示消息。It can be understood that, within a preset time (for example, 30 minutes), the above-mentioned interactive interface of the terminal does not display a message, indicating that the terminal does not transmit a message through the first communication group within the preset time. For example, the terminal does not display a message on the interactive interface within a preset time after sending and displaying the first message; or, the terminal does not display a message on the interactive interface within a preset time after receiving and displaying the second message.
随后,在预设时间后,终端可以保存在预设时间前交互界面已显示的消息(如上述第一消息以及第二消息),并设置第一通信群组为非激活状态。此时,终端不会监测第一通信群组中是否有待传输的消息,也不会访问第一通信群组对应的服务器,如第一通信群组中发送侧通信对象对应的服务器。Subsequently, after the preset time, the terminal may save the messages (such as the first message and the second message) displayed on the interactive interface before the preset time, and set the first communication group as an inactive state. At this time, the terminal will not monitor whether there is a message to be transmitted in the first communication group, nor will it access the server corresponding to the first communication group, such as the server corresponding to the communication object on the sending side in the first communication group.
需要说明是,本发明实施例提供的通信的方法,在用户不需要通过一个通信群组传输消息时,终端可以设置该通信群组为非激活状态。如此,有利于节省终端的资源,从而提高终端通信的灵活性。It should be noted that, in the communication method provided by the embodiment of the present invention, when the user does not need to transmit messages through a communication group, the terminal can set the communication group to an inactive state. In this way, it is beneficial to save resources of the terminal, thereby improving the flexibility of terminal communication.
在一种可能的实现方式中,本发明实施例提供的通信的方法,上述第一通信群组对应至少一个功能选项;至少一个功能选项包括以下至少一种:默认功能选项,第一类应用具有的至少一个功能选项以及第二类应用具有的至少一个功能选项。In a possible implementation manner, in the communication method provided by the embodiment of the present invention, the above-mentioned first communication group corresponds to at least one function option; at least one function option includes at least one of the following: a default function option, the first type of application has At least one functional option of and at least one functional option of the second type of application.
示例性,上述功能选项可以为管理通信群组中的消息内容的选项,如定义并管理消息内容为文字、表情、语音、视频、资源文件共享等内容。Exemplarily, the above function options may be options for managing message content in the communication group, such as defining and managing message content as text, emoticons, voice, video, resource file sharing and other content.
可以理解的是,上述至少一个功能选项中包括的默认功能选项为终端中预先设置的。It can be understood that, the default function option included in the above at least one function option is preset in the terminal.
可选的,上述至少一个功能选项包括的第一类应用具有的至少一个功能选项以及第二类应用具有的至少一个功能选项为终端生成第一通信群组时自动生成的,或者用户选择的。其中,用户通常选择习惯或喜欢的通讯应用中的功能选项。Optionally, at least one function option of the first type of application included in the at least one function option and at least one function option of the second type of application are automatically generated when the terminal generates the first communication group, or are selected by the user. Among them, the user usually selects the function options in the communication application that is used to or liked.
需要说明的是,本发明实施例提供的通信方法,用户控制终端生成通信群组时,终端可以生成该通信群组对应的至少一个功能选项,而该至少一个功能选项可以为用户习惯或喜欢的通讯应用具有的功能选项。如此,有利于提高终端通信的灵活性,并提高用户控制终端通信过程中的用户体验。It should be noted that, in the communication method provided by the embodiment of the present invention, when the user controls the terminal to generate a communication group, the terminal can generate at least one function option corresponding to the communication group, and the at least one function option can be the one the user is used to or likes. The functional options that the communication application has. In this way, it is beneficial to improve the flexibility of the terminal communication, and improve the user experience in the process of the user controlling the terminal communication.
如图4所示,为本发明实施例提供的一种可能的终端的结构示意图。图4示出的终端40包括接收模块401、生成模块402和传输模块403;接收模块401,用于接收用户的第一操作,第一操作为触发生成第一通信群组的操作;生成模块402,用于响应于接收模块401接收的第一操作,生成第一通信群组,第一通信群组中至少包括第一通信对象和第二通信对象,第一通信对象为第一类应用对应的通信对象,第二通信对象为第二类应用对应的通信对象;传输模块403,用于控制第一通信对象和第二通信对象在生成模块402生成的第一通信群组中传输消息。As shown in FIG. 4 , it is a schematic structural diagram of a possible terminal provided by an embodiment of the present invention. The terminal 40 shown in FIG. 4 includes a receiving module 401, a generating module 402, and a transmission module 403; the receiving module 401 is used to receive the first operation of the user, and the first operation is to trigger the operation of generating the first communication group; the generating module 402 , for generating a first communication group in response to the first operation received by the receiving module 401, the first communication group includes at least a first communication object and a second communication object, and the first communication object corresponds to the first type of application The communication object, the second communication object is a communication object corresponding to the second type of application; the transmission module 403 is configured to control the first communication object and the second communication object to transmit messages in the first communication group generated by the generation module 402 .
可选的,第一操作为用户触发从第一类应用对应的第一对象列表中选择第一通信对象,并从第二类应用对应的第二对象列表中选择第二通信对象的操作;或者,第一操作为用户触发从第一类应用中选择第二通信群组,并从第二类应用中选择第三通信群组的操作,第二通信群组至少包括第一通信对象,第三通信群组至少包括第二通信对象。Optionally, the first operation is an operation in which the user triggers selection of a first communication object from a first object list corresponding to a first type of application, and selects a second communication object from a second object list corresponding to a second type of application; or , the first operation is an operation in which the user triggers selection of a second communication group from the first type of application and selection of a third communication group from the second type of application, the second communication group includes at least the first communication object, the third communication group The communication group includes at least the second communication object.
可选的,如图5所示,为本发明实施例提供的另一种可能的终端的结构示意图。图5示出的终端40还包括:添加模块404;接收模块401,还用于在生成模块402生成第一通信群组之后,接收用户的第二操作,第二操作为用户触发选择第三通信对象的操作,第三通信对象为第一类应用对应的通信对象,或第三通信对象为第二类应用对应的通信对象,或第三通信对象为除第一类应用和第二类应用之外的通讯应用对应的通信对象;添加模块404,用于响应于接收模块401接收的第二操作,将第三通信对象添加至第一通信群组。Optionally, as shown in FIG. 5 , it is a schematic structural diagram of another possible terminal provided by the embodiment of the present invention. The terminal 40 shown in FIG. 5 also includes: an adding module 404; a receiving module 401, which is also used to receive the second operation of the user after the generating module 402 generates the first communication group, and the second operation triggers and selects the third communication for the user The operation of the object, the third communication object is the communication object corresponding to the first type of application, or the third communication object is the communication object corresponding to the second type of application, or the third communication object is the communication object other than the first type application and the second type application The communication object corresponding to the external communication application; the adding module 404 is configured to add the third communication object to the first communication group in response to the second operation received by the receiving module 401 .
可选的,传输模块403,具体用于在终端40显示第一通信群组对应的交互界面时,接收用户的第三操作,第三操作为用户在交互界面中操作第一消息的操作;接收用户的第四操作,第四操作用于触发显示第一消息;响应于第四操作,为第一消息添加第一标识,并在交互界面显示第一消息,第一标识用于指示主通信对象,该主通信对象为第一通信群组的群主,该主通信对象为第一通信对象或第二通信对象。Optionally, the transmission module 403 is specifically configured to receive a third operation of the user when the terminal 40 displays the interactive interface corresponding to the first communication group, and the third operation is an operation in which the user operates the first message in the interactive interface; receiving The user's fourth operation, the fourth operation is used to trigger the display of the first message; in response to the fourth operation, add the first logo to the first message, and display the first message on the interactive interface, the first logo is used to indicate the main communication object , the main communication object is the group owner of the first communication group, and the main communication object is the first communication object or the second communication object.
可选的,传输模块403,具体用于接收第二消息,第二消息携带有第二标识,第二标识用于标识第一通信群组中发送第二消息的次通信对象,该次通信对象为第一通信群组中除主通信对象之外的一个通信对象;在交互界面显示第二消息。Optionally, the transmission module 403 is specifically configured to receive a second message, the second message carries a second identifier, and the second identifier is used to identify a secondary communication object in the first communication group that sends the second message, and the secondary communication object It is a communication object other than the main communication object in the first communication group; the second message is displayed on the interactive interface.
可选的,上述终端40还可以包括:保存模块405;保存模块405,用于若在预设时间内,终端在交互界面未显示消息,则在预设时间后,保存在预设时间前交互界面已显示的消息,并设置第一通信群组为非激活状态。Optionally, the above-mentioned terminal 40 may also include: a saving module 405; a saving module 405 is used to save the interactive message before the preset time after the preset time if the terminal does not display a message on the interactive interface within the preset time. The message displayed on the interface, and set the first communication group as inactive.
可选的,第一通信群组对应至少一个功能选项;该至少一个功能选项包括以下至少一种:默认功能选项,第一类应用具有的至少一个功能选项以及第二类应用具有的至少一个功能选项。Optionally, the first communication group corresponds to at least one function option; the at least one function option includes at least one of the following: a default function option, at least one function option of the first type of application, and at least one function of the second type of application options.
可选的,接收模块401,具体用于在终端40显示群组设置界面时,接收用户的第一操作;其中,上述群组设置界面为第一类应用的界面,或者群组设置界面为第二类应用的界面,或者群组设置界面为终端中的第三类应用的界面,或者群组设置界面为终端的群组引擎的界面,群组引擎用于关联不同类别的通讯应用对应的通信对象。Optionally, the receiving module 401 is specifically configured to receive the user's first operation when the terminal 40 displays the group setting interface; wherein, the above-mentioned group setting interface is an interface of the first type of application, or the group setting interface is the first type of application interface. The interface of the second type of application, or the group setting interface is the interface of the third type of application in the terminal, or the group setting interface is the interface of the group engine of the terminal, and the group engine is used to associate communication corresponding to different types of communication applications object.
本发明实施例提供的终端40能够实现上述方法实施例中终端实现的各个过程,为避免重复,这里不再赘述。The terminal 40 provided in the embodiment of the present invention can implement various processes implemented by the terminal in the foregoing method embodiments, and details are not repeated here to avoid repetition.
本发明实施例提供的通信的方法,终端可以针对不同类别的通讯应用中的通信对象建立通信群组,使得不同类别的通信对象可以通过该通信群组传输消息。如此,使得终端可以通过不同类别的通讯应用交互以传输消息。从而,即使两个通讯应用的类别不同,该两个通讯应用之间也可以传输消息,提高了终端通信的灵活性。In the communication method provided by the embodiment of the present invention, the terminal can establish a communication group for communication objects in different types of communication applications, so that different types of communication objects can transmit messages through the communication group. In this way, the terminal can interact with different types of communication applications to transmit messages. Therefore, even if the types of the two communication applications are different, messages can be transmitted between the two communication applications, which improves the flexibility of terminal communication.
图6为实现本发明各个实施例的一种终端的硬件结构示意图,该终端100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图6中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。6 is a schematic diagram of a hardware structure of a terminal implementing various embodiments of the present invention. The terminal 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, User input unit 107, interface unit 108, memory 109, processor 110, power supply 111 and other components. Those skilled in the art can understand that the terminal structure shown in FIG. 6 does not constitute a limitation on the terminal, and the terminal may include more or less components than shown in the figure, or combine some components, or arrange different components. In the embodiment of the present invention, the terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
其中,用户输入单元107,用于在终端100接收用户的第一操作,第一操作为触发终端100生成第一通信群组的操作;处理器110,用于响应于用户输入单元107接收的第一操作,生成第一通信群组,第一通信群组中至少包括第一通信对象和第二通信对象,第一通信对象为第一类应用对应的通信对象,第二通信对象为第二类应用对应的通信对象;射频单元101或接口单元108,用于控制第一通信对象和第二通信对象在处理器110生成的第一通信群组中传输消息。Wherein, the user input unit 107 is configured to receive a first operation of the user on the terminal 100, the first operation is to trigger the operation of the terminal 100 to generate a first communication group; the processor 110 is configured to respond to the first operation received by the user input unit 107 One operation, generate a first communication group, the first communication group includes at least a first communication object and a second communication object, the first communication object is a communication object corresponding to the first type of application, and the second communication object is a second type of communication object The communication object corresponding to the application; the radio frequency unit 101 or the interface unit 108 is configured to control the first communication object and the second communication object to transmit messages in the first communication group generated by the processor 110 .
本发明实施例提供的通信的方法,终端可以针对不同类别的通讯应用中的通信对象建立通信群组,使得不同类别的通信对象可以通过该通信群组传输消息。如此,使得终端可以通过不同类别的通讯应用交互以传输消息。从而,即使两个通讯应用的类别不同,该两个通讯应用之间也可以传输消息,提高了终端通信的灵活性。In the communication method provided by the embodiment of the present invention, the terminal can establish a communication group for communication objects in different types of communication applications, so that different types of communication objects can transmit messages through the communication group. In this way, the terminal can interact with different types of communication applications to transmit messages. Therefore, even if the types of the two communication applications are different, messages can be transmitted between the two communication applications, which improves the flexibility of terminal communication.
应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, the processor 110 processes it; Uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
终端通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal provides users with wireless broadband Internet access through the network module 102, such as helping users send and receive emails, browse web pages, and access streaming media.
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processing unit (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 106 . The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage media) or sent via the radio frequency unit 101 or the network module 102 . The microphone 1042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a phone call mode.
终端100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在终端100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and/or when the terminal 100 moves to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify terminal posture (such as horizontal and vertical screen switching, related games, Magnetometer posture calibration), vibration recognition related functions (such as pedometer, knocking), etc.; sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared ray Sensors, etc., will not be described in detail here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061 , and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD) or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).
用户输入单元107可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the terminal. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072 . The touch panel 1071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 1071 or near the touch panel 1071). operate). The touch panel 1071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 110, receive the command sent by the processor 110 and execute it. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071 , the user input unit 107 may also include other input devices 1072 . Specifically, other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图6中,触控面板1071与显示面板1061是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现终端的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be covered on the display panel 1061, and when the touch panel 1071 detects a touch operation on or near it, it will be sent to the processor 110 to determine the type of the touch event, and then the processor 110 can The type of event provides a corresponding visual output on the display panel 1061 . Although in FIG. 6, the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the terminal, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to form Realize the input and output functions of the terminal, which is not limited here.
接口单元108为外部装置与终端100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端100内的一个或多个元件或者可以用于在终端100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device to the terminal 100 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 108 may be used to receive input from an external device (for example, data information, power, etc.) transfer data between.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs as well as various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.) etc.; Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
处理器110是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。处理器110可包括一个或多个处理单元;优选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the terminal, and uses various interfaces and lines to connect various parts of the entire terminal. By running or executing software programs and/or modules stored in the memory 109, and calling data stored in the memory 109, execution Various functions and processing data of the terminal, so as to monitor the terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .
终端100还可以包括给各个部件供电的电源111(比如电池),优选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Function.
另外,终端100包括一些未示出的功能模块,在此不再赘述。In addition, the terminal 100 includes some functional modules not shown, which will not be repeated here.
优选的,本发明实施例还提供一种终端,包括处理器110,存储器109,存储在存储器109上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a terminal, including a processor 110, a memory 109, and a computer program stored in the memory 109 and operable on the processor 110, and the computer program is implemented when executed by the processor 110. Each process of the above method embodiment can achieve the same technical effect, so in order to avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810191109.6A CN108600078A (en) | 2018-03-08 | 2018-03-08 | A kind of method and terminal of communication |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810191109.6A CN108600078A (en) | 2018-03-08 | 2018-03-08 | A kind of method and terminal of communication |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108600078A true CN108600078A (en) | 2018-09-28 |
Family
ID=63625905
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810191109.6A Pending CN108600078A (en) | 2018-03-08 | 2018-03-08 | A kind of method and terminal of communication |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108600078A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110417845A (en) * | 2018-11-30 | 2019-11-05 | 腾讯科技(深圳)有限公司 | A kind of method of data synchronization, device and storage medium |
| CN110752980A (en) * | 2019-09-27 | 2020-02-04 | 维沃移动通信有限公司 | A message sending method and electronic device |
| CN110768804A (en) * | 2019-09-25 | 2020-02-07 | 维沃移动通信有限公司 | A group creation method and terminal device |
| CN110795004A (en) * | 2019-10-31 | 2020-02-14 | 上海掌门科技有限公司 | A method and device for socializing |
| CN112188139A (en) * | 2019-07-05 | 2021-01-05 | 腾讯科技(深圳)有限公司 | Network call processing method and system |
| CN114448924A (en) * | 2020-10-30 | 2022-05-06 | 腾讯科技(深圳)有限公司 | User group upgrading method, device, equipment and storage medium |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101257460A (en) * | 2007-02-27 | 2008-09-03 | 中国移动通信集团公司 | Instant message temporary group conversation system and method for creating and instant message sending |
| CN101883057A (en) * | 2009-05-04 | 2010-11-10 | 上海赢思软件技术有限公司 | A method and device for realizing instant messaging among multiple members in an instant messaging group |
| US20120124146A1 (en) * | 2010-11-12 | 2012-05-17 | Daniel Hsiao | Messaging System with Multiple Messaging Channels |
| CN103634195A (en) * | 2012-08-22 | 2014-03-12 | 中兴通讯股份有限公司 | Communication method and device |
| CN105812229A (en) * | 2014-12-30 | 2016-07-27 | 中国移动通信集团公司 | Terminal communication method, system and related device |
| CN106941556A (en) * | 2017-04-20 | 2017-07-11 | 青岛海信移动通信技术股份有限公司 | The determination method and device of converged communication associated person information |
-
2018
- 2018-03-08 CN CN201810191109.6A patent/CN108600078A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101257460A (en) * | 2007-02-27 | 2008-09-03 | 中国移动通信集团公司 | Instant message temporary group conversation system and method for creating and instant message sending |
| CN101883057A (en) * | 2009-05-04 | 2010-11-10 | 上海赢思软件技术有限公司 | A method and device for realizing instant messaging among multiple members in an instant messaging group |
| US20120124146A1 (en) * | 2010-11-12 | 2012-05-17 | Daniel Hsiao | Messaging System with Multiple Messaging Channels |
| CN103634195A (en) * | 2012-08-22 | 2014-03-12 | 中兴通讯股份有限公司 | Communication method and device |
| CN105812229A (en) * | 2014-12-30 | 2016-07-27 | 中国移动通信集团公司 | Terminal communication method, system and related device |
| CN106941556A (en) * | 2017-04-20 | 2017-07-11 | 青岛海信移动通信技术股份有限公司 | The determination method and device of converged communication associated person information |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110417845A (en) * | 2018-11-30 | 2019-11-05 | 腾讯科技(深圳)有限公司 | A kind of method of data synchronization, device and storage medium |
| CN110417845B (en) * | 2018-11-30 | 2021-08-03 | 腾讯科技(深圳)有限公司 | Data synchronization method, device and storage medium |
| CN112188139A (en) * | 2019-07-05 | 2021-01-05 | 腾讯科技(深圳)有限公司 | Network call processing method and system |
| CN112188139B (en) * | 2019-07-05 | 2022-03-11 | 腾讯科技(深圳)有限公司 | Network call processing method and system |
| CN110768804A (en) * | 2019-09-25 | 2020-02-07 | 维沃移动通信有限公司 | A group creation method and terminal device |
| CN110752980A (en) * | 2019-09-27 | 2020-02-04 | 维沃移动通信有限公司 | A message sending method and electronic device |
| CN110752980B (en) * | 2019-09-27 | 2022-04-19 | 维沃移动通信有限公司 | Message sending method and electronic equipment |
| CN110795004A (en) * | 2019-10-31 | 2020-02-14 | 上海掌门科技有限公司 | A method and device for socializing |
| CN110795004B (en) * | 2019-10-31 | 2024-04-09 | 上海掌门科技有限公司 | A social method and device |
| CN114448924A (en) * | 2020-10-30 | 2022-05-06 | 腾讯科技(深圳)有限公司 | User group upgrading method, device, equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110752980A (en) | A message sending method and electronic device | |
| WO2021082741A1 (en) | Display method and electronic device | |
| WO2021197263A1 (en) | Content sharing method and electronic device | |
| CN110837327B (en) | A message viewing method and terminal | |
| WO2019184666A1 (en) | Method for displaying content and terminal | |
| US11658932B2 (en) | Message sending method and terminal device | |
| CN108600078A (en) | A kind of method and terminal of communication | |
| CN109032468B (en) | Method and terminal for adjusting equipment parameters | |
| US12028476B2 (en) | Conversation creating method and terminal device | |
| CN110865745A (en) | Screen capturing method and terminal equipment | |
| CN110752981A (en) | An information control method and electronic device | |
| WO2021109959A1 (en) | Application sharing method and electronic device | |
| WO2021115220A1 (en) | Information sharing method, electronic device and computer-readable storage medium | |
| WO2021057301A1 (en) | File control method and electronic device | |
| CN108681427B (en) | Access right control method and terminal equipment | |
| CN110049486A (en) | A SIM card selection method and terminal device | |
| CN109976611A (en) | The control method and terminal device of terminal device | |
| WO2021093766A1 (en) | Message display method, and electronic apparatus | |
| CN108171034A (en) | A kind of method and terminal for protecting privacy | |
| CN108446338A (en) | A kind of method and terminal preserving browsing record | |
| CN110505340A (en) | A kind of message method and terminal device | |
| CN110471711A (en) | Application program preloading method and terminal device | |
| CN110147186A (en) | Applied control method and terminal equipment | |
| CN109981442A (en) | Method for sending information and terminal device | |
| CN111273831A (en) | Method and electronic device for controlling electronic equipment |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180928 |
|
| RJ01 | Rejection of invention patent application after publication |