Disclosure of Invention
In view of this, the present disclosure provides a bullet screen display method and device.
According to an aspect of the present disclosure, there is provided a bullet screen display method, including:
determining a first display area corresponding to the first bullet screen;
determining a rotation track of the first bullet screen in the first display area;
in the first display area, displaying the first bullet screen along the rotation track.
In one possible implementation, the rotation trajectory is an arc or a spiral.
In one possible implementation, before displaying the first bullet screen along the rotation trajectory, the method further includes:
dividing the first bullet screen to obtain at least one bullet screen segment of the first bullet screen, wherein each bullet screen segment at least comprises one character;
displaying the first bullet screen along the rotation track, comprising:
according to the bullet screen fragment of first bullet screen is in the precedence in the first bullet screen, along rotatory orbit demonstrates in proper order the bullet screen fragment of first bullet screen.
In a possible implementation manner, the appearance time of all characters in the same bullet screen segment of the first bullet screen in the first display area is the same, and the appearance time of different bullet screen segments of the first bullet screen in the first display area is different.
In a possible implementation manner, the text direction of the bullet screen segment of the first bullet screen is perpendicular to the tangent line of the rotation track.
In a possible implementation manner, dividing the first bullet screen to obtain at least one bullet screen segment of the first bullet screen includes:
and carrying out phrase division on the first bullet screen, and obtaining at least one bullet screen segment of the first bullet screen according to the phrases in the first bullet screen.
In a possible implementation manner, dividing the first bullet screen to obtain at least one bullet screen segment of the first bullet screen includes:
and carrying out word division on the first bullet screen, and obtaining at least one bullet screen segment of the first bullet screen according to the words in the first bullet screen.
In a possible implementation manner, determining a first display area corresponding to the first bullet screen includes:
and determining a display area which has the highest priority and is not displayed with the bullet screen in the bullet screen display area as a first display area corresponding to the first bullet screen.
In a possible implementation manner, the font size of the first barrage is determined according to a user parameter of a publishing user of the first barrage; and/or the presence of a gas in the gas,
and the curvature radius of the rotating track is determined according to the user parameters of the publishing user of the first bullet screen.
In a possible implementation manner, before determining the first display area corresponding to the first bullet screen, the method further includes:
and determining the bullet screen with the highest priority in the bullet screens to be displayed as a first bullet screen.
In one possible implementation, the priority of the bullet screen is determined according to at least one of the following:
the time difference between the delivery time of the bullet screen and the time of the video frame to be played;
publishing user parameters of the user;
mass fraction of bullet screen.
In one possible implementation, the user parameters of the publishing user are determined according to at least one of:
publishing the online time of the user;
posting a member level for the user;
and publishing the activity of the user.
In one possible implementation, the method further includes:
and adjusting the position of the first display area according to the position of a person in the video frame being played.
According to another aspect of the present disclosure, there is provided a bullet screen display device, including:
the first determining module is used for determining a first display area corresponding to the first bullet screen;
the second determining module is used for determining the rotation track of the first bullet screen in the first display area;
and the display module is used for displaying the first bullet screen in the first display area along the rotating track.
In one possible implementation, the rotation trajectory is an arc or a spiral.
In one possible implementation, the apparatus further includes:
the dividing module is used for dividing the first bullet screen to obtain at least one bullet screen segment of the first bullet screen, wherein each bullet screen segment at least comprises one character;
the display module is used for:
and sequentially displaying the bullet screen fragments of the first bullet screen along the rotating track according to the sequence of the bullet screen fragments of the first bullet screen in the first bullet screen.
In a possible implementation manner, the appearance time of all characters in the same bullet screen segment of the first bullet screen in the first display area is the same, and the appearance time of different bullet screen segments of the first bullet screen in the first display area is different.
In a possible implementation manner, the text direction of the bullet screen segment of the first bullet screen is perpendicular to the tangent line of the rotation track.
In one possible implementation, the dividing module is configured to:
and carrying out phrase division on the first bullet screen, and obtaining at least one bullet screen segment of the first bullet screen according to the phrases in the first bullet screen.
In one possible implementation, the dividing module is configured to:
and carrying out word division on the first bullet screen, and obtaining at least one bullet screen segment of the first bullet screen according to the words in the first bullet screen.
In one possible implementation, the dividing module is configured to:
and determining a display area which has the highest priority and is not displayed with the bullet screen in the bullet screen display area as a first display area corresponding to the first bullet screen.
In a possible implementation manner, the font size of the first barrage is determined according to a user parameter of a publishing user of the first barrage; and/or the presence of a gas in the gas,
and the curvature radius of the rotating track is determined according to the user parameters of the publishing user of the first bullet screen.
In one possible implementation, the apparatus further includes:
and the third determining module is used for determining the bullet screen with the highest priority in the bullet screens to be displayed as the first bullet screen.
In one possible implementation, the priority of the bullet screen is determined according to at least one of the following:
the time difference between the delivery time of the bullet screen and the time of the video frame to be played;
publishing user parameters of the user;
mass fraction of the bullet screen.
In one possible implementation, the user parameters of the publishing user are determined according to at least one of:
publishing the online time of the user;
posting a member level of the user;
and publishing the activity of the user.
In one possible implementation, the apparatus further includes:
and the adjusting module is used for adjusting the position of the first display area according to the position of a person in the video frame being played.
According to another aspect of the present disclosure, there is provided a bullet screen display device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the above method.
According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the above-described method.
In the embodiment of the disclosure, the rotating track of the first bullet screen in the first display area is determined by determining the first display area corresponding to the first bullet screen, and the first bullet screen is displayed along the rotating track in the first display area, so that a new bullet screen display mode is provided, and the diversity of bullet screen display is enriched.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
Fig. 1 shows a flowchart of a barrage display method according to an embodiment of the present disclosure. The execution main body of the bullet screen display method can be a bullet screen display device. For example, the bullet screen display method can be executed by a terminal device or other processing devices. The terminal device may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, or a wearable device. In some possible implementations, the bullet screen display method can be implemented by a processor calling computer readable instructions stored in a memory. As shown in fig. 1, the bullet screen display method includes steps S11 to S13.
In step S11, a first display area corresponding to the first bullet screen is determined.
In the disclosed embodiment, the first bullet screen represents a certain bullet screen. The term "first" in the first bullet screen is used herein for convenience of expression and reference, and does not mean that there must be a corresponding first bullet screen in a particular implementation of the present disclosure. "first" in the first show area, "first" in the first threshold, and so on.
In the embodiment of the present disclosure, the first display area corresponding to the first bullet screen represents an area for displaying the first bullet screen.
In step S12, a rotation trajectory of the first bullet screen in the first display area is determined.
In one possible implementation, the rotation trajectory is an arc or a spiral.
Fig. 2 is a schematic diagram illustrating an arc-shaped rotation trajectory in a bullet screen display method according to an embodiment of the present disclosure. In fig. 2, an arrow indicates the rotation direction of the first bullet screen. The first bullet screen appears from the curved A end and disappears from the curved B end.
Fig. 3 shows another schematic diagram of an arc-shaped rotation trajectory in the bullet screen display method according to an embodiment of the present disclosure. In fig. 3, an arrow indicates the rotation direction of the first bullet screen. The first bullet screen appears from the curved A end and disappears from the curved B end.
Fig. 4 is a schematic diagram illustrating a spiral rotation trajectory in a bullet screen display method according to an embodiment of the present disclosure. In fig. 4, an arrow indicates a rotation direction of the first bullet screen. The first bullet screen emerges from the spiral A end and disappears from the spiral B end.
In step S13, in the first display area, the first bullet screen is displayed along the rotation trajectory.
Fig. 5 is a schematic diagram illustrating a first bullet screen along the rotation track in the bullet screen displaying method according to an embodiment of the present disclosure. In the example shown in fig. 5, the arrows indicate time-series changes, not position changes. The rotation trajectory of fig. 5 is similar to fig. 2.
In the embodiment of the disclosure, the rotating track of the first bullet screen in the first display area is determined by determining the first display area corresponding to the first bullet screen, and the first bullet screen is displayed along the rotating track in the first display area, so that a new bullet screen display mode is provided, and the diversity of bullet screen display is enriched.
In a possible implementation manner, if a request for starting the first barrage display function is obtained, the method provided by the embodiment of the present disclosure may be adopted to perform barrage display. For example, the first bullet screen display function may be named as a rotary bullet screen display function.
Fig. 6 illustrates an exemplary flowchart of a bullet screen display method according to an embodiment of the present disclosure. As shown in fig. 6, the method may include steps S21 through S24.
In step S21, a first display area corresponding to the first bullet screen is determined.
Wherein, for step S21, refer to the description above for step S11.
In step S22, a rotation trajectory of the first bullet screen in the first display area is determined.
Wherein, for step S22, refer to the description above for step S12.
In step S23, the first bullet screen is divided to obtain at least one bullet screen segment of the first bullet screen, where each bullet screen segment includes at least one character.
In a possible implementation manner, dividing the first bullet screen to obtain at least one bullet screen segment of the first bullet screen includes: and carrying out phrase division on the first bullet screen, and obtaining at least one bullet screen segment of the first bullet screen according to the phrases in the first bullet screen.
As an example of this implementation, each phrase of the first bullet screen may be respectively regarded as a bullet screen segment. In this implementation, if the number of words of a certain phrase is greater than the first threshold, when the phrase is displayed in the first display area, the phrase may be divided into two or more rows for display. For example, the first threshold is equal to 6.
As another example of this implementation, if the number of words of a certain phrase is less than or equal to the first threshold, the phrase may be regarded as a bullet screen segment; if the number of words of a certain phrase is greater than the first threshold, the phrase may be divided into at least two bullet screen segments, so that the number of words in each bullet screen segment is less than or equal to the first threshold.
As an example of this implementation, the punctuation mark may be divided into bullet screen segments to which phrases before the punctuation mark belong or bullet screen segments to which phrases after the punctuation mark belong according to the characteristics of the punctuation mark. For example, the punctuation mark "! Dividing the bullet screen segment to which the phrase before the punctuation mark belongs; punctuation "(" is divided to bullet screen segments to which phrases after the punctuation belong.
In another possible implementation manner, dividing the first bullet screen to obtain at least one bullet screen segment of the first bullet screen includes: and carrying out word division on the first bullet screen, and obtaining at least one bullet screen segment of the first bullet screen according to the words in the first bullet screen.
As an example of this implementation, each word of the first bullet screen may be respectively taken as a bullet screen segment. In this implementation, if the number of words of a certain word is greater than the second threshold, the word may be displayed in two or more lines when being displayed in the first display area.
As another example of this implementation, if the number of words of a certain word is less than or equal to the first threshold, the word may be regarded as a bullet screen segment; if the number of words of a certain word is greater than the first threshold, the word can be divided into at least two bullet screen segments, so that the number of words in each bullet screen segment is less than or equal to the second threshold.
As an example of this implementation, the punctuation mark may be divided into bullet screen segments to which words before the punctuation mark belong or bullet screen segments to which words after the punctuation mark belong according to the characteristics of the punctuation mark. For example, the punctuation mark "! Dividing the bullet screen segment to which the words before the punctuation mark belong; punctuation "(" is divided into bullet screen segments to which words following the punctuation belong.
In step S24, in the first display area, the bullet screen segments of the first bullet screen are sequentially displayed along the rotation track according to the sequence of the bullet screen segments of the first bullet screen in the first bullet screen.
Fig. 7 is a schematic diagram illustrating bullet screen segments of a first bullet screen sequentially displayed along the rotation track according to the sequence of the bullet screen segments of the first bullet screen in the bullet screen displaying method according to an embodiment of the disclosure. For example, the first bullet screen is "XX good commander superior bar and the first bullet screen comprises 4 bullet screen segments, which are respectively" XX "," good commander "," superior performance "and" bar and bar ". As shown in fig. 7, XX, nice and excellent skill and bar-stick-and-click can be shown along the rotation track in sequence.
In a possible implementation manner, the appearance time of all characters in the same bullet screen segment of the first bullet screen in the first display area is the same, and the appearance time of different bullet screen segments of the first bullet screen in the first display area is different. Wherein the occurrence time of the bullet screen segment represents the starting time of the character of the bullet screen segment appearing in the display area. As shown in fig. 7, the appearance time of two characters of the bullet screen segment "XX" in the first display area is the same, the appearance time of three characters of the bullet screen segment "good commander" in the first display area is the same, the appearance time of four characters of the bullet screen segment "superior in performance" in the first display area is the same, the appearance time of three characters of the bullet screen segment "bar commander" in the first display area is the same, the appearance time of the bullet screen segment "XX" in the first display area is earlier than that of the bullet screen segment "good commander", the appearance time of the bullet screen segment "good commander" in the first display area is earlier than that of the bullet screen segment "superior in performance", and the appearance time of the bullet screen segment "superior in performance" in the first display area is earlier than that of the bullet screen segment "bar commander".
In one possible implementation, the text direction of the bullet screen segment of the first bullet screen is perpendicular to the tangent line of the rotation track.
In a possible implementation manner, after the last character of the first bullet screen is displayed for a preset time, the first bullet screen is controlled to disappear. For example, the preset time period is 1500 milliseconds.
In a possible implementation manner, after the last bullet screen segment of the first bullet screen is displayed for a preset time, the first bullet screen is controlled to disappear.
Fig. 8 is a schematic diagram illustrating a bullet screen area in a bullet screen display method according to an embodiment of the present disclosure. In the example shown in fig. 8, the bullet screen area 31 is located at the upper portion of the play area. In other examples, the bullet screen area 31 may also be located at other positions of the playing area.
Fig. 9 is a schematic view illustrating a plurality of display areas in a bullet screen area in a bullet screen display method according to an embodiment of the present disclosure. As shown in fig. 9, the bullet screen area 31 may be divided into a plurality of display areas 32. In the example shown in fig. 9, the bullet screen area 31 is divided into 5 display areas 32. One skilled in the art will appreciate that the number of display areas may be greater or fewer and that embodiments of the present disclosure do not limit the location of the display areas.
It should be noted that the shape of the display area is not limited in the embodiments of the present disclosure. The shape of the display area can be any shape such as rectangle, circle, ellipse or triangle.
In one possible implementation, the position of the presentation area may be determined by the geometric center of the presentation area. In this implementation, the determining of the first display area corresponding to the first bullet screen may be determining a geometric center of the first display area corresponding to the first bullet screen. The size of the display area may be determined according to the font size and the number of words of the display area.
In a possible implementation manner, determining a first display area corresponding to the first bullet screen includes: and determining a display area which has the highest priority and is not displayed with the bullet screen in the bullet screen area as a first display area corresponding to the first bullet screen. Wherein, the display area without displaying the bullet screen represents the display area without the bullet screen at present. For example, in the example shown in fig. 9, the priority of the presentation area in the middle is higher than the priority of the presentation areas on both sides. For example, only the display area E and the display area F in all the display areas are display areas not displaying the bullet screens, and then the display area E may be used as the first display area corresponding to the first bullet screen.
In one possible implementation manner, the font size of the bullet screen segment of the first bullet screen is determined according to the user parameter of the publishing user of the first bullet screen.
In this implementation, the larger the user parameter of the publishing user of the first barrage is, the larger the font of the barrage fragment of the first barrage is. The font size of the bullet screen is larger than or equal to the equipment reference font size and smaller than the maximum preset font size.
As an example of this implementation, the user parameters of the publishing user are determined according to at least one of: publishing the online time of the user; posting a member level of the user; and publishing the activity of the user.
In this example, the longer the online duration of the publishing user, the larger the user parameters of the publishing user; the higher the member level of the publishing user is, the larger the user parameter of the publishing user is; the higher the liveness of the publishing user, the larger the user parameters of the publishing user.
In this example, the liveness of the publishing user may be determined according to at least one of: the method comprises the steps of publishing the number of the barracks published by a user, publishing the number of comments published by the user, publishing the praise times of the user, publishing the forwarding times of the user, publishing the collection times of the user and subscribing times of the user.
For example, the more the number of the bullet screens published by the publishing user is, the higher the liveness of the publishing user is; the more the number of the comments issued by the issuing user is, the higher the activeness of the issuing user is; the more the praise times of the publishing user are, the higher the activity of the publishing user is; the more forwarding times of the publishing user, the higher the activity of the publishing user; the more the collection times of the publishing user are, the higher the activity of the publishing user is; the more subscriptions a publishing user has, the higher the liveness of the publishing user.
In one possible implementation, the radius of curvature of the rotational trajectory is determined according to user parameters of a posting user of the first bullet screen.
In this implementation, the larger the user parameter of the posting user of the first bullet screen, the larger the radius of curvature of the rotation trajectory.
In a possible implementation manner, before determining the first display area corresponding to the first bullet screen, the method further includes: and determining the bullet screen with the highest priority in the bullet screens to be displayed as a first bullet screen.
As an example of this implementation, the priority of the bullet screen is determined according to at least one of: the time difference between the delivery time of the bullet screen and the time of the video frame to be played; publishing user parameters of the user; mass fraction of bullet screen.
In this example, the delivery time of a bullet screen may represent the point in time when the delivery user of the bullet screen views the video for which the bullet screen is being delivered. The time of a video frame may represent a point in time of the video frame in the video to which the video frame belongs. The user who posts the barrage can show the user who posts this barrage.
In this example, the smaller the time difference between the publication time of the bullet screen and the time of the video frame to be played, the higher the priority of the bullet screen; the larger the user parameter of the user who issues the bullet screen is, the higher the priority of the bullet screen is; the higher the mass fraction of the bullet screen, the higher the priority of the bullet screen.
In this example, a pre-trained first neural network may be employed to determine a quality score for the bullet screen. The first neural network can be trained according to a large number of bullet screens and the number of praise of the bullet screens. For example, before training the first neural network, the quality score of the bullet screen can be labeled according to the praise number of the bullet screen. When the first neural network is trained, the bullet screen can be used as the input of the first neural network, and the mass fraction of the bullet screen can be used as the output of the first neural network, so that the first neural network is trained and optimized.
In the embodiment of the disclosure, a full-duplex communication channel may be established between the client and the server through a Socket or a WebSocket protocol, and the server may push a barrage of a video to a client (e.g., a browser) playing the video through the full-duplex communication channel.
In one possible implementation, the client may cache the bullet screen to be displayed.
In a possible implementation manner, the client may request the interface to obtain the bullet screen to be displayed at a preset time interval. For example, the preset time interval is 2 seconds.
In one possible implementation, the method further includes: and adjusting the position of the first display area according to the position of the person in the video frame being played. In this implementation, the first presentation area may be controlled to move to a position that does not occlude the person. For example, the first display area may be controlled to move in an arcuate trajectory to a position that does not occlude the person. The first display area is controlled to move to the position where the person is not shielded, so that the user can watch the video content more conveniently.
In one possible implementation, the method further includes: and if the user parameter of the publishing user of the first bullet screen is greater than the third threshold value, displaying the first mark in the first display area. Wherein, the first mark is used for highlighting the first bullet screen.
In another possible implementation manner, the method further includes: and if the mass fraction of the first bullet screen is greater than the fourth threshold value, displaying a first mark in the first display area.
In another possible implementation manner, if the user parameter of the publishing user of the first barrage is greater than a third threshold and the mass fraction of the first barrage is greater than a fourth threshold, the first mark is displayed in the first display area.
In one possible implementation, different bullet screens in a bullet screen zone may be presented in different ways. For example, in addition to displaying a part of bullet screens by using the method provided by the embodiment of the present disclosure, another part of bullet screens can be displayed in a bullet screen form in the related art.
In one possible implementation, the font color of different bullet screens in the bullet screen area may be different.
Fig. 10 shows a block diagram of a bullet screen display device according to an embodiment of the present disclosure. As shown in fig. 10, the apparatus includes: a first determining module 41, configured to determine a first display area corresponding to the first bullet screen; a second determining module 42, configured to determine a rotation trajectory of the first bullet screen in the first display area; and a display module 43 for displaying the first bullet screen along the rotation track in the first display area.
In one possible implementation, the rotation trajectory is an arc or a spiral.
Fig. 11 illustrates an exemplary block diagram of a bullet screen display device according to an embodiment of the present disclosure. As shown in fig. 11:
in one possible implementation, the apparatus further includes: the dividing module 44 is configured to divide the first bullet screen to obtain at least one bullet screen segment of the first bullet screen, where each bullet screen segment at least includes one character; the display module 43 is used for: according to the sequence of the bullet screen fragments of the first bullet screen in the first bullet screen, the bullet screen fragments of the first bullet screen are sequentially displayed along the rotating track.
In a possible implementation manner, the appearance time of all characters in the same bullet screen segment of the first bullet screen in the first display area is the same, and the appearance time of different bullet screen segments of the first bullet screen in the first display area is different.
In one possible implementation, the text direction of the bullet screen segment of the first bullet screen is perpendicular to the tangent line of the rotation track.
In one possible implementation, dividing module 44 is configured to: and carrying out phrase division on the first bullet screen, and obtaining at least one bullet screen segment of the first bullet screen according to the phrases in the first bullet screen.
In one possible implementation, dividing module 44 is configured to: and carrying out word division on the first bullet screen, and obtaining at least one bullet screen segment of the first bullet screen according to the words in the first bullet screen.
In one possible implementation, dividing module 44 is configured to: and determining a display area which has the highest priority and is not displayed with the bullet screen in the bullet screen display area as a first display area corresponding to the first bullet screen.
In a possible implementation manner, the font size of the first barrage is determined according to user parameters of a publishing user of the first barrage; and/or the curvature radius of the rotating track is determined according to the user parameters of the delivery user of the first bullet screen.
In one possible implementation, the apparatus further includes: and a third determining module 45, configured to determine, as the first bullet screen, the bullet screen with the highest priority level in the bullet screens to be displayed.
In one possible implementation, the priority of the bullet screen is determined according to at least one of the following: the time difference between the delivery time of the bullet screen and the time of the video frame to be played; publishing user parameters of the user; mass fraction of bullet screen.
In one possible implementation, the user parameters of the publishing user are determined according to at least one of: publishing the online time of the user; posting a member level of the user; and publishing the activity of the user.
In one possible implementation, the apparatus further includes: the adjusting module 46 is configured to adjust the position of the first display area according to the position of the person in the video frame being played.
In the embodiment of the disclosure, the rotating track of the first bullet screen in the first display area is determined by determining the first display area corresponding to the first bullet screen, and the first bullet screen is displayed along the rotating track in the first display area, so that a new bullet screen display mode is provided, and the diversity of bullet screen display is enriched.
Fig. 12 is a block diagram illustrating an apparatus 800 for barrage display in accordance with an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 12, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium, such as the memory 804, is also provided that includes computer program instructions executable by the processor 820 of the device 800 to perform the above-described methods.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.