CN114125570B - Player program switching method and device, electronic equipment and storage medium - Google Patents

Player program switching method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114125570B
CN114125570B CN202111392721.8A CN202111392721A CN114125570B CN 114125570 B CN114125570 B CN 114125570B CN 202111392721 A CN202111392721 A CN 202111392721A CN 114125570 B CN114125570 B CN 114125570B
Authority
CN
China
Prior art keywords
program
playing
fixed
grade
geofence
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
CN202111392721.8A
Other languages
Chinese (zh)
Other versions
CN114125570A (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.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic Technology Co 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 Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN202111392721.8A priority Critical patent/CN114125570B/en
Publication of CN114125570A publication Critical patent/CN114125570A/en
Application granted granted Critical
Publication of CN114125570B publication Critical patent/CN114125570B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/63Location-dependent; Proximity-dependent
    • H04W12/64Location-dependent; Proximity-dependent using geofenced areas
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the disclosure relates to a method, a device, electronic equipment and a storage medium for switching player programs. The method comprises the following steps: entering a geofence, and acquiring a fixed-point put program corresponding to the geofence; judging whether a program is played currently or not, and directly playing the fixed-point delivery program when the program is not played; when a program is played, the current playing program grade is identified, and playing is carried out according to the current playing program grade and a preset playing strategy.

Description

Player program switching method and device, electronic equipment and storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of media display, in particular to a method and a device for switching a player program, electronic equipment and a storage medium.
Background
Along with the continuous popularization of the positioning technology and the continuous improvement of the precision of the positioning module, the media display technology field with the positioning device has the requirement of playing specific programs according to specific geographic positions, namely, different programs can be played at fixed points according to the different positions of the media.
In the related art, most media not only receives one type of program, so when facing to multiple types of programs including fixed-point program delivery, the broadcast control software cannot reasonably switch and play.
Accordingly, there is a need to improve one or more problems in the related art as described above.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
It is an object of embodiments of the present disclosure to provide a player program switching method, apparatus, electronic device, and storage medium, which overcome, at least in part, one or more of the problems due to the limitations and disadvantages of the related art.
In a first aspect, the present invention provides a method for switching a player program, including:
Entering a geofence, and acquiring a fixed-point put program corresponding to the geofence;
Judging whether a program is played currently or not, and directly playing the fixed-point put-in program when the program is not played;
when a program is played, the current playing program grade is identified, and playing is performed according to the current playing program grade and a preset playing strategy.
Optionally, the predetermined play policy is:
If the current playing program grade is higher than the fixed point playing program grade, continuing to play the current playing program until the current playing program is ended;
If the current playing program grade is lower than the fixed point playing program grade, stopping playing the current playing program, and switching to play the fixed point playing program;
And if the currently played program is another fixed-point played program with the same grade as the fixed-point played program, playing according to a preset playing rule.
The technical scheme has the beneficial effects that after entering the geofence, the playing switching of the program can be carried out according to the grade of the currently played program, so that the method is reasonable and efficient.
Optionally, the preset playing rule is to play the fixed point playing program with the priority playing right.
The technical scheme has the beneficial effects that when the player is positioned in the overlapping area of the plurality of geofences, the player can be designated to play according to the requirements, so that the player is more humanized.
Optionally, when the corresponding fixed point delivery program is played in the geofence and the playing program with the grade higher than the grade of the fixed point delivery program is not received, the fixed point delivery program is played circularly.
The technical scheme has the beneficial effects that the fixed point delivery program is circularly played in the geofence, so that the player is efficiently utilized.
Optionally, when the corresponding fixed point delivery program is played in the geofence, the target playing program with the grade higher than that of the fixed point delivery program is received, and then the target playing program is switched to until the target playing program is switched back to the fixed point delivery program after being played; or until leaving the geofence.
The technical scheme has the beneficial effects that the switching play of the program is related to the program grade, and the program can be reasonably switched and played according to the grade of the program.
Optionally, the method further comprises:
The target broadcast program is an emergency broadcast program, and when the emergency broadcast program is broadcast, whether the current position leaves the geofence is judged;
if the current position does not leave the geofence, switching to play the fixed-point delivery program corresponding to the geofence;
If the current position leaves the geofence, judging whether a common type program exists in a database of the player;
If the database contains common type programs, switching to play the common type programs;
if the database has no common type program, the player stops playing.
The technical scheme has the beneficial effects that when the emergency inserting program is played, the playing program still needs to be switched according to the geofence and the program grade.
Optionally, the method for acquiring the fixed-point delivery program corresponding to the geofence specifically includes:
Receiving playing information of the fixed-point delivery program corresponding to the geofence;
Acquiring fixed-point delivery programs corresponding to the geofences according to the playing information;
and storing the fixed-point put programs corresponding to the geofences into a database of the player.
In a second aspect, the present invention provides a player program switching device, including:
The acquisition module is used for entering a geofence and acquiring a fixed-point put program corresponding to the geofence;
the judging module is used for judging whether programs are played currently or not;
the playing module is used for directly playing the fixed-point put-in program when no program is played;
the identification module is used for identifying the grade of the currently played program when the program is played;
The playing module is also used for playing according to the current playing program grade and the preset playing strategy.
In a third aspect, the present invention provides a method for switching a player program, including:
Leaving the geofence, and deleting the fixed-point delivery program corresponding to the geofence;
Judging whether a program with the grade higher than the grade of the fixed point put program is played currently, and continuing playing the currently played program until the program is ended when the program with the grade higher than the grade of the fixed point put program is played currently;
And when no program with the grade higher than the grade of the fixed point delivery program is played, judging whether to enter another geofence, and playing according to a judging result and a preset playing strategy.
Optionally, the predetermined play policy is:
if the program enters another geofence, another fixed-point put program corresponding to the other geofence is acquired and played;
If the common type program is not in the other geofence, judging whether the common type program exists in the player database, and playing the common type program sometimes;
if the database has no common type program, the player stops playing.
In a fourth aspect, the present invention provides a player program switching device, including:
the deleting module is used for leaving the geofence and deleting the fixed-point put-in programs corresponding to the geofence;
the judging module is used for judging whether programs with the grade higher than the grade of the fixed-point put programs are played currently or not;
The playing module is used for continuously playing the currently played program until the end when the program with the grade higher than the grade of the fixed point put program is played;
The judging module is also used for judging whether to enter another geofence or not when no program with the grade higher than the grade of the fixed point put program is played;
The playing module is also used for playing according to the judging result and the preset playing strategy.
In a fifth aspect, the present invention provides an electronic device, comprising:
a processor; and
A memory for storing executable instructions of the processor;
wherein the processor is configured to perform the steps of any of the player program switching methods described above via execution of the executable instructions.
In a sixth aspect, the present invention provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of any of the player program switching methods described above.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
In the embodiment of the disclosure, the player enters the geographic area, so that the switching between the programs can be performed reasonably and efficiently according to different grades corresponding to the received program and the currently played program.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
FIG. 1 illustrates a flow chart of a method for switching player programs in an exemplary embodiment of the present disclosure;
fig. 2 is a schematic diagram illustrating a configuration of a player program switching device according to an exemplary embodiment of the present disclosure;
FIG. 3 illustrates another player program switching method flowchart in an exemplary embodiment of the present disclosure;
fig. 4 is a schematic diagram illustrating another configuration of a player program switching device according to an exemplary embodiment of the present disclosure;
FIG. 5 illustrates a schematic diagram of a program product architecture in an exemplary embodiment of the present disclosure;
fig. 6 shows a schematic structural diagram of an electronic device in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
In this exemplary embodiment, there is provided a method for switching a player program, referring to fig. 1, the method may include the steps of:
step S101: entering a geofence, and acquiring a fixed-point put program corresponding to the geofence;
Step S102: judging whether a program is played currently or not, and directly playing the fixed-point delivery program when the program is not played;
step S103: when a program is played, the current playing program grade is identified, and playing is carried out according to the current playing program grade and a preset playing strategy.
The player enters the geographic area, and can reasonably and efficiently switch programs according to different grades corresponding to the received program and the currently played program.
Specifically, a positioning unit is arranged on the player, after the player enters the geofence, playing information of the fixed-point delivery program corresponding to the geofence is received, the playing information can include a playing instruction and an acquisition path of the fixed-point delivery program, the player acquires the fixed-point delivery program according to the path and stores the fixed-point delivery program in a database, and then the playing of the fixed-point delivery program is arranged according to whether the program is currently played or not and the grade of the played program. The playing program may be text playing, picture playing, voice playing, video playing, etc., which is not limited herein; all the playing programs can be obtained from the cloud or the terminal equipment or other storage positions according to the obtaining paths in the playing information after the player receives the playing information, and the playing information can be sent by the upper computer.
Next, the respective steps of the above-described method in the present exemplary embodiment will be described in more detail with reference to fig. 1.
In one embodiment, the predetermined play policy may be:
if the current playing program grade is higher than the fixed point playing program grade, continuing to play the current playing program until the current playing program is ended;
Stopping playing the current playing program and switching to play the fixed point delivery program if the current playing program grade is lower than the fixed point delivery program grade;
and if the current playing program is another fixed-point playing program with the same grade as the fixed-point playing program, playing according to a preset playing rule.
Specifically, when different programs are played according to the level of the currently played program, when a program with a level higher than that of the fixed point playing program is played, the corresponding fixed point playing program of the geofence cannot be played until the player does not leave the geofence after the program with the level higher than that of the fixed point playing program is played, the end of the program with the level higher than that of the fixed point playing program can be controlled by limiting the playing time, or the end time can be controlled by limiting the playing times, or the end instruction is directly sent to end, or the program is deleted to end, and of course, other end modes can be adopted, and specific limitation is not adopted. And for the programs with the grades lower than the fixed-point delivery program, directly switching and playing the fixed-point delivery program. For programs with the same rank, for example, some areas are shared areas of multiple geofences, and the fixed-point delivery program of which geofence is preferentially played in the shared area can be selected to be played through a preset playing rule. For example, a program ranked higher than the fixed point delivery program may be an emergency commercial program, and a program ranked lower than the fixed point delivery program may be a general type program.
In one embodiment, the preset playing rule may be to play the fixed point playing program with the priority playing right. Specifically, in the shared area of the multiple geofences, the program that needs to be played most can be selected from the multiple fixed-point delivery programs corresponding to the multiple geofences, and priority play rights can be given to the program, so that the program can be played preferentially.
In one embodiment, the spot delivery program is played back in a loop when the corresponding spot delivery program is played back in the geofence and no play program having a higher level than the spot delivery program level is received. Specifically, when the player receives and plays the fixed point delivery program in a geofence, and does not receive the end instruction or the playing program with higher level, the fixed point delivery program can be circularly played until the player leaves the geofence area. By circularly playing the fixed-point delivery program, the player is efficiently utilized, and the fixed-point delivery program is more effectively transmitted.
In one embodiment, when the corresponding fixed point delivery program is played in the geofence, a target playing program with the grade higher than that of the fixed point delivery program is received, the target playing program is switched to until the target playing program is switched back to the fixed point delivery program after being played; or until exiting the geofence. Specifically, when the player receives a target playing program with a higher grade than the fixed point playing program when the fixed point playing program is played in the geofence, the target playing program needs to be switched, so that the target playing program with the higher grade can be played in time.
In one embodiment, the method may further include:
The target broadcast program is an emergency broadcast program, and when the emergency broadcast program is broadcast, whether the current position leaves the geofence is judged;
If the current position does not leave the geofence, switching to play the fixed-point delivery program corresponding to the geofence;
If the current position is separated from the geofence, judging whether a common type program exists in a database of the player;
If the common type program exists in the database, switching to play the common type program;
And if the common type program is not in the database, stopping playing by the player.
Specifically, when the emergency program is played and the emergency program is ended, it is necessary to determine whether the player is in the geofence, when the player is not in the geofence, switch the fixed point delivery program corresponding to the play geofence, when the player is not in the geofence, see whether the database of the player has playable common type programs, when the player is not in the geofence, play the common type programs, and when the player is not in the geofence, stop playing. When receiving the emergency program, the player plays the emergency program first. The ending of the emergency program may be controlled by limiting the playing time, or by limiting the playing times, or by directly sending an ending command to end, or by deleting the program, or may be other ending methods, which are not particularly limited herein.
In one embodiment, the obtaining the fixed point delivery program corresponding to the geofence may specifically be:
Receiving playing information of the fixed-point delivery program corresponding to the geofence;
Acquiring fixed-point delivery programs corresponding to the geofences according to the playing information;
and storing the fixed-point put programs corresponding to the geofences into a database of the player.
Specifically, after the player enters the geofence, the player receives playing information of the fixed-point delivery program corresponding to the geofence, wherein the playing information at least can include a playing instruction and an acquisition path of the fixed-point delivery program, and the player acquires the fixed-point delivery program according to the path and stores the fixed-point delivery program in a database of the player.
The second embodiment of the present invention provides a device for switching a player, as shown in fig. 2, which may include:
an obtaining module 101, configured to enter a geofence, and obtain a fixed-point delivery program corresponding to the geofence;
A judging module 102, configured to judge whether a program is currently played;
a playing module 103, configured to directly play the fixed-point delivery program when no program is played;
the identifying module 104 is configured to identify a currently played program level when a program is played;
the playing module is also used for playing according to the current playing program grade and a preset playing strategy.
The player enters the geographic area, and can reasonably and efficiently switch programs according to different grades corresponding to the received program and the currently played program.
The embodiment also provides a method for switching the player program, as shown in fig. 3, which may include:
Step S201: leaving a geofence, and deleting a fixed-point put program corresponding to the geofence;
Step S202: judging whether a program with the grade higher than the grade of the fixed point put program is played currently or not, and continuing playing the currently played program until the program is ended when the program with the grade higher than the grade of the fixed point put program is played currently;
step S203: and when no program with the grade higher than the grade of the fixed point put program is played, judging whether to enter another geofence, and playing according to a judging result and a preset playing strategy.
When the player leaves the geographic area, the switching between programs can be reasonably and efficiently performed according to the grade of the currently played program and whether the player enters another geofence.
Specifically, after leaving the geofence, the player firstly deletes the fixed point delivery program corresponding to the geofence, then judges whether the player has a program playing with a higher grade than the fixed point delivery program, and if so, continues to play the program with a higher grade, and if not, needs to judge whether the player enters another geofence after leaving the geofence, and plays the program with a preset playing strategy according to the judgment condition.
In one embodiment, the predetermined play policy may be:
If the program enters the other geofence, acquiring another fixed-point put program corresponding to the other geofence and playing the program;
judging whether a common type program exists in the player database or not when the other geofence is not entered, and playing the common type program when the common type program exists;
And if the common type program is not in the database, stopping playing by the player.
Specifically, when the player enters another geofence, a fixed-point delivery program corresponding to the other geofence needs to be played, when the player does not enter the other geofence, whether a common type program which can be played exists in the database is checked, when the common type program is played, and when the common type program is not played, the player stops playing.
The present exemplary embodiment also provides a device for switching a player program, as shown in fig. 4, which may include:
a deleting module 201, configured to leave a geofence, and delete a fixed-point delivery program corresponding to the geofence;
a judging module 202, configured to judge whether a program with a rating higher than the rating of the fixed point delivery program is currently played;
a playing module 203, configured to continue playing the currently played program until the end when there is a program with a level higher than the fixed point delivery program level;
The judging module is further used for judging whether to enter another geofence or not when no program with the grade higher than the grade of the fixed point delivery program is played;
The playing module is also used for playing according to the judging result and a preset playing strategy.
When the player leaves the geographic area, the switching between programs can be reasonably and efficiently performed according to the grade of the currently played program and whether the player enters another geofence.
It should be noted that although the steps of the methods of the present disclosure are illustrated in a particular order in the figures, this does not require or imply that the steps must be performed in that particular order or that all of the illustrated steps must be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc. In addition, it is also readily understood that these steps may be performed synchronously or asynchronously, for example, in a plurality of modules/processes/threads.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a computer program which, when executed by, for example, a processor, can implement the steps of the player program switching method described in any one of the above embodiments. In some possible embodiments, the aspects of the present invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention as described in the above-mentioned player program switching method section of this specification, when said program product is run on the terminal device.
Referring to fig. 5, a program product 300 for implementing the above-described player program switching method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable storage medium may also be any readable medium that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
In an exemplary embodiment of the present disclosure, an electronic device is also provided, which may include a processor, and a memory for storing executable instructions of the processor. Wherein the processor is configured to perform the steps of the player program switching method of any of the above embodiments via execution of the executable instructions.
Those skilled in the art will appreciate that the various aspects of the invention may be implemented as a system, method, or program product. Accordingly, aspects of the invention may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
An electronic device 600 according to this embodiment of the invention is described below with reference to fig. 6. The electronic device 600 shown in fig. 6 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 6, the electronic device 600 is in the form of a general purpose computing device. Components of electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one memory unit 620, a bus 630 connecting the different system components (including the memory unit 620 and the processing unit 610), a display unit 640, etc.
Wherein the storage unit stores program code executable by the processing unit 610 such that the processing unit 610 performs the steps according to various exemplary embodiments of the present invention described in the above-described player program switching method section of the present specification. For example, the processing unit 610 may perform the steps as shown in fig. 1 and/or fig. 2.
The memory unit 620 may include readable media in the form of volatile memory units, such as Random Access Memory (RAM) 6201 and/or cache memory unit 6202, and may further include Read Only Memory (ROM) 6203.
The storage unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 630 may be a local bus representing one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or using any of a variety of bus architectures.
The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 600, and/or any device (e.g., router, modem, etc.) that enables the electronic device 600 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 650. Also, electronic device 600 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 over the bus 630. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 600, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a usb disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, or a network device, etc.) to perform the above-described player program switching method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (7)

