技术领域technical field
本发明涉及数据处理技术领域,特别是涉及一种信息接收方法、一种信息发送方法、一种信息接收装置和一种信息发送装置。The present invention relates to the technical field of data processing, in particular to an information receiving method, an information sending method, an information receiving device and an information sending device.
背景技术Background technique
随着移动终端技术的发展,越来越多的用户使用移动终端通信,例如通过即时通讯客户端进行通信。并且,在采用移动终端进行通信时为了满足多用户同时交互通信的需求,引入了用户群的概念。With the development of mobile terminal technologies, more and more users use mobile terminals to communicate, for example, communicate through instant messaging clients. Moreover, in order to meet the requirement of simultaneous interactive communication of multiple users when the mobile terminal is used for communication, the concept of user group is introduced.
用户群指的是具有共同特征的用户集合,用户群用户可以获取相同的信息,实现了多用户之间的即时通信并共享相同的资源。A user group refers to a collection of users with common characteristics. User group users can obtain the same information, realize instant communication among multiple users and share the same resources.
发明内容Contents of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的信息接收、发送方法和相应的信息接收、发送装置。In view of the above problems, the present invention is proposed to provide an information receiving and sending method and a corresponding information receiving and sending device that overcome the above problems or at least partially solve the above problems.
依据本发明的一个方面,提供了一种信息接收方法,包括:第二客户端接收携带有区域信息的群消息,其中,所述群消息为同一用户群中各用户共同接收的消息,且由第一客户端发送;采用所述第二客户端的位置信息与所述区域信息进行匹配;当所述第二客户端的位置信息满足所述区域信息时,在所述第二客户端中显示所述群消息;当所述第二客户端的位置信息不满足所述区域信息时,忽略所述群消息。According to one aspect of the present invention, a method for receiving information is provided, including: a second client terminal receives a group message carrying area information, wherein the group message is a message received by all users in the same user group, and the group message is received by Send by the first client; use the location information of the second client to match the area information; when the location information of the second client satisfies the area information, display the A group message; when the location information of the second client does not satisfy the area information, ignore the group message.
可选的,第二客户端接收携带有区域信息的群消息之后,还包括:第二客户端对所述群消息进行解析,获取所述群消息中的区域信息;第二客户端获取自身的位置信息。Optionally, after the second client receives the group message carrying the area information, it further includes: the second client parses the group message to obtain the area information in the group message; the second client obtains its own location information.
可选的,所述采用所述第二客户端的位置信息与所述区域信息进行匹配,包括:从所述区域信息中获取显示范围,其中,所述显示范围包括绝对范围和相对范围;检测所述第二客户端的位置信息是否在所述显示范围内;若所述第二客户端的位置信息在所述显示范围内,则判定所述第二客户端的位置信息满足所述区域信息;若所述第二客户端的位置信息不在所述显示范围内,则判定所述第二客户端的位置信息不满足所述区域信息。Optionally, the matching the area information with the location information of the second client includes: acquiring a display range from the area information, where the display range includes an absolute range and a relative range; detecting the Whether the location information of the second client is within the display range; if the location information of the second client is within the display range, then determine that the location information of the second client satisfies the area information; if the If the location information of the second client is not within the display range, it is determined that the location information of the second client does not satisfy the area information.
可选的,所述在所述第二客户端中显示所述群消息,包括:从所述群消息中获取用户标识和消息内容;依据所述用户标识匹配用户名;在所述第二客户端中显示所述用户名和消息内容。Optionally, the displaying the group message on the second client includes: obtaining a user ID and message content from the group message; matching user names according to the user ID; The user name and message content are displayed on the terminal.
根据本发明的另一个方面,提供了一种信息发送方法,包括:第一客户端获取当前编辑完成的消息内容和选定的区域信息;采用所述消息内容和选定的区域信息生成群消息,所述群消息为同一用户群中各用户共同接收的消息;将所述群消息发送给用户群中其他用户的客户端。According to another aspect of the present invention, a method for sending information is provided, including: the first client acquires the currently edited message content and selected area information; and uses the message content and selected area information to generate a group message , the group message is a message received by all users in the same user group; and the group message is sent to clients of other users in the user group.
可选的,所述区域信息包括显示范围,所述显示范围包括绝对范围和相对范围。Optionally, the area information includes a display range, and the display range includes an absolute range and a relative range.
可选的,所述第一客户端获取当前编辑完成的消息内容和选定的区域信息,包括:第一客户端获取当前编辑完成的消息内容;获取选定的绝对范围,采用所述绝对范围作为显示范围构成区域信息。Optionally, the first client acquires the currently edited message content and the selected area information, including: the first client acquires the current edited message content; acquires the selected absolute range, and adopts the absolute range The area information is configured as a display range.
可选的,所述第一客户端获取当前编辑完成的消息内容和选定的区域信息,包括:第一客户端获取当前编辑完成的消息内容;第一客户端获取自身的位置信息或选定参照点的位置信息,以及选定的距离范围构成相对范围;将所述相对范围作为显示范围构成区域信息。Optionally, the first client acquires the currently edited message content and the selected area information, including: the first client acquires the current edited message content; the first client acquires its own location information or the selected area information. The position information of the reference point and the selected distance range form a relative range; using the relative range as a display range constitutes area information.
根据本发明的另一个方面,提供了一种信息接收装置,包括:接收模块,用于接收携带有区域信息的群消息,其中,所述群消息为同一用户群中各用户共同接收的消息,且由第一客户端发送;匹配模块,用于采用所述第二客户端的位置信息与所述区域信息进行匹配;当所述第二客户端的位置信息满足所述区域信息时触发显示模块;以及当所述第二客户端的位置信息不满足所述区域信息时,忽略所述群消息;所述显示模块,用于在所述第二客户端中显示所述群消息。According to another aspect of the present invention, an information receiving device is provided, including: a receiving module configured to receive a group message carrying area information, wherein the group message is a message received jointly by users in the same user group, and sent by the first client; a matching module, configured to use the location information of the second client to match the area information; trigger a display module when the location information of the second client satisfies the area information; and When the location information of the second client does not satisfy the area information, the group message is ignored; the display module is configured to display the group message in the second client.
可选的,还包括:获取模块,用于对所述群消息进行解析,获取所述群消息中的区域信息;以及获取自身的位置信息。Optionally, it also includes: an acquiring module, configured to parse the group message, acquire area information in the group message; and acquire its own location information.
可选的,所述匹配模块,用于从所述区域信息中获取显示范围,其中,所述显示范围包括绝对范围和相对范围;检测所述第二客户端的位置信息是否在所述显示范围内;若所述第二客户端的位置信息在所述显示范围内,则判定所述第二客户端的位置信息满足所述区域信息;若所述第二客户端的位置信息不在所述显示范围内,则判定所述第二客户端的位置信息不满足所述区域信息。Optionally, the matching module is configured to acquire a display range from the area information, wherein the display range includes an absolute range and a relative range; detect whether the location information of the second client is within the display range ; If the location information of the second client is within the display range, then determine that the location information of the second client satisfies the area information; if the location information of the second client is not within the display range, then It is determined that the location information of the second client does not satisfy the area information.
可选的,所述显示模块,用于从所述群消息中获取用户标识和消息内容;依据所述用户标识匹配用户名;在所述第二客户端中显示所述用户名和消息内容。Optionally, the display module is configured to obtain the user ID and message content from the group message; match the user name according to the user ID; and display the user name and message content in the second client.
根据本发明的另一个方面,提供了一种信息发送装置,包括:消息获取模块,用于获取当前编辑完成的消息内容和选定的区域信息;消息生成模块,用于采用所述消息内容和选定的区域信息生成群消息,所述群消息为同一用户群中各用户共同接收的消息;消息发送模块,用于将所述群消息发送给用户群中其他用户的客户端。According to another aspect of the present invention, an information sending device is provided, including: a message acquisition module, used to acquire the currently edited message content and selected area information; a message generation module, used to adopt the message content and The selected area information generates a group message, and the group message is a message received by all users in the same user group; the message sending module is used to send the group message to the clients of other users in the user group.
可选的,所述区域信息包括显示范围,所述显示范围包括绝对范围和相对范围。Optionally, the area information includes a display range, and the display range includes an absolute range and a relative range.
可选的,所述消息获取模块,包括:第一获取子模块,用于获取当前编辑完成的消息内容;获取选定的绝对范围,采用所述绝对范围作为显示范围构成区域信息。Optionally, the message acquisition module includes: a first acquisition submodule, configured to acquire the currently edited message content; acquire a selected absolute range, and use the absolute range as a display range to form area information.
可选的,所述消息获取模块,包括:第二获取子模块,用于获取当前编辑完成的消息内容;获取自身的位置信息,以及选定的距离范围构成相对范围;将所述相对范围作为显示范围构成区域信息。Optionally, the message acquisition module includes: a second acquisition submodule, configured to acquire the currently edited message content; acquire its own location information, and a selected distance range to form a relative range; use the relative range as Displays range composition area information.
在群消息中携带区域信息,从而在第二客户端接收到群消息之后,可以基于自身的位置信息与区域信息进行匹配,在满足该区域信息时才对消息进行显示,而在不满足该区域信息时忽略该群消息。从而自动基于位置实现对消息的显示,避免对无效消息的显示,减少对用户的影响。The area information is carried in the group message, so that after the second client receives the group message, it can match the area information based on its own location information, and only display the message when the area information is satisfied, and not meet the area information. Ignore this group message when sending messages. Therefore, the display of messages is automatically realized based on the location, avoiding the display of invalid messages, and reducing the impact on users.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same parts. In the attached picture:
图1示出了根据本发明一个实施例的信息接收方法实施例的步骤流程图;FIG. 1 shows a flow chart of steps of an embodiment of an information receiving method embodiment according to an embodiment of the present invention;
图2示出了根据本发明一个实施例的信息发送方法实施例的步骤流程图;FIG. 2 shows a flow chart of steps of an embodiment of an information sending method embodiment according to an embodiment of the present invention;
图3示出了根据本发明一个实施例的信息发送方法可选实施例的步骤流程图;FIG. 3 shows a flow chart of steps in an optional embodiment of an information sending method according to an embodiment of the present invention;
图4示出了根据本发明一个实施例的信息接收方法可选实施例的步骤流程图;FIG. 4 shows a flow chart of steps in an optional embodiment of an information receiving method according to an embodiment of the present invention;
图5示出了根据本发明一个实施例的一种信息接收装置实施例的结构框图;Fig. 5 shows a structural block diagram of an embodiment of an information receiving device according to an embodiment of the present invention;
图6示出了根据本发明一个实施例的一种信息接收装置实施例的可选结构框图;Fig. 6 shows an optional structural block diagram of an embodiment of an information receiving device according to an embodiment of the present invention;
图7示出了根据本发明一个实施例的一种信息发送装置实施例的结构框图;以及Fig. 7 shows a structural block diagram of an embodiment of an information sending device according to an embodiment of the present invention; and
图8示出了根据本发明一个实施例的一种信息发送装置实施例的可选结构框图。Fig. 8 shows an optional structural block diagram of an embodiment of an information sending device according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
实施例一Embodiment one
参照图1,示出了根据本发明一个实施例的信息接收方法实施例的步骤流程图,具体可以包括如下步骤:Referring to FIG. 1 , it shows a flow chart of steps of an embodiment of an information receiving method according to an embodiment of the present invention, which may specifically include the following steps:
步骤102,第二客户端接收携带有区域信息的群消息。Step 102, the second client receives a group message carrying area information.
用户在采用移动终端可以通过各种方式进行通信,例如通过即时通讯方式进行通信。对于即时通讯可以通过相应的客户端进行消息交互。在进行即时通讯时为了使多个用户可以同时交互消息,因此引入了用户群的概念,该用户群指的是具有共同特征的用户集合,如该用户群中用户均分配该用户群的群标识。Users can communicate in various ways by using a mobile terminal, for example, by instant messaging. For instant messaging, message interaction can be performed through the corresponding client. In order to enable multiple users to exchange messages at the same time during instant messaging, the concept of user group is introduced. The user group refers to a collection of users with common characteristics. For example, users in the user group are assigned the group ID of the user group. .
在用户群中任一用户基于该用户群发送群消息时,其他用户均可以接收。但是,有些群消息对该用户是无效的,例如群消息内容是邀请在北京的人聚会,而该用户在上海,显然该消息对该用户是无效的。因此本实施例基于位置确定消息的显示。When any user in the user group sends a group message based on the user group, other users can receive it. However, some group messages are invalid for the user. For example, the content of the group message is to invite people in Beijing to a party, but the user is in Shanghai. Obviously, the message is invalid for the user. The present embodiment therefore determines the display of the message based on location.
本实施例中,将发送消息的客户端作为第一客户端,接收消息的客户端作为第二客户端。则对于用户群中各用户,发送消息的用户所在客户端为第一客户端,其他用户的客户端为第二客户端。In this embodiment, the client that sends the message is used as the first client, and the client that receives the message is used as the second client. Then, for each user in the user group, the client of the user who sends the message is the first client, and the clients of other users are the second client.
第一客户端可以编辑群消息,并在该群消息中携带区域信息,然后发送给用户群中各用户,用户群中其他用户的第二客户端均可以接收到第一客户端发送的携带有区域信息的群消息。The first client can edit the group message, and carry the area information in the group message, and then send it to each user in the user group, and the second clients of other users in the user group can receive the information sent by the first client and carry the region information. Group messages for area information.
步骤104,采用所述第二客户端的位置信息与所述区域信息进行匹配。Step 104, matching the area information with the location information of the second client.
由于群消息是基于位置显示的,因此第二客户端获取其所在移动终端的位置信息,然后采用该位置信息与群消息中的区域信息进行匹配。通过匹配结果可以检测第二客户端的位置信息是否满足所述区域信息,即检测位置信息是否在所述区域信息所要求的地理范围内。Since the group message is displayed based on the location, the second client obtains the location information of the mobile terminal where it is located, and then uses the location information to match the area information in the group message. Based on the matching result, it can be detected whether the location information of the second client satisfies the area information, that is, whether the location information is within the geographical range required by the area information.
步骤106,第二客户端的位置信息是否满足所述区域信息。Step 106, whether the location information of the second client satisfies the area information.
若是,即第二客户端的位置信息满足所述区域信息,则执行步骤108;若否,即第二客户端的位置信息不满足所述区域信息,则执行步骤110。If yes, that is, the location information of the second client satisfies the area information, then perform step 108; if no, that is, the location information of the second client does not meet the area information, then perform step 110.
步骤108,所述第二客户端中显示所述群消息。Step 108, displaying the group message on the second client.
当所述第二客户端的位置信息满足所述区域信息时,表征该第二客户端的移动终端所在位置在区域信息所要求的范围内,可以在所述第二客户端中显示所述群消息的消息内容。When the location information of the second client satisfies the area information, the location of the mobile terminal representing the second client is within the range required by the area information, and the group message may be displayed on the second client. Message content.
步骤110,忽略所述群消息。Step 110, ignore the group message.
当所述第二客户端的位置信息不满足所述区域信息时,表征该第二客户端的移动终端所在位置不在区域信息所要求的范围内,可以忽略所述群消息。When the location information of the second client does not satisfy the area information, the location of the mobile terminal representing the second client is not within the range required by the area information, and the group message may be ignored.
综上所述,在群消息中携带区域信息,从而在第二客户端接收到群消息之后,可以基于自身的位置信息与区域信息进行匹配,在满足该区域信息时才对消息进行显示,而在不满足该区域信息时忽略该群消息。从而自动基于位置实现对消息的显示,避免对无效消息的显示,减少对用户的影响。To sum up, the area information is carried in the group message, so that after the second client receives the group message, it can match the area information based on its own location information, and only display the message when the area information is satisfied. Ignore the group message when the area information is not met. Therefore, the display of messages is automatically realized based on the location, avoiding the display of invalid messages, and reducing the impact on users.
实施例二Embodiment two
上述实施例论述了消息接收的第二客户端侧的信息接收方法,本实施例详细论述消息发送的第一客户端侧的消息发送步骤。The above embodiment discusses the information receiving method on the second client side of message receiving, and this embodiment discusses in detail the message sending steps on the first client side of message sending.
参照图2,示出了根据本发明一个实施例的信息发送方法实施例的步骤流程图,具体可以包括如下步骤:Referring to FIG. 2 , it shows a flow chart of steps of an embodiment of an information sending method according to an embodiment of the present invention, which may specifically include the following steps:
步骤202,第一客户端获取当前编辑完成的消息内容和选定的区域信息。In step 202, the first client acquires the currently edited message content and the selected area information.
用户在第一客户端中编辑群消息的消息内容后,在点击发送时可以选择将该群消息设置为基于位置显示的群消息。此时第一客户端可以接收到当前编辑完成的消息内容,并且获取选定的区域信息,该区域信息可以是用户设置的,也可以是基于第一客户端所在移动终端的位置自动匹配的,本实施例对此不作限定。After editing the message content of the group message in the first client, the user may choose to set the group message as a group message displayed based on location when clicking send. At this time, the first client can receive the currently edited message content, and obtain the selected area information, which can be set by the user, or can be automatically matched based on the location of the mobile terminal where the first client is located. This embodiment does not limit it.
步骤204,采用所述消息内容和选定的区域信息生成群消息。Step 204, using the message content and the selected area information to generate a group message.
然后将该消息内容和选定的区域信息生成群消息,所述群消息为同一用户群中各用户共同接收的消息,因此要标识该群消息所对应用户群的群标识,使得该群消息能够被具有该用户群标识的各用户共同接收。Then generate a group message with the message content and the selected area information, the group message is a message received by each user in the same user group, so it is necessary to identify the group ID of the user group corresponding to the group message, so that the group message can be It is jointly received by all users with the user group ID.
步骤206,将所述群消息发送给用户群中其他用户的客户端。Step 206, sending the group message to clients of other users in the user group.
将该群消息发送给用户群中其他用户的客户端,其他用户作为接收消息的用户其客户端为第二客户端。The group message is sent to the clients of other users in the user group, and the clients of other users as the users receiving the message are the second clients.
综上所述,在编辑完群消息的消息内容后,可以为该群消息配置区域信息,从而生成携带有区域信息的群消息,后续发送给该用户群中其他用户时,其他用户的第二客户端可以基于位置实现对消息的显示,避免对无效消息的显示,减少对用户的影响。To sum up, after editing the message content of the group message, you can configure the area information for the group message, so as to generate a group message carrying the area information, and when it is sent to other users in the user group, other users' second The client can display messages based on location, avoid displaying invalid messages, and reduce the impact on users.
实施例三Embodiment Three
在上述实施例的基础上,本实施例详细论述发送和接收两侧对于基于位置显示的群消息的处理步骤。On the basis of the above embodiments, this embodiment discusses in detail the processing steps of the sending and receiving sides for the group message displayed based on the location.
1、消息发送的第一客户端侧:1. The first client side of message sending:
参照图3,示出了根据本发明一个实施例的信息发送方法可选实施例的步骤流程图,具体可以包括如下步骤:Referring to FIG. 3 , it shows a flow chart of steps in an optional embodiment of an information sending method according to an embodiment of the present invention, which may specifically include the following steps:
步骤302,第一客户端获取当前编辑完成的消息内容。In step 302, the first client acquires the currently edited message content.
步骤304,判断区域信息的显示范围。Step 304, judging the display range of the area information.
用户在编辑完群消息进行发送时,可以选择该群消息为区域消息,即基于为位置显示的群消息,此时除了获取当前编辑完成的消息内容之外,还要获取该群消息所携带的区域信息。本发明一个可选实施例中,区域信息包括显示范围,显示范围即定义的该群消息所能够显示的位置范围。其中,所述显示范围包括绝对范围和相对范围。When the user edits the group message and sends it, he can select the group message as an area message, which is based on the group message displayed for the position. At this time, in addition to obtaining the currently edited message content, he also needs to obtain the area information. In an optional embodiment of the present invention, the area information includes a display range, and the display range is a defined position range where the group message can be displayed. Wherein, the display range includes an absolute range and a relative range.
若显示范围为绝对范围,执行步骤306;若显示范围为相对范围,执行步骤308,If the displayed range is an absolute range, execute step 306; if the displayed range is a relative range, execute step 308,
步骤306,获取选定的绝对范围,采用所述绝对范围作为显示范围构成区域信息。Step 306, acquire the selected absolute range, and use the absolute range as the display range to form area information.
所谓绝对范围指的是一个固定的区域范围,该区域范围并不参照点位置如第一客户端所处位置的变化而变更,例如北京、上海等地理位置固定的范围区域。因此对于按照绝对范围显示的群消息,直接获取所选定的绝对范围的范围信息,将该绝对范围作为显示范围构成区域信息。The so-called absolute range refers to a fixed area range, which does not change with reference to changes in the position of a point such as the location of the first client, such as Beijing, Shanghai and other geographically fixed range areas. Therefore, for the group message displayed according to the absolute range, the range information of the selected absolute range is directly obtained, and the absolute range is used as the display range to form the area information.
步骤308,第一客户端获取自身的位置信息或选定参照点的位置信息,以及选定的距离范围构成相对范围。Step 308, the first client acquires its own location information or the location information of the selected reference point, and the selected distance range constitutes a relative range.
步骤310,将所述相对范围作为显示范围构成区域信息。Step 310, using the relative range as a display range to form area information.
相对范围指的是相对某一参照点或地标所确定的区域范围,例如第一客户端的移动终端所在位置100米范围内。因此对于按照相对范围显示的群消息,要获取某一参照点的位置信息,并确定该参照点所要涵盖的距离范围构成相对范围,参照点可以为第一客户端自身的位置,或者其他参照点的位置,例如XX大厦,XX地铁站等。The relative range refers to an area determined relative to a certain reference point or landmark, for example, within 100 meters of the location of the mobile terminal of the first client. Therefore, for group messages displayed according to the relative range, it is necessary to obtain the location information of a certain reference point, and determine the distance range covered by the reference point to constitute the relative range. The reference point can be the location of the first client itself, or other reference points location, such as XX building, XX subway station, etc.
依据参照点所确定的相对范围可以例如为,以参照点为圆心,以距离范围为半径所确定的圆形区域。然后将相对范围作为显示范围构成区域信息。The relative range determined according to the reference point may be, for example, a circular area determined with the reference point as the center and the distance range as the radius. The area information is then constructed using the relative range as the display range.
步骤312,采用所述消息内容和选定的区域信息生成群消息。Step 312, using the message content and the selected area information to generate a group message.
步骤314,将所述群消息发送给用户群中其他用户的客户端。Step 314, sending the group message to clients of other users in the user group.
获取消息内容和选定的区域信息后,可以生成相应的群消息,并且在该群消息中标识用户群的群标识。然后对该群消息进行发送,基于群标识发送给对应用户群中其他各用户的第二客户端。After obtaining the message content and the selected area information, a corresponding group message can be generated, and the group ID of the user group can be identified in the group message. Then the group message is sent to the second clients of other users in the corresponding user group based on the group identifier.
综上,可以基于显示范围配置群消息的区域信息,该显示范围可以是不随参照点位置变更而变化的绝对范围,也可以是基于参照点匹配距离范围所确定的相对范围,从而显示范围灵活。To sum up, the area information of the group message can be configured based on the display range. The display range can be an absolute range that does not change with the change of the reference point position, or a relative range determined based on the matching distance range of the reference point, so that the display range is flexible.
2、消息接收的第二客户端侧:2. The second client side of message reception:
参照图4,示出了根据本发明一个实施例的信息接收方法可选实施例的步骤流程图,具体可以包括如下步骤:Referring to FIG. 4 , it shows a flow chart of steps in an optional embodiment of an information receiving method according to an embodiment of the present invention, which may specifically include the following steps:
步骤402,第二客户端接收携带有区域信息的群消息。Step 402, the second client receives a group message carrying area information.
步骤404,第二客户端对所述群消息进行解析,获取所述群消息中的区域信息。Step 404, the second client parses the group message, and acquires area information in the group message.
群消息在发送时可以选择基于位置信息,此类群消息中可以携带区域信息,从而在第二客户端接收到该群消息后,可以对所述群消息进行解析,从该群消息中获取区域信息。The group message can be sent based on location information, and this type of group message can carry area information, so that after the second client receives the group message, it can analyze the group message and obtain area information from the group message .
步骤406,第二客户端获取自身的位置信息。Step 406, the second client acquires its own location information.
步骤408,从所述区域信息中获取显示范围,其中,所述显示范围包括绝对范围和相对范围。Step 408, acquire a display range from the area information, where the display range includes an absolute range and a relative range.
步骤410,检测所述第二客户端的位置信息是否在所述显示范围内;Step 410, detecting whether the location information of the second client is within the display range;
第二客户端为了实现基于位置的消息显示,要第二客户端所在移动终端自身的位置信息,如通过移动终端的定位装置确定。然后从区域信息中获取显示范围,检测第二客户端的位置信息是否在显示范围内。In order to realize location-based message display, the second client needs the location information of the mobile terminal where the second client is located, such as determined by the positioning device of the mobile terminal. Then obtain the display range from the area information, and detect whether the location information of the second client is within the display range.
其中,显示范围包括绝对范围和相对范围。例如对于绝对范围,其显示范围是固定的,因此可以直接检测该位置信息是否在绝对范围内。对于相对范围,其范围是基于参照点来确定的,因此可以检测第二客户端的位置信息与参照点的距离,从而确定其是否在相对范围内。Wherein, the display range includes an absolute range and a relative range. For example, for the absolute range, the display range is fixed, so it can be directly detected whether the position information is within the absolute range. For the relative range, the range is determined based on the reference point, so the distance between the location information of the second client and the reference point can be detected to determine whether it is within the relative range.
若是,即所述第二客户端的位置信息在所述显示范围内,则判定所述第二客户端的位置信息满足所述区域信息。If yes, that is, the location information of the second client is within the display range, it is determined that the location information of the second client satisfies the area information.
若否。即所述第二客户端的位置信息不在所述显示范围内,则判定所述第二客户端的位置信息不满足所述区域信息。If not. That is, if the location information of the second client is not within the display range, it is determined that the location information of the second client does not satisfy the area information.
步骤412,忽略所述群消息。Step 412, ignore the group message.
当所述第二客户端的位置信息不满足所述区域信息时,表征该第二客户端的移动终端所在位置不在区域信息所要求的范围内,可以忽略所述群消息。另外,虽然该群消息不予显示,但也可以将该群消息添加到消息记录中,以备用户获取查看。When the location information of the second client does not satisfy the area information, the location of the mobile terminal representing the second client is not within the range required by the area information, and the group message may be ignored. In addition, although the group message will not be displayed, the group message can also be added to the message record for the user to obtain and view.
步骤414,从所述群消息中获取用户标识和消息内容。Step 414, obtain the user ID and message content from the group message.
步骤416,依据所述用户标识匹配用户名。Step 416, matching the user name according to the user identifier.
步骤418,在所述第二客户端中显示所述用户名和消息内容。Step 418, displaying the user name and message content in the second client.
判定所述第二客户端的位置信息满足所述区域信息,表征可以对该群消息进行显示,则可以从群消息中获取用户标识和消息内容,然后确定该用户标识所匹配的用户名,在第二客户端中显示消息内容时显示发送该全消息的用户。If it is determined that the location information of the second client satisfies the area information, indicating that the group message can be displayed, then the user ID and message content can be obtained from the group message, and then the user name matched by the user ID can be determined. The user who sent the full message is displayed when the content of the message is displayed on the client terminal.
综上,通过区域信息获取显示范围,显示范围包括相对范围和绝对范围,从而对于第二客户端的位置信息在显示范围内的群消息进行显示,从而显示范围灵活。To sum up, the display range is obtained through the area information, and the display range includes a relative range and an absolute range, so that the group messages whose location information of the second client is within the display range are displayed, so that the display range is flexible.
对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。For the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action order, because according to the embodiment of the present invention , certain steps may be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
实施例四Embodiment Four
在上述实施例的基础上,本实施例还提供了一种信息接收装置。On the basis of the above embodiments, this embodiment also provides an information receiving device.
参照图5,示出了根据本发明一个实施例的一种信息接收装置实施例的结构框图,具体可以包括如下模块:Referring to Figure 5, it shows a structural block diagram of an embodiment of an information receiving device according to an embodiment of the present invention, which may specifically include the following modules:
接收模块502,用于接收携带有区域信息的群消息,其中,所述群消息为同一用户群中各用户共同接收的消息,且由第一客户端发送。The receiving module 502 is configured to receive a group message carrying area information, wherein the group message is a message commonly received by users in the same user group, and is sent by the first client.
匹配模块504,用于采用所述第二客户端的位置信息与所述区域信息进行匹配;当所述第二客户端的位置信息满足所述区域信息时触发显示模块;以及当所述第二客户端的位置信息不满足所述区域信息时,忽略所述群消息。A matching module 504, configured to match the area information with the location information of the second client; trigger a display module when the location information of the second client satisfies the area information; and when the location information of the second client satisfies the area information; When the location information does not satisfy the area information, ignore the group message.
所述显示模块506,用于在所述第二客户端中显示所述群消息。The display module 506 is configured to display the group message in the second client.
综上所述,在群消息中携带区域信息,从而在第二客户端接收到群消息之后,可以基于自身的位置信息与区域信息进行匹配,在满足该区域信息时才对消息进行显示,而在不满足该区域信息时忽略该群消息。从而自动基于位置实现对消息的显示,避免对无效消息的显示,减少对用户的影响。To sum up, the area information is carried in the group message, so that after the second client receives the group message, it can match the area information based on its own location information, and only display the message when the area information is satisfied. Ignore the group message when the area information is not met. Therefore, the display of messages is automatically realized based on the location, avoiding the display of invalid messages, and reducing the impact on users.
参照图6,示出了根据本发明一个实施例的一种信息接收装置实施例的可选结构框图,具体可以包括如下模块:Referring to FIG. 6 , it shows an optional structural block diagram of an information receiving device embodiment according to an embodiment of the present invention, which may specifically include the following modules:
本发明一个可选实施例中,所述的装置还包括:获取模块508,用于对所述群消息进行解析,获取所述群消息中的区域信息;以及获取自身的位置信息。In an optional embodiment of the present invention, the device further includes: an obtaining module 508, configured to parse the group message, obtain area information in the group message; and obtain location information of itself.
所述匹配模块504,用于从所述区域信息中获取显示范围,其中,所述显示范围包括绝对范围和相对范围;检测所述第二客户端的位置信息是否在所述显示范围内;若所述第二客户端的位置信息在所述显示范围内,则判定所述第二客户端的位置信息满足所述区域信息;若所述第二客户端的位置信息不在所述显示范围内,则判定所述第二客户端的位置信息不满足所述区域信息。The matching module 504 is configured to obtain a display range from the area information, wherein the display range includes an absolute range and a relative range; detect whether the location information of the second client is within the display range; if the If the location information of the second client is within the display range, it is determined that the location information of the second client satisfies the area information; if the location information of the second client is not within the display range, it is determined that the The location information of the second client does not satisfy the area information.
所述显示模块506,用于从所述群消息中获取用户标识和消息内容;依据所述用户标识匹配用户名;在所述第二客户端中显示所述用户名和消息内容。The display module 506 is configured to obtain the user ID and message content from the group message; match the user name according to the user ID; and display the user name and message content in the second client.
综上,通过区域信息获取显示范围,显示范围包括相对范围和绝对范围,从而对于第二客户端的位置信息在显示范围内的群消息进行显示,从而显示范围灵活。To sum up, the display range is obtained through the area information, and the display range includes a relative range and an absolute range, so that the group messages whose location information of the second client is within the display range are displayed, so that the display range is flexible.
实施例五Embodiment five
在上述实施例的基础上,本实施例还提供了一种信息发送装置。On the basis of the foregoing embodiments, this embodiment also provides an information sending device.
参照图7,示出了根据本发明一个实施例的一种信息发送装置实施例的结构框图,具体可以包括如下模块:Referring to FIG. 7 , it shows a structural block diagram of an embodiment of an information sending device according to an embodiment of the present invention, which may specifically include the following modules:
消息获取模块702,用于获取当前编辑完成的消息内容和选定的区域信息。The message acquisition module 702 is configured to acquire the currently edited message content and selected area information.
消息生成模块704,用于采用所述消息内容和选定的区域信息生成群消息,所述群消息为同一用户群中各用户共同接收的消息。The message generation module 704 is configured to use the message content and the selected area information to generate a group message, where the group message is a message received by all users in the same user group.
消息发送模块706,用于将所述群消息发送给用户群中其他用户的客户端。A message sending module 706, configured to send the group message to clients of other users in the user group.
综上所述,在编辑完群消息的消息内容后,可以为该群消息配置区域信息,从而生成携带有区域信息的群消息,后续发送给该用户群中其他用户时,其他用户的第二客户端可以基于位置实现对消息的显示,避免对无效消息的显示,减少对用户的影响。To sum up, after editing the message content of the group message, you can configure the area information for the group message, so as to generate a group message carrying the area information, and when it is sent to other users in the user group, other users' second The client can display messages based on location, avoid displaying invalid messages, and reduce the impact on users.
参照图8,示出了根据本发明一个实施例的一种信息发送装置实施例的可选结构框图,具体可以包括如下模块:Referring to FIG. 8 , it shows an optional structural block diagram of an embodiment of an information sending device according to an embodiment of the present invention, which may specifically include the following modules:
本发明一个可选实施例中,所述区域信息包括显示范围,所述显示范围包括绝对范围和相对范围。In an optional embodiment of the present invention, the area information includes a display range, and the display range includes an absolute range and a relative range.
本发明一个可选实施例中,所述消息获取模块702,包括:In an optional embodiment of the present invention, the message acquisition module 702 includes:
第一获取子模块70202,用于获取当前编辑完成的消息内容;获取选定的绝对范围,采用所述绝对范围作为显示范围构成区域信息。The first obtaining sub-module 70202 is used to obtain the currently edited message content; obtain the selected absolute range, and use the absolute range as the display range to form region information.
第二获取子模块70204,用于获取当前编辑完成的消息内容;获取自身的位置信息,以及选定的距离范围构成相对范围;将所述相对范围作为显示范围构成区域信息。The second acquisition sub-module 70204 is used to acquire the currently edited message content; acquire its own location information and the selected distance range to form a relative range; and use the relative range as a display range to form area information.
综上,可以基于显示范围配置群消息的区域信息,该显示范围可以是不随参照点位置变更而变化的绝对范围,也可以是基于参照点匹配距离范围所确定的相对范围,从而显示范围灵活。To sum up, the area information of the group message can be configured based on the display range. The display range can be an absolute range that does not change with the change of the reference point position, or a relative range determined based on the matching distance range of the reference point, so that the display range is flexible.
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的一种信息接收、发送方法和装置设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the components in a method for receiving and sending information according to an embodiment of the present invention and the device. Or full functionality. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
本发明公开了A1、一种信息接收方法,包括:第二客户端接收携带有区域信息的群消息,其中,所述群消息为同一用户群中各用户共同接收的消息,且由第一客户端发送;采用所述第二客户端的位置信息与所述区域信息进行匹配;当所述第二客户端的位置信息满足所述区域信息时,在所述第二客户端中显示所述群消息;当所述第二客户端的位置信息不满足所述区域信息时,忽略所述群消息。The present invention discloses A1. A method for receiving information, including: the second client receives a group message carrying area information, wherein the group message is a message received by all users in the same user group, and is received by the first client sending from the terminal; using the location information of the second client to match the area information; when the location information of the second client satisfies the area information, displaying the group message in the second client; When the location information of the second client does not satisfy the area information, ignore the group message.
A2、如A1所述的方法,第二客户端接收携带有区域信息的群消息之后,还包括:第二客户端对所述群消息进行解析,获取所述群消息中的区域信息;第二客户端获取自身的位置信息。A2. The method described in A1, after the second client receives the group message carrying the area information, further includes: the second client parses the group message to obtain the area information in the group message; The client obtains its own location information.
A3、如A1所述的方法,述采用所述第二客户端的位置信息与所述区域信息进行匹配,包括:从所述区域信息中获取显示范围,其中,所述显示范围包括绝对范围和相对范围;检测所述第二客户端的位置信息是否在所述显示范围内;若所述第二客户端的位置信息在所述显示范围内,则判定所述第二客户端的位置信息满足所述区域信息;若所述第二客户端的位置信息不在所述显示范围内,则判定所述第二客户端的位置信息不满足所述区域信息。A3. The method described in A1, the matching of the location information of the second client with the area information includes: acquiring a display range from the area information, wherein the display range includes an absolute range and a relative range range; detect whether the location information of the second client is within the display range; if the location information of the second client is within the display range, then determine that the location information of the second client satisfies the area information ; If the location information of the second client is not within the display range, determine that the location information of the second client does not satisfy the area information.
A4、如A1所述的方法,所述在所述第二客户端中显示所述群消息,包括:从所述群消息中获取用户标识和消息内容;依据所述用户标识匹配用户名;在所述第二客户端中显示所述用户名和消息内容。A4. The method described in A1, wherein displaying the group message on the second client includes: obtaining a user ID and message content from the group message; matching a user name according to the user ID; The user name and message content are displayed on the second client.
本发明还公开了B5、一种信息发送方法,包括:第一客户端获取当前编辑完成的消息内容和选定的区域信息;采用所述消息内容和选定的区域信息生成群消息,所述群消息为同一用户群中各用户共同接收的消息;将所述群消息发送给用户群中其他用户的客户端。The present invention also discloses B5, a method for sending information, including: the first client acquires the currently edited message content and selected area information; uses the message content and selected area information to generate a group message, and the A group message is a message received by all users in the same user group; the group message is sent to clients of other users in the user group.
B6、如B5所述的方法,所述区域信息包括显示范围,所述显示范围包括绝对范围和相对范围。B6. The method as described in B5, wherein the area information includes a display range, and the display range includes an absolute range and a relative range.
B7、如B6所述的方法,所述第一客户端获取当前编辑完成的消息内容和选定的区域信息,包括:第一客户端获取当前编辑完成的消息内容;获取选定的绝对范围,采用所述绝对范围作为显示范围构成区域信息。B7. The method as described in B6, wherein the first client obtains the currently edited message content and the selected area information, including: the first client obtains the current edited message content; obtains the selected absolute range, The area information is constructed using the absolute range as the display range.
B8、如B6所述的方法,所述第一客户端获取当前编辑完成的消息内容和选定的区域信息,包括:第一客户端获取当前编辑完成的消息内容;第一客户端获取自身的位置信息或选定参照点的位置信息,以及选定的距离范围构成相对范围;将所述相对范围作为显示范围构成区域信息。B8. The method as described in B6, wherein the first client obtains the currently edited message content and the selected area information, including: the first client obtains the current edited message content; the first client obtains its own The location information or the location information of the selected reference point, and the selected distance range form a relative range; using the relative range as a display range constitutes area information.
本发明还公开了C9、一种信息接收装置,包括:接收模块,用于接收携带有区域信息的群消息,其中,所述群消息为同一用户群中各用户共同接收的消息,且由第一客户端发送;匹配模块,用于采用所述第二客户端的位置信息与所述区域信息进行匹配;当所述第二客户端的位置信息满足所述区域信息时触发显示模块;以及当所述第二客户端的位置信息不满足所述区域信息时,忽略所述群消息;所述显示模块,用于在所述第二客户端中显示所述群消息。The present invention also discloses C9, an information receiving device, including: a receiving module, used to receive a group message carrying area information, wherein the group message is a message received by all users in the same user group, and the first A client sends; a matching module, configured to use the location information of the second client to match the area information; trigger a display module when the location information of the second client satisfies the area information; and when the location information of the second client satisfies the area information; When the location information of the second client does not meet the area information, the group message is ignored; the display module is configured to display the group message on the second client.
C10、如C9所述的装置,还包括:获取模块,用于对所述群消息进行解析,获取所述群消息中的区域信息;以及获取自身的位置信息。C10. The device according to C9, further comprising: an obtaining module, configured to parse the group message, obtain area information in the group message; and obtain location information of itself.
C11、如C9所述的装置,所述匹配模块,用于从所述区域信息中获取显示范围,其中,所述显示范围包括绝对范围和相对范围;检测所述第二客户端的位置信息是否在所述显示范围内;若所述第二客户端的位置信息在所述显示范围内,则判定所述第二客户端的位置信息满足所述区域信息;若所述第二客户端的位置信息不在所述显示范围内,则判定所述第二客户端的位置信息不满足所述区域信息。C11. The device as described in C9, the matching module is configured to obtain a display range from the area information, wherein the display range includes an absolute range and a relative range; detect whether the location information of the second client is within within the display range; if the location information of the second client is within the display range, it is determined that the location information of the second client satisfies the area information; if the location information of the second client is not within the If it is within the display range, it is determined that the location information of the second client does not satisfy the area information.
C12、如C9所述的装置,所述显示模块,用于从所述群消息中获取用户标识和消息内容;依据所述用户标识匹配用户名;在所述第二客户端中显示所述用户名和消息内容。C12. The device as described in C9, the display module is configured to obtain the user ID and message content from the group message; match the user name according to the user ID; display the user in the second client name and message content.
本发明还公开了D13、一种信息发送装置,包括:消息获取模块,用于获取当前编辑完成的消息内容和选定的区域信息;消息生成模块,用于采用所述消息内容和选定的区域信息生成群消息,所述群消息为同一用户群中各用户共同接收的消息;消息发送模块,用于将所述群消息发送给用户群中其他用户的客户端。The present invention also discloses D13, an information sending device, including: a message acquisition module, used to acquire the currently edited message content and selected area information; a message generation module, used to adopt the message content and the selected area information The area information generates a group message, and the group message is a message received by all users in the same user group; the message sending module is used to send the group message to the clients of other users in the user group.
C14、如C13所述的装置,所述区域信息包括显示范围,所述显示范围包括绝对范围和相对范围。C14. The device according to C13, wherein the area information includes a display range, and the display range includes an absolute range and a relative range.
C15、如C14所述的装置,所述消息获取模块,包括:第一获取子模块,用于获取当前编辑完成的消息内容;获取选定的绝对范围,采用所述绝对范围作为显示范围构成区域信息。C15. The device as described in C14, the message acquisition module includes: a first acquisition submodule for acquiring the currently edited message content; acquiring the selected absolute range, using the absolute range as the display range to form an area information.
D16、如D14所述的装置,所述消息获取模块,包括:第二获取子模块,用于获取当前编辑完成的消息内容;获取自身的位置信息,以及选定的距离范围构成相对范围;将所述相对范围作为显示范围构成区域信息。D16. The device as described in D14, the message acquisition module includes: a second acquisition submodule, used to acquire the currently edited message content; acquire its own position information, and the selected distance range constitutes a relative range; The relative range constitutes area information as a display range.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410849428.3ACN104602203B (en) | 2014-12-29 | 2014-12-29 | A kind of information reception, sending method and device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410849428.3ACN104602203B (en) | 2014-12-29 | 2014-12-29 | A kind of information reception, sending method and device |
| Publication Number | Publication Date |
|---|---|
| CN104602203A CN104602203A (en) | 2015-05-06 |
| CN104602203Btrue CN104602203B (en) | 2018-07-06 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410849428.3AActiveCN104602203B (en) | 2014-12-29 | 2014-12-29 | A kind of information reception, sending method and device |
| Country | Link |
|---|---|
| CN (1) | CN104602203B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105554701B (en)* | 2015-12-16 | 2019-02-26 | 中青冠岳科技(北京)有限公司 | One kind carrying out address information reminding method and device based on mobile terminal |
| CN105808693A (en)* | 2016-03-03 | 2016-07-27 | 成都高合盛科技有限责任公司 | Electronic map based appointment method and apparatus |
| CN110661694A (en)* | 2018-06-28 | 2020-01-07 | 阿里巴巴集团控股有限公司 | Message processing method and device, terminal and server |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103139048A (en)* | 2011-12-05 | 2013-06-05 | 北京神州泰岳软件股份有限公司 | Group information reminding method and system |
| CN103379165A (en)* | 2012-04-26 | 2013-10-30 | 腾讯科技(深圳)有限公司 | Method, terminal, server and system for displaying microblog topics |
| WO2014090081A1 (en)* | 2012-12-11 | 2014-06-19 | 腾讯科技(深圳)有限公司 | Method for joining group, group establishing method, client, server, and system |
| CN104079471A (en)* | 2013-03-28 | 2014-10-01 | 腾讯科技(深圳)有限公司 | Communication method, communication system, server and client |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103139048A (en)* | 2011-12-05 | 2013-06-05 | 北京神州泰岳软件股份有限公司 | Group information reminding method and system |
| CN103379165A (en)* | 2012-04-26 | 2013-10-30 | 腾讯科技(深圳)有限公司 | Method, terminal, server and system for displaying microblog topics |
| WO2014090081A1 (en)* | 2012-12-11 | 2014-06-19 | 腾讯科技(深圳)有限公司 | Method for joining group, group establishing method, client, server, and system |
| CN104079471A (en)* | 2013-03-28 | 2014-10-01 | 腾讯科技(深圳)有限公司 | Communication method, communication system, server and client |
| Publication number | Publication date |
|---|---|
| CN104602203A (en) | 2015-05-06 |
| Publication | Publication Date | Title |
|---|---|---|
| JP6284906B2 (en) | Multiple devices and methods for mobile station center determination of positioning assistance data | |
| EP2575380B1 (en) | Method for terminal location sharing and terminal device | |
| EP2853102B1 (en) | Location-based group generation method, apparatus and system | |
| CN103856895B (en) | The method and terminal of shared location information | |
| CN103379165B (en) | A kind of method, terminal, server and system for showing microblog topic | |
| WO2018113639A1 (en) | Interaction method between user terminals, terminal, server, system and storage medium | |
| US10638303B2 (en) | Service processing method and apparatus | |
| JP6073472B2 (en) | Group management method and group management server in mobile social network service application | |
| CN106713438B (en) | Position sharing processing method and device | |
| AU2012248986A1 (en) | Method for displaying marker in a map service | |
| TW201412059A (en) | Method and device for obtaining geographic location in chat content | |
| CN105100206A (en) | Method, equipment and system for pushing business card | |
| KR102392436B1 (en) | Sharing media data and location information via instant messaging | |
| CN110536075A (en) | Video generation method and device | |
| CN104602203B (en) | A kind of information reception, sending method and device | |
| US10002584B2 (en) | Information processing apparatus, information providing method, and information providing system | |
| CN105871826A (en) | Method and device for sharing geographic position between terminals | |
| CN108540947A (en) | Red envelope sharing method, first terminal, second terminal and server | |
| CN105100454B (en) | The providing method and offer device of conversation object evaluation information | |
| CN104468334A (en) | Communication method and device based on fixed position information | |
| CN104503694A (en) | Drawing data instant messaging based method, client and system | |
| CN103178878B (en) | Method and system for connection of wireless devices | |
| CN103685254A (en) | Common account information safety detecting method and server | |
| CN106658670A (en) | Wireless fidelity Wi-Fi scanning method and mobile terminal | |
| CN106506774B (en) | Display method and device for contact persons in address list |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | Effective date of registration:20220715 Address after:Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after:BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before:100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before:BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before:Qizhi software (Beijing) Co.,Ltd. | |
| TR01 | Transfer of patent right |