Playing request method and device
Technical field
This disclosure relates to field of computer technology more particularly to a kind of playing request method and device.
Background technique
In the related art, when initiating to be directed to the playing request of multimedia resource in terminal device, if it is broadcasting online
It puts, then can first request to play backstage, take the broadcast address of video resource positive;Advertisement backstage is requested again, is taken needs and is broadcast
The online advertisement address put, passes to player for the playlist of all broadcast address and plays out.If it is local broadcasting,
It then can first obtain local resource broadcast address;Offline advertisement SDK is requested again, takes the offline advertisement address for needing to play,
The playlist of all broadcast address is passed to player to play out.This broadcast mode makes user in playing request mistake
Waiting time in journey is longer, and user experience is caused to be deteriorated.
Summary of the invention
In view of this, can initiate to play according to play mode the present disclosure proposes a kind of playing request method and device
Request, improves the efficiency of playing request.
According to the one side of the disclosure, a kind of playing request method is provided, which comprises
Determine the play mode of first resource to be played;
It is parallel to initiate to ask for the first broadcasting of first resource in the case where the play mode is the first play mode
Summation is directed to the second playing request of Secondary resource, obtains first resource information and Secondary resource information respectively;
It is serial to initiate to ask for the first broadcasting of first resource in the case where the play mode is the second play mode
Summation is directed to the second playing request of Secondary resource, obtains first resource information and Secondary resource information respectively.
For the above method, in one possible implementation, first play mode includes online play mode,
Second play mode includes local play mode.
For the above method, in one possible implementation, the first resource includes video resource, and described second
Resource includes advertising resource.
For the above method, in one possible implementation, in the feelings that the play mode is online play mode
Under condition, the first playing request is the playing request for Online Video resource, and the second playing request is for on-line advertisement resource
Or the playing request of offline advertisement resource;
In the case where the play mode is local play mode, the first playing request is for local video resource
Playing request, the second playing request are the playing request for on-line advertisement resource or offline advertisement resource.
For the above method, in one possible implementation, in the feelings that the play mode is the first play mode
Under condition, parallel the second playing request initiated for the first playing request of first resource and for Secondary resource obtains respectively
First resource information and Secondary resource information, comprising:
In the case where the play mode is online play mode, parallel requests AsyncRequest object is called to carry out
Parallel requests;
In response to the parallel requests, parallel calling Online Video requests object and online advertisement to request object, or simultaneously
Row calls online video request object and offline advertisement to request object,
Wherein, Online Video request object obtains the first resource information for carrying out the first playing request;
Online advertisement requests object or offline advertisement request object for carrying out the second playing request, obtains second money
Source information.
For the above method, in one possible implementation, in the feelings that the play mode is local play mode
Under condition, serial the second playing request initiated for the first playing request of first resource and for Secondary resource obtains respectively
First resource information and Secondary resource information, comprising:
In the case where the play mode is local play mode, serial request SyncRequest object is called to carry out
Serial request;
It is serial that local video request object and online advertisement is called to request object, or string in response to the serial request
Row calls local video request object and offline advertisement to request object,
Wherein, local video request object obtains the first resource information for carrying out the first playing request;
Online advertisement requests object or offline advertisement request object for carrying out the second playing request, obtains second money
Source information.
According to another aspect of the present disclosure, a kind of playing request device is provided, described device includes:
Play mode determining module, for determining the play mode of first resource to be played;
Parallel requests module, it is parallel to initiate for the in the case where the play mode is the first play mode
First playing request of one resource and the second playing request for Secondary resource obtain first resource information and the second money respectively
Source information;
Serial request module, it is serial to initiate for the in the case where the play mode is the second play mode
First playing request of one resource and the second playing request for Secondary resource obtain first resource information and the second money respectively
Source information.
For above-mentioned apparatus, in one possible implementation, first play mode includes online play mode,
Second play mode includes local play mode.
For above-mentioned apparatus, in one possible implementation, the first resource includes video resource, and described second
Resource includes advertising resource.
For above-mentioned apparatus, in one possible implementation, in the feelings that the play mode is online play mode
Under condition, the first playing request is the playing request for Online Video resource, and the second playing request is for on-line advertisement resource
Or the playing request of offline advertisement resource;
In the case where the play mode is local play mode, the first playing request is for local video resource
Playing request, the second playing request are the playing request for on-line advertisement resource or offline advertisement resource.
For above-mentioned apparatus, in one possible implementation, the parallel requests module includes:
Parallel requests call submodule, for calling parallel in the case where the play mode is online play mode
AsyncRequest object is requested to carry out parallel requests;
Parallel Object calls submodule, in response to the parallel requests, parallel calling Online Video request object and
Online advertisement requests object or parallel calling Online Video request object and offline advertisement to request object,
Wherein, Online Video request object obtains the first resource information for carrying out the first playing request;It is online wide
Request object or offline advertisement request object are accused for carrying out the second playing request, obtains the Secondary resource information.
For above-mentioned apparatus, in one possible implementation, the serial request module includes:
Serial request call submodule, for calling serial in the case where the play mode is local play mode
Request SyncRequest object is serially requested;
Serial object reference submodule, in response to the serial request, it is serial call local video request object and
Online advertisement requests object, or serial calling local video request object and offline advertisement to request object,
Wherein, local video request object obtains the first resource information for carrying out the first playing request;It is online wide
Request object or offline advertisement request object are accused for carrying out the second playing request, obtains the Secondary resource information.
According to another aspect of the present disclosure, a kind of playing request device is provided, described device includes:
Processor;Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Determine the play mode of first resource to be played;
It is parallel to initiate to ask for the first broadcasting of first resource in the case where the play mode is the first play mode
Summation is directed to the second playing request of Secondary resource, obtains first resource information and Secondary resource information respectively;
It is serial to initiate to ask for the first broadcasting of first resource in the case where the play mode is the second play mode
Summation is directed to the second playing request of Secondary resource, obtains first resource information and Secondary resource information respectively.
According to another aspect of the present disclosure, a kind of non-volatile computer readable storage medium storing program for executing is provided, when the storage
When instruction in medium is executed by the processor of terminal and/or server, broadcast so that terminal and/or server are able to carry out one kind
Put requesting method, which comprises
Determine the play mode of first resource to be played;
It is parallel to initiate to ask for the first broadcasting of first resource in the case where the play mode is the first play mode
Summation is directed to the second playing request of Secondary resource, obtains first resource information and Secondary resource information respectively;
It is serial to initiate to ask for the first broadcasting of first resource in the case where the play mode is the second play mode
Summation is directed to the second playing request of Secondary resource, obtains first resource information and Secondary resource information respectively.
According to the playing request method and device of the embodiment of the present disclosure, it can be based on play mode, concurrently or sequentially initiated
The first playing request for first resource and the second playing request for Secondary resource, respectively obtain first resource information and
Secondary resource information promotes user experience to improve the efficiency and flexibility of playing request.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, the other feature and aspect of the disclosure will become
It is clear.
Detailed description of the invention
Comprising in the description and constituting the attached drawing of part of specification and specification together illustrates the disclosure
Exemplary embodiment, feature and aspect, and for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of playing request method shown according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of the step 12 of playing request method shown according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of the step 13 of playing request method shown according to an exemplary embodiment.
Fig. 4 is a kind of schematic diagram of the module architectures of playing request method shown according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of playing request device shown according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of playing request device shown according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of playing request device shown according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of playing request device shown according to an exemplary embodiment.
Specific embodiment
Various exemplary embodiments, feature and the aspect of the disclosure are described in detail below with reference to attached drawing.It is identical in attached drawing
Appended drawing reference indicate element functionally identical or similar.Although the various aspects of embodiment are shown in the attached drawings, remove
It non-specifically points out, it is not necessary to attached drawing drawn to scale.
Dedicated word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary "
Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, giving numerous details in specific embodiment below to better illustrate the disclosure.
It will be appreciated by those skilled in the art that without certain details, the disclosure equally be can be implemented.In some instances, for
Method, means, element and circuit well known to those skilled in the art are not described in detail, in order to highlight the purport of the disclosure.
Embodiment 1
Fig. 1 is a kind of flow chart of playing request method shown according to an exemplary embodiment.This method can be applied to
In terminal device (such as smart phone, computer etc.) or server.As shown in Figure 1, according to the playing request of the embodiment of the present disclosure
Method includes:
Step S11 determines the play mode of first resource to be played;
Step S12, in the case where the play mode is the first play mode, parallel the initiated for first resource
One playing request and the second playing request for Secondary resource obtain first resource information and Secondary resource information respectively;
Step S13, in the case where the play mode is the second play mode, serial the initiated for first resource
One playing request and the second playing request for Secondary resource obtain first resource information and Secondary resource information respectively.
It can be based on play mode in accordance with an embodiment of the present disclosure, concurrently or sequentially initiate to broadcast for the first of first resource
Request and the second playing request for Secondary resource are put, first resource information and Secondary resource information are obtained respectively, to mention
The efficiency and flexibility of high playing request promote user experience.
For example, it when playing multimedia resource such as video in terminal device, needs to initiate for multimedia resource
Playing request.At this point it is possible to determine the play mode of first resource to be played, wherein first resource can be, for example, to use
The video resource played is wanted at family, and play mode can be, for example, to play or locally play online etc..
In one possible implementation, the first resource includes video resource, and the Secondary resource includes advertisement
Resource.
The online video that plays needs to request Online Video resource, and required request time is longer, passes through above-mentioned possible realization
Mode, can be in the case where playing video online, parallel requests video resource and advertising resource, to shorten request time.This
Outside, the local video that plays needs to request local video resource, and required request time is shorter, by above-mentioned possible implementation,
Can be serial to request video resource and advertising resource in the case where locally playing video, with what can be tolerated in request time
Meanwhile the expense of thread scheduling is reduced, to reduce the consumption of overhead resource, improve the efficiency of playing request.
In one possible implementation, in the case where the play mode is online play mode, first is played
Request is the playing request for Online Video resource, and the second playing request is for on-line advertisement resource or offline advertisement resource
Playing request.
In one possible implementation, first play mode may include online play mode.If it is determined that
Play mode is online play mode, then can initiate parallel for the first playing request of first resource and for Secondary resource
The second playing request, wherein first resource can be, for example, Online Video resource, and Secondary resource can be, for example, online advertisement
Resource or offline advertisement resource.It under online play mode, needs that Online Video resource is requested to play out, and may need to ask
It asks online or offline advertisement resource plays out.The first playing request for Online Video resource and it is directed to on-line advertisement resource
Or the second playing request of offline advertisement resource requires to spend certain request time, it is parallel to initiate the first playing request and the
Two playing requests can make two requests while carry out, to reduce total playing request time, accelerate to obtain first resource letter
The speed of (video information) and Secondary resource information (advertising information) is ceased, and then reduces the waiting time of user, improves to play and ask
The efficiency asked promotes user experience.
In one possible implementation, in the case where the play mode is local play mode, first is played
Request is the playing request for local video resource, and the second playing request is for on-line advertisement resource or offline advertisement resource
Playing request.
In one possible implementation, second play mode includes local play mode.If it is determined that playing
Mode is local play mode, then can serially initiate for the first playing request of local video resource and for online advertisement
Second playing request of resource or offline advertisement resource.Under second play mode, broadcast for the first of local video resource
It is time-consuming very short to put request;It then needs to spend certain ask for the second playing request of on-line advertisement resource or offline advertisement resource
Seeking time, serial the first playing request and the second playing request initiated can reduce the expense of thread scheduling, to reduce expense
The consumption of resource improves the efficiency of playing request.
Fig. 2 is a kind of flow chart of the step 12 of playing request method shown according to an exemplary embodiment.Such as Fig. 2 institute
Show, in one possible implementation, step S12 includes:
Step S121 calls parallel requests in the case where the play mode is online play mode
AsyncRequest object carries out parallel requests;
Step S122, in response to the parallel requests, parallel calling Online Video requests object and online advertisement request pair
As or parallel calling Online Video request object and offline advertisement request object,
Wherein, Online Video request object obtains the first resource information for carrying out the first playing request;It is online wide
Request object or offline advertisement request object are accused for carrying out the second playing request, obtains the Secondary resource information.
For example, it when play mode is the first play mode (such as online play mode), can be configured with online
Video request object (OnlineVideoRequest) is used to carry out the first playing request for first resource (for online view
The playing request of frequency resource) specific implementation, be configured with online advertisement request object (OnlineAdvRequest) or offline wide
It accuses request object (OfflineAdvRequest) and is used to carry out the second playing request for Secondary resource (for online advertisement
The playing request of resource or offline advertisement resource) specific implementation.And it is possible to request object formation using Online Video
AsyncRequest (Asynchronous Request) object carries out parallel requests.In response to the parallel requests, can be regarded online with parallel calling
Frequency request object completes the playing request of actual Online Video resource;And it is possible to Online Video request object parallel
The playing request or offline for calling online ad-request object or offline advertisement that object is requested to complete actual on-line advertisement resource
The playing request of advertising resource.Wherein it is possible to call online ad-request object or offline advertisement to request according to actual demand
Object.It can be by acquired first resource information (such as broadcast address of Online Video resource) and Secondary resource information (example
Such as online or offline advertisement resource address) it passes to player and plays out.
In this way, construction Asynchronous Request object carries out parallel requests, and the corresponding object of parallel calling is completed practical
The first playing request and the second playing request, improve the efficiency of playing request.
Fig. 3 is a kind of flow chart of the step 13 of playing request method shown according to an exemplary embodiment.Such as Fig. 3 institute
Show, in one possible implementation, step S13 includes:
Step S131 calls serial request SyncRequest in the case where the play mode is local play mode
Object is serially requested;
Step S132, it is serial to call local video request object and online advertisement request pair in response to the serial request
As, or serial calling local video request object and offline advertisement request object,
Wherein, local video request object obtains the first resource information for carrying out the first playing request;It is online wide
Request object or offline advertisement request object are accused for carrying out the second playing request, obtains the Secondary resource information.
For example, when play mode is the second play mode (such as local play mode), local can be configured with
Video request object (LocalVideoRequest) is used to carry out the first playing request for first resource (for local view
The playing request of frequency resource) specific implementation, be configured with online advertisement request object (OnlineAdvRequest) or offline wide
It accuses request object (OfflineAdvRequest) and is used to carry out the second playing request for Secondary resource (for online advertisement
The playing request of resource or offline advertisement resource) specific implementation.And it is possible to request object formation using local video
SyncRequest (synchronization request) object is serially requested.In response to the parallel requests, local video can be serially called
Request object completes the playing request of actual local video resource;And it is possible to serially be adjusted with local video request object
The playing request of actual on-line advertisement resource or offline wide is completed with online ad-request object or offline advertisement request object
Accuse the playing request of resource.Wherein it is possible to call online ad-request object or offline advertisement request pair according to actual demand
As.Can by acquired first resource information (such as broadcast address of local video resource) and Secondary resource information (such as
Online or offline advertisement resource address) it passes to player and plays out.
In this way, construction synchronization request object is serially requested, and serially calls corresponding object to complete practical
The first playing request and the second playing request, reduce the expense of thread scheduling, improve the efficiency of playing request.
Fig. 4 is a kind of schematic diagram of the module architectures of playing request method shown according to an exemplary embodiment.One
In the possible implementation of kind, realization can be as shown in Figure 4 according to the module architectures of the playing request of the embodiment of the present disclosure.
For example, PlayRequest (playing request) 41 can indicate the abstract of playing request, externally provide and play the
The basic interface of one resource (video), concrete implementation can be SyncRequest (synchronization request) 411 and AsyncRequest
(Asynchronous Request) 412 has respectively corresponded serial request and parallel requests.Bridge mode can be used between each request module,
Request mode is separated with request content, so that each part can be independently varied.PlayRequest 41 is constituted
One end of bridge mode, responsible first playing request (video playing request) and the second playing request (advertisement playing request)
Parallel or serial execution (request mode), and do not have to be concerned about specific first resource broadcasting content be it is online or local,
Ad content is online or offline.Wherein, SyncRequest 411 can indicate serially to be requested abstract, serially ask
Ask the broadcast address and advertising address of video resource;AsyncRequest 412 can indicate the abstract of progress parallel requests, and
The broadcast address and advertising address of row request video resource.
In one possible implementation, VideoRequest (video request) 42 can be indicated for request content
It is abstract, including the first playing request (video playing request) and the second playing request (advertisement playing request).VideoRequest
42 may be constructed the other end of bridge mode, be abstracted to the content of request, this part only be responsible for video playing request be
Line or local, advertisement playing request be it is online or offline, be isolated with request mode (concurrently or sequentially).Wherein,
OnlineVideoRequest (Online Video request) 421 can indicate the abstract of Online Video playing request, encapsulate online
Play the specific implementation of video positive request;LocalVideoRequest (local video request) 422 can indicate local video
Playing request is abstracted, and encapsulates the local specific implementation for playing the request of video positive.
In one possible implementation, AdvRequest (ad-request) 43 can be indicated to advertisement playing request
It is abstract, make the specific implementation of VideoRequest 42 that different ad-request objects can be used, is specifically playing in scene
It is more flexible when request advertisement.Offline advertisement can be requested to reduce user for example, playing Online Video under non-WIFI network
The use of flow, or local video request online advertisement is played under WIFI network to obtain newest ad content.Wherein,
OnlineAdvRequest (online advertisement request) 431 can indicate the abstract of online advertisement playing request, encapsulate online wide
Accuse the specific implementation of playing request;OfflineAdvRequest (offline advertisement request) 432 can indicate that offline advertisement broadcasting is asked
That asks is abstract, encapsulates the specific implementation of offline advertisement playing request.
In this way, using bridge mode to request mode (parallel requests or serial request) and request content (depending on
Frequency playing request or advertisement playing request) it is layered, each part is independently varied, is increased in parallel requests
Mode, reduce the time of online playing request;And ad-request is abstracted, can satisfy under different broadcasting scenes
Advertisement play demand, improve the efficiency and flexibility of playing request, promote user experience.
Embodiment 2
Fig. 5 is a kind of block diagram of playing request device shown according to an exemplary embodiment.As shown in figure 5, the broadcasting
Request unit includes: play mode determining module 51, parallel requests module 52 and serial request module 53.
Play mode determining module 51, for determining the play mode of first resource to be played;
Parallel requests module 52, in the case where the play mode is the first play mode, parallel initiation to be directed to
First playing request of first resource and the second playing request for Secondary resource obtain first resource information and second respectively
Resource information;
Serial request module 53, in the case where the play mode is the second play mode, serial initiation to be directed to
First playing request of first resource and the second playing request for Secondary resource obtain first resource information and second respectively
Resource information.
In one possible implementation, first play mode includes online play mode, and described second plays
Mode includes local play mode.
In one possible implementation, the first resource includes video resource, and the Secondary resource includes advertisement
Resource.
In one possible implementation, in the case where the play mode is online play mode, first is played
Request is the playing request for Online Video resource, and the second playing request is for on-line advertisement resource or offline advertisement resource
Playing request;In the case where the play mode is local play mode, the first playing request is to provide for local video
The playing request in source, the second playing request are the playing request for on-line advertisement resource or offline advertisement resource.
Fig. 6 is a kind of block diagram of playing request device shown according to an exemplary embodiment.As shown in fig. 6, in one kind
In possible implementation, the parallel requests module 52 includes:
Parallel requests call submodule 521, for calling simultaneously in the case where the play mode is online play mode
Row request AsyncRequest object carries out parallel requests;
Parallel Object calls submodule 522, in response to the parallel requests, parallel calling Online Video to request object
Object or parallel calling Online Video request object and offline advertisement is requested to request object with online advertisement,
Wherein, Online Video request object obtains the first resource information for carrying out the first playing request;It is online wide
Request object or offline advertisement request object are accused for carrying out the second playing request, obtains the Secondary resource information.
Fig. 6 is a kind of block diagram of playing request device shown according to an exemplary embodiment.As shown in fig. 6, in one kind
In possible implementation, the serial request module 53 includes:
Serial request call submodule 531, for calling string in the case where the play mode is local play mode
Row request SyncRequest object is serially requested;
Serial object reference submodule 532, in response to the serial request, serial calling local video to request object
Object, or serial calling local video request object and offline advertisement is requested to request object with online advertisement,
Wherein, local video request object obtains the first resource information for carrying out the first playing request;It is online wide
Request object or offline advertisement request object are accused for carrying out the second playing request, obtains the Secondary resource information.
It can be based on play mode in accordance with an embodiment of the present disclosure, concurrently or sequentially initiate to broadcast for the first of first resource
Request and the second playing request for Secondary resource are put, first resource information and Secondary resource information are obtained respectively, to mention
The efficiency and flexibility of high playing request promote user experience.
Embodiment 3
Fig. 7 is a kind of block diagram of playing request device 800 shown according to an exemplary embodiment.For example, device 800 can
To be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices are good for
Body equipment, personal digital assistant etc..
Referring to Fig. 7, device 800 may include following one or more components: processing component 802, memory 804, power supply
Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and
Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, telephone call, data communication, phase
Machine operation and record operate associated operation.Processing component 802 may include that one or more processors 820 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just
Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate
Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown
Example includes the instruction of any application or method for operating on device 800, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 may include power management system
System, one or more power supplys and other with for device 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between described device 800 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 808 includes a front camera and/or rear camera.When device 800 is in operation mode, such as screening-mode or
When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike
Wind (MIC), when device 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched
It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set
Part 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented
Estimate.For example, sensor module 814 can detecte the state that opens/closes of device 800, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or device
Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800
Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device
800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation
In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-volatile computer readable storage medium storing program for executing including instruction, example are additionally provided
It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete the above method.
Fig. 8 is a kind of block diagram of playing request device 1900 shown according to an exemplary embodiment.For example, device 1900
It may be provided as a server.Referring to Fig. 8, it further comprises one or more that device 1900, which includes processing component 1922,
Processor and memory resource represented by a memory 1932, can be by the finger of the execution of processing component 1922 for storing
It enables, such as application program.The application program stored in memory 1932 may include each one or more correspondence
In the module of one group of instruction.In addition, processing component 1922 is configured as executing instruction, to execute the above method.
Device 1900 can also include that a power supply module 1926 be configured as the power management of executive device 1900, and one
Wired or wireless network interface 1950 is configured as device 1900 being connected to network and input and output (I/O) interface
1958.Device 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows ServerTM, Mac
OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, a kind of non-volatile computer readable storage medium storing program for executing including instruction, example are additionally provided
It such as include the memory 1932 of instruction, above-metioned instruction can be executed by the processing component 1922 of device 1900 to complete the above method.
The disclosure can be system, method and/or computer program product.Computer program product may include computer
Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the disclosure.
Computer readable storage medium, which can be, can keep and store the tangible of the instruction used by instruction execution equipment
Equipment.Computer readable storage medium for example can be-- but it is not limited to-- storage device electric, magnetic storage apparatus, optical storage
Equipment, electric magnetic storage apparatus, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer readable storage medium
More specific example (non exhaustive list) includes: portable computer diskette, hard disk, random access memory (RAM), read-only deposits
It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static random access memory (SRAM), portable
Compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon
It is stored with punch card or groove internal projection structure and the above-mentioned any appropriate combination of instruction.Calculating used herein above
Machine readable storage medium storing program for executing is not interpreted that instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations lead to
It crosses the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or is transmitted by electric wire
Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer readable storage medium it is each calculate/
Processing equipment, or outer computer or outer is downloaded to by network, such as internet, local area network, wide area network and/or wireless network
Portion stores equipment.Network may include copper transmission cable, optical fiber transmission, wireless transmission, router, firewall, interchanger, gateway
Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted
Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment
In calculation machine readable storage medium storing program for executing.
Computer program instructions for executing disclosure operation can be assembly instruction, instruction set architecture (ISA) instructs,
Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages
The source code or object code that any combination is write, the programming language include the programming language-of object-oriented such as
Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer
Readable program instructions can be executed fully on the user computer, partly execute on the user computer, be only as one
Vertical software package executes, part executes on the remote computer or completely in remote computer on the user computer for part
Or it is executed on server.In situations involving remote computers, remote computer can pass through network-packet of any kind
It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit
It is connected with ISP by internet).In some embodiments, by utilizing computer-readable program instructions
Status information carry out personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or can
Programmed logic array (PLA) (PLA), the electronic circuit can execute computer-readable program instructions, to realize each side of the disclosure
Face.
Referring herein to according to the flow chart of the method, apparatus (system) of the embodiment of the present disclosure and computer program product and/
Or block diagram describes various aspects of the disclosure.It should be appreciated that flowchart and or block diagram each box and flow chart and/
Or in block diagram each box combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to general purpose computer, special purpose computer or other programmable datas
The processor of processing unit, so that a kind of machine is produced, so that these instructions are passing through computer or other programmable datas
When the processor of processing unit executes, function specified in one or more boxes in implementation flow chart and/or block diagram is produced
The device of energy/movement.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to
It enables so that computer, programmable data processing unit and/or other equipment work in a specific way, thus, it is stored with instruction
Computer-readable medium then includes a manufacture comprising in one or more boxes in implementation flow chart and/or block diagram
The instruction of the various aspects of defined function action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other
In equipment, so that series of operation steps are executed in computer, other programmable data processing units or other equipment, to produce
Raw computer implemented process, so that executed in computer, other programmable data processing units or other equipment
Instruct function action specified in one or more boxes in implementation flow chart and/or block diagram.
The flow chart and block diagram in the drawings show system, method and the computer journeys according to multiple embodiments of the disclosure
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
One module of table, program segment or a part of instruction, the module, program segment or a part of instruction include one or more use
The executable instruction of the logic function as defined in realizing.In some implementations as replacements, function marked in the box
It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be held substantially in parallel
Row, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or
The combination of each box in flow chart and the box in block diagram and or flow chart, can the function as defined in executing or dynamic
The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.
The presently disclosed embodiments is described above, above description is exemplary, and non-exclusive, and
It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill
Many modifications and changes are obvious for the those of ordinary skill in art field.The selection of term used herein, purport
In the principle, practical application or technological improvement to the technology in market for best explaining each embodiment, or lead this technology
Other those of ordinary skill in domain can understand each embodiment disclosed herein.