1. A method for switching a player program, comprising:
Entering a geofence, and acquiring a fixed-point put program corresponding to the geofence;
judging whether a program is played currently or not, and directly playing the fixed-point delivery program when the program is not played;
when a program is played, identifying the grade of the currently played program, and playing according to the grade of the currently played program and a preset playing strategy;
The predetermined play strategy is:
if the current playing program grade is higher than the fixed point playing program grade, continuing to play the current playing program until the current playing program is ended;
Stopping playing the current playing program and switching to play the fixed point delivery program if the current playing program grade is lower than the fixed point delivery program grade;
if the current playing program is another fixed-point playing program with the same grade as the fixed-point playing program, playing according to a preset playing rule;
wherein, the ending of the program with high grade controls the ending time by limiting the playing time, or controls the ending time by limiting the playing times, or directly sends the ending instruction to end, or ends by deleting the program;
The preset playing rule is used for playing fixed-point playing programs with priority playing rights and is used for sharing areas of a plurality of geofences;
when the corresponding fixed point put program is played in the geofence and the playing program with the grade higher than the grade of the fixed point put program is not received, the fixed point put program is played circularly;
When the corresponding fixed point delivery program is played in the geofence, a target playing program with the grade higher than that of the fixed point delivery program is received, switching to the target playing program until the target playing program is switched back to the fixed point delivery program after being played; or until exiting the geofence;
the player is provided with a positioning unit, and after the player enters the geofence, the player receives playing information of the fixed-point put program corresponding to the geofence, wherein the playing information comprises a playing instruction and an acquisition path of the fixed-point put program, and the player acquires the fixed-point put program according to the path and stores the fixed-point put program in a database;
All the playing programs are obtained from the terminal equipment according to the obtaining path in the playing information after the player receives the playing information, and the playing information is sent by the upper computer.
2. The player program switching method of claim 1, further comprising:
The target broadcast program is an emergency broadcast program, and when the emergency broadcast program is broadcast, whether the current position leaves the geofence is judged;
If the current position does not leave the geofence, switching to play the fixed-point delivery program corresponding to the geofence;
If the current position is separated from the geofence, judging whether a common type program exists in a database of the player;
If the common type program exists in the database, switching to play the common type program;
And if the common type program is not in the database, stopping playing by the player.
3. A player program switching apparatus, comprising:
The acquisition module is used for entering a geofence and acquiring a fixed-point put program corresponding to the geofence;
the judging module is used for judging whether programs are played currently or not;
the playing module is used for directly playing the fixed-point put program when no program is played;
the identification module is used for identifying the grade of the currently played program when the program is played;
The playing module is also used for playing according to the current playing program grade and a preset playing strategy;
The predetermined play strategy is:
if the current playing program grade is higher than the fixed point playing program grade, continuing to play the current playing program until the current playing program is ended;
Stopping playing the current playing program and switching to play the fixed point delivery program if the current playing program grade is lower than the fixed point delivery program grade;
if the current playing program is another fixed-point playing program with the same grade as the fixed-point playing program, playing according to a preset playing rule;
wherein, the ending of the program with high grade controls the ending time by limiting the playing time, or controls the ending time by limiting the playing times, or directly sends the ending instruction to end, or ends by deleting the program;
The preset playing rule is used for playing fixed-point playing programs with priority playing rights and is used for sharing areas of a plurality of geofences;
when the corresponding fixed point delivery program is played in the geofence and the playing program with the grade higher than the grade of the fixed point delivery program is not received, the fixed point delivery program is played circularly;
When the corresponding fixed point delivery program is played in the geofence, a target playing program with the grade higher than that of the fixed point delivery program is received, switching to the target playing program until the target playing program is switched back to the fixed point delivery program after being played; or until exiting the geofence;
the player is provided with a positioning unit, and after the player enters the geofence, the player receives playing information of the fixed-point put program corresponding to the geofence, wherein the playing information comprises a playing instruction and an acquisition path of the fixed-point put program, and the player acquires the fixed-point put program according to the path and stores the fixed-point put program in a database;
All the playing programs are obtained from the terminal equipment according to the obtaining path in the playing information after the player receives the playing information, and the playing information is sent by the upper computer.
4. A method for switching a player program, comprising:
leaving a geofence, and deleting a fixed-point put program corresponding to the geofence;
Judging whether a program with the grade higher than the grade of the fixed point put program is played currently or not, and continuing playing the currently played program until the program is ended when the program with the grade higher than the grade of the fixed point put program is played currently;
When no program with the grade higher than the grade of the fixed point put program is played, judging whether to enter another geofence, and playing according to a judging result and a preset playing strategy;
The predetermined play strategy is:
if the current playing program grade is higher than the fixed point playing program grade, continuing to play the current playing program until the current playing program is ended;
Stopping playing the current playing program and switching to play the fixed point delivery program if the current playing program grade is lower than the fixed point delivery program grade;
if the current playing program is another fixed-point playing program with the same grade as the fixed-point playing program, playing according to a preset playing rule;
wherein, the ending of the program with high grade controls the ending time by limiting the playing time, or controls the ending time by limiting the playing times, or directly sends the ending instruction to end, or ends by deleting the program;
The preset playing rule is used for playing fixed-point playing programs with priority playing rights and is used for sharing areas of a plurality of geofences;
The predetermined play strategy is:
If the program enters the other geofence, acquiring another fixed-point put program corresponding to the other geofence and playing the program;
judging whether a common type program exists in the player database or not when the other geofence is not entered, and playing the common type program when the common type program exists;
If the common type program is not in the database, stopping playing by the player;
the player is provided with a positioning unit, and after the player enters the geofence, the player receives playing information of the fixed-point put program corresponding to the geofence, wherein the playing information comprises a playing instruction and an acquisition path of the fixed-point put program, and the player acquires the fixed-point put program according to the path and stores the fixed-point put program in a database;
All the playing programs are obtained from the terminal equipment according to the obtaining path in the playing information after the player receives the playing information, and the playing information is sent by the upper computer.
5. A player program switching apparatus, comprising:
the deleting module is used for leaving the geofence and deleting the fixed-point put-in programs corresponding to the geofence;
The judging module is used for judging whether programs with the grades higher than the grade of the fixed-point put programs are played currently or not;
the playing module is used for continuing to play the current playing program until the end when the program with the grade higher than the grade of the fixed point put program is played;
The judging module is further used for judging whether to enter another geofence or not when no program with the grade higher than the grade of the fixed point delivery program is played;
the playing module is also used for playing according to the judging result and a preset playing strategy;
The predetermined play strategy is:
if the current playing program grade is higher than the fixed point playing program grade, continuing to play the current playing program until the current playing program is ended;
Stopping playing the current playing program and switching to play the fixed point delivery program if the current playing program grade is lower than the fixed point delivery program grade;
if the current playing program is another fixed-point playing program with the same grade as the fixed-point playing program, playing according to a preset playing rule;
wherein, the ending of the program with high grade controls the ending time by limiting the playing time, or controls the ending time by limiting the playing times, or directly sends the ending instruction to end, or ends by deleting the program;
The preset playing rule is used for playing fixed-point playing programs with priority playing rights and is used for sharing areas of a plurality of geofences;
The predetermined play strategy is:
If the program enters the other geofence, acquiring another fixed-point put program corresponding to the other geofence and playing the program;
judging whether a common type program exists in the player database or not when the other geofence is not entered, and playing the common type program when the common type program exists;
If the common type program is not in the database, stopping playing by the player;
the player is provided with a positioning unit, and after the player enters the geofence, the player receives playing information of the fixed-point put program corresponding to the geofence, wherein the playing information comprises a playing instruction and an acquisition path of the fixed-point put program, and the player acquires the fixed-point put program according to the path and stores the fixed-point put program in a database;
All the playing programs are obtained from the terminal equipment according to the obtaining path in the playing information after the player receives the playing information, and the playing information is sent by the upper computer.
6. An electronic device, comprising:
a processor; and
A memory for storing executable instructions of the processor;
wherein the processor is configured to perform the steps of the player program switching method of any of claims 1, 2 and 4 via execution of the executable instructions.
7. A computer readable storage medium having stored thereon a computer program, characterized in that the program when executed by a processor realizes the steps of the player program switching method of any of claims 1,2 and 4.
CN202111392721.8A 2021-11-23 2021-11-23 Player program switching method and device, electronic equipment and storage medium Active CN114125570B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111392721.8A CN114125570B (en) 2021-11-23 2021-11-23 Player program switching method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111392721.8A CN114125570B (en) 2021-11-23 2021-11-23 Player program switching method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114125570A CN114125570A (en) 2022-03-01
CN114125570B true CN114125570B (en) 2024-05-10

