CN108833956A - A kind of short-sighted sound interval sort run method, apparatus, terminal and computer storage medium - Google Patents

A kind of short-sighted sound interval sort run method, apparatus, terminal and computer storage medium Download PDF

Info

Publication number
CN108833956A
CN108833956A CN201810608568.XA CN201810608568A CN108833956A CN 108833956 A CN108833956 A CN 108833956A CN 201810608568 A CN201810608568 A CN 201810608568A CN 108833956 A CN108833956 A CN 108833956A
Authority
CN
China
Prior art keywords
short video
short
video program
program
issued
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.)
Withdrawn
Application number
CN201810608568.XA
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201810608568.XA priority Critical patent/CN108833956A/en
Publication of CN108833956A publication Critical patent/CN108833956A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4108Peripherals receiving signals from specially adapted client devices characterised by an identification number or address, e.g. local network address
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4431OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB characterized by the use of Application Program Interface [API] libraries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6405Multicasting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8173End-user applications, e.g. Web browser, game
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8352Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]

Abstract

The present invention is suitable for software field, provides a kind of short-sighted sound interval sort run method, apparatus, terminal and computer storage medium, including:If current time is in the work hours issued, the broadcast message for disabling short video program is issued;When listening to the broadcast message for disabling short video program, identifier list is obtained, identifier list includes the identifier of short video program;It is calculated using packet name of the preset MD5 function to application program, generates the corresponding identifier of application program;The identifier of generation is matched, successful match with the identifier of short video program, is short video program with regard to recognition application;Obtain the state of short video program;If the state of short video program is operating status, the process that interface forceStopPackage pressure stops short video program of hiding just is called;If the state of short video program is not operating status, short video icon is just obtained, sets 100% for the display transparency of short video icon.The present invention can disable short video program in the work hours.

Description

