Embodiment
In order that those skilled in the art more fully understand the technical scheme in this specification one or more embodiment,
Below in conjunction with the accompanying drawing in this specification one or more embodiment, to the technology in this specification one or more embodiment
Scheme is clearly and completely described, it is clear that described embodiment is only part of the embodiment, rather than whole realities
Apply example.Based on this specification one or more embodiment, those of ordinary skill in the art are not making creative work premise
Lower obtained every other embodiment, it should all belong to the scope of disclosure protection.
Barrage can provide a kind of sensation of real-time interactive to spectators, and user can be allowed to feel oneself to participate in a lot
In the comment of other spectators, everybody makes comments to some target simultaneously.In real life, it is possible to produce many aobvious
Show the demand of barrage, it is particularized below several:
In one example, user is when visiting an exhibition of paintings, it is highly desirable to see the comment opinion that others draws to a certain width, and
And it is desirable that oneself can also participate in the width draw comment, it is seen that it is a kind of everybody participate in discussion jointly exhibition picture atmosphere.
In another example, user may wish to see that other people comment some building when going sight-seeing sight spot
By information such as the architectural style of, the building of participating in discussion, construction histories.
In another example, user just watches concert in certain stadium, highly desirable to express oneself now
Mood and impression, share the evaluation to concert with more multi-person interactive.
Other examples are no longer enumerated, and can see by above-mentioned, many scenes in real life can apply barrage
To build a kind of atmosphere of the common interactive discussion of more people.
In order to meet the needs of above-mentioned more scene application barrages, present disclose provides a kind of barrage system, the barrage system
Can exist as independent application, or can also plug-in unit be integrated in some outer application system outside barrage system.
The structural representation of barrage system shown in Figure 1, the barrage system can include client 11 and service end 12.Its
In, client 11 can show barrage content, and user can also upload oneself comment to certain resource by client 11.Service
End 12 can be used for storing barrage content, and barrage content transmission to the client that client 11 is asked is shown.
As mentioned above, the application scenarios of barrage can have a variety of, in the barrage system of this example, the He of service end 12
Client 11 can support the barrage application under several scenes by predetermined communication protocol.Wherein, can in the method for this example
To support several scenes using " scene code ", different barrages shows that scene can use different scene codes.Below in conjunction with
Fig. 1, to describe support of the barrage system to more scenes:
In one example, barrage shows scene by taking picture as an example:
The user of client-side there may be the demand for checking barrage content corresponding to some picture, then " will can scheme
Piece " is set as that a kind of barrage shows scene, and corresponding scene code can be C1.
From the point of view of the side of client 11, client 11 can upload entrance by picture and receive " picture " such scene
The upload of resource, to support checking for user's barrage content related to certain picture.For example it can be barrage that picture, which uploads entrance,
A picture in system client software uploads option, and user clicks on the picture that can uploads oneself selection.
From the point of view of the side of service end 12, in the barrage database of service end 12, it can store and the such scene of picture
Barrage database corresponding to resource.For example it can be stored in the barrage database 13 in Fig. 1 corresponding to many pictures in barrage
Hold, for example, barrage content a corresponding to picture A, can be comment of the other users for picture A, corresponding to picture B in barrage
Hold b, can be comment of a lot of other users for picture B.Certainly, when storing picture and its corresponding barrage content, figure
Piece can also be represented with Image ID.
In another example, barrage shows scene by taking sound as an example:
The user of client-side there may be the demand checked to barrage content corresponding to certain section audio, then can incite somebody to action
" sound " is set as that a kind of barrage shows scene, and corresponding scene code can be C2.
From the point of view of the side of client 11, client 11 can receive " sound " such scene by being acoustically passed to mouth
The upload of resource, to support checking for user's barrage content related to certain picture.For example it can be barrage to be acoustically passed to mouth
A sound in system client software uploads option, and user clicks on the audio fragment that can uploads oneself selection.
From the point of view of the side of service end 12, scene money such with sound can be stored in the barrage database of service end 12
Barrage database corresponding to source.For example the barrage database 14 in Fig. 1 can store barrage content, example corresponding to many sound
Such as, barrage content s corresponding to sound S, can be comment of the other users for sound S, barrage content y corresponding to sound Y can
To be comment of a lot of other users for sound Y.
Other barrages show that the example of scene is no longer enumerated.By showing for described above and Fig. 1 barrage system architecture
Example can see, and in the barrage system of this example, client can support a variety of barrages to show the upload of the scenario resources of scenes,
To support user to show request to the barrage of several scenes, service end can store the barrage content under several scenes respectively, and
The retrieval of the barrage content in various scenes is supported to feed back and store.
Furthermore, it is necessary to explanation, above-mentioned " barrage display scene " be by taking sound and picture as an example, but actually use
In be not limited thereto, specific barrage shows that scene can combine business demand and determine.And scene code can be used as and distinguish not
With barrage show scene unique mark, also serve as service end when storing barrage content to different scenes under barrage content
Distinguish the mark of storage.
Several barrages particularized below show the reciprocal process of the client and service end under scene:
Example one:The barrage of picture is shown
Flow shown in Figure 2, in this example, it is assumed that user wants to check that " Mona Lisa " picture is related
Barrage content, understand evaluation of the other users to the picture.It may include steps of, it is necessary to illustrate, it is described below
In be related to operation description, be only exemplary description, without limitation.
In step 200, client receives the scenario resources of barrage content to be shown, and the resource is picture.
For example, user can install barrage system application APP on the smart mobile phone of oneself, the application, point can be opened
" uploading pictures " option hit in the application, equivalent to one picture upload entrance, upload " Mona Lisa " picture.The illiteracy
Na Lisha pictures are referred to as scenario resources.
In step 202, client sends barrage display request to service end, and the barrage shows that request includes:Barrage
Show scene code and scenario resources corresponding to scene.
For example, after uploading pictures, " request barrage " option in application can be clicked on, then triggers client to clothes
Business end sends barrage display request.The Mona Lisa's picture got in step 200 can be sent to service end, request service
End returns to barrage content corresponding to the picture, also, in the operating process of user's uploading pictures, client is it has been found that user
The scenario resources of upload are pictures, and client can also send scene code C1 corresponding to picture to service end in the lump, to help
Service end determines the range of search in database, improves the efficiency of barrage content retrieval.
In step 204, in service end barrage database as corresponding to picture scene code, bullet corresponding to picture resource is obtained
Curtain content.
For example, with reference to Fig. 1 example, service end can be by barrage database 13, obtaining corresponding to Mona Lisa's picture
Barrage content.These barrage contents can be different people in comment of the different time to Mona Lisa's picture, and service end can
So that these comments all retrievals to be obtained.
In step 206, service end sends the barrage content to client.
In a step 208, client shows barrage content.
For example, it can be used in the barrage system on smart mobile phone using barrage content is shown in the form of floating layer on median surface
Family can see comment of a lot of other people to Mona Lisa's picture, it is thus understood that other people view.
In addition, user can also deliver oneself comment to Mona Lisa's picture by client, continuing with referring to step
210 to step 216.
In step 210, client obtains the barrage content to photo current comment.
For example, with reference to Fig. 3 example, Mona Lisa's picture can be shown on the interface of barrage system application, and with floating layer
Show the barrage content of service end feedback.User oneself can also input oneself to the picture in the input frame of interface bottom
Evaluation, for example " the mysterious smile of Mona Lisa " can be inputted.
In the step 212, client sends barrage upload request to service end, and the barrage upload request includes:Barrage
Show scene code, the barrage content and scenario resources corresponding to scene.
For example, user can click on " delivering " option in Fig. 3, triggering client sends barrage upload to service end please
Ask, carry the evaluation of oneself, picture identification and the picture scene code of user's input.Picture identification therein can uniquely be marked
Know the mark of Mona Lisa, the mark can be that service end is defined and sent to client, to cause client on follow-up
Carried when passing the comment to the picture.
In step 214, service end stores the barrage content and field in barrage database corresponding to the scene code
Mapping relations between scape resource.
For example, service end can store Mona Lisa's picture pair in barrage database corresponding to picture scene code C1
The comment of the user answered i.e. barrage content.
In the step 216, barrage content is distributed to each client that request shows barrage by service end in real time.
For example, request to Mona Lisa's picture show barrage content client may have it is multiple, when service end is in step
It has updated in 214 in database after barrage content corresponding to the picture, can be by the newest barrage content distribution to each visitor
Family end.For example service end adds a content in barrage content corresponding to Mona Lisa's picture " Mona Lisa's is mysterious
Smile ", then service end can retransmit this content each client shown to request barrage so that each client can
To show the newest barrage content, the user that the content is delivered in this example can also see the comment of oneself in real time, so as to
Produce the atmosphere participated in discussion in real time together with many people.
By the flow shown in Fig. 2, realize user and check barrage content corresponding to picture, and deliver oneself to picture
Comment.In other examples, user can also upload one section by " upload audio " option in barrage system application APP
Audio, to check barrage corresponding to the audio, the interaction of the client and service end of this process is similar with Fig. 2, and difference is to hand over
Scene code corresponding to mutual process is sound scenery code C2, and during service end retrieval barrage content as corresponding to C2 barrage database
Middle acquisition, detailed process repeat no more.
Example two:Barrage based on geographical position is shown
In the present example, it is assumed that user wants to understand to each dining room near this street in some table delicacies street
Comment, can open the barrage system application on oneself mobile phone, using the current location that can above position user.For example, can be with
The show map on application interface, and in the current location of ground chart display user." start position when user is clicked in interface
During barrage ", the barrage content that client asks the geographic vicinity to service end can be triggered.Flow shown in Figure 4:
In step 400, client location obtains current geographical position.
For example, the geographical position that positioning is applied in this step can be the latitude and longitude coordinates that user is presently in.
In step 402, client sends barrage display request to service end, and the barrage shows that request includes:It is geographical
The scene code of position scene and current geographical position.
For example, when user clicks on " starting position barrage " in interface, client can be triggered and send bullet to service end
Curtain display request, the barrage content of the geographic vicinity is fed back with request.It can include in barrage display request:Geographical position
The scene code of scene is put, it is " geographical to be somebody's turn to do the retrieval foundation that " geolocation scenario " refers to that client uploads when asking barrage
Position ", service end can retrieve the barrage content of client needs according to " geographical position ".In this step, client also on
Pass the geographical position for positioning to obtain in step 400, the scenario resources as geolocation scenario.
In different barrages shows scene, the resource that client uploads can be corresponding scenario resources under the scene,
For example in this geolocation scenario, the scenario resources of upload are " geographical position ";In picture scene, the scene money of upload
Source is " picture ";In sound scenery, the scenario resources of upload are " audios ".For service end, stored in barrage database
Be scenario resources and barrage content mapping relations, in barrage database corresponding to some scene code, can include multiple
Barrage content corresponding to scenario resources and the resource.For example in barrage database corresponding to picture scene code, it can wrap
Include many pictures.
In step 404, service end is searched and obtained and current geographic position pair in barrage database corresponding to scene code
The barrage content answered.
For example, in barrage database corresponding to the geolocation scenario code of service end, " food and drink ", " shadow can also be subdivided into
Multiple tiny classification such as institute ", " museum ", near a geographical position coordinates in certain region, multiple types can be included
The place of type, when user can trigger " starting position barrage " in client, the simultaneous selection barrage content to be obtained is food and drink
Class, or movie theatre class, etc..In this example, the selection of user can be the food and drink class barrage near current geographic position
Display, then service end can according to the latitude and longitude coordinates of upload, by searched in database to should geographical position be located at
The comment in the Duo Jia restaurants on this cuisine variety street.
In a step 406, barrage content is back to client and shown by service end.For example, client can be shown
The food and drink barrage content near current location is shown in the form of floating layer in display interface.
In addition, in the present example, client to the geographical position that service end uploads both can be latitude and longitude coordinates, by servicing
The barrage content of the nearby coordinates is fed back at end, client is can also be after the current geographical position of user is navigated to, in visitor
Family end shows the list in each restaurant near the position, and a restaurant specified is selected by user.In this case, it may be possible to
User has determined to this family restaurant and had dinner, and merely desires to check the comment for this family restaurant.Service end can be according to client
The restaurant specified, barrage content corresponding to return.
Referring to Fig. 5 example, the current location of user can be shown on application interface, and user's selection is shown with floating layer
The related commentary of particular restaurant, for example, " eating many times, very nice ", " recommending the fish head of their families to steep cake " etc..User
Eating after meal, the comment " food is cooked very exquisite " of oneself can also be delivered, and clicking on " delivering ", then client can incite somebody to action
The comment of user is uploaded to service end, and service end can store the comment into barrage content corresponding to the dining room, and in real time
Update the barrage content that each client is shown.
Exemplary, in the barrage based on geographical position of this example is shown, service end stores the mode of barrage content
Can be such as Fig. 6 example.Corresponded to as shown in fig. 6, barrage database includes multiple geographical position such as geographical position D1, D2, D3
Barrage content, also, barrage content can be divided into more specifically group, in the region of some geographic vicinity,
The all kinds places such as food and drink, movie theatre can be included.Applying when positioning the residing geographical position of user for client, can be with
The location type of user's selection is received by client, then can be in barrage database if user have selected food and drink type
The barrage content mapped is searched under food and drink type corresponding to the geographical position.
In addition, the barrage system application in this example can also be according to the keyword of input, arousing corresponding third party should
With, and barrage is shown in the form of floating layer on this is applied.Such as if the keyword of user's input is a film, client
End can arouse accordingly video playback application on the mobile apparatus, by the video playback application plays film, and
The display in the form of floating layer on film broadcast interface by the barrage content of service end feedback so that user can be while watch film
While participate in barrage.
Example three:Barrage based on keyword query is shown
In this example, user can input the keyword of search in the application of barrage system.For example, the keyword of input can
To be a book, or a first MV, or a film, etc..This scene is properly termed as " keyword scene ", accordingly
, when service end stores barrage content, mapping relations of some keyword with corresponding barrage content can be stored as.
The interaction between client and service end under this scene, it is similar with Fig. 4, no longer it is described in detail.Difference is,
What this example client obtained is keyword, and sending barrage in service end shows that what is carried during request is the scene of keyword scene
Code and the keyword of search.And service end also can find above-mentioned key in the barrage database as corresponding to keyword scene code
Barrage content corresponding to word, feed back to client and shown.Likewise, client can also upload commenting for oneself to service end
By being responsible for distribution by service end.
The barrage system that the disclosure provides, acts not only as independent APP (application of barrage system) and exists, can also make
For plug-in unit, external system is integrated in the form of SDK, such as, the client of barrage system can be integrated in different from the bullet
The outer application system of curtain system.
Exemplified by the barrage system of this example is applied into augmented reality AR scenes and Virtual Reality scene.For example,
The client of barrage system can be integrated in some AR system module, user can be swept by the AR system modules and sweep one
(building is properly termed as AR targets) is built at individual famous sight spot, and clicks on the option of " starting AR barrages ", then the AR system moulds
Block can send barrage display request to the service end of the barrage system of the disclosure, carry " the scene code of AR scenes " and scan
Sight spot Architectural drawing.Service end can obtain bullet corresponding to the building of the sight spot in the barrage database as corresponding to AR scene codes
Curtain content, the barrage content can be the impression and comment to the building that other passing visitors deliver in different time points.
Service end can be by the barrage content feed to client, and client, which can build at the sight spot of scanning as background, floating layer, to be shown
Show barrage content.Likewise, user can also upload the comment of oneself by AR system modules to service end, deposited by service end
Storage.
The barrage system of the disclosure is applied in VR scenes, principle and mode are similar with AR, are no longer described in detail.Such as in void
Intend in shopping scene, when buyer is immersed in virtual shop's shopping, certain part clothes of purchase is wanted for oneself, can be clicked on
" VR targets barrage ", then trigger VR systems and send barrage display request to the service end of the barrage system of the disclosure, carry " VR fields
The mark of the scene code of scape " and virtual objects.Service end it is virtual can to obtain this in the barrage database as corresponding to VR scene codes
Barrage content corresponding to article, the barrage content can be purchase experiences or the comments on commodity of other buyers, be back to client
Display.
In the above example, list and show barrage under the several scenes such as sound, picture, keyword, geographical position
Implementation, when there is new barrage to show scene, it can be set by the client and service end of barrage system new for this
The communication protocol of scene.Scene code corresponding to being new scene distribution as service end, can be set transmission by client
The upload entrance of the scenario resources of new scene, service end can receive the scenario resources of new scene, and in bullet corresponding to new scene
In curtain database, the mapping relations of each scenario resources and corresponding barrage content are stored.
Pass through the barrage display methods of the above-mentioned disclosure so that barrage can be used under several scenes, meets user
The demand of barrage is shown under several scenes, realizes the extension to the application scenarios of barrage.
In order to realize above-mentioned barrage display methods, this specification one or more embodiment additionally provides a kind of barrage and shown
Showing device, the device can apply to the service end of barrage system, as shown in fig. 7, the device can include:Request receiving module
71st, barrage acquisition module 72 and barrage sending module 73.
Request receiving module 71, the barrage for receiving client transmission show request, and the barrage shows that request includes:
Barrage shows scene code and scenario resources corresponding to scene;
Barrage acquisition module 72, in the barrage database as corresponding to the scene code, obtaining the scenario resources pair
The barrage content answered;
Barrage sending module 73, shown for the barrage content to be sent to the client.
In one example, as shown in figure 8, the device also includes barrage memory module 74.
Request receiving module 71, it is additionally operable to receive the barrage upload request that the client is sent, the barrage uploads please
Ask including:Barrage shows the scene that scene code corresponding to scene, this barrage content uploaded and described barrage content are directed to
Resource.
Barrage memory module 74, in barrage database corresponding to the scene code, store the barrage content with
Mapping relations between the scenario resources.
In order to realize above-mentioned barrage display methods, this specification one or more embodiment additionally provides a kind of barrage and shown
Showing device, the device can apply to the client of barrage system, as shown in figure 9, the device can include:Request sending module
91st, barrage receiving module 92 and barrage display module 93.
Request sending module 91, for sending barrage display request to the service end of the barrage system, the barrage shows
Show that request includes:Barrage shows scene code and scenario resources corresponding to scene;
Barrage receiving module 92, the barrage content corresponding with the scenario resources returned for receiving the service end,
The barrage content obtains in the barrage database as corresponding to the service end in the scene code;
Barrage display module 93, for showing the barrage content.
In one example, as shown in Figure 10, the device also includes:Content obtaining module 94 and upload request module 95.
Content obtaining module 94, for obtaining the barrage content commented on current scenario resources;
Upload request module 95, for sending barrage upload request to the service end, the barrage upload request includes:
Barrage shows scene code, the barrage content and scenario resources corresponding to scene, to cause the service end in the scene code
The mapping relations between the barrage content and scenario resources are stored in corresponding barrage database
For convenience of description, it is divided into various modules during description apparatus above with function to describe respectively.Certainly, this is being implemented
The function of each module can be realized in same or multiple softwares and/or hardware during specification one or more embodiment.
Each step in flow shown in above method embodiment, its execution sequence are not restricted to the order in flow chart.
In addition, the description of each step, it is possible to achieve be software, hardware or its form combined, for example, those skilled in the art can
Can be that the computer that can realize logic function corresponding to the step can perform in the form of implementing these as software code
Instruction.When it is realized in a manner of software, described executable instruction can store in memory, and by the place in equipment
Device is managed to perform.
For example, corresponding to above-mentioned barrage display methods, this specification one or more embodiment provides a kind of barrage simultaneously
Management equipment, the equipment can apply to service end.The equipment can include processor, memory and be stored in memory
Computer instruction that is upper and can running on a processor, the processor is by performing the instruction, for realizing following steps:
The barrage display request that client is sent is received, the barrage shows that request includes:Barrage show scene corresponding to scene code, with
And scenario resources;In the barrage database as corresponding to the scene code, barrage content corresponding to the scenario resources is obtained;By institute
State barrage content and send to the client and shown.
For example, corresponding to above-mentioned barrage display methods, this specification one or more embodiment provides a kind of barrage simultaneously
Display device, the equipment can apply to client.The equipment can include processor, memory and be stored in memory
Computer instruction that is upper and can running on a processor, the processor is by performing the instruction, for realizing following steps:
Barrage display request is sent to the service end of the barrage system, the barrage shows that request includes:Barrage shows that scene is corresponding
Scene code and scenario resources;Receive the barrage content corresponding with the scenario resources that the service end returns, the bullet
Obtained in curtain content barrage database as corresponding to the service end in the scene code;Show the barrage content.
The device or module that above-described embodiment illustrates, can specifically be realized by computer chip or entity, or by with
The product of certain function is realized.One kind typically realizes that equipment is computer, and the concrete form of computer can be personal meter
Calculation machine, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media player, navigation are set
It is any several in standby, E-mail receiver/send equipment, game console, tablet PC, wearable device or these equipment
The combination of equipment.
It should be understood by those skilled in the art that, this specification one or more embodiment can be provided as method, system or
Computer program product.Therefore, this specification one or more embodiment can use complete hardware embodiment, complete software to implement
The form of embodiment in terms of example or combination software and hardware.Moreover, this specification one or more embodiment can be used one
Individual or multiple computer-usable storage mediums for wherein including computer usable program code (include but is not limited to disk storage
Device, CD-ROM, optical memory etc.) on the form of computer program product implemented.
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 produces, 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 counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as 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.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrapping
Include the other element being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence " including one ... ", it is not excluded that including described
Other identical element also be present in the process of key element, method, commodity or equipment.
This specification one or more embodiment can computer executable instructions it is general on
Described in hereafter, such as program module.Usually, program module includes performing particular task or realizes particular abstract data type
Routine, program, object, component, data structure etc..Can also put into practice in a distributed computing environment this specification one or
Multiple embodiments, in these DCEs, by being performed by communication network and connected remote processing devices
Task.In a distributed computing environment, the local and remote computer that program module can be located at including storage device is deposited
In storage media.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.Especially for service end
For apparatus embodiments, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to method
The part explanation of embodiment.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the action recorded in detail in the claims or step can be come according to different from the order in embodiment
Perform and still can realize desired result.In addition, the process described in the accompanying drawings not necessarily require show it is specific suitable
Sequence or consecutive order could realize desired result.In some embodiments, multitasking and parallel processing be also can
With or be probably favourable.
The preferred embodiment of this specification one or more embodiment is the foregoing is only, not limiting this public affairs
Open, it is all within the spirit and principle of the disclosure, any modification, equivalent substitution and improvements done etc., it should be included in the disclosure
Within the scope of protection.