Family

ID=80440316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111392721.8A Active CN114125570B (en) 2021-11-23 2021-11-23 Player program switching method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114125570B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022353A (en) * 2006-10-10 2007-08-22 鲍东山 Directional stream media advertisement insert-cut system
TW200937952A (en) * 2008-02-19 2009-09-01 Mstar Semiconductor Inc Digital TV and method for managing digital TV channel programs
CN103747307A (en) * 2013-12-31 2014-04-23 数源科技股份有限公司 GPS (Global Positioning System) fixed point triggering playing method on basis of Android and vehicle-mounted play control system for implementing same
CN104980778A (en) * 2015-07-28 2015-10-14 无锡天脉聚源传媒科技有限公司 Method and device for editing playlist
CN105430474A (en) * 2015-12-02 2016-03-23 浪潮软件集团有限公司 Channel previewing method and device
CN105743596A (en) * 2014-12-09 2016-07-06 比亚迪股份有限公司 Vehicle-mounted radio, control method therefor, vehicle-mounted radio system, and server
CN106656380A (en) * 2016-10-14 2017-05-10 上海传英信息技术有限公司 User terminal and radio station channel switching method
CN107306160A (en) * 2016-04-20 2017-10-31 斑马网络技术有限公司 Obtain method, device and the equipment of station information
CN108882050A (en) * 2018-06-11 2018-11-23 广州视源电子科技股份有限公司 Programme arrangement method, system, readable storage medium storing program for executing and terminal device
CN110011747A (en) * 2019-05-23 2019-07-12 南方科技大学 A kind of broadcast system
CN111698644A (en) * 2019-03-15 2020-09-22 上海碧虎网络科技有限公司 Multimedia mobile following system and method based on mobile phone positioning
CN112437328A (en) * 2020-11-20 2021-03-02 北京电子科技职业学院 Method for wirelessly downloading high-capacity video file and remotely controlling video file playing
CN113259495A (en) * 2021-07-14 2021-08-13 佛山市墨纳森智能科技有限公司 Block chain-based news fixed-point delivery method and system and readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924912B (en) * 2009-06-10 2012-07-18 厦门雅迅网络股份有限公司 Method for wirelessly downloading large-capacity video files and remotely controlling playing of video files
US9232242B2 (en) * 2012-12-11 2016-01-05 Cbs Interactive, Inc. Techniques to broadcast a network television program

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022353A (en) * 2006-10-10 2007-08-22 鲍东山 Directional stream media advertisement insert-cut system
TW200937952A (en) * 2008-02-19 2009-09-01 Mstar Semiconductor Inc Digital TV and method for managing digital TV channel programs
CN103747307A (en) * 2013-12-31 2014-04-23 数源科技股份有限公司 GPS (Global Positioning System) fixed point triggering playing method on basis of Android and vehicle-mounted play control system for implementing same
CN105743596A (en) * 2014-12-09 2016-07-06 比亚迪股份有限公司 Vehicle-mounted radio, control method therefor, vehicle-mounted radio system, and server
CN104980778A (en) * 2015-07-28 2015-10-14 无锡天脉聚源传媒科技有限公司 Method and device for editing playlist
CN105430474A (en) * 2015-12-02 2016-03-23 浪潮软件集团有限公司 Channel previewing method and device
CN107306160A (en) * 2016-04-20 2017-10-31 斑马网络技术有限公司 Obtain method, device and the equipment of station information
CN106656380A (en) * 2016-10-14 2017-05-10 上海传英信息技术有限公司 User terminal and radio station channel switching method
CN108882050A (en) * 2018-06-11 2018-11-23 广州视源电子科技股份有限公司 Programme arrangement method, system, readable storage medium storing program for executing and terminal device
CN111698644A (en) * 2019-03-15 2020-09-22 上海碧虎网络科技有限公司 Multimedia mobile following system and method based on mobile phone positioning
WO2020186697A1 (en) * 2019-03-15 2020-09-24 上海碧虎网络科技有限公司 Mobile phone positioning-based multimedia movement and following system and method
CN110011747A (en) * 2019-05-23 2019-07-12 南方科技大学 A kind of broadcast system
CN112437328A (en) * 2020-11-20 2021-03-02 北京电子科技职业学院 Method for wirelessly downloading high-capacity video file and remotely controlling video file playing
CN113259495A (en) * 2021-07-14 2021-08-13 佛山市墨纳森智能科技有限公司 Block chain-based news fixed-point delivery method and system and readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于TCPMP的CMMB交互应用播放器设计与实现;刘锋;曾学文;孔群娥;;计算机工程与应用;20110124(第04期);全文 *