A kind of short-sighted sound interval sort run method, apparatus, terminal and computer storage medium
Technical field
The invention belongs to software fields more particularly to a kind of short-sighted sound interval sort run method, apparatus, terminal and computer to deposit Storage media.
Background technique
With popularizing for wireless network, the recreation of people becomes more and more abundant, is such as seen by mobile terminal short-sighted Frequently, the type of short-sighted frequency is varied, such as fashion class, class of hunting for novelty, healthy class, cultural class, travelling class.Short-sighted frequency all too has Interest, this is but also part employee sees short-sighted frequency in the work hours, by mobile terminal.
However, current short-sighted frequency program operating method, it is difficult to disable short video program automatically in the work hours, be unfavorable for Control the Run-time scenario of short video program.The reason is that unit provides, employee is forbidden to see by mobile terminal in the work hours Short-sighted frequency, to avoid working efficiency is reduced.And current short-sighted frequency program operating method is all towards whole time, Bu Huiqu Divide work hours and non-work hours, faces the work hours, can also operate normally short video program, short video program can pass through The short video server of network insertion is unfavorable for controlling the Run-time scenario of short video program in this way.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of short-sighted sound interval sort run method, apparatus, terminal and computers to deposit Storage media, to solve current short-sighted frequency program operating method, it is difficult to disable short video program automatically in the work hours, be unfavorable for The problem of controlling the Run-time scenario of short video program.
The first aspect of the embodiment of the present invention provides a kind of short-sighted frequency program operating method, including:
Preset office system server is connected, work hours acquisition request is sent to the office system server, connects It receives the work hours that the office system server is issued according to the work hours acquisition request, obtains current time, if Current time was in the work hours issued, and the broadcast message for disabling short video program is just issued by operating system;
The broadcast message for monitoring the short video program of the disabling in real time using preset listening thread, when listening to the taboo When with the broadcast message of short video program, identifier list acquisition request is sent to the office system server, described in reception The identifier list that office system server is issued according to the identifier list acquisition request, the identifier list include short The identifier of video program, the short video program are the program for playing short-sighted frequency, and the short-sighted frequency was duration within 3 minutes Video;
Using the acquisition installation kit function getInstalledPackages of the operating system, mounted application is obtained The package informatin of program obtains the packet name of the application program in the package informatin, is answered using preset MD5 function described It is calculated with the packet name of program, generates the corresponding identifier of the application program;
The identifier of generation is matched with the identifier of the short video program, if the two successful match, is just known The not described application program is the short video program;
Obtain the state of the short video program;
If the state of the short video program is operating status, just calls and hide interface forceStopPackage pressure The process for stopping the short video program makes the state halted state of the short video program;
If the state of the short video program is not operating status, the corresponding short-sighted frequency of the short-sighted sound interval sequence is just obtained Icon sets 100% for the display transparency of the short video icon, to hide the short video icon, prevents user's point Hit the short video icon.
The second aspect of the embodiment of the present invention provides a kind of short-sighted sound interval sort run device, including:
Broadcast module, for connecting preset office system server, when sending working to the office system server Between acquisition request, receive the work hours that the office system server is issued according to the work hours acquisition request, obtain Current time is just issued by operating system if current time was in the work hours issued and disables short-sighted sound interval The broadcast message of sequence;
Module is obtained, for monitoring the broadcast message of the short video program of disabling in real time using preset listening thread, When listening to the broadcast message of the short video program of disabling, identifier list is sent to the office system server and is obtained Request, receives the identifier list that the office system server is issued according to the identifier list acquisition request, the mark Know the identifier that symbol list includes short video program, the short video program is the program for playing short-sighted frequency, and the short-sighted frequency is Video of the duration within 3 minutes;
Generation module is obtained for the acquisition installation kit function getInstalledPackages using the operating system The package informatin for taking mounted application program obtains the packet name of the application program in the package informatin, and utilization is preset MD5 function calculates the packet name of the application program, generates the corresponding identifier of the application program;
Matching module, for matching the identifier of generation with the identifier of the short video program, if the two Successful match just identifies that the application program is the short video program;
State acquisition module, for obtaining the state of the short video program;
Stopping modular just calls if the state for the short video program is operating status and hides interface ForceStopPackage forces to stop the process of the short video program, and the state of the short video program is made to stop shape State;
Hidden module just obtains the short-sighted sound interval if the state for the short video program is not operating status The corresponding short video icon of sequence sets 100% for the display transparency of the short video icon, to hide the short-sighted frequency figure Mark prevents user from clicking the short video icon.
The third aspect of the embodiment of the present invention provides a kind of terminal, including memory, processor and is stored in described In memory and the computer program that can run on the processor, the processor are realized when executing the computer program The step of above method.
The fourth aspect of the embodiment of the present invention provides a kind of computer storage medium, the computer storage medium storage The step of having computer program, the above method is realized when the computer program is executed by processor.
Existing beneficial effect is the embodiment of the present invention compared with prior art:
If current time is in the work hours issued, is just issued by operating system and disable short video program Broadcast message just calls hiding interface forceStopPackage pressure to stop if the state of short video program is operating status The only process of the short video program is able to satisfy the state halted state of the short video program therefore in the work hours The demand for disabling short video program is conducive to the Run-time scenario for controlling short video program.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of short-sighted frequency program operating method provided in an embodiment of the present invention;
Fig. 2 is the structural block diagram of short-sighted sound interval sort run device provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step, Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one
It is the implementation flow chart of short-sighted frequency program operating method provided in an embodiment of the present invention, this method with reference to Fig. 1, Fig. 1 Applied to the mobile terminal for being equipped with short video program, short-sighted frequency program operating method as shown in Figure 1 be may comprise steps of:
S101 connects preset office system server, sends work hours acquisition to the office system server and asks It asks, receives the work hours that the office system server is issued according to the work hours acquisition request, obtain current time, If current time was in the work hours issued, just disappeared by the broadcast that operating system issues the short video program of disabling Breath;
Wherein, preset office system server is connected, work hours acquisition is sent to the office system server and asks It asks, receives the work hours that the office system server is issued according to the work hours acquisition request, every preset time, Current time is obtained, if current time was in the work hours issued, it is short-sighted that disabling is just issued by operating system The broadcast message of sound interval sequence.Preferably, preset time 1 minute.
Wherein, operating system is Android system.
Wherein, office system server is the instant communication server for being equipped with office system.
Wherein, before S101, identifier list is imported into office system server, so that the office system server It is stored with identifier list, the identifier list includes the identifier of short video program.
S102 monitors the broadcast message of the short video program of the disabling using preset listening thread in real time, when listening to When the broadcast message of the short video program of disabling, identifier list acquisition request is sent to the office system server, is connect Receive the identifier list that the office system server is issued according to the identifier list acquisition request, the identifier list Identifier including short video program, the short video program are the program for playing short-sighted frequency, and the short-sighted frequency is duration at 3 points Video within clock;
Wherein, short video program is the program for playing short-sighted frequency, common short video program have very much, as trill, micro- view, Quick worker etc..
S103, using the acquisition installation kit function getInstalledPackages of the operating system, acquisition has been installed The package informatin of application program obtain the packet name of the application program in the package informatin, utilize preset MD5 function pair The packet name of the application program is calculated, and the corresponding identifier of the application program is generated;
Wherein, preset MD5 function is:Message Digest Algorithm 5 (Message-Digest Algorithm 5, MD5 function).
S104 matches the identifier of generation with the identifier of the short video program, if the two successful match, With regard to identifying that the application program is the short video program;
S105 obtains the state of the short video program;
Wherein, application program function getInstalledApplications is installed by obtaining, obtains the operation system Mounted Application Status list in system obtains the shape of the short video program in the Application Status list State.
S106 is just called if the state of the short video program is operating status and is hidden interface ForceStopPackage forces to stop the process of the short video program, and the state of the short video program is made to stop shape State;
It is corresponding just to obtain the short-sighted sound interval sequence if the state of the short video program is not operating status by S107 Short video icon sets 100% for the display transparency of the short video icon, to hide the short video icon, prevents User clicks the short video icon.
In embodiments of the present invention, it if current time is in the work hours issued, is just sent out by operating system The broadcast message of short video program is disabled out, if the state of short video program is operating status, is just called and is hidden interface ForceStopPackage forces to stop the process of the short video program, and the state of the short video program is made to stop shape Therefore state is able to satisfy and disables the demand of short video program in the work hours, be conducive to the Run-time scenario for controlling short video program.
Embodiment two
The embodiment of the present invention describes the implementation process for issuing by operating system and disabling the broadcast message of short video program, Details are as follows:
Preset office system server is connected, work hours acquisition request is sent to the office system server, connects Receive the work hours that the office system server is issued according to the work hours acquisition request;
Every 1 minute, a current time is obtained;
Judge whether the current time was in the work hours issued, the work hours are to disable short-sighted frequency The time of program;
If detecting that the current time was in the work hours issued, is just issued and disabled by operating system The broadcast message of short video program.
In embodiments of the present invention, it if current time is in the work hours issued, is just sent out by operating system The broadcast message of short video program is disabled out, if the state of short video program is operating status, is just called and is hidden interface ForceStopPackage forces to stop the process of the short video program, and the state of the short video program is made to stop shape Therefore state is able to satisfy and disables the demand of short video program in the work hours, be conducive to the Run-time scenario for controlling short video program.
Embodiment three
The embodiment of the present invention describes the implementation process for obtaining residual power percentage, and details are as follows:
If detecting that the current time was in the work hours issued, residual power percentage is just obtained;
If the residual power percentage is greater than 5%, the broadcast for disabling short video program is just issued by operating system Message.
If the residual power percentage is not more than 5%, is not just issued by operating system and disable short video program Broadcast message, to reduce the data volume of broadcast.
In embodiments of the present invention, if the residual power percentage is greater than 5%, illustrate electricity abundance, can play short-sighted Frequently, the broadcast message for disabling short video program is issued by operating system, in this way, further controlling the operation field of short video program Scape.
Example IV
The embodiment of the present invention describes the implementation process for receiving short video program's disabling instruction, and details are as follows:
If the residual power percentage is greater than 5%, just by WIFI communication pattern, detect whether that receiving outside sets The short video program that preparation is sent disables instruction;
If receiving the short video program disabling instruction of external equipment transmission, it is short-sighted just to issue disabling by operating system The broadcast message of sound interval sequence.
In embodiments of the present invention, if receiving the short video program disabling instruction of external equipment transmission, illustrate outside Equipment initiative disables short-sighted frequency, the broadcast message for disabling short video program is issued by operating system, in this way, can improve short The accuracy rate of video disabling.
Embodiment five
The embodiment of the present invention describes the implementation process for obtaining identifier list, and details are as follows:
The broadcast message for monitoring the short video program of the disabling in real time using preset listening thread, when listening to the taboo When with the broadcast message of short video program, identifier list is sent to the office system server using the communication pattern of setting Acquisition request receives the identifier list that the office system server is issued according to the identifier list acquisition request, institute The identifier that identifier list includes short video program is stated, the short video program is the program for playing short-sighted frequency, described short-sighted Frequency is video of the duration within 3 minutes, the communication pattern of the setting include 4G communication pattern, in 5G communication pattern at least It is a kind of.
Predetermined server is stored with identifier list, and the identifier list includes the identifier of short video program, described Short video program is the program for playing short-sighted frequency, and the short-sighted frequency is video of the duration within 3 minutes.
In embodiments of the present invention, identifier list is obtained, when the identifier of application program and the mark of short video program The successful match of symbol, recognition application is short video program, in this way, short video program can be quickly recognized.
Embodiment six
It is short-sighted sound interval provided in an embodiment of the present invention with reference to Fig. 2, Fig. 2 corresponding to method described in foregoing embodiments one The structural block diagram of sort run device is applied to terminal, and terminal includes but is not limited to mobile phone, computer.For purposes of illustration only, only Show part related to the present embodiment.For ease of description, only the parts related to this embodiment are shown.
Referring to Fig. 2, which includes:
Broadcast module 21 sends to the office system server and goes to work for connecting preset office system server Time acquisition request receives the work hours that the office system server is issued according to the work hours acquisition request, obtains Current time is taken, if current time was in the work hours issued, is just issued by operating system and disables short-sighted frequency The broadcast message of program;
Module 22 is obtained, the broadcast for monitoring the short video program of disabling in real time using preset listening thread disappears Breath sends identifier list to the office system server when listening to the broadcast message of the short video program of disabling Acquisition request receives the identifier list that the office system server is issued according to the identifier list acquisition request, institute The identifier that identifier list includes short video program is stated, the short video program is the program for playing short-sighted frequency, described short-sighted Frequency is video of the duration within 3 minutes;
Generation module 23, for utilizing the acquisition installation kit function getInstalledPackages of the operating system, The package informatin for obtaining mounted application program obtains the packet name of the application program in the package informatin, and utilization is preset MD5 function calculates the packet name of the application program, generates the corresponding identifier of the application program;
Matching module 24, for the identifier of generation to be matched with the identifier of the short video program, if two Person's successful match just identifies that the application program is the short video program;
State acquisition module 25, for obtaining the state of the short video program;
Stopping modular 26 just calls if the state for the short video program is operating status and hides interface ForceStopPackage forces to stop the process of the short video program, and the state of the short video program is made to stop shape State;
Hidden module 27 just obtains the short-sighted frequency if the state for the short video program is not operating status The corresponding short video icon of program sets 100% for the display transparency of the short video icon, to hide the short-sighted frequency Icon prevents user from clicking the short video icon.
As a kind of implementation of the present embodiment, in the short-sighted sound interval sort run device, the broadcast module, specifically Including:
Receiving unit, for connecting preset office system server, when sending working to the office system server Between acquisition request, receive the work hours that the office system server is issued according to the work hours acquisition request;
Time acquisition unit, for obtaining a current time every 1 minute;
Judging unit, for judging whether the current time was in the work hours issued, when the working Between for time for disabling short video program;
Radio unit, if just passing through behaviour for detecting that the current time was in the work hours issued Make system and issues the broadcast message for disabling short video program;
Wherein, the radio unit, specifically includes:
Subelement is obtained, if just obtained for detecting that the current time was in the work hours issued Residual power percentage;
Subelement is broadcasted, if being greater than 5% for the residual power percentage, it is short that disabling is just issued by operating system The broadcast message of video program;
Wherein, the broadcast subelement is specifically used for:
If the residual power percentage is greater than 5%, just by WIFI communication pattern, detect whether that receiving outside sets The short video program that preparation is sent disables instruction;
If receiving the short video program disabling instruction of external equipment transmission, it is short-sighted just to issue disabling by operating system The broadcast message of sound interval sequence.
As a kind of implementation of the present embodiment, in the short-sighted sound interval sort run device, the acquisition module, specifically For:
The broadcast message for monitoring the short video program of the disabling in real time using preset listening thread, when listening to the taboo When with the broadcast message of short video program, identifier list is sent to the office system server using the communication pattern of setting Acquisition request receives the identifier list that the office system server is issued according to the identifier list acquisition request, institute The identifier that identifier list includes short video program is stated, the short video program is the program for playing short-sighted frequency, described short-sighted Frequency is video of the duration within 3 minutes, the communication pattern of the setting include 4G communication pattern, in 5G communication pattern at least It is a kind of.
Embodiment seven
Fig. 3 is the schematic diagram of terminal provided in an embodiment of the present invention.As shown in figure 3, the terminal 3 of the embodiment includes:Place It manages device 30, memory 31 and is stored in the computer program that can be run in the memory 31 and on the processor 30 32, such as short-sighted sound interval sort run program.The processor 30 is realized above-mentioned each short-sighted when executing the computer program 32 Step in sound interval sort run embodiment of the method.
Illustratively, the computer program 32 can be divided into one or more module/units, one or more A module/unit is stored in the memory 31, and is executed by the processor 30, to complete the present invention.It is one Or multiple module/units can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for retouching State implementation procedure of the computer program 32 in the terminal 3.
The terminal 3 can be desktop PC, notebook, palm PC and cloud server etc. and calculate equipment.Institute Stating terminal may include, but be not limited only to, processor 30, memory 31.
It will be understood by those skilled in the art that Fig. 3 is only the example of terminal 3, the not restriction of structure paired terminal 3 can To include components more more or fewer than diagram, or certain components or different components are combined, such as the terminal can also wrap Include input-output equipment, network access equipment, bus etc..
Alleged processor 30 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) or it is other programmable logic device, discrete gate or transistor logic, discrete Hardware component etc..General processor can be microprocessor or the processor is also possible to any conventional processor etc..
The memory 31 can be the internal storage unit of the terminal 3, such as the hard disk or memory of terminal 3.It is described Memory 31 is also possible to the External memory equipment of the terminal 3, such as the plug-in type hard disk being equipped in the terminal 3, intelligence Storage card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) Deng.Further, the memory 31 can also both include the internal storage unit of the terminal 3 or set including external storage It is standby.
The memory 31 is for other programs and data needed for storing the computer program and the terminal.Institute Stating memory 31 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing All or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also be with It is that each unit physically exists alone, can also be integrated in one unit with two or more units, above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
In addition, the specific name of each functional unit, module is also only for convenience of distinguishing each other, it is not limited to this Shen Protection scope please.The specific work process of unit in above system, module, can be with reference to the correspondence in preceding method embodiment Process, details are not described herein.
A kind of computer storage medium is provided in another embodiment of the invention, and the computer storage medium is stored with Computer program, the computer program are realized when being executed by processor in above-mentioned each short-sighted sound interval sort run embodiment of the method The step of.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
In embodiment provided by the present invention, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the module or unit, Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit News connection can be electrical property, mechanical or other forms.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that:It still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these modification or Replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all include Within protection scope of the present invention.

