A kind of promotion method and device of third party's information
Technical field
The present invention relates to field of computer technology, more particularly to a kind of promotion method and device of third party's information.
Background technology
At present, with the progress and the speed-raising of broadband network of the network communications technology, network direct broadcasting has been obtained more and more
Development and application, the quantity of live class website are also more and more.
The live type of webcast website, it is live now with playing, entertain live, do shopping live etc., many main broadcasters are in order to increase
Plus spectators' amount, it can also recommend some commodity to spectators, so that spectators select.However, main broadcaster is main to spectators' Recommendations at present
It is that spectators need first clickthrough to enter third party website could be right by being sent from third party website replication link to viewer end
Commodity are had gained some understanding.
It can be seen that, in the prior art, business can just be recognized, it is necessary to which spectators user is operated by carrying out product promotion in direct broadcasting room
Product information, exists and operates not easily technical problem.
The content of the invention
The present invention provides a kind of promotion method and device of third party's information, to solve in direct broadcasting room to enter in the prior art
Row product promotion can just recognize merchandise news, it is necessary to which spectators user is operated, the operation existed not easily technical problem.
On the one hand there is provided a kind of promotion method of third party's information, methods described is applied to main broadcaster end, including:
Send and obtain request to third party's service end, commodity address is carried in the acquisition request;
Receive the third party's service end group and obtain the merchandise news that request is returned in described;
Cache and show the merchandise news;
When receiving the push operation for acting on the merchandise news, the merchandise news is pushed to and the main broadcaster
Hold the viewer end of connection.
Optionally, the merchandise news includes the following combination of any one or more:Commodity picture, commodity price, business
Product title, descriptive labelling or offtake.
Optionally, when the merchandise news is the information of multiple commodity, described ought receive acts on the commodity letter
During the push operation of breath, the merchandise news is pushed to the viewer end being connected with the main broadcaster end, including:Receive from described
The push operation of selection target merchandise news in merchandise news, pushes the end article information.
Optionally, described obtain asks to be used for the third party's service end request applications DLL;It is described to connect
The third party's service end group is received in the merchandise news for obtaining request return, including:The third party's service end is received to lead to
Cross the merchandise news that the application programming interface at the third party's service end is returned.
Optionally, methods described also includes:Receive the merchandise news fresh information that the third party's service end is sent;It is based on
The merchandise news fresh information, updates and shows the merchandise news.
Optionally, the merchandise news is pushed away when receiving the push operation for acting on the merchandise news described
Deliver to after the viewer end being connected with the main broadcaster end, in addition to:Receive the selection target merchandise news from the merchandise news
Selection operation;Based on the selection operation, transmission highlights instruction to the viewer end, so that the viewer end highlights institute
State end article information.
On the other hand there is provided a kind of popularization device of third party's information, described device is main broadcaster end, including:
Sending module, obtains request to third party's service end for sending, commodity address is carried in the acquisition request;
Receiving module, for receiving the third party's service end group in the merchandise news for obtaining request return;
Display module, for caching and showing the merchandise news;
Pushing module, for when receiving the push operation for acting on the merchandise news, the merchandise news to be pushed away
Deliver to the viewer end being connected with the main broadcaster end.
Optionally, when the merchandise news is the information of multiple commodity, the pushing module is additionally operable to:Receive from institute
The push operation of selection target merchandise news in merchandise news is stated, the end article information is pushed.
Optionally, described obtain asks to be used for the third party's service end request applications DLL;It is described to connect
Module is received to be additionally operable to:Receive what the third party's service end was returned by the application programming interface at the third party's service end
Merchandise news.
Optionally, described device also includes:Selecting module, believes for receiving the selection target commodity from the merchandise news
The selection operation of breath;Module is highlighted, for based on the selection operation, transmission to highlight instruction to the viewer end, so that described
Viewer end highlights the end article information.
The one or more technical schemes provided in the embodiment of the present invention, have at least the following technical effects or advantages:
The method and device that the embodiment of the present application is provided, the acquisition for sending carrying commodity address is asked to third party's service
End, receives the third party's service end group and obtains the merchandise news that request is returned in described;Cache and show the merchandise news;
When receiving the push operation for acting on the merchandise news, the merchandise news is pushed to what is be connected with the main broadcaster end
Viewer end, can get the merchandise news of main broadcaster's push, so as to understand to cause viewer end user to be operated
The situation of commodity, improves convenience.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs
Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the promotion method of third party's information in the embodiment of the present invention;
Fig. 2 is the structural representation of the popularization device of third party's information in the embodiment of the present invention.
Embodiment
The embodiment of the present application is by providing a kind of promotion method and device of third party's information, to solve in the prior art
Merchandise news can just be recognized, it is necessary to which spectators user is operated by carrying out product promotion in direct broadcasting room, and the operation existed is not convenient
Technical problem.Realize the technique effect for improving convenience.
Technical scheme in the embodiment of the present application, general thought is as follows:
Send and obtain request to third party's service end, commodity address is carried in the acquisition request;Receive the third party
Service end obtains the merchandise news that request is returned based on described;Cache and show the merchandise news;Institute is acted on when receiving
When stating the push operation of merchandise news, the merchandise news is pushed to the viewer end being connected with the main broadcaster end.
The acquisition that the above method carries commodity address by sending is asked to third party's service end, receives third party's clothes
End group be engaged in the merchandise news for obtaining request return;Cache and show the merchandise news;When receive act on it is described
During the push operation of merchandise news, the merchandise news is pushed to the viewer end being connected with the main broadcaster end, to cause spectators
End subscriber, which need not be operated, can get the merchandise news of main broadcaster's push, so as to understand the situation of commodity, improve
Convenience.
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Embodiment one
The present embodiment provides a kind of promotion method of third party's information, and methods described is applied to main broadcaster end, as shown in figure 1,
Methods described includes:
Step S101, sends and obtains request to third party's service end, commodity address is carried in the acquisition request;
Step S102, receives the third party's service end group and obtains the merchandise news that request is returned in described;
Step S103, caches and shows the merchandise news;
Step S104, when receiving the push operation for acting on the merchandise news, the merchandise news is pushed to
The viewer end being connected with the main broadcaster end.
In the embodiment of the present application, the main broadcaster end can be android system, IOS systems or Windows systems,
This is not restricted.The main broadcaster end can be smart mobile phone, tablet personal computer or desktop computer, also not be restricted herein.The spectators
End can be android system, IOS systems or Windows systems, and this is not restricted.The viewer end can be intelligent hand
Machine, tablet personal computer or desktop computer, are not also restricted herein.
Below, the specific implementation step of the promotion method of third party's information is discussed in detail with reference to Fig. 1:
First, step S101 is performed, sends and obtains request to third party's service end, in the acquisition request with carrying commodity
Location.
In the embodiment of the present application, described send obtains request to third party's service end can be that the main broadcaster end passes through straight
The server for broadcasting platform directly transmits request transmission to the third-party server or the main broadcaster end that obtain
Described to obtain request to the third-party server, this is not restricted.
The acquisition methods for obtaining the commodity address carried in request are a lot, for example, can be that main broadcaster is first
The web page address of the commodity on third party's service end is replicated, then the web page address is inputted into main broadcaster end to obtain, can also
It is that the corresponding webpage in third party's service end is opened on main broadcaster end, is selected by trigger action on the webpage of the third party's service end
The commodity of display, the address of the commodity is sent to the main broadcaster end to obtain.
In specific implementation process, the trigger action can drag the commodity figure shown on the webpage of third party's service end
Mark to the operation of live webpage or click on the commodity icon shown on the webpage of third party's service end, to trigger out setting
Column, then setting selection on column to characterize the commodity added to the operation of the option of direct broadcasting room, this is not restricted.
Then, step S102 is performed, the third party's service end group is received and obtains the merchandise news that request is returned in described.
In specific implementation process, described obtain asks specifically to can be used for apply journey to third party's service end application
Sequence programs (Application Programming Interface, API) interface, and the api interface is that some are pre-defined
Function, it is therefore an objective to which the ability that application program is able to access one group of routine with developer based on certain software or hardware is provided, and
Source code need not be accessed, or understands the details of internal work mechanism.
It is described to receive the third party's service end group in the merchandise news for obtaining request return, including:Receive described
The merchandise news that third party's service end is returned by the api interface at the third party's service end.It is described in specific implementation process
Live platform corresponding to main broadcaster end first can sign an agreement with the third party's service end, so that the third party's service end exists
Receive after the acquisition request, the merchandise news can be fed back to the main broadcaster end.
In the embodiment of the present application, the merchandise news includes the following combination of any one or more:Commodity picture, business
Product price, commodity title, descriptive labelling or offtake.
Certainly, in specific implementation process, the merchandise news can also include user comment information, merchandise discount information
Deng this is not restricted.
Subsequently, step S103 is performed, caches and shows the merchandise news.
Specifically, in order to after realizing and exiting webcast website at main broadcaster end, when next time enters direct broadcasting room, it is not necessary to again to institute
State merchandise news described in the acquisition request of third party's service end, it is possible to show the merchandise news, the application is set to obtaining
The merchandise news cached.
Further, the merchandise news caches live account banding cache corresponding with the main broadcaster end, with entering
When stating the corresponding direct broadcasting room of live account, or when logging in the live account, it can just be shown on webcast website's page
The merchandise news.
In the embodiment of the present application, the merchandise news can be shown in live platform in the display at the main broadcaster end
Live account homepage on or be shown on the direct broadcasting room page of live account, or set on the direct broadcasting room page
A virtual key is put, when triggering the virtual key, the merchandise news is shown, this is not restricted.
Subsequently, step S104 is performed, when receiving the push operation for acting on the merchandise news, by the commodity
Information pushes to the viewer end being connected with the main broadcaster end.
In specific implementation process, the push operation can be click on the operation of default virtual key or physical button,
The push operation can also drag the operation of the merchandise news, can also be the behaviour of the keyword of input merchandise news
Make, this is not restricted.
In the embodiment of the present application, the method for pushing merchandise news to the viewer end has many kinds, according to different need
Different method for pushing can be selected, be set forth below exemplified by three kinds:
The first, humping section merchandise news.
I.e. when the merchandise news is the information of multiple commodity, described ought receive acts on pushing away for the merchandise news
When sending operation, the merchandise news is pushed to the viewer end being connected with the main broadcaster end, including:Receive from commodity letter
The push operation of selection target merchandise news in breath, pushes the end article information.
For example, it is assumed that there are commodity A information, commodity B information, commodity C information and commodity D information in main broadcaster end.It is main
The information clicked on or drag selection commodity B is broadcast, then triggers and commodity B information is pushed into viewer end.
Second, push entire service information.
I.e. when receiving push operation, all merchandise newss that main broadcaster end is stored are pushed to and connected with the main broadcaster end
The viewer end connect.
For example, it is assumed that there are commodity A information, commodity B information, commodity C information and commodity D information in main broadcaster end.It is main
Broadcast the default key of click and push button, then trigger and commodity A, B, C and D information are pushed into viewer end.
The third, pushes entire service information, highlights humping section merchandise news.
I.e. described when receiving the push operation for acting on the merchandise news, by the merchandise news push to
After the viewer end of the main broadcaster end connection, in addition to:
Receive the selection operation of the selection target merchandise news from the merchandise news;
Based on the selection operation, transmission highlights instruction to the viewer end so that the viewer end highlight it is described
End article information.
For example, it is assumed that there are commodity A information, commodity B information, commodity C information and commodity D information in main broadcaster end.It is main
First selection commodity C information is broadcast, then clicks on a default key and pushes button, then triggers and pushes commodity A, B, C and D information
To viewer end, and highlight commodity C information.
The end article information is highlighted, is, in order to which the merchandise news pushed with other is distinguished, to be easy to user main
The end article information is focused on, it is specifically, described to highlight the end article information, can be that the mesh is set
Mark merchandise news is waved before the video that viewer end is played, or sets the end article information to be highlighted in viewer end, or
The end article information is set to flash display in viewer end, this is not restricted.
Certainly, in specific implementation process, above-mentioned three kinds of push function can be both provided to main broadcaster end, so as to main broadcaster end root
According to needing to select different push modes.
In specific implementation process, the merchandise news can directly be sent from the main broadcaster end to the viewer end;
It can also be the forwarding by server, send to the viewer end, this is not restricted.
In the embodiment of the present application, the merchandise news is pushed to after the viewer end, the display in the viewer end
State can be arranged as required to, for example, the merchandise news of push can be set to wave in the straight of the viewer end
Broadcast on the room page, that is, set the information such as the commodity picture with wave route or helical path along given pace described live
Moved on the room page, to cause the attention of spectators;The merchandise news of push can also be set in the live room of viewer end
Between flash on the page, to point out user to note, this is not restricted.
Further, in order to avoid the merchandise news for being pushed to viewer end occurs and the inconsistent feelings in the third party's service end
Condition, methods described also includes:
Receive the merchandise news fresh information that the third party's service end is sent;
Based on the merchandise news fresh information, update and show the merchandise news.
It should be noted that the main broadcaster end can be connected with multiple viewer ends, as main broadcaster end execution step S104,
When pushing the merchandise news, the merchandise news can be pushed to all viewer ends being connected with the main broadcaster end, that is, entered
The merchandise news can be shown by entering all viewer ends of the direct broadcasting room at the main broadcaster end;The main broadcaster end can also specific aim
Selection the merchandise news is pushed to selected one or several viewer ends.
Subsequently, in order to further deepen to the application provide method understanding, below from the angle of man-machine interaction, with
One instantiation illustrates how the merchandise news is pushed to viewer end by main broadcaster end:
First, when main broadcaster end is needed to the viewer end push merchandise news, it can be clicked on by main broadcaster pre- on main broadcaster interface
If virtual push button, from numerous merchandise news specify push a merchandise news, certainly, in specific implementation process,
It can specify multiple, this is not restricted;
Then, the click action based on the main broadcaster, main broadcaster end generation pushes request, and sends that request to server
End;Wherein, the information carried in request that pushes includes needing the merchandise newss such as the commodity ID of push;
After server end receives the push request, server can be constructed comprising commodity such as the commodity ID for needing to push
The message of information, and send the message to default message push channel, with by the message push channel this message
The viewer end for passing to be connected with the main broadcaster end all or specifying;
Finally, the shell script in viewer end is monitored and got after this message, and being parsed from the message needs what is pushed
The merchandise newss such as commodity ID, then by the merchandise news (commodity title, picture etc.) corresponding to commodity ID to customize in advance
The mode such as wave, flash or amplify, reduce be highlighted in the live page of viewer end.Based on same inventive concept, sheet
Application additionally provides device corresponding with the promotion method of third party's information in embodiment one, detailed in Example two.
Embodiment two
The present embodiment provides a kind of popularization device of third party's information, and described device is main broadcaster end, as shown in Fig. 2 the dress
Put including:
Sending module 201, for transmission acquisition request to third party's service end, in the acquisition request with carrying commodity
Location;
Receiving module 202, for receiving the third party's service end group in the merchandise news for obtaining request return;
Display module 203, for caching and showing the merchandise news;
Pushing module 204, for when receiving the push operation for acting on the merchandise news, by the merchandise news
Push to the viewer end being connected with the main broadcaster end.
In the embodiment of the present application, the main broadcaster end can be android system, IOS systems or Windows systems,
This is not restricted.The main broadcaster end can be smart mobile phone, tablet personal computer or desktop computer, also not be restricted herein.The spectators
End can be android system, IOS systems or Windows systems, and this is not restricted.The viewer end can be intelligent hand
Machine, tablet personal computer or desktop computer, are not also restricted herein.
In the embodiment of the present application, when the merchandise news is the information of multiple commodity, the pushing module 204 is also used
In:
The push operation of the selection target merchandise news from the merchandise news is received, the end article letter is pushed
Breath.
In the embodiment of the present application, it is described to obtain request for being connect to the programming of third party's service end request applications
Mouthful;The receiving module 202 is additionally operable to:
Receive the commodity that the third party's service end is returned by the application programming interface at the third party's service end
Information.
In the embodiment of the present application, described device also includes:
Selecting module, the selection operation for receiving the selection target merchandise news from the merchandise news;
Module is highlighted, for based on the selection operation, transmission to highlight instruction to the viewer end, so that the viewer end
Highlight the end article information.
By the device that the embodiment of the present invention two is introduced, for the popularization for the third party's information for implementing the embodiment of the present invention one
The device that method is used, so the method introduced based on the embodiment of the present invention one, the affiliated personnel in this area can understand this
The concrete structure of device and deformation, so will not be repeated here.The device that the method for every embodiment of the present invention one is used is all
Belong to the scope of the invention to be protected.
The technical scheme provided in the embodiment of the present application, has at least the following technical effects or advantages:
The method and device that the embodiment of the present application is provided, the acquisition for sending carrying commodity address is asked to third party's service
End, receives the third party's service end group and obtains the merchandise news that request is returned in described;Cache and show the merchandise news;
When receiving the push operation for acting on the merchandise news, the merchandise news is pushed to what is be connected with the main broadcaster end
Viewer end, can get the merchandise news of main broadcaster's push, so as to understand to cause viewer end user to be operated
The situation of commodity, improves convenience.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described
Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without departing from this hair to the embodiment of the present invention
The spirit and scope of bright embodiment.So, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention
And its within the scope of equivalent technologies, then the present invention is also intended to comprising including these changes and modification.