Also Published As

Publication number Publication date
CN114125570A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
CN108984157B (en) Skill configuration and calling method and system for voice conversation platform
CN108257590B (en) Voice interaction method and device, electronic equipment and storage medium
CN109918040B (en) Voice instruction distribution method and device, electronic equipment and computer readable medium
US20190331501A1 (en) Method and device for planning route, server and robot
US10394516B2 (en) Mobile terminal and method for controlling sound output
CN109587356B (en) Virtual number calling method, device, system, electronic equipment and storage medium
CN107451062B (en) User interface traversal test method, device, server and storage medium
US11270690B2 (en) Method and apparatus for waking up device
CN107798561B (en) Audio playing and sharing method and device, storage medium and electronic equipment
CN109947387B (en) Audio acquisition method, audio playing method, system, device and storage medium
US20170206059A1 (en) Apparatus and method for voice recognition device in vehicle
US11398233B2 (en) Smart service method, apparatus and device
JP2023515254A (en) Voice function jump method, electronic device and storage medium for human-machine interaction
CN112529585A (en) Interactive awakening method, device, equipment and system for risk transaction
CN114125570B (en) Player program switching method and device, electronic equipment and storage medium
CN112118487A (en) Video playing control method, device, equipment and medium
CN113676761B (en) Multimedia resource playing method and device and main control equipment
CN113053392B (en) Speech recognition method, speech recognition device, electronic equipment and medium
CN115412993A (en) Relay discovery method, system, device and storage medium
CN114237684A (en) Component management system, method, device, electronic device and storage medium
US20220370912A1 (en) Game Development Method And Apparatus, Game Running Method And Apparatus, And Electronic Device
CN114253922A (en) Resource directory management method, resource management method, device, equipment and medium
CN113726882A (en) Information service system, method, device, equipment and medium based on 5G network
CN112738153A (en) Gateway selection method, system, device, server and medium in service system
CN107154964B (en) Mobile terminal information pushing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant