Disclosure of Invention
One objective of the present invention is to provide a method and an apparatus for matching personalized information of a communication application.
In order to achieve one of the above objects, a first embodiment of the present invention provides a method for matching personalized information of a communication application, the method including:
acquiring basic information of a communication object;
matching personalized information corresponding to the basic information in at least two groups of preset personalized information according to the basic information;
and outputting personalized information corresponding to the basic information of the communication object to a communication application of the communication object.
As a further improvement of an embodiment of the present invention, the method further comprises:
and presetting a calling rule for each group of personalized information, wherein the calling rule comprises the matching relation between the basic information of the communication object and the personalized information.
As a further improvement of an embodiment of the present invention, the communication application is an instant messaging application.
As a further improvement of an embodiment of the present invention, the basic information of the communication partner includes: ID, and/or gender, and/or grouping, and/or geographic location, and/or language of use.
As a further improvement of an embodiment of the present invention, the personalized information includes: personal avatar, and/or gender, and/or nickname, and/or signature, and/or presence status.
To achieve one of the above objects, a first embodiment of the present invention provides a personalized information matching apparatus for communication applications, including:
the information collection module is used for acquiring basic information of a communication object;
the matching module is used for matching the personalized information corresponding to the basic information in at least two groups of preset personalized information;
and the output module is used for outputting the personalized information corresponding to the basic information of the communication object to the communication application of the communication object.
As a further improvement of an embodiment of the present invention, the personalized information matching apparatus for a communication application further includes:
and the rule management module is used for presetting calling rules for each group of personalized information, wherein the calling rules comprise the matching relation between the basic information of the communication object and the personalized information.
As a further improvement of an embodiment of the present invention, the communication application is an instant messaging application.
As a further improvement of an embodiment of the present invention, the basic information of the communication partner includes: ID, and/or gender, and/or grouping, and/or geographic location, and/or language of use.
As a further improvement of an embodiment of the present invention, the personalized information includes: personal avatar, and/or gender, and/or nickname, and/or signature, and/or presence status.
Compared with the prior art, the invention has the beneficial effects that: different personalized information can be displayed aiming at different communication objects, the diversified requirements of the user on communication application are met, and good communication experience is brought to the user and the communication objects.
Detailed Description
The present invention will be described in detail below with reference to specific embodiments shown in the drawings. These embodiments are not intended to limit the present invention, and structural, methodological, or functional changes made by those skilled in the art according to these embodiments are included in the scope of the present invention.
The network communication application is an application that is used for accessing internet equipment such as a PC, a smart phone, a tablet computer and the like, and can be used for people to communicate characters, voice, video and the like, such as a web page version or a software version of vigorous atmosphere, Tencent QQ, WeChat and the like, and can also comprise an email and the like. In the present specification, the instant messaging is taken as an example to describe in detail.
In order to allow each user to display their own unique personal characteristics, the network communication application can generally set corresponding personalized information.
The personalized information may include: the user can set personalized information belonging to the user, and the personalized information can be displayed to the communication object through the communication application when chatting with other communication objects, so that the communication object can know the information of the user more easily.
In order to make the personalized information more targeted, in the embodiment of the invention, a plurality of groups of personalized information are arranged at the local end and/or the server end of the communication application, and different personalized information is matched according to different communication objects, so that a user can have better communication experience.
For example, as shown in FIG. 1A, a first set of personalization information: the head portrait of the user is picture one, the nickname is AA, the gender is BB, the signature is CC, and the online state is DD.
As shown in fig. 1B, the second set of personalization information: the head portrait of the user is picture two, the nickname is aa, the gender is bb, the signature is cc, and the online status is dd.
As shown in fig. 1C, the third set of personalization information: the head portrait of the user is picture one, the nickname is AA, the gender is BB, and the online state is DD.
For example, the first group of personalized information and the second group of personalized information may have completely different contents in each dimension or may have partially same dimensions, and a user may set the contents according to actual needs.
In addition, for example, the first and third sets of personalized information may also be personalized information composed of information with different dimensions (including increasing and decreasing dimensions).
As shown in fig. 2, the personalized information matching method for a communication application according to an embodiment of the present invention includes:
s1, acquiring basic information of the communication object, the present embodiment may acquire the basic information of the communication object through the communication server, where the basic information includes, for example: ID, and/or gender, and/or grouping, and/or geographic location, and/or language of use;
s2, matching corresponding personalized information in at least two groups of preset personalized information according to the basic information; three sets of personalized information, such as those shown in fig. 1 a-1 c, described above, the matching of which will be disclosed in detail below;
and S3, outputting personalized information corresponding to the basic information of the communication object to the communication application of the communication object.
In an embodiment of the present invention, the matching of the basic information and the corresponding personalized information specifically includes:
when the personalized information matched with the basic information is to be called, the calling rule of each group of personalized information is used, and the calling rule is a rule preset by each group of personalized information corresponding to the server side and/or the local side.
In this embodiment, the retrieval rule is a matching relationship table between the basic information of the communication object and the personalized information, where the matching relationship table is preset by a user in advance, for example, if a group of the communication object in a communication application is a friend, retrieving the personalized information matched with the friend group; of course, the matching relationship table may also be preset by the system according to some specific rules, for example, if the language used by the communication object in the communication application is english, then the personalized information in english is called, and the like.
The following is illustrated by way of example:
referring to fig. 1A and 1B, it is assumed that a user a and a user B are chatting using an instant messaging application, which is a service capable of instantly sending and receiving internet messages and the like, such as WeChat, Wang, and the like.
The user a presets two sets of personalized information, as shown in fig. 1A and 1B, including a first set of personalized information and a second set of personalized information, the number of sets of personalized information may be determined according to the user's needs, and is not limited to two sets.
The first user group pre-groups all the communication objects, as shown in the example of fig. 3, the first user group can divide the communication objects into a family group, a colleague group and a friend group, the two sets of personalized information can form a calling rule with the group objects of the communication objects, and the calling rule is as follows: when the communication object belongs to a friend group or a colleague group, the personalized information displayed to the communication object by the user A is a first group of personalized information; and when the communication object belongs to the family group, the personalized information displayed to the communication object by the user A is the second group of personalized information.
Thus, when the obtained user B belongs to the family group, the second group of personalized information is selected as the personalized information matched with the basic information of the user B, namely the second group of personalized information is output to the communication application of the user B, for example, the user B sees the head portrait of the user A as a picture II on the communication application interface. Of course, when the user B clicks the personal information of the user A, the user B can see the detailed content of the second group of personalized information of the user A. As shown in fig. 4, the second set of personalized information for user a may be displayed on the chat interface of user b.
In the above embodiment, the communication objects are already grouped, and the server side and/or the local side may further determine the grouping of the communication objects according to the basic information of the communication objects, and match the personalized information according to the grouping.
As shown in fig. 5, for another example, when a customer service receives a communication request of a communication object, different personalized information displays can be performed according to different communication objects, such as nationality, customer types, and the like. In this example, the user a has three sets of personalized information in advance, and each set of personalized information has a calling condition matched with the personalized information. For example, a first type of invocation condition for the first set of personalized information is: geographic location is Chinese, language is Chinese and gender is female; the second calling condition of the second group of personalized information is as follows: geographic location is Chinese, language is English and gender is male; the third calling condition of the third group of personalized information is: geographic location is foreign, language is english, and gender is male; at this time, the first set of personalized information may be set in chinese, and the second and third sets of personalized information may be set in english.
Several possibilities for the personalized information matching process are briefly described below:
(1) when the server of the user A acquires the basic information of the user B as follows: when the geographic position is Chinese, the language is Chinese and the gender is female, the basic information is judged to be matched with a first calling condition at the moment, namely, the user A displays a first group of personalized information to the user B, wherein the basic information of the user B needs to meet the calling condition from multiple dimensions;
(2) when the server of the user A acquires the basic information of the user B, the basic information comprises the following information: when the geographic position is foreign, the basic information can be judged to meet the third calling condition without acquiring other basic information, namely, the user A displays the third group of personalized information to the user B, and the basic information of the user B only needs to meet the calling condition from one dimension;
(3) when the server of the user A acquires the basic information of the user B as follows: when the geographic position is foreign, the language is English and the gender is female, namely the basic information at the moment does not completely accord with any one of the first group of personalized information, the second group of personalized information or the third group of personalized information, at the moment, the association degree between the acquired basic information and each group of personalized information can be judged firstly, and according to the judgment, the acquired basic information only meets one of the first calling condition or the second calling condition and meets two of the third calling condition, namely the association degree between the basic information and the third group of personalized information is highest, so that the third group of personalized information is selected to be displayed to the user B;
(4) when the server of the user A acquires the basic information of the user B as follows: the geographic position is Chinese, the language is English, and the gender is female, namely the basic information at the moment does not completely accord with any one of the first group of personalized information, the second group of personalized information or the third group of personalized information, at the moment, the relevance of the obtained basic information, the first group of personalized information and the second group of personalized information is the same according to judgment, the user A can adjust the calling rule under the condition, so that a certain group of personalized information is appointed to be displayed to the user B, the appointed principle can be determined according to the ordering of the personalized information, for example, the personalized information of a certain group with the front ordering can be used as the appointed group of personalized information, namely the personalized information of the group with the front ordering is used as the appointed group of personalized information when the personalized information is called; the second set of personalized information may be selected to be displayed to the user b when the second set of personalized information satisfies the condition that the language in the basic information is english.
Of course, in other manners, a certain set of personalized information may also be designated as default personalized information when the corresponding personalized information is not matched.
As shown in fig. 6, the apparatus for matching personalized information of a communication application according to an embodiment of the present invention includes:
the information collecting module 100 is configured to obtain basic information of a communication object, and the present embodiment may obtain the basic information of the communication object through the communication server, where the basic information includes, for example: ID, and/or gender, and/or grouping, and/or geographic location, and/or language of use;
the matching module 200 is configured to match the personalized information corresponding to the basic information in at least two preset groups of personalized information according to the basic information; three sets of personalized information, such as those shown in fig. 1 a-1 c, described above, the matching of which will be disclosed in detail below;
the output module 300 is configured to output personalized information corresponding to the basic information of the communication object to the communication application of the communication object.
When the personalized information matched with the basic information is to be called, the calling rule of each group of personalized information is used, and in an embodiment of the present invention, the apparatus further includes:
the rule management module 400 is configured to preset a calling rule for each group of personalized information, where the calling rule includes a matching relationship between the basic information of the communication object and the personalized information.
The calling rule is a preset rule of each group of personalized information corresponding to the server side and/or the local side.
In this embodiment, the retrieval rule is a matching relationship table between the basic information of the communication object and the personalized information, where the matching relationship table is preset by a user in advance, for example, if a group of the communication object in a communication application is a friend, retrieving the personalized information matched with the friend group; of course, the matching relationship table may also be preset by the system according to some specific rules, for example, if the language used by the communication object in the communication application is english, the personalized information in english is called, and the like.
For an example of the workflow of the personalized information matching device for a communication application, reference may be made to the above example of the personalized information matching method for a communication application, and details are not described here again.
In summary, according to the method and the device for matching personalized information of a communication application, a user can set a plurality of groups of personalized information, so that the user can select the personalized information matched with the basic information of the communication object in the face of different communication objects, so that the method and the device can display different personalized information aiming at different communication objects, meet diversified requirements of the user on the communication application, and bring good communication experience to the user and the communication object; in addition, the method has an excellent privacy protection effect for users.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the module described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and other divisions may be realized in practice, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist alone physically, or 2 or more modules may be integrated into one module. The integrated module can be realized in a hardware form, and can also be realized in a form of hardware and a software functional module.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may be modified or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.