CN104243277B - The method for pushing and device of scene resource - Google Patents

The method for pushing and device of scene resource Download PDF

Info

Publication number
CN104243277B
CN104243277B CN201310250112.8A CN201310250112A CN104243277B CN 104243277 B CN104243277 B CN 104243277B CN 201310250112 A CN201310250112 A CN 201310250112A CN 104243277 B CN104243277 B CN 104243277B
Authority
CN
China
Prior art keywords
scene
communication
resource
scene resource
communicating pair
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.)
Active
Application number
CN201310250112.8A
Other languages
Chinese (zh)
Other versions
CN104243277A (en
Inventor
董宇
田伟峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310250112.8A priority Critical patent/CN104243277B/en
Publication of CN104243277A publication Critical patent/CN104243277A/en
Application granted granted Critical
Publication of CN104243277B publication Critical patent/CN104243277B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present invention provides a kind of method for pushing and device of scene resource, this method is according to the present communications data of communicating pair, obtain at least one first scene resource with present communications Data Matching, include the first window of at least one first scene resource to communication one side push, since at least one first scene resource for including in first window is and present communications Data Matching, that is it is all that the communication data current with user is relevant that the first scene resource in the first window of scene resource is selected for user, it is also the bigger scene resource of user's select probability, therefore, suitable scene resource is selected from first window, the time needed for user's selection can be saved.

Description

The method for pushing and device of scene resource
Technical field
The present embodiments relate to the communication technology more particularly to a kind of method for pushing and device of scene resource.
Background technology
With the continuous development of the communication technology, the exchange way between people is no longer only limitted to simple speech exchange, also It is exchanged including the use of the mode of scene resource, scene resource includes picture, animation or music etc..
In the prior art, selection scene resource button can be provided in the communication interface of user, transmitting terminal is needing to send feelings When scape resource, scene resource button, the scene resources bank that the system of getting is provided, from scene resources bank can be selected by click The middle suitable scene resource of selection is sent to receiving terminal.
However, using the method for the prior art, scene resource quantity in the scene resources bank provided by system compared with It is more, therefore, select the suitable scene resource cost time long in the scene resources bank provided from system.
Invention content
The embodiment of the present invention provides a kind of method for pushing and device of scene resource, and suitable scene is selected to shorten user The time of resource.
First aspect of the embodiment of the present invention provides a kind of method for pushing of scene resource, including:
According to the present communications data of communicating pair, at least one first feelings with the present communications Data Matching are obtained Scape resource;
Include the first window of at least one first scene resource to communication one side push.
With reference to first aspect, in the first possible implementation, the present communications data according to communicating pair, It obtains and includes at least one first scene resource of the present communications Data Matching:
The present communications data of communicating pair are analyzed, scene category corresponding with the present communications data is obtained Property;
From preset scene resources bank, at least one first scene resource to match with the scene attribute is obtained.
In conjunction with the first possible realization method, in second of possible realization method, the present communications data are Voice data or text data;
The present communications data to communicating pair are analyzed, and the corresponding scene category of the present communications data is obtained Property includes:
The voice data of the communicating pair is analyzed using speech recognition technology, the voice data is obtained and corresponds to Scene attribute;Or
The text data of the communicating pair is analyzed using semantics recognition technology, the text data is obtained and corresponds to Scene attribute.
In conjunction with the first possible realization method or second of possible realization method, in the third possible realization method In, it is described from preset scene resources bank, obtain at least one first scene resource to match with the scene attribute, packet It includes:
Judge whether the corresponding scene attribute of the present communications data belongs to the customized scene attribute of one side of communication;
If so, from the scene attribute corresponding scene resource word bank customized with one side of the communication, obtain with it is described The first scene resource that scene attribute matches.
With reference to first aspect or the first possible realization method or the third possible realization method of first aspect, exist In 4th kind of possible realization method, first window that at least one first scene resource is included to communication one side push Before mouthful, further include:
According to the historical communication data of the subscriber data of the communicating pair and the communicating pair, the communication is determined The personal status relationship of both sides;
At least one first scene resource is screened according to the personal status relationship, obtains at least one after screening A first scene resource;
It is described to include to first window of the communication one side push comprising at least one first scene resource:
Include the first window of at least one first scene resource after the screening to communication one side push.
In conjunction with the 4th kind of possible realization method, in the 5th kind of possible realization method, the determination communication is double After the personal status relationship of side, further include:
Obtain the environmental information of the communicating pair;
According to the environmental information of the communicating pair and the personal status relationship, obtain and the environmental information and the identity At least one second scene resource of relationship match;
Include the second window of at least one second scene resource to communication one side push.
With reference to first aspect or first aspect the first to any possible reality in the 4th kind of possible realization method Existing mode, in the 6th kind of possible realization method, the first scene resource includes:Picture, animation and/or music.
In conjunction with the 5th kind of possible realization method, in the 7th kind of possible realization method, the second scene resource packet It includes:Picture, animation and/or music.
With reference to first aspect or first aspect the first to any possible reality in the 7th kind of possible realization method Existing mode, it is described to include at least one first scene money to one side of communication push in the 8th kind of possible realization method After the first window in source, further include:
The first scene resource that one side of the communication selects from the first window is sent to communication another party.
It is described to communication one side push in the 9th kind of possible realization method in conjunction with the 5th kind of possible realization method Including after the second window of at least one second scene resource, further include:
The second scene resource that one side of the communication selects from second window is sent to communication another party.
Second aspect of the embodiment of the present invention provides a kind of method for pushing of scene resource, including:
Obtain the environmental information of communicating pair;
According to the historical communication data of the subscriber data of the communicating pair and the communicating pair, the communication is determined The personal status relationship of both sides;
According to the environmental information and the personal status relationship, obtain matched with the environmental information and the personal status relationship At least one third scene resource;
Include the third window of at least one third scene resource to communication one side push.
It is in the first possible implementation, described to be pushed comprising described at least to one side of communication in conjunction with second aspect After the third window of one third scene resource, further include:
The third scene resource that one side of the communication selects from the third window is sent to communication another party.
The third aspect of the embodiment of the present invention provides a kind of pusher of scene resource, including:
First acquisition module obtains and the present communications data for the present communications data according to communicating pair At least one first scene resource matched;
First sending module, the first window for including at least one first scene resource to communication one side push Mouthful.
In conjunction with the third aspect, in the first possible implementation, first acquisition module includes that the first acquisition is single Member and second acquisition unit;
Wherein, the first acquisition unit is for analyzing the present communications data of communicating pair, obtain with it is described The corresponding scene attribute of present communications data;
The second acquisition unit be used for from preset scene resources bank, obtain with the scene attribute match to A few first scene resource.
In conjunction with the first possible realization method, in second of possible realization method, the present communications data are Voice data or text data;
The first acquisition unit is specifically used for carrying out the voice data of the communicating pair using speech recognition technology Analysis, obtains the corresponding scene attribute of the voice data;Or, using semantics recognition technology to the textual data of the communicating pair According to being analyzed, the corresponding scene attribute of the text data is obtained.
In conjunction with the first possible realization method or second of possible realization method, in the third possible realization method In, described device further includes:Second acquisition module, for the first sending module to communication one side push comprising described at least one It is logical according to the history of the subscriber data of the communicating pair and the communicating pair before the first window of first scene resource Letter data determines the personal status relationship of the communicating pair;According to the personal status relationship at least one first scene resource It is screened, obtains at least one first scene resource after screening;
First sending module is specifically used for including at least one first feelings after the screening to communication one side push The first window of scape resource.
In conjunction with any possible reality in the first of the third aspect or the third aspect to the third possible realization method Existing mode, in the 4th kind of possible realization method, the second acquisition unit is specifically used for judging the present communications data Whether corresponding scene attribute belongs to the customized scene attribute of one side of communication;If so, communicating the customized feelings of a side from described In the corresponding scene resource word bank of scape attribute, the first scene resource to match with the scene attribute is obtained.
In conjunction with the 4th kind of possible realization method, in the 5th kind of possible realization method, described device further includes:Third Acquisition module after the personal status relationship for determining the communicating pair for second acquisition module, obtains the communicating pair Environmental information;According to the environmental information of the communicating pair and the personal status relationship, obtain and the environmental information and described The matched at least one second scene resource of personal status relationship;
First sending module is additionally operable to the of communication one side push comprising at least one second scene resource Two windows.
In conjunction with any possible reality in the first of the third aspect or the third aspect to the 4th kind of possible realization method Existing mode, in the 6th kind of possible realization method, the first scene resource includes:Picture, animation and/or music.
In conjunction with the 5th kind of possible realization method, in the 7th kind of possible realization method, the second scene resource packet It includes:Picture, animation and/or music.
In conjunction with any possible reality in the first of the third aspect or the third aspect to the 7th kind of possible realization method Existing mode, in the 8th kind of possible realization method, described device further includes:Second sending module is sent for described first After module pushes the first window comprising at least one first scene resource to one side of communication, to communication, another party sends The first scene resource that one side of the communication selects from the first window.
In conjunction with the 4th kind of possible realization method, in the 9th kind of possible realization method, second sending module, also After pushing the second window comprising at least one second scene resource to one side of communication, to communication, another party sends The second scene resource that one side of the communication selects from second window.
Fourth aspect of the embodiment of the present invention provides a kind of pusher of scene resource, including:
First acquisition module, the environmental information for obtaining communicating pair;
Determining module, for according to the subscriber data of the communicating pair and the historical communication number of the communicating pair According to determining the personal status relationship of the communicating pair;
Second acquisition module, for according to the environmental information and the personal status relationship, obtain with the environmental information and The matched at least one third scene resource of personal status relationship;
First sending module, the third window for including at least one third scene resource to communication one side push Mouthful.
In conjunction with fourth aspect, in the first possible implementation, described device further includes:Second sending module is used After first sending module includes the third window of at least one third scene resource to communication one side push, to Communication another party sends the third scene resource that one side of the communication selects from the third window.
The method for pushing and device of scene resource provided in an embodiment of the present invention, this method is according to the current logical of communicating pair Letter data, at least one first scene resource of acquisition and present communications Data Matching, to communication, one side pushes comprising described in extremely The first window of a few first scene resource, due at least one first scene resource for including in first window be with currently Communication data is matched, that is to say, that the first scene resource in the first window of scene resource is selected for user all is and user Therefore the scene resource that current communication data is relevant and user's select probability is bigger selects to close from first window Suitable scene resource can save the time needed for user's selection.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Some bright embodiments for those of ordinary skill in the art without having to pay creative labor, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is the flow diagram of the method for pushing embodiment one of scene resource of the present invention;
Fig. 2 is the flow diagram of the method for pushing embodiment two of scene resource of the present invention;
Fig. 3 is the flow diagram of the method for pushing embodiment three of scene resource of the present invention;
Fig. 4 is the flow diagram of the method for pushing example IV of scene resource of the present invention;
Fig. 5 is the structural schematic diagram of the pusher embodiment one of scene resource of the present invention;
Fig. 6 is the structural schematic diagram of the pusher embodiment two of scene resource of the present invention;
Fig. 7 is the structural schematic diagram of the pusher embodiment three of scene resource of the present invention;
Fig. 8 is the structural schematic diagram of the pusher example IV of scene resource of the present invention;
Fig. 9 is the structural schematic diagram of the pusher embodiment five of scene resource of the present invention;
Figure 10 is the structural schematic diagram of the pusher embodiment six of scene resource of the present invention.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
With the continuous development of the communication technology, people would generally be enriched by sending some scene resources between people It links up, scene resource includes picture, expression, animation and music etc., for example, during communication, one side of communication can be to another One side sends the expression of a smile to express current mood.However, the selective feelings that existing system provides to the user The scene resources bank of scape resource is indifference, that is to say, that for any user, any moment, the feelings provided in any case Scape resources bank is all same scene resources bank, and all as far as possible can in any case at any time to meet any user Enough to select a suitable scene resource for linking up from scene resources bank, the general scene resources bank is all larger, and user A suitable scene resource is selected in the scene resources bank larger from one, the spent time will necessarily be long, this hair It is bright precisely in order to solving the problems, such as this, it is proposed that a kind of method for pushing of scene resource, the main thought of this method is to pass through The personal status relationship of communicating pair current communication data, the environmental information of communicating pair, communicating pair, from system Obtained in preset scene resources bank the communication data current with above-mentioned communicating pair, communicating pair environmental information, communicate pair Side personal status relationship or a combination thereof the scene resource to match, and to user push include the above-mentioned scene resource to match Window selects suitable scene resource so that user selects suitable scene resource from above-mentioned window to save user Time.
Technical scheme of the present invention is described in detail with several specific embodiments below.
Fig. 1 is the flow diagram of the method for pushing embodiment one of scene resource of the present invention, as shown in Figure 1, the present embodiment Method include:
S101:According to the present communications data of communicating pair, at least one first with present communications Data Matching is obtained Scene resource.
In communication process, communicating pair needs the scene resource sent, often relevant with current communication data, Can be analyzed by the present communications data to communicating pair, then obtain with one of present communications Data Matching or Multiple first scene resources specifically can be obtained from preset scene resources bank, can also be online by internet Search obtains, and concrete mode does not limit, as long as the first scene resource got is and present communications Data Matching.
S102:Include the first window of at least one first scene resource to communication one side push.
After getting one or more the first scene resource with present communications Data Matching, by communication one First window of side's push comprising said one or multiple first scene resources, so that one side of communication is from above-mentioned first window Select suitable scene resource.
One side of above-mentioned communication can be the side in the communicating pair determined according to Content of Communication, for example, user A is to user B says " I is hungry ", then includes the window of the scene resource to match with " I is hungry " to user's B push, with " I is hungry " phase The scene resource matched can entitled based on " one bowl of rice ", the picture of " one piece of chocolate " or animation etc., at this point, one side of communication Refer to user B.If user A with " I good happy " is had input in the dialog box of user B, to user A push and " open The window for the scene resource that the heart " matches, the scene resource to match with " happy " can be based on entitled " smile expression ", " big Laugh at expression " picture or animation etc., at this point, one side of communication is user A.
In the present embodiment, by the present communications data according to communicating pair, obtain with present communications Data Matching extremely A few first scene resource;Then the first window for including at least one first scene resource to communication one side push, due to At least one first scene resource for including in the first window is that the communication data current with communicating pair is matched, that is, Say that the first scene resource in the first window for selecting scene resource for user is all that the communication data current with user is relevant, Therefore the namely bigger scene resource of user's select probability selects suitable scene resource, Ke Yijie from first window Time about needed for user's selection.
Fig. 2 is the flow diagram of the method for pushing embodiment two of scene resource of the present invention, as shown in Fig. 2, the present embodiment Method include:
S201:The present communications data of communicating pair are analyzed, the corresponding scene attribute of present communications data is obtained.
Scene attribute refers to the classification of the scene belonging to the content of communication data.
Specifically, present communications data can be voice data or text data.
When present communications data are voice data, as a kind of feasible realization method, speech recognition skill may be used Art analyzes the voice data of communicating pair, obtains the corresponding scene attribute of voice data.
For example, user A says that B is said to user:" here When the Rain Comes for I, and the weather of yours how over there", pass through speech recognition Technology, can analyze user A with user's B Talking About The Weathers, it is determined that the corresponding scene attribute of current speech data be weather. User A says user B:" I wants a bunch of flowers ", by speech recognition technology, can analyze user A talked about with user B it is fresh Flower, it is determined that the corresponding scene attribute of current speech data is fresh flower.User A says user B:" I is hungry, I feels like a meal " leads to Speech recognition technology is crossed, user A can be analyzed and had a meal being talked about with user B, it is determined that the corresponding scene of current speech data Attribute is to have a meal.
Speech recognition technology further includes voice mood identification technology, which can pass through voice, the intonation to voice data Analyzed with information such as word speeds, obtain the scene attribute of voice data, these scene attributes are generally sad, it is depressed, It is happy etc..
When present communications data are text data, as a kind of feasible realization method, using semantics recognition technology pair The text data of communicating pair is analyzed, and the corresponding scene attribute of text data is obtained.
For example, user A says B sending information data to user:" here When the Rain Comes for I, and the weather of yours how over there", lead to Cross semantics recognition technology, can analyze user A with user's B Talking About The Weathers, it is determined that the corresponding scene of current text data Attribute is weather.User A says B sending informations to user:" I wants a bunch of flowers " can be analyzed by semantics recognition technology User A is talking about fresh flower with user B, it is determined that the corresponding scene attribute of current text data is fresh flower.User A says B to user Sending information:" I is hungry, I feels like a meal " can be analyzed user A and be had a meal being talked about with user B by semantics recognition technology, Then determine that the corresponding scene attribute of current text data is to have a meal.
S202:From preset scene resources bank, at least one first scene resource to match with scene attribute is obtained.
Include the corresponding scene resource of various scene attributes in preset scene resources bank, according to the scene determined in S201 Attribute obtains one or more scene resource to match with scene attribute from preset scene resources bank.
For example, theme is " blowing ", " rainy ", " snowing ", the scene attribute corresponding to the pictures such as " hail " or animation For weather;Theme is " apple ", " pear ", " watermelon ", the pictures such as " grape " or the corresponding scene attribute of animation are fruit;It is main The pictures such as entitled " smile ", " laugh ", " tittering " or the corresponding scene attribute of animation are mood, and theme is " red rose ", " blue The pictures such as rose ", " Chinese rose ", " carnation ", " lily " or the corresponding scene attribute of animation are fresh flower.Theme be " rice ", The pictures such as " bread ", " noodles " or the corresponding scene attribute of animation are to have a meal.Also it is right to be equivalent to each scene resource A scene attribute is answered, such as the scene attribute for the picture or animation that theme is " blowing " is weather, theme is " apple " Picture or the scene attribute of animation be fruit.
Can include the corresponding scene resource such as weather, fruit, mood in preset scene resources bank, be specifically the theme for " blowing ", " rainy ", " snowing ", " hail ", " apple ", " pear ", " watermelon ", " grape ", " smile ", " laugh ", " tittering ", Pictures or animations such as " red roses ", " blue rose ", " Chinese rose ", " carnation ", " lily ", " rice ", " bread " and " noodles ". Determine that the scene attribute of communicating pair present communications data is fresh flower in S201, then obtain one to match with fresh flower or Multiple scene resources, that is, the scene resource that scene attribute tags in scene resources bank are fresh flower is obtained, can be specifically main Entitled " red rose ", " blue rose ", " Chinese rose ", " carnation " and " lily " picture or animation.
Optionally, one side of communication can be according to the customized scene attribute of self-demand, then the scene attribute customized with a side is communicated Comprising the corresponding scene resource of scene attribute that one side of communication is customized in corresponding scene resource word bank, for example, one side of communication orders The scene attribute of system be weather, fruit, fresh flower, then communicate the corresponding scene resource word bank of the customized scene attribute of a side be comprising Scene attribute is the scene resource of weather, fruit, fresh flower.When the present communications data to communicating pair ground are analyzed, obtain After scene attribute corresponding with present communications data, whether communication is belonged to by the current corresponding scene attribute of communication data The customized scene attribute of one side obtains if so, from scene resource word bank corresponding with the scene attribute that one side of communication is customized The first scene resource that scene attribute corresponding with present communications data matches, if it is not, after not carried out to the scene attribute then The resource matched operation of continuous scene;So as to push scene resource for the demand of one side of communication for one side of communication.
In order to keep at least one first scene resource got in S202 more targeted, optionally, can also lead to The step of crossing S203 confirms the personal status relationship of communicating pair, and by S204 according to the personal status relationship of communicating pair, in S202 At least one first scene resource got is screened, so that at least one first scene resource after screening is to be more suitable for Scene resource needed for communicating pair.
S203:According to the historical communication data of the subscriber data of communicating pair and communicating pair, communicating pair is determined Personal status relationship.
For example, the subscriber data of communicating pair includes:The letters such as user name, station address, customer relationship, affiliated grouping Breath can primarily determine that the personal status relationship of communicating pair further can also pass through communication by affiliated grouping and customer relationship The historical communication data of both sides determine the personal status relationship of communicating pair, for example, often occur in past dialog context " wife, Husband, I Love You " etc. words, it is determined that the personal status relationship of communicating pair is " lovers ", is often occurred in past dialog context Words such as " mother, child, look after one's health, goes home at daughter ", it is determined that the personal status relationship of communicating pair is " mother and daughter ".
It is worth noting that the step of S203, can also be without limitation before S201.
S204:At least one first scene resource is screened according to personal status relationship, is obtained at least one after screening First scene resource.
Each scene resource can also include personal status relationship attribute, and personal status relationship attribute is suitable for identifying the scene resource For the communication between the communicating pair of which kind of personal status relationship.
If at least one first scene resource obtained in step S202 is matched for fresh flower, then at least one First scene resource includes:Theme is " red rose ", " blue rose ", " Chinese rose ", " carnation " and " lily " picture or dynamic It draws.It determines that the personal status relationship of communicating pair is lovers by S203, then filters out the scene resource suitable for being linked up between lovers Theme is " red rose ", the picture or animation of " blue rose ", that is, from the scene resource that scene attribute tags are fresh flower The scene resource that personal status relationship label is lovers is further filtered out, specifically, at least one first scene money after screening The picture or animation of " red rose " entitled based on source, " blue rose ".
S205:Include the first window of above-mentioned at least one first scene resource to communication one side push.
If being that user A says user B in S201:" I wants a bunch of flowers " is then comprising theme to user's B push The first window of " red rose ", the picture of " blue rose " or animation.
If not having the step of S203 and S204 in S201~S205, which is to push packet to one side of communication First window containing at least one first scene resource, that is, include in first window be acquired in S202 steps at least One the first scene resource.If being that user A says user B in S201:" I wants a bunch of flowers ", then to user's B push packets Be " red rose " containing theme, " blue rose ", " Chinese rose ", " carnation ", the picture of " lily " or animation first window.
S206:The first scene resource that one side of communication selects from first window is sent to communication another party.
User triggers one side of communication and selects a most suitable first scene resource, one direction of communication logical from first window Letter another party sends the first scene resource for being selected from first window of one side of communication, for example, user B triggerings one side of communication is from the Theme is selected to be sent to user A for the picture or animation of " red rose " in one window.
It compared with prior art, only need to be from packet if user B sends the scene resource that theme is " red rose " to user A Be " red rose " containing theme, " blue rose ", " Chinese rose ", " carnation ", the picture of " lily " or animation first window in select A suitable scene resource is selected, is either " red rose " comprising theme, the first window of the picture of " blue rose " or animation Mouthful in select a suitable scene resource, and the prior art need from be comprising theme " blowing ", " rainy ", " snowing ", " hail ", " apple ", " pear ", " watermelon ", " grape ", " smile ", " laugh ", " tittering ", " red rose ", " blue rose ", " moon Season ", " carnation ", " lily ", " rice ", " bread ", the picture of " noodles " or animation window in select, it is clear that use Technical scheme of the present invention can save the time that user selects suitable scene resource.
In the present embodiment, by the present communications data according to communicating pair, obtain with present communications Data Matching extremely A few first scene resource;Then the first window for including at least one first scene resource to communication one side push, due to At least one first scene resource for including in the first window is that the communication data current with communicating pair is matched, that is, Say that the first scene resource in the first window for selecting scene resource for user is all that the communication data current with user is relevant, Be also the bigger scene resource of user's select probability, therefore, can save user select needed for suitable scene resource when Between.Further, by the historical communication data of the subscriber data of communicating pair and communicating pair, communicating pair is determined Personal status relationship screens so that first according to personal status relationship pair and the matched at least one first scene resource of user data The first scene resource for including in window is less, more targetedly, be more suitable for needed for user, therefore, further save User selects the time needed for suitable scene resource.
Fig. 3 is the flow diagram of the method for pushing embodiment three of scene resource of the present invention, and Fig. 3 is implementation shown in Fig. 2 On the basis of example, after the personal status relationship for obtaining communicating pair, it can also include the following steps:
S301:Obtain the environmental information of communicating pair.
The environmental information that communicating pair can be obtained by the subscriber data of communicating pair, is provided by user Material obtains the location of communicating pair, according to location obtain date in communicating pair location, red-letter day, geographical location, weather, The information such as current events hot spot.
S302:According to the environmental information and personal status relationship of communicating pair, obtain and above-mentioned environmental information and personal status relationship At least one second scene resource matched.
Such as it is Valentine's Day to get the locations user B according to the subscriber data of user A and user B, and user A and use Family B is lovers' relationship, then acquisition and Valentine's Day and at least one second scene resource of lovers' relationship match, and the second scene resource can It is " rose " with theme, the picture or animation of " chocolate ".
S303:Include the second window of above-mentioned at least one second scene resource to communication one side push.
For example, the locations user B are Valentine's Days, then include second window of " rose, chocolate " to user's A push.
S304:The second scene resource that one side of communication selects from above-mentioned second window is sent to communication another party.
Selected in the second window that user A triggering one side of communication push from S303 a suitable second scene resource to Family B is sent.
The push of second window is unrelated with the communication data of communicating pair, therefore, usually after connection setup connection, Before also not generating communication data, to the scene resource of user's push.
In the present embodiment, by obtaining the environmental information of communicating pair, closed according to the environmental information of communicating pair and identity System, acquisition and environmental information and the matched at least one second scene resource of personal status relationship, to communication one side push comprising at least Second window of one the second scene resource, so as to select a suitable scene resource to be sent to from the second window logical by user Letter another party due to the second scene resource in the second window is matched with the environmental information of communicating pair and personal status relationship Scene resource, be equivalent to filter out from preset scene resources bank and matched with the environmental information of communicating pair and personal status relationship Scene resource therefore, suitable scene resource is selected from the second window for selection by the user, can save user when Between.
Fig. 4 is the flow diagram of the method for pushing example IV of scene resource of the present invention, as shown in figure 4, the present embodiment Method include:
S401:Obtain the environmental information of communicating pair.
It can be specifically the location for obtaining communicating pair by subscriber data, communicating pair place is obtained according to location The information such as date, red-letter day, geographical location, weather, the current events hot spot on ground.
S402:According to the historical communication data of the subscriber data of communicating pair and communicating pair, communicating pair is determined Personal status relationship.
For example, the subscriber data of communicating pair includes:The letters such as user name, station address, customer relationship, affiliated grouping Breath can primarily determine that the personal status relationship of communicating pair further can also pass through communication by affiliated grouping and customer relationship The historical communication data of both sides determine the personal status relationship of communicating pair, for example, often occur in past dialog context " wife, Husband, I Love You " etc. words, it is determined that the personal status relationship of communicating pair is " lovers ", is often occurred in past dialog context Words such as " mother, child, look after one's health, goes home at daughter ", it is determined that the personal status relationship of communicating pair is " mother and daughter ".
S403:According to environmental information and personal status relationship, obtain and environmental information and personal status relationship matched at least one the Three scene resources.
For example, it is Valentine's Day to get the locations user B according to the subscriber data of user A and user B, and user A and The relationship of user B is lovers' relationship, then obtains and Valentine's Day and at least one third scene resource of lovers' relationship match, third feelings Scape resource can entitled based on " rose ", " chocolate " picture or animation.According to the subscriber data of user A and user B It is the Mother's Day to get user A and the locations user B, and user A and user B is mother and daughter relationship or mother-child relationship (MCR), then obtains It takes and matches at least one third scene resource with the Mother's Day and mother and daughter relationship or mother-child relationship (MCR), third scene resource can be based on The picture or animation of entitled " carnation ", " Mother's Day is happy ".
S404:Include the third window of at least one third scene resource to communication one side push.
Such as can also only can be man to communication party to either one push third window of communicating pair in Valentine's Day One side of side pushes third window;In the Mother's Day, include and the Mother's Day matched at least one third for one side of daughter push then The third window of scene resource.
S405:The third scene resource that one side of the communication selects from the third window is sent to communication another party.
In the present embodiment, by the environmental information and personal status relationship according to communicating pair, obtain and environmental information and identity At least one third scene resource that relationship matches, to communication one side push comprising above-mentioned at least one third scene resource Third window, be equivalent to filtered out from preset scene resources bank it is matched with the environmental information of communicating pair and personal status relationship Therefore scene resource, suitable scene resource is selected from third window, can save the time of user for selection by the user.
It is to be illustrated using scene resource as picture in the above embodiments, scene resource may be sound It is happy, in the communication process of communicating pair, it can be sung by music recognition technical limit spacing to communicating pair or one side of communication Song, and for communicating pair push accompaniment selection window, for communicating pair choose whether play accompaniment.
Fig. 5 is the structural schematic diagram of the pusher embodiment one of scene resource of the present invention, as shown in figure 5, the present embodiment Device, including the first acquisition module 51, the first sending module 52, wherein the first acquisition module 51 is used for according to communicating pair Present communications data, obtain and at least one first scene resource of present communications Data Matching;First sending module 52 is used In the first window for including at least one first scene resource to communication one side push.
In the above-described embodiments, the first acquisition module 51 includes first acquisition unit and second acquisition unit;Wherein, first Acquiring unit obtains scene category corresponding with present communications data for analyzing the present communications data of communicating pair Property;Second acquisition unit is used for from preset scene resources bank, obtains at least one first feelings to match with scene attribute Scape resource.
In the above-described embodiments, present communications data are voice data or text data;
First acquisition unit is specifically used for analyzing the voice data of communicating pair using speech recognition technology, obtains The corresponding scene attribute of voice data;Or, being analyzed the text data of communicating pair using semantics recognition technology, text is obtained The corresponding scene attribute of notebook data.
In the above-described embodiments, second acquisition unit is specifically used for judging the corresponding scene attribute of the present communications data Whether communication one side customized scene attribute is belonged to;If so, from feelings corresponding with the scene attribute that one side of the communication is customized In scape resource word bank, the first scene resource to match with the scene attribute is obtained.
Fig. 6 is the structural schematic diagram of the pusher embodiment two of scene resource of the present invention, and Fig. 6 is implementation shown in Fig. 2 Further, further include the second acquisition module 53 on the basis of example, packet is pushed to one side of communication for the first sending module 52 Before first window containing at least one first scene resource, according to the history of the subscriber data of communicating pair and communicating pair Communication data determines the personal status relationship of communicating pair;At least one first scene resource is screened according to personal status relationship, is obtained Take at least one first scene resource after screening;
First sending module 52 is specifically used for including at least one first scene resource after screening to communication one side push First window.
Fig. 7 is the structural schematic diagram of the pusher embodiment three of scene resource of the present invention, and Fig. 7 is implementation shown in Fig. 6 Further include third acquisition module 54 further on the basis of example, determines that the identity of communicating pair is closed for the second acquisition module After system, the environmental information of communicating pair is obtained;According to the environmental information and personal status relationship of communicating pair, acquisition and environmental information With the matched at least one second scene resource of personal status relationship;
First sending module 52 is additionally operable to push the second window for including at least one second scene resource to one side of communication.
In the above-described embodiments, the first scene resource includes:Picture, animation and/or music.
In the above-described embodiments, the second scene resource includes:Picture, animation and/or music.
Fig. 8 is the structural schematic diagram of the pusher example IV of scene resource of the present invention, and Fig. 8 is any in Fig. 5 to Fig. 7 On the basis of figure illustrated embodiment, further, further include:Second sending module 55 is used for the first sending module 52 to communication one After first window of side's push comprising at least one first scene resource, one side of communication is sent from the first window to communication another party The the first scene resource selected in mouthful.
In the above-described embodiments, the second sending module 55 is additionally operable to communication one side push include at least one second scene After second window of resource, the second scene resource that one side of communication selects from the second window is sent to communication another party.
Device in above-mentioned each device embodiment accordingly can perform the technical solution of embodiment of the method shown in Fig. 1 to Fig. 3, Its implementing principle and technical effect is similar, and details are not described herein again.
Fig. 9 is the structural schematic diagram of the pusher embodiment five of scene resource of the present invention, as shown in figure 9, the present embodiment Device include:First acquisition module 91, determining module 92, the second acquisition module 93 and the first sending module 94, wherein first Acquisition module 91 is used to obtain the environmental information of communicating pair;Determining module 92 be used for according to the subscriber data of communicating pair and The historical communication data of communicating pair, determine the personal status relationship of communicating pair;Second acquisition module 93 is used for according to environmental information And personal status relationship, it obtains and environmental information and the matched at least one third scene resource of personal status relationship;First sending module 94 Third window for including from least one third scene resource to communication one side push.
Figure 10 is the structural schematic diagram of the pusher embodiment six of scene resource of the present invention, and Figure 10 is reality shown in Fig. 9 Further include that the second sending module 95 includes to communication one side push for the first sending module further on the basis of applying example After the third window of at least one third scene resource, send what one side of communication selected from third window to communication another party Third scene resource.
Fig. 9 and the device of embodiment illustrated in fig. 10 accordingly can perform the technical solution of embodiment of the method shown in Fig. 4, in fact Existing principle and technique effect class this, details are not described herein again.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer read/write memory medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or The various media that can store program code such as person's CD.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Present invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according to So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into Row equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (22)

1. a kind of method for pushing of scene resource, which is characterized in that including:
According to the present communications data of communicating pair, obtains and provided at least one first scene of the present communications Data Matching Source;
Include the first window of at least one first scene resource to communication one side push;
One side of the communication is the side in the communicating pair determined according to Content of Communication.
2. according to the method described in claim 1, it is characterized in that, the present communications data according to communicating pair, obtain At least one first scene resource with the present communications Data Matching includes:
The present communications data of communicating pair are analyzed, scene attribute corresponding with the present communications data is obtained;
From preset scene resources bank, at least one first scene resource to match with the scene attribute is obtained.
3. according to the method described in claim 2, it is characterized in that, the present communications data are voice data or textual data According to;
The present communications data to communicating pair are analyzed, and the corresponding scene attribute packet of the present communications data is obtained It includes:
The voice data of the communicating pair is analyzed using speech recognition technology, obtains the corresponding feelings of the voice data Scape attribute;Or
The text data of the communicating pair is analyzed using semantics recognition technology, obtains the corresponding feelings of the text data Scape attribute.
4. according to the method in claim 2 or 3, which is characterized in that described from preset scene resources bank, acquisition and institute At least one first scene resource that scene attribute matches is stated, including:
Judge whether the corresponding scene attribute of the present communications data belongs to the customized scene attribute of one side of communication;
If so, from scene resource word bank corresponding with the scene attribute that one side of the communication is customized, obtain and the scene The first scene resource that attribute matches.
5. according to claim 1-3 any one of them methods, which is characterized in that described to be pushed comprising described in extremely to one side of communication Before the first window of a few first scene resource, further include:
According to the historical communication data of the subscriber data of the communicating pair and the communicating pair, the communicating pair is determined Personal status relationship;
At least one first scene resource is screened according to the personal status relationship, obtains at least one the after screening One scene resource;
It is described to include to first window of the communication one side push comprising at least one first scene resource:
Include the first window of at least one first scene resource after the screening to communication one side push.
6. according to the method described in claim 5, it is characterized in that, after the personal status relationship of the determination communicating pair, Further include:
Obtain the environmental information of the communicating pair;
According to the environmental information of the communicating pair and the personal status relationship, obtain and the environmental information and the personal status relationship Matched at least one second scene resource;
Include the second window of at least one second scene resource to communication one side push.
7. according to any one of claim 1-3 the methods, which is characterized in that the first scene resource includes:Picture, animation And/or music.
8. according to the method described in claim 6, it is characterized in that, the second scene resource includes:Picture, animation and/or Music.
9. method according to any one of claim 1-3, which is characterized in that described to be pushed to one side of communication comprising described After the first window of at least one first scene resource, further include:
The first scene resource that one side of the communication selects from the first window is sent to communication another party.
10. according to the method described in claim 6, it is characterized in that, described push to one side of communication comprising described at least one After second window of the second scene resource, further include:
The second scene resource that one side of the communication selects from second window is sent to communication another party.
11. a kind of method for pushing of scene resource, which is characterized in that including:
Obtain the environmental information of communicating pair;
According to the historical communication data of the subscriber data of the communicating pair and the communicating pair, the communicating pair is determined Personal status relationship;
According to the environmental information and the personal status relationship, obtain matched at least with the environmental information and the personal status relationship One third scene resource;
Include the third window of at least one third scene resource to communication one side push;
After the third window comprising at least one third scene resource to communication one side push, further include:
The third scene resource that one side of the communication selects from the third window is sent to communication another party.
12. a kind of pusher of scene resource, which is characterized in that including:
First acquisition module obtains and the present communications Data Matching for the present communications data according to communicating pair At least one first scene resource;
First sending module, the first window for including at least one first scene resource to communication one side push;
One side of the communication is the side in the communicating pair determined according to Content of Communication.
13. device according to claim 12, which is characterized in that first acquisition module include first acquisition unit and Second acquisition unit;
Wherein, the first acquisition unit obtains and described current for analyzing the present communications data of communicating pair The corresponding scene attribute of communication data;
The second acquisition unit is used for from preset scene resources bank, obtains at least one to match with the scene attribute A first scene resource.
14. device according to claim 13, which is characterized in that the present communications data are voice data or textual data According to;
The first acquisition unit is specifically used for analyzing the voice data of the communicating pair using speech recognition technology, Obtain the corresponding scene attribute of the voice data;Or, using semantics recognition technology to the text data of the communicating pair into Row analysis, obtains the corresponding scene attribute of the text data.
15. the device according to claim 13 or 14, which is characterized in that the second acquisition unit is specifically used for judging institute State whether the corresponding scene attribute of present communications data belongs to the customized scene attribute of one side of communication;If so, leading to from described Believe in the corresponding scene resource word bank of the customized scene attribute of a side, obtains the first scene to match with the scene attribute and provide Source.
16. according to claim 12-14 any one of them devices, which is characterized in that further include:Second acquisition module, is used for Before first sending module pushes the first window comprising at least one first scene resource to one side of communication, according to described The historical communication data of the subscriber data of communicating pair and the communicating pair, determine the personal status relationship of the communicating pair; At least one first scene resource is screened according to the personal status relationship, obtains at least one first feelings after screening Scape resource;
First sending module is specifically used for including at least one first scene money after the screening to one side of communication push The first window in source.
17. device according to claim 16, which is characterized in that further include:Third acquisition module is obtained for described second After modulus block determines the personal status relationship of the communicating pair, the environmental information of the communicating pair is obtained;According to the communication The environmental information of both sides and the personal status relationship obtain and the environmental information and the personal status relationship matched at least one the Two scene resources;
First sending module is additionally operable to push the second window for including at least one second scene resource to one side of communication Mouthful.
18. according to any one of claim 12-14 described devices, which is characterized in that the first scene resource includes:Picture, Animation and/or music.
19. device according to claim 17, which is characterized in that the second scene resource includes:Picture, animation and/ Or music.
20. according to claim 12-14 any one of them devices, which is characterized in that further include:Second sending module, is used for After first sending module pushes the first window comprising at least one first scene resource to one side of communication, Xiang Tong Letter another party sends the first scene resource that one side of the communication selects from the first window.
21. device according to claim 16, which is characterized in that the second sending module is additionally operable to communication one side push Including after the second window of at least one second scene resource, one side of the communication is sent from described to communication another party The the second scene resource selected in second window.
22. a kind of pusher of scene resource, which is characterized in that including:
First acquisition module, the environmental information for obtaining communicating pair;
Determining module is used for according to the subscriber data of the communicating pair and the historical communication data of the communicating pair, really The personal status relationship of the fixed communicating pair;
Second acquisition module, for according to the environmental information and the personal status relationship, obtaining and the environmental information and described The matched at least one third scene resource of personal status relationship;
First sending module, the third window for including at least one third scene resource to communication one side push;
Described device further includes:Second sending module is pushed comprising described in extremely for first sending module to one side of communication After the third window of a few third scene resource, one side of the communication is sent from the third window to communication another party The third scene resource of selection.
CN201310250112.8A 2013-06-21 2013-06-21 The method for pushing and device of scene resource Active CN104243277B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310250112.8A CN104243277B (en) 2013-06-21 2013-06-21 The method for pushing and device of scene resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310250112.8A CN104243277B (en) 2013-06-21 2013-06-21 The method for pushing and device of scene resource

Publications (2)

Publication Number Publication Date
CN104243277A CN104243277A (en) 2014-12-24
CN104243277B true CN104243277B (en) 2018-09-21

Family

ID=52230668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310250112.8A Active CN104243277B (en) 2013-06-21 2013-06-21 The method for pushing and device of scene resource

Country Status (1)

Country Link
CN (1) CN104243277B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111861660A (en) * 2020-07-16 2020-10-30 深圳市爱乐墨科技有限公司 Blessing information matching method and device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018137A (en) * 2006-02-11 2007-08-15 腾讯科技(深圳)有限公司 A method for pushing the chat scenario to the instant communication UI
CN101183294A (en) * 2007-12-17 2008-05-21 腾讯科技(深圳)有限公司 Expression input method and apparatus
CN103064826A (en) * 2012-12-31 2013-04-24 百度在线网络技术(北京)有限公司 Method, device and system used for imputing expressions

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030225847A1 (en) * 2002-05-31 2003-12-04 Brian Heikes Sending instant messaging personalization items

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018137A (en) * 2006-02-11 2007-08-15 腾讯科技(深圳)有限公司 A method for pushing the chat scenario to the instant communication UI
CN101183294A (en) * 2007-12-17 2008-05-21 腾讯科技(深圳)有限公司 Expression input method and apparatus
CN103064826A (en) * 2012-12-31 2013-04-24 百度在线网络技术(北京)有限公司 Method, device and system used for imputing expressions

Also Published As

Publication number Publication date
CN104243277A (en) 2014-12-24

Similar Documents

Publication Publication Date Title
CN105468364B (en) The processing method and mobile terminal of the notification message of application program
US20210042662A1 (en) Interactive Information Capture and Retrieval with User-Defined and/or Machine Intelligence Augmented Prompts and Prompt Processing
WO2018036555A1 (en) Session processing method and apparatus
CN104735468B (en) A kind of method and system that image is synthesized to new video based on semantic analysis
US20100312555A1 (en) Local and remote aggregation of feedback data for speech recognition
US10319047B2 (en) Identification of life events within social media conversations
CN103023753B (en) Method, client and the system of interaction content association output in instant messaging
CN110134931A (en) Media title generation method, device, electronic equipment and readable medium
CN105531700A (en) Automatic augmentation of content through augmentation services
CN103399865B (en) A kind of method and apparatus for generating multimedia file
CN109754783A (en) Method and apparatus for determining the boundary of audio sentence
CN109376268A (en) Video classification methods, device, electronic equipment and computer readable storage medium
CN105162836B (en) Perform the method and server of voice communication
CN108717853A (en) A kind of man machine language's exchange method, device and storage medium
CN108305050A (en) Information of reporting a case to the security authorities and the extracting method of service requirement information, device, equipment and medium
CN108369806A (en) Configurable all-purpose language understands model
CN103150085A (en) Method and terminal for showing content information of application
CN111444725B (en) Statement generation method, device, storage medium and electronic device
CN110532983A (en) Method for processing video frequency, device, medium and equipment
CN108305053A (en) Implementation method, device, electronic equipment and the storage medium of approval process
WO2020241467A1 (en) Information processing device, information processing method, and program
CN111309937A (en) Method and equipment for issuing session message
CN110415067A (en) Ordering method, equipment and storage medium
CN104243277B (en) The method for pushing and device of scene resource
KR101475339B1 (en) Communication terminal and method for unified natural language interface thereof

Legal Events

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