Claims (10)

1. a kind of short-sighted frequency program operating method, applied to the mobile terminal for being equipped with short video program, which is characterized in that packet It includes:
Preset office system server is connected, work hours acquisition request is sent to the office system server, receives institute The work hours that office system server is issued according to the work hours acquisition request are stated, current time are obtained, if currently Time was in the work hours issued, and the broadcast message for disabling short video program is just issued by operating system;
The broadcast message for monitoring the short video program of disabling in real time using preset listening thread, when listening to, the disabling is short When the broadcast message of video program, identifier list acquisition request is sent to the office system server, receives the office The identifier list that system server is issued according to the identifier list acquisition request, the identifier list include short-sighted frequency The identifier of program, the short video program are the program for playing short-sighted frequency, and the short-sighted frequency is view of the duration within 3 minutes Frequently;
Using the acquisition installation kit function getInstalledPackages of the operating system, mounted application program is obtained Package informatin obtain the packet name of the application program in the package informatin, using preset MD5 function to it is described apply journey The packet name of sequence is calculated, and the corresponding identifier of the application program is generated;
The identifier of generation is matched with the identifier of the short video program, if the two successful match, just identifies institute Stating application program is the short video program;
Obtain the state of the short video program;
If the state of the short video program is operating status, hiding interface forceStopPackage is just called to force to stop The process of the short video program makes the state halted state of the short video program;
If the state of the short video program is not operating status, the corresponding short-sighted frequency figure of the short-sighted sound interval sequence is just obtained Mark, sets 100% for the display transparency of the short video icon, to hide the short video icon, prevents user from clicking The short video icon.
2. the method as described in claim 1, which is characterized in that the preset office system server of connection is done to described Public system server sends work hours acquisition request, receives the office system server and is asked according to work hours acquisition The work hours issued are asked, current time is obtained, if current time was in the work hours issued, just pass through operation System issues the broadcast message for disabling short video program, specially:
Preset office system server is connected, work hours acquisition request is sent to the office system server, receives institute State the work hours that office system server is issued according to the work hours acquisition request;
Every 1 minute, a current time is obtained;
Judge whether the current time was in the work hours issued, the work hours are to disable short video program Time;
If detecting that the current time was in the work hours issued, it is short-sighted that disabling is just issued by operating system The broadcast message of sound interval sequence.
3. method according to claim 2, which is characterized in that if described detect that the current time is in described and issues Work hours in, the broadcast message of the short video program of disabling is just issued by operating system, specially:
If detecting that the current time was in the work hours issued, residual power percentage is just obtained;
If the residual power percentage is greater than 5%, the broadcast message for disabling short video program is just issued by operating system.
4. method as claimed in claim 3, which is characterized in that if the residual power percentage is greater than 5%, just lead to It crosses operating system and issues the broadcast message for disabling short video program, specially:
If the residual power percentage is greater than 5%, just by WIFI communication pattern, detect whether to receive external equipment hair The short video program disabling instruction sent;
If receiving the short video program disabling instruction of external equipment transmission, is just issued by operating system and disable short-sighted sound interval The broadcast message of sequence.
5. the method as described in claim 1, which is characterized in that described to monitor the disabling in real time using preset listening thread The broadcast message of short video program takes when listening to the broadcast message of the short video program of disabling to the office system Business device sends identifier list acquisition request, receives the office system server according under the identifier list acquisition request The identifier list of hair, the identifier list include the identifier of short video program, and the short video program is that broadcasting is short-sighted The program of frequency, the short-sighted frequency are video of the duration within 3 minutes, specially:
The broadcast message for monitoring the short video program of disabling in real time using preset listening thread, when listening to, the disabling is short When the broadcast message of video program, identifier list is sent to the office system server using the communication pattern of setting and is obtained Request, receives the identifier list that the office system server is issued according to the identifier list acquisition request, the mark Know the identifier that symbol list includes short video program, the short video program is the program for playing short-sighted frequency, and the short-sighted frequency is Video of the duration within 3 minutes, the communication pattern of the setting include 4G communication pattern, at least one in 5G communication pattern Kind.
6. a kind of short-sighted sound interval sort run device, applied to the mobile terminal for being equipped with short video program, which is characterized in that packet It includes:
Broadcast module is obtained for connecting preset office system server to the office system server transmission work hours Request is taken, the work hours that the office system server is issued according to the work hours acquisition request are received, is obtained current Time is just issued by operating system if current time was in the work hours issued and disables short video program Broadcast message;
Module is obtained, for monitoring the broadcast message of the short video program of disabling in real time using preset listening thread, works as prison When hearing the broadcast message of the short video program of disabling, identifier list acquisition is sent to the office system server and is asked It asks, receives the identifier list that the office system server is issued according to the identifier list acquisition request, the mark Symbol list includes the identifier of short video program, and the short video program is the program for playing short-sighted frequency, when the short-sighted frequency is Grow the video within 3 minutes;
Generation module obtains for the acquisition installation kit function getInstalledPackages using the operating system The package informatin of the application program of installation obtains the packet name of the application program in the package informatin, utilizes preset MD5 letter Several packet names to the application program calculate, and generate the corresponding identifier of the application program;
Matching module, for matching the identifier of generation with the identifier of the short video program, if the two matches Success just identifies that the application program is the short video program;
State acquisition module, for obtaining the state of the short video program;
Stopping modular just calls if the state for the short video program is operating status and hides interface ForceStopPackage forces to stop the process of the short video program, and the state of the short video program is made to stop shape State;
Hidden module just obtains the short-sighted sound interval ordered pair if the state for the short video program is not operating status The short video icon answered sets 100% for the display transparency of the short video icon, to hide the short video icon, Prevent user from clicking the short video icon.
7. device as claimed in claim 6, which is characterized in that the broadcast module specifically includes:
Receiving unit is obtained for connecting preset office system server to the office system server transmission work hours Request is taken, the work hours that the office system server is issued according to the work hours acquisition request are received;
Time acquisition unit, for obtaining a current time every 1 minute;
Judging unit, for judging whether the current time was in the work hours issued, the work hours are Disable the time of short video program;
Radio unit, if just passing through operation system for detecting that the current time was in the work hours issued System issues the broadcast message for disabling short video program;
Wherein, the radio unit, specifically includes:
Subelement is obtained, if just obtained remaining for detecting that the current time was in the work hours issued Electricity percentage;
Subelement is broadcasted, if being greater than 5% for the residual power percentage, is just issued by operating system and disables short-sighted frequency The broadcast message of program;
Wherein, the broadcast subelement is specifically used for:
If the residual power percentage is greater than 5%, just by WIFI communication pattern, detect whether to receive external equipment hair The short video program disabling instruction sent;
If receiving the short video program disabling instruction of external equipment transmission, is just issued by operating system and disable short-sighted sound interval The broadcast message of sequence.
8. device as claimed in claim 6, which is characterized in that the acquisition module is specifically used for:
The broadcast message for monitoring the short video program of disabling in real time using preset listening thread, when listening to, the disabling is short When the broadcast message of video program, identifier list is sent to the office system server using the communication pattern of setting and is obtained Request, receives the identifier list that the office system server is issued according to the identifier list acquisition request, the mark Know the identifier that symbol list includes short video program, the short video program is the program for playing short-sighted frequency, and the short-sighted frequency is Video of the duration within 3 minutes, the communication pattern of the setting include 4G communication pattern, at least one in 5G communication pattern Kind.
9. a kind of terminal, including memory, processor and storage can be run in the memory and on the processor Computer program, which is characterized in that the processor is realized when executing the computer program as claim 1 to 5 is any The step of item the method.
10. a kind of computer storage medium, the computer storage medium is stored with computer program, which is characterized in that described It is realized when computer program is executed by processor such as the step of any one of claim 1 to 5 the method.
CN201810608568.XA 2018-06-13 2018-06-13 A kind of short-sighted sound interval sort run method, apparatus, terminal and computer storage medium Withdrawn CN108833956A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810608568.XA CN108833956A (en) 2018-06-13 2018-06-13 A kind of short-sighted sound interval sort run method, apparatus, terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810608568.XA CN108833956A (en) 2018-06-13 2018-06-13 A kind of short-sighted sound interval sort run method, apparatus, terminal and computer storage medium

