CN106339477B - Picture playing method and terminal equipment - Google Patents

Picture playing method and terminal equipment Download PDF

Info

Publication number
CN106339477B
CN106339477B CN201610771036.9A CN201610771036A CN106339477B CN 106339477 B CN106339477 B CN 106339477B CN 201610771036 A CN201610771036 A CN 201610771036A CN 106339477 B CN106339477 B CN 106339477B
Authority
CN
China
Prior art keywords
picture
place
playing
terminal equipment
advertisement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610771036.9A
Other languages
Chinese (zh)
Other versions
CN106339477A (en
Inventor
蒋杨洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610771036.9A priority Critical patent/CN106339477B/en
Publication of CN106339477A publication Critical patent/CN106339477A/en
Application granted granted Critical
Publication of CN106339477B publication Critical patent/CN106339477B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a picture playing method, which comprises the following steps: when the terminal device detects that the current geographic position is not a frequent place, sending a picture acquisition request to a server, wherein the picture acquisition request carries the current geographic position, and the picture acquisition request is used for indicating the server to push a name victory picture associated with the current geographic position to the terminal device; receiving a place of interest picture related to the current geographic position and pushed by the server in response to the picture acquisition request; and the terminal equipment is in a screen locking state, and the picture of the place of interest is played on the screen of the terminal equipment. The embodiment of the invention also provides the terminal equipment. By adopting the embodiment of the invention, the diversity of the screen locking function can be improved.

Description

Picture playing method and terminal equipment
Technical Field
The invention relates to the technical field of electronics, in particular to a picture playing method and terminal equipment.
Background
With the popularization of intelligent terminal devices (such as mobile phones, tablets and the like) and the rapid development of mobile internet, the usage amount of users of the intelligent terminal devices is larger and larger. The screen locking function is one of the standard applications of the intelligent terminal device, and is the first impression that the intelligent terminal device presents to a user, and therefore belongs to an application with extremely high use frequency of the user.
The current screen locking mode can only provide some static functions, such as a conventional locking and unlocking function, a basic information prompting function, a common setting and a common function entrance, and the like. In summary, the current screen locking mode is static, after a user sets a screen locking background, an unlocking mode and an application access, a screen locking desktop basically has no change except for prompting a short message and a telephone, and particularly, the background of the screen locking desktop is stiff and has no fresh feeling.
Disclosure of Invention
The embodiment of the invention provides a picture playing method and terminal equipment, aiming at improving the diversity of screen locking functions.
In a first aspect, an embodiment of the present invention provides a picture playing method, including:
when the terminal device detects that the current geographic position is not a frequent place, sending a picture acquisition request to a server, wherein the picture acquisition request carries the current geographic position, and the picture acquisition request is used for indicating the server to push a name victory picture associated with the current geographic position to the terminal device;
receiving a place of interest picture related to the current geographic position and pushed by the server in response to the picture acquisition request;
and the terminal equipment is in a screen locking state, and the picture of the place of interest is played on the screen of the terminal equipment.
In a second aspect, an embodiment of the present invention provides a terminal device, including:
the terminal equipment comprises a sending module and a processing module, wherein the sending module is used for sending a picture obtaining request to a server when the terminal equipment detects that the current geographic position is not a frequent place, the picture obtaining request carries the current geographic position, and the picture obtaining request is used for indicating the server to push a place of interest picture related to the current geographic position to the terminal equipment;
a receiving module, configured to receive a place of interest picture associated with the current geographic location and pushed by the server in response to the picture acquisition request;
and the picture playing module is used for playing the picture of the place of interest on the screen of the terminal equipment when the terminal equipment is in a screen locking state.
In a third aspect, an embodiment of the present invention provides a terminal device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to perform some or all of the steps as described in the first aspect of an embodiment of the invention.
In a fourth aspect, the present invention provides a computer storage medium for storing computer software instructions for a terminal device provided in the second aspect of the embodiments of the present invention, which includes a program designed to execute the above aspects.
In the embodiment of the invention, under the condition that the terminal equipment detects that the current geographic position is not a residential area, the terminal equipment sends a picture acquisition request to the server so as to enable the server to push the picture of the famous area related to the current geographic position to the terminal equipment, and after the terminal equipment receives the picture of the famous area pushed by the server, the terminal equipment plays the picture of the famous area on the screen of the terminal equipment.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a communication system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a picture playing method according to a first embodiment of the present invention;
fig. 3 is a flowchart illustrating a picture playing method according to a second embodiment of the present invention;
FIG. 4 is a schematic interface diagram illustrating the picture playing method shown in FIG. 3;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another terminal device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following are detailed below.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of the invention and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Hereinafter, some terms in the present application are explained to facilitate understanding by those skilled in the art.
1) A terminal device, also called a User Equipment (UE), is a device providing voice and/or data connectivity to a User, for example, a handheld device with a wireless connection function, a vehicle-mounted device, and so on. Common terminals include, for example: the mobile phone includes a mobile phone, a tablet computer, a notebook computer, a palm computer, a Mobile Internet Device (MID), and a wearable device such as a smart watch, a smart bracelet, a pedometer, and the like.
2) The screen of the terminal device is a display screen of the terminal device for displaying information input by the user, information provided to the user, or playing pictures, etc.
3) The screen locking state represents a screen locking state in a general meaning, and at this time, the operation interface of the terminal equipment cannot be accessed. In an embodiment of the present invention, the screen lock state may display a prompt message or a notification message, or may execute some application operations, such as answering a call, playing music, etc., in the screen lock state according to different terminal settings.
4) A permanent residence refers to an address where a user lives in a place for more than a period of time, which may be 1 month, 2 months, 1 year, etc.
5) The famous place refers to a famous place with ancient or elegant landscapes. Such as the Imperial palace, Yuanmingyuan, great wall, Yihe garden, etc.
6) Parallel execution is to perform action a and action B separately on two threads, for example, to perform action a on a first thread and perform action B on a second thread, which may be performed simultaneously or during the course of performing one action, perform the other action.
7) "plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Embodiments of the present application are described below with reference to the drawings.
Referring to fig. 1, fig. 1 is a schematic diagram of a communication system according to an embodiment of the present invention. The communication system shown in fig. 1 includes a terminal device 110 and a server 120, where when the terminal device 110 detects that the current geographic location is not a permanent place, the terminal device 110 sends a picture obtaining request to the server 120, where the picture obtaining request carries the current geographic location, and the picture obtaining request is used to instruct the server 120 to push a picture of a place of interest associated with the current geographic location to the terminal device 110; after receiving the picture acquisition request, the server 120 acquires a picture of the place of interest associated with the current geographic location, and then pushes the picture of the place of interest to the terminal device 110, and after the terminal device 110 receives the picture of the place of interest, the terminal device 110 is in a screen lock state, and the picture of the place of interest is played on a screen of the terminal device 110. Therefore, when the terminal device 110 is in the screen locking state, the terminal device can play pictures, so that the diversity of the screen locking function is improved, and in addition, when a user goes to another city from a place where the user lives, the server can push pictures of places of interest of the city, so that the user can know local culture, and the user experience is further improved.
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings so as to be understood by those skilled in the art.
As shown in fig. 2, a picture playing method provided by an embodiment of the present invention includes the following steps:
s201, when the terminal device detects that the current geographic position is not a frequent place, the terminal device sends a picture obtaining request to a server, the picture obtaining request carries the current geographic position, and the picture obtaining request is used for indicating the server to push a place-of-interest picture related to the current geographic position to the terminal device.
S202, the terminal device receives the picture of the place of interest related to the current geographic location pushed by the server in response to the picture obtaining request.
And S203, the terminal equipment is in a screen locking state, and plays the victory picture on the screen of the terminal equipment.
The present geographic location is assumed to be beijing, and the picture of the place of interest of the present geographic location is associated, for example, there may be a great wall, an old palace, a garden, a fragrant mountain, and the like.
The picture obtaining request further carries identification information of the terminal device, so that the server knows which terminal device the picture is to be pushed to, where the identification information may be a Subscriber Identity Module (SIM) card or a Universal Subscriber Identity Module (USIM) card, and the like.
Optionally, the terminal device may periodically detect whether the terminal device is in a place where the terminal device is normally located, or detect whether the terminal device is in a place where the terminal device is normally located when the terminal device is turned on or turned off.
Optionally, the server may directly push the picture of the place of the name associated with the current geographic location to the terminal device after obtaining the picture of the place of the name associated with the current geographic location, or may push the picture of the place of the name associated with the current geographic location in the next pushing, which is not limited in the present invention.
For example, assuming that the current geographic location is beijing and the current residence is shenzhen, when the terminal device detects that the terminal device moves from shenzhen to beijing, the user may travel to beijing or go on a business trip to beijing, in this case, in order to make the user know the local culture, the terminal device requests the server to push a picture of the place of title associated with beijing, the terminal device is in a screen-locked state after receiving the picture of the place of title associated with beijing pushed by the server, the terminal device plays the picture of the place of title on the screen of the terminal device, it can be seen that when the terminal device 110 is in the screen-locked state, the terminal device can play the picture, thereby improving the diversity of the screen-locking function, in addition, when the user moves from the current residence to another city, the server can push the picture of the place of title associated with the city, so that the user can know the local culture, and the user experience is further improved.
It should be noted that the geographic location obtained by the terminal device is generally more specific, for example, xxx street xxx cells in xxx area xxx city xxx of xxx province, and the server obtains the picture of the place of interest based on the highest-order address of the current geographic location, for example, based on xxx province, some places are prefecture cities, such as shanghai city, Chongqing city, etc., and the highest-order address in this case is xxx city.
Optionally, the method further includes:
and when the picture of the place of the name is played, the terminal equipment plays the file corresponding to the picture of the place of the name on the screen of the terminal equipment.
In order to make the user know the place of the name, the server pushes the picture of the place of the name together with the file of the place of the name, and the file can comprise the name of the place of the name, the brief description of the place of the name, and the like.
The terminal device plays the above mentioned picture and plays the corresponding file of the above mentioned picture in parallel, the playing time nodes of the two can be that the picture is played first and then the file is played, or the file is played first and then the picture is played, or the picture and the file are played simultaneously, the invention is not limited.
Optionally, the paperwork corresponding to the place of interest picture includes the name of the place of interest, and the method further includes:
if the click operation aiming at the name of the place of the victory is detected, the terminal equipment acquires the route information from the current geographic position to the place of the victory, and displays the route information on a screen of the terminal equipment.
In the scheme, the user only needs to click the name of the place of interest in the file corresponding to the picture of the place of interest, the terminal device can directly acquire the route information going to the place of interest from the current geographic position, and then the route information is displayed on the screen of the terminal device, so that the user does not need to manually search the route information, and the user experience is further improved.
The route information may be, for example, bus route information, navigation route information, taxi taking route information, and the like.
Optionally, the method further includes:
when the famous place picture is played and the playing time of the advertisement picture is reached, the terminal equipment sends an advertisement picture playing confirmation instruction to the server through a Software Development Kit (SDK) of the terminal equipment, wherein the advertisement picture playing confirmation instruction carries the current geographic position;
the terminal device receives an advertisement picture playing confirmation response sent by the server in response to the advertisement picture playing confirmation instruction through the SDK of the terminal device, wherein the advertisement picture playing confirmation response carries information of an advertisement picture to be played, which is appointed to be played, and the information of the advertisement picture to be played is associated with the current geographic position;
and the terminal equipment downloads the advertisement picture to be played according to the information of the advertisement picture to be played and plays the advertisement picture to be played on a screen of the terminal equipment.
The current geographic location is assumed to be beijing, and the information of the advertisement picture to be played is associated with the current geographic location, and may be, for example, a special local product related to beijing, a brand related to beijing, a publicity related to beijing, and the like.
Wherein, the terminal equipment realizes the playing of different contents through a play list, the play list can be generated through resources pushed by the server and consists of the famous place picture and the advertisement material contents, the two different materials can be alternately ordered, the number of the advertisement positions, the advertisement sequence and the advertisement positions are configured by the server to realize the advertisement deployment, when the terminal equipment is in a screen locking state, the terminal equipment plays according to the play list, when the terminal equipment plays to an advertisement position needing to play the advertisement picture, the terminal device communicates with the server through the SDK of the terminal device to determine the information of the advertisement pictures to be played, then the terminal device downloads the advertisement picture to be played according to the information of the advertisement picture to be played for playing, because the information of the advertisement picture to be played is associated with the current geographic position, the advertisement can be more effectively popularized.
Optionally, before the terminal device sends the advertisement picture playing confirmation instruction to the server through the SDK of the terminal device, the method further includes:
the terminal equipment determines whether the playing times of the advertisement pictures in a preset time period exceed preset playing times or not; and if the playing times of the advertisement pictures in a preset time period do not exceed the preset playing times, the terminal equipment sends an advertisement picture playing confirmation instruction to the server through the SDK of the terminal equipment.
The preset time period may be equal to 1 day, 2 days, 3 days, 6 days, or other values, for example.
The preset playing time may be equal to 3 times, 4 times, 6 times, 7 times or other values, for example.
When the terminal device plays the advertisement picture every time, the terminal device records specific information of playing the advertisement picture, for example, system time, playing times, played advertisement space and time of playing the advertisement picture are stored correspondingly to the identifier of the advertisement picture when the advertisement picture is played, so that the subsequent terminal device can inquire the playing times of the advertisement picture in a preset time interval and other purposes, and on the premise that the playing times of the target advertisement picture in the preset time interval do not exceed the preset playing times, the terminal device determines the advertisement picture to be played to the server through the SDK, so that the influence on user experience caused by too frequent back-and-forth playing of the advertisement picture can be avoided.
Optionally, before the terminal device sends the advertisement picture playing confirmation instruction to the server through the SDK of the terminal device, the method further includes:
the terminal equipment determines whether the time of playing the advertisement picture at the previous time and the current system time exceed a preset time length or not; and if the time of playing the advertisement picture at the previous time is more than the preset time from the current system time, the terminal equipment sends an advertisement picture playing application confirmation instruction to a server through the SDK of the terminal equipment.
The preset time period may be equal to 2 hours, 2.5 hours, 3 hours, 4 hours, or other values.
In order to further avoid that the time for playing the advertisement pictures two adjacent times is too close to each other to affect the user experience effect, before the terminal device sends an advertisement picture playing confirmation instruction to the server through the SDK of the terminal device, the terminal device may determine the time for playing the advertisement picture at the previous time (the previous time is a relative concept, here, based on the current system time, that is, the time closest to the current system time, for example, the time for playing the first lock screen picture is 2016/07/247: 46 and 2016/07/2410: 46, the current system time is 2016/07/2411: 20, and then the time for playing the first lock screen picture at the previous time, that is, 2016/07/2410: 46), whether the time from the current system time exceeds a preset time length, if so, the terminal device sends an advertisement picture playing confirmation instruction to the server through the SDK of the terminal device, if not, skipping the advertisement position of the advertisement picture to directly play the next picture of the place of interest.
Optionally, in order to avoid that the advertisement resource occupies the memory of the terminal device, after the terminal device finishes playing the advertisement picture to be played, the terminal device deletes the advertisement picture to be played, since the user of the playlist may play back and forth several times, in order to avoid the problem that the user feels too many advertisements are played when the subsequent user plays the playlist again and plays the advertisement space, after the terminal device finishes playing the advertisement picture to be played, the terminal device deletes the advertisement space corresponding to the advertisement picture to be played.
For example, referring to fig. 3, fig. 3 provides another more detailed method flow for the embodiment of the present invention, which includes the following steps:
s301, the terminal device obtains the current geographic position of the terminal device.
S302, the terminal device detects whether the current geographic position is a place of daily use.
If yes, no operation is performed.
If not, go to step S303.
And S303, the terminal equipment sends a picture acquisition request to a server, wherein the picture acquisition request carries the current geographic position, and the picture acquisition request is used for indicating the server to push a name resort picture associated with the current geographic position to the terminal equipment.
S304, the terminal equipment receives the picture of the place of interest related to the current geographic position pushed by the server in response to the picture acquisition request.
S305, the terminal device is in a screen locking state, and the terminal device plays the picture of the place of the name on the screen of the terminal device.
S306, when the picture of the place of the name is played, the terminal equipment plays the file corresponding to the picture of the place of the name on the screen of the terminal equipment.
S307, the file corresponding to the name victory picture comprises the name of the name victory, if the clicking operation aiming at the name of the name victory is detected, the route information from the current geographic position to the name victory is obtained, and the route information is displayed on the screen of the terminal equipment.
It should be noted that, the specific implementation of the steps of the method shown in fig. 3 can refer to the specific implementation described in the above method, and will not be described here. In addition, the specific interface diagram shown in fig. 3 is shown in fig. 4.
An embodiment of the present invention further provides a terminal device 500, as shown in fig. 5, including:
a sending module 501, configured to send, when a terminal device detects that a current geographic location is not a residential area, a picture obtaining request to a server, where the picture obtaining request carries the current geographic location, and the picture obtaining request is used to instruct the server to push a picture of a place of interest associated with the current geographic location to the terminal device;
a receiving module 502, configured to receive a place of interest picture associated with the current geographic location and pushed by the server in response to the picture obtaining request;
the picture playing module 503 is configured to play the picture of the place of interest on the screen of the terminal device when the terminal device is in a screen lock state.
Optionally, the terminal device further includes:
and the copy playing module 504 is configured to play the copy corresponding to the place of interest picture on the screen of the terminal device when the place of interest picture is played.
Optionally, the paperwork corresponding to the place of the name of the place of the winner picture includes the name of the place of the winner, and the terminal device further includes:
an obtaining module 505, configured to obtain route information from the current geographic location to the place of the winner if a click operation for the name of the place of the winner is detected;
a display module 506, configured to display the route information on a screen of the terminal device.
Optionally, the sending module 501 is further configured to send an advertisement picture playing confirmation instruction to the server through a software development kit SDK of the terminal device when the famous place picture is played and the advertisement picture playing time is reached, where the advertisement picture playing confirmation instruction carries the current geographic location;
the receiving module 502 is further configured to receive, through the SDK of the terminal device, an advertisement picture playing confirmation response sent by the server in response to the advertisement picture playing confirmation instruction, where the advertisement picture playing confirmation response carries information of an advertisement picture to be played, and the information of the advertisement picture to be played is associated with the current geographic location;
the terminal device further includes:
a downloading module 507, configured to download the advertisement picture to be played according to the information of the advertisement picture to be played;
and an advertisement picture playing module 508, configured to play the advertisement picture to be played on a screen of the terminal device.
Optionally, before the sending module 501 sends the advertisement picture playing confirmation instruction to the server through the SDK of the terminal device, the terminal device further includes:
a determining module 509, configured to determine whether the playing times of the advertisement pictures in the preset time period exceed preset playing times;
the sending module 501 is specifically configured to send an advertisement picture playing confirmation instruction to the server through the SDK of the terminal device if the playing times of the advertisement picture in a preset time period do not exceed the preset playing times.
It should be noted that the above modules (the sending module 501, the receiving module 502, the picture playing module 503, the copy playing module 504, the obtaining module 505, the displaying module 506, the downloading module 507, the advertisement picture playing module 508 and the determining module 509) are used for executing relevant steps of the above method.
In the present embodiment, the terminal device 500 is presented in the form of a module. A "module" herein may refer to an application-specific integrated circuit (ASIC), a processor and memory that execute one or more software or firmware programs, an integrated logic circuit, and/or other devices that may provide the described functionality. In addition, the above picture playing module 503, the copy playing module 504, the obtaining module 505, the display module 506, the downloading module 507, the advertisement picture playing module 508 and the determining module 509 may be implemented by the processor 601 of the terminal device shown in fig. 6, and the above sending module 501 and the receiving module 502 may be implemented by the communication interface 603 of the terminal device shown in fig. 6.
As shown in fig. 6, the terminal device 600 may be implemented in the structure of fig. 6, the terminal device 600 includes at least one processor 601, at least one memory 602, and at least one communication interface 603. The processor 601, the memory 602 and the communication interface 603 are connected through the communication bus and perform communication with each other.
The processor 601 may be a general purpose Central Processing Unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs according to the above schemes.
Communication interface 603 is used for communicating with other devices or communication Networks, such as ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), etc.
The Memory 602 may be a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these. The memory may be self-contained and coupled to the processor via a bus. The memory may also be integral to the processor.
The memory 602 is used for storing application program codes for executing the above scheme, and the processor 601 controls the execution. The processor 601 is used to execute application program code stored in the memory 602.
The code stored in the memory 602 may perform the above image playing method performed by the terminal device provided above, for example, when the terminal device detects that the current geographic location is not a permanent place, sending an image obtaining request to a server, where the image obtaining request carries the current geographic location, and the image obtaining request is used to instruct the server to push a picture of a place of interest associated with the current geographic location to the terminal device; receiving a place of interest picture related to the current geographic position and pushed by the server in response to the picture acquisition request; and the terminal equipment is in a screen locking state, and the picture of the place of interest is played on the screen of the terminal equipment.
The embodiment of the invention also provides a more specific application scenario, which is as follows: the above-mentioned terminal device is a mobile phone, and the following describes each component of the mobile phone specifically with reference to fig. 7:
the RF circuit 710 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 780; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuit 710 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 710 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 720 may be used to store software programs and modules, and the processor 780 may execute various functional applications and data processing of the cellular phone by operating the software programs and modules stored in the memory 720. The memory 720 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a picture playing function, a document playing function, a route information acquiring function), and the like; the storage data area may store data created according to the usage of the mobile phone (e.g., store a picture of a place of interest, a document corresponding to the picture of the place of interest, record information of playing an advertisement picture (e.g., system time when the advertisement picture is played, playing times of the advertisement picture in a preset time period), information of an advertisement picture to be played), and the like. Further, the memory 720 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 730 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, also referred to as a touch screen, can collect touch operations of a user (e.g. operations of the user on or near the touch panel 731 by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 731 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 780, and can receive and execute commands from the processor 780. In addition, the touch panel 731 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 730 may further include other input devices 732 in addition to the touch panel 731. In particular, other input devices 732 may include, but are not limited to, at least one of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 740 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 740 may include a display panel 741, and optionally, the display panel 741 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 731 can cover the display panel 741, and when the touch panel 731 detects a touch operation on or near the touch panel 731, the touch operation is transmitted to the processor 780 to determine the type of the touch event, and then the processor 780 provides a corresponding visual output on the display panel 741 according to the type of the touch event. Although the touch panel 731 and the display panel 741 are two independent components in fig. 7 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 731 and the display panel 741 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 750, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 741 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 741 and/or a backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 760, speaker 761, and microphone 762 may provide an audio interface between a user and a cell phone. The audio circuit 760 can transmit the electrical signal converted from the received audio data to the speaker 761, and the electrical signal is converted into a sound signal by the speaker 761 and output; on the other hand, the microphone 762 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 760, and then processes the audio data output processor 780, and then transmits the audio data to, for example, another cellular phone through the RF circuit 710, or outputs the audio data to the memory 720 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 770, and provides wireless broadband Internet access for the user. Although fig. 7 shows the WiFi module 770, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 780 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 720 and calling data stored in the memory 720, thereby integrally monitoring the mobile phone. Optionally, processor 780 may include one or more processing units; preferably, the processor 780 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 780.
The handset also includes a power supply 790 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 780 via a power management system, so that the power management system may be used to manage charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the foregoing embodiment, the method flow of each step may be implemented based on the structure of the terminal device shown in fig. 7.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a program, and when the program is executed, the program includes some or all of the steps of any one of the picture playing methods described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above embodiments of the present invention are described in detail, and the principle and the implementation of the present invention are explained by applying specific embodiments, and the above description of the embodiments is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in view of the above, the content of the present specification should not be construed as a limitation to the present invention.

Claims (7)

1. A picture playing method, comprising:
when the terminal device detects that the current geographic position is not a frequent place, sending a picture acquisition request to a server, wherein the picture acquisition request carries the current geographic position, and the picture acquisition request is used for indicating the server to push a name victory picture associated with the current geographic position to the terminal device; the terminal equipment periodically detects whether the current geographic position is a place where the terminal equipment is normally occupied, or detects that the current geographic position is the place where the terminal equipment is normally occupied when the terminal equipment is started or closed;
receiving a place of interest picture related to the current geographic position and pushed by the server in response to the picture acquisition request;
the terminal equipment is in a screen locking state, and the name place picture is played on a screen of the terminal equipment;
when the victory place picture is played, playing a file corresponding to the victory place picture on a screen of the terminal equipment, wherein the file corresponding to the victory place picture comprises the name of the victory place;
and if the click operation aiming at the name of the place of interest is detected, acquiring the route information from the current geographic position to the place of interest, and displaying the route information on a screen of the terminal equipment.
2. The method of claim 1, further comprising:
when the famous place picture is played and the playing time of the advertisement picture is reached, sending an advertisement picture playing confirmation instruction to the server through a Software Development Kit (SDK) of the terminal equipment, wherein the advertisement picture playing confirmation instruction carries the current geographic position;
receiving an advertisement picture playing confirmation response sent by the server in response to the advertisement picture playing confirmation instruction through an SDK (service data link) of the terminal device, wherein the advertisement picture playing confirmation response carries information of an appointed advertisement picture to be played, and the information of the advertisement picture to be played is associated with the current geographic position;
and downloading the advertisement picture to be played according to the information of the advertisement picture to be played, and playing the advertisement picture to be played on a screen of the terminal equipment.
3. The method according to claim 2, wherein before sending the advertisement picture playing confirmation instruction to the server through the SDK of the terminal device, the method further comprises:
determining whether the playing times of the advertisement pictures in a preset time period exceed preset playing times or not;
and if the playing times of the advertisement pictures in a preset time period do not exceed the preset playing times, sending an advertisement picture playing confirmation instruction to the server through the SDK of the terminal equipment.
4. A terminal device, comprising:
the terminal equipment comprises a sending module and a processing module, wherein the sending module is used for sending a picture obtaining request to a server when the terminal equipment detects that the current geographic position is not a frequent place, the picture obtaining request carries the current geographic position, and the picture obtaining request is used for indicating the server to push a place of interest picture related to the current geographic position to the terminal equipment; the terminal equipment periodically detects whether the current geographic position is a place where the terminal equipment is normally occupied, or detects that the current geographic position is the place where the terminal equipment is normally occupied when the terminal equipment is started or closed;
a receiving module, configured to receive a place of interest picture associated with the current geographic location and pushed by the server in response to the picture acquisition request;
the picture playing module is used for playing the picture of the place of interest on the screen of the terminal equipment when the terminal equipment is in a screen locking state;
the file playing module is used for playing a file corresponding to the place of interest picture on a screen of the terminal equipment when the place of interest picture is played, wherein the file corresponding to the place of interest picture comprises the name of the place of interest;
the acquisition module is used for acquiring the route information from the current geographic position to the place of the winner if the click operation aiming at the name of the place of the winner is detected;
and the display module is used for displaying the route information on a screen of the terminal equipment.
5. The terminal device of claim 4,
the sending module is further configured to send an advertisement picture playing confirmation instruction to the server through a Software Development Kit (SDK) of the terminal device when the famous place picture is played and the advertisement picture playing time is reached, where the advertisement picture playing confirmation instruction carries the current geographic position;
the receiving module is further configured to receive, through the SDK of the terminal device, an advertisement picture playing confirmation response sent by the server in response to the advertisement picture playing confirmation instruction, where the advertisement picture playing confirmation response carries information of an advertisement picture to be played, which is specified to be played, and the information of the advertisement picture to be played is associated with the current geographic location;
the terminal device further includes:
the downloading module is used for downloading the advertisement picture to be played according to the information of the advertisement picture to be played;
and the advertisement picture playing module is used for playing the advertisement picture to be played on the screen of the terminal equipment.
6. The terminal device according to claim 5, wherein the terminal device further comprises:
the determining module is used for determining whether the playing times of the advertisement pictures in a preset time period exceed the preset playing times;
the sending module is specifically configured to send an advertisement picture playing confirmation instruction to the server through the SDK of the terminal device if the playing times of the advertisement picture in a preset time period do not exceed the preset playing times.
7. A terminal device, comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to perform the method of any of claims 1 to 3.
CN201610771036.9A 2016-08-30 2016-08-30 Picture playing method and terminal equipment Active CN106339477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610771036.9A CN106339477B (en) 2016-08-30 2016-08-30 Picture playing method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610771036.9A CN106339477B (en) 2016-08-30 2016-08-30 Picture playing method and terminal equipment

Publications (2)

Publication Number Publication Date
CN106339477A CN106339477A (en) 2017-01-18
CN106339477B true CN106339477B (en) 2020-04-10

Family

ID=57823448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610771036.9A Active CN106339477B (en) 2016-08-30 2016-08-30 Picture playing method and terminal equipment

Country Status (1)

Country Link
CN (1) CN106339477B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018137153A1 (en) * 2017-01-24 2018-08-02 华为技术有限公司 Method for displaying advertisement by a terminal, and terminal and advertisement delivery system
CN110188721A (en) * 2019-06-05 2019-08-30 福建深视智能科技有限公司 A kind of method and system that advertisement accurately orientation is launched
CN110750155B (en) * 2019-09-19 2023-02-17 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for interacting with image

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473302A (en) * 2013-09-09 2013-12-25 百度在线网络技术(北京)有限公司 Lock screen information display method, device and system
CN104346471A (en) * 2014-11-18 2015-02-11 北京奇虎科技有限公司 Method, device and system for determining to-be-pushed application based on geological position information
CN105183924A (en) * 2015-10-27 2015-12-23 广东欧珀移动通信有限公司 Information acquisition method and device
CN105487854A (en) * 2015-11-20 2016-04-13 广东欧珀移动通信有限公司 Lock screen interface picture updating method, lock screen interface picture updating system and mobile terminal
CN105743773A (en) * 2016-01-26 2016-07-06 广东欧珀移动通信有限公司 Weather data acquisition method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI390177B (en) * 2008-11-24 2013-03-21 Inst Information Industry Poi recommending apparatus and methods, and storage media
US9009177B2 (en) * 2009-09-25 2015-04-14 Microsoft Corporation Recommending points of interests in a region
CN104239466A (en) * 2014-09-02 2014-12-24 百度在线网络技术(北京)有限公司 Method and device for recommending user item and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473302A (en) * 2013-09-09 2013-12-25 百度在线网络技术(北京)有限公司 Lock screen information display method, device and system
CN104346471A (en) * 2014-11-18 2015-02-11 北京奇虎科技有限公司 Method, device and system for determining to-be-pushed application based on geological position information
CN105183924A (en) * 2015-10-27 2015-12-23 广东欧珀移动通信有限公司 Information acquisition method and device
CN105487854A (en) * 2015-11-20 2016-04-13 广东欧珀移动通信有限公司 Lock screen interface picture updating method, lock screen interface picture updating system and mobile terminal
CN105743773A (en) * 2016-01-26 2016-07-06 广东欧珀移动通信有限公司 Weather data acquisition method and device

Also Published As

Publication number Publication date
CN106339477A (en) 2017-01-18

Similar Documents

Publication Publication Date Title
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN107277230B (en) Voice broadcasting method of message and related product
CN106303070B (en) notification message prompting method and device and mobile terminal
CN110633067B (en) Sound effect parameter adjusting method and mobile terminal
CN107634952B (en) Method and device for determining brushing amount resource, service equipment, mobile terminal and storage medium
CN107295173B (en) Method for deleting chat messages and related product
CN104571979B (en) A kind of method and apparatus for realizing split view
CN108834132B (en) Data transmission method and equipment and related medium product
CN106777113B (en) Data processing method and device in application program and mobile terminal
CN106126160B (en) A kind of effect adjusting method and user terminal
CN104426919A (en) Page sharing method, device and system
CN106569910B (en) Data backup and transmission method and mobile terminal
CN107103074B (en) Processing method of shared information and mobile terminal
CN106851345B (en) Information pushing method, system and server
CN111611027A (en) Method for starting application program, terminal equipment and readable storage medium
CN112996042A (en) Network acceleration method, terminal device, server and storage medium
CN106339894B (en) Screen-locked magazine pushing method, screen-locked magazine playing method and related equipment
CN106339477B (en) Picture playing method and terminal equipment
CN106327342B (en) Processing method of emoticon and terminal
CN106484563B (en) Data migration method and terminal equipment
CN108769126B (en) Application recommendation method, mobile terminal and computer-readable storage medium
CN109565464A (en) Red packet data processing method and equipment
CN106713627B (en) Method and device for pushing message in notification bar and mobile terminal
CN106293407B (en) Picture display method and terminal equipment
CN109688175B (en) Resource package distribution method, resource package acquisition method, device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

GR01 Patent grant
GR01 Patent grant