Publications (1)

Publication Number Publication Date
CN108833956A true CN108833956A (en) 2018-11-16

Family

ID=64141309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810608568.XA Withdrawn CN108833956A (en) 2018-06-13 2018-06-13 A kind of short-sighted sound interval sort run method, apparatus, terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN108833956A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795133A (en) * 2019-10-14 2020-02-14 广州微算互联信息技术有限公司 Automatic protection method and device for auxiliary application

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795133A (en) * 2019-10-14 2020-02-14 广州微算互联信息技术有限公司 Automatic protection method and device for auxiliary application
CN110795133B (en) * 2019-10-14 2024-03-15 广州微算互联信息技术有限公司 Automatic protection method and device for auxiliary application

Similar Documents

Publication Publication Date Title
EP3534320A1 (en) Block chain-based multi-chain management method and system, electronic device, and storage medium
CN108650667B (en) Terminal scheduling method and device
CN108768730A (en) Method and apparatus for operating intelligent network adapter
CN110198335A (en) Message synchronization method and device, electronic equipment and storage medium
CN109450747A (en) A kind of method, apparatus and computer storage medium waking up smart home device
CN111666145A (en) Message processing method and system of message queue and computer equipment
CN110167192A (en) Bluetooth connection management method and device, electronic equipment and non-transient storage media
CN103428260A (en) System and method for allocating server to terminal and efficiently delivering messages to the terminal
CN108833956A (en) A kind of short-sighted sound interval sort run method, apparatus, terminal and computer storage medium
CN105095727A (en) Device administrator permission application method, server and system
CN113506100B (en) Alliance chain data processing method, device, computer equipment and storage medium
CN105302486A (en) Virtual offline desktop block device storage synchronization method
CN106357430A (en) Method and system for service state monitoring of cloud computing cluster
CN108874521A (en) A kind of photographing program application method, device, terminal and computer storage medium
CN105677589A (en) Access control method, access control device and access control system
CN108399136A (en) A kind of control method of serial line interface, device and host
CN107239353A (en) Inter-process communication methods and system
CN108733431A (en) One B shareB procedure management method, device, terminal and computer storage media
CN110768855B (en) Method and device for testing linkmzation performance
CN113077280A (en) Electronic resource allocation method and device, electronic equipment and storage medium
CN108939543A (en) A kind of games control method, device, terminal and computer storage medium
CN204965435U (en) Intelligent toy
CN216904929U (en) Network integration system
CN114979178B (en) Message flow control platform and method based on message queue
CN103220187A (en) Method and device for detecting state of three-layer port

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20181116

WW01 Invention patent application withdrawn after publication