CN108459884A - Closing application program method, apparatus, storage medium and electronic equipment - Google Patents

Closing application program method, apparatus, storage medium and electronic equipment Download PDF

Info

Publication number
CN108459884A
CN108459884A CN201810150629.2A CN201810150629A CN108459884A CN 108459884 A CN108459884 A CN 108459884A CN 201810150629 A CN201810150629 A CN 201810150629A CN 108459884 A CN108459884 A CN 108459884A
Authority
CN
China
Prior art keywords
application
pool
applications
closing
tag along
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.)
Pending
Application number
CN201810150629.2A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810150629.2A priority Critical patent/CN108459884A/en
Publication of CN108459884A publication Critical patent/CN108459884A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the present application discloses a kind of closing application program method, apparatus, storage medium and electronic equipment;The method includes:When running web application, obtain the tag along sort of web application, obtain the pool of applications that electronic equipment current background is currently running, the destination application with same category label is searched in pool of applications according to tag along sort, closes the destination application in pool of applications.The embodiment of the present application can be when electronic equipment opens web application, with the presence or absence of the application program with the web application same type in automatic detection backstage, if in the presence of closing the application program to reduce the occupied system resource of background application, promoting the service efficiency of electronic equipment.

Description

Closing application program method, apparatus, storage medium and electronic equipment
Technical field
This application involves electronic device fields, and in particular to a kind of closing application program method, apparatus, storage medium and electricity Sub- equipment.
Background technology
With the development of terminal technology, terminal have begun from simply provided in the past verbal system become gradually one it is logical With the platform of running software.The platform no longer to provide call management as the main purpose, and be to provide one include call management, Running environment including the types of applications softwares such as Entertainment, office account, mobile payment, is popularized with a large amount of, deep Enter to people’s lives, the every aspect of work.
However, the function with application is stronger and stronger, occupied system resource is also more next at runtime for each application It is bigger.Multiple application programs that user opens can generally be run in the backstage of electronic equipment, however much answering in backstage It can't be used in for a period of time with program user, but the application program of these running backgrounds can seriously occupy electronic equipment Memory, and the power consumption rate of electronic equipment is caused to be accelerated.
Invention content
A kind of closing application program method, apparatus of the embodiment of the present application offer, storage medium and electronic equipment, it is possible to reduce The occupied system resource of background application.
In a first aspect, the embodiment of the present application provides a kind of closing application program method, including:
When running web application, the tag along sort of the web application is obtained;
Obtain the pool of applications that electronic equipment current background is currently running;
The intended application with same category label is searched in the pool of applications according to the tag along sort Program;
Close the destination application in the pool of applications.
Second aspect, the embodiment of the present application also provides a kind of closing application program devices, including:Label acquisition module, Gather acquisition module, searching module and closedown module;
The label acquisition module, for when running web application, obtaining the tag along sort of the web application;
The set acquisition module, the pool of applications being currently running for obtaining electronic equipment current background;
The searching module has identical point for being searched in the pool of applications according to the tag along sort The destination application of class label;
The closedown module, for closing the destination application in the pool of applications.
The third aspect, the embodiment of the present application also provide a kind of storage medium, are stored thereon with computer program, the calculating The step of above application stop method is realized when machine program is executed by processor.
Fourth aspect, the embodiment of the present application also provide a kind of electronic equipment, including memory, processor and are stored in storage On device and the computer program that can run on a processor, the processor realize that above application program is closed when executing described program The step of closing method.
Closing application program method provided by the embodiments of the present application when running web application, obtains web application first Tag along sort obtains the pool of applications that electronic equipment current background is currently running, according to tag along sort in application program collection Be fated the middle destination application searched the destination application with same category label, close in pool of applications.This Apply for that embodiment can be when electronic equipment opens a web application, automatic detect in backstage whether there is and the web application phase The application program of same type, and if it exists, then close the application program to reduce the occupied system resource of background application, carry Rise the service efficiency of electronic equipment.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the schematic diagram of the implementation environment of closing application program method provided by the embodiments of the present application.
Fig. 2 is a kind of flow diagram of closing application program method provided by the embodiments of the present application.
Fig. 3 is a kind of back-stage management page schematic diagram provided by the embodiments of the present application.
Fig. 4 is another flow diagram of closing application program method provided by the embodiments of the present application.
Fig. 5 is a kind of structural schematic diagram of closing application program device provided by the embodiments of the present application.
Fig. 6 is another structural schematic diagram of closing application program device provided by the embodiments of the present application.
Fig. 7 is a kind of structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Fig. 8 is another structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific implementation mode
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the application is to implement one It is illustrated in computing environment appropriate.The following description be based on illustrated by the application specific embodiment, should not be by It is considered as limitation the application other specific embodiments not detailed herein.
In the following description, the specific embodiment of the application will be with reference to by the step performed by one or multi-section computer And symbol illustrates, unless otherwise stating clearly.Therefore, these steps and operation will have to mention for several times is executed by computer, this paper institutes The computer execution of finger includes by representing with the computer processing unit of the electronic signal of the data in a structuring pattern Operation.This operation is converted at the data or the position being maintained in the memory system of the computer, reconfigurable Or in addition change the running of the computer in a manner of known to the tester of this field.The data structure that the data are maintained For the provider location of the memory, there is the specific feature defined in the data format.But the application principle is with above-mentioned text Word illustrates that be not represented as a kind of limitation, this field tester will appreciate that plurality of step as described below and behaviour Also it may be implemented in hardware.
The principle of the application is grasped using many other wide usages or specific purpose operation, communication environment or configuration Make.The known example suitable for the arithmetic system of the application, environment and configuration may include (but not limited to) hold phone, Personal computer, server, multicomputer system, system, body frame configuration computer and distributed arithmetic ring based on micro computer Border, which includes any above system or devices.
It will be described in detail respectively below.
Referring to Fig. 1, Fig. 1 is the schematic diagram of the implementation environment of closing application program method provided by the embodiments of the present application, As shown in Figure 1, the implementation environment includes smart mobile phone 10, communication network 20 and server 30.
The operating system of the smart mobile phone 10 can be Android system, blackberry, blueberry system, apple system etc..The smart mobile phone 10 It is connected by communication network 20 between server 30.
The communication network 20, including wireless network and cable network.Wherein wireless network includes wireless wide area network, wireless office One or more combinations in domain net, wireless MAN and private wireless network.
The configuration file of application is stored in the server 30, which includes that required data are applied in operation.It should Smart mobile phone 10 can obtain the configuration file of application from server 30, and the page and the exhibition of web application are generated according to configuration file Show, it is to be understood that the web application, which is one kind, need not download the i.e. workable application of installation, it realizes application and " touches Hand can and " dream, user, which sweeps to sweep or search, can open application, be it is a kind of using web browser in internet or enterprise The application software that portion operates on the net in the industry is one kind with homepages language (such as the programming languages such as HTML, JavaScript, Java) The application write needs to execute through browser, for example can unify to access by some open platform, is commonly called as " fast application ".What the installation kit of " fast application " and when operation generated it is to be understood that existing data cached is stored in this In the server of open platform, need not installation and operation in a user device, to save the memory of user equipment as far as possible Resource, and user equipment can pass through producer's server progress data of application interface and the web application in the open platform The access to the web application is realized in communication, at this point, the server of the open platform serves as the role of proxy server, it is each Web application corresponds to an application interface.To under the premise of not installing application program, realize the operation of application, application operation Required data can be obtained from server 30 immediately.
Server 30 can also be updated operation to the configuration file of application, after providing update for smart mobile phone 10 Configuration file.
In one embodiment, which can also store the installation file of application, and smart mobile phone 10 can also be from The installation file of application is obtained on the server 30, and completely runs the application by installing the installation file.Such as when User uses the native applications that the application can also be further installed after a certain web application.It is contemplated that the server 30 can also be updated the installation file of application, to provide updated installation file for smart mobile phone 10.
The present embodiment will be described from the angle of closing application program device, which can specifically be integrated in electronics and set In standby, which can be that mobile internet connects the network equipment (such as smart mobile phone, tablet computer) electronic equipment.
First refering to fig. 2, Fig. 2 is a kind of flow diagram of closing application program method provided by the embodiments of the present application, Include the following steps:
Step S101 obtains the tag along sort of web application when running web application.
Wherein, electronic equipment is by obtaining the configuration information of the web application to server, and electronic equipment is according to configuration text Part generates the page of web application, specifically, can load and run the script file in operating system.In an embodiment In, which can be JavaScript script language files, and JavaScript is a kind of script belonging to network, Web application and developments are had been widely used for, is commonly used to add miscellaneous dynamic function for webpage, provide to the user more smooth Beautiful result of browse.Usual JavaScript scripts are to realize the function of itself in HTML by being embedded in.Based on this, The global configuration information in configuration file is parsed by the JavaScript script language files for loading and running, to generate webpage The page of application and displaying.
In an embodiment, which shows the classification belonging to web application, for example, may include game, purchase The tag along sorts such as object, financing, communication.The tag along sort of currently running web application is typically to be transported by electronic equipment in user When the row web application, the tag along sort belonging to the web application is handed down to mobile terminal client terminal by server end.
In an embodiment, electronic equipment can be run the webpage by way of the link for clicking the web application and be answered With can also click on the shortcut icon of the web application to run.Above-mentioned tag along sort can be the function of web application Information, for example, when user clicks the icon of the web application and runs the web application, electronic equipment can be obtained from server The information of the web application, which includes but not limited to title, size, purposes information of web application etc., but at least should Obtain the functional information of the web application.For example, the function of web application can be divided according to listening, saying, reading and writing If class obtains after carrying out semantic analysis to the content introduction information of web application by natural language algorithm about the webpage The function of this web application then can be summarized as " listening ", class by the introduction of the audio output function of application by machine learning algorithm As, if a certain web application has the function of audio input, needs user into the function or video of edlin typing, text The read functions such as word, picture, then the function of this web application can conclude, write or read accordingly.
Step S102 obtains the pool of applications that electronic equipment current background is currently running.
Wherein, background application is currently in the application program of terminal system running background.
In practical application, currently running background application can be obtained by opening the back-stage management page of electronic equipment Program can include one or more application program in the pool of applications.For example, with reference to figure 3, Fig. 3 is implemented for the application A kind of back-stage management page schematic diagram that example provides.Background application A, background application are respectively included in the back-stage management page Program B, background application C, background application D, background application E etc..The backstage of wherein above-mentioned opening electronic equipment The mode of administration page can there are many, for example by gesture, click keys, voice control etc., do not do further limit herein It is fixed.
Step S103 searches the intended application with same category label according to tag along sort in pool of applications Program.
Wherein, above-mentioned to search the intended application with same category label in pool of applications according to tag along sort The method of program can there are many, such as respectively obtain pool of applications in all application programs tag along sort, then It is searched in these tag along sorts with the tag along sort of above-mentioned web application into identical tag along sort, is determined and the contingency table It is destination application to sign corresponding application program, it should be noted that it can be more that above-mentioned destination application, which can be one, It is a, that is, the step of the destination application with same category label is searched in pool of applications according to tag along sort Suddenly may include:
Obtain the tag along sort set of whole application programs in pool of applications;
Judge to whether there is target classification label identical with the tag along sort of web application in tag along sort set;
If in the presence of, it is determined that the corresponding application program of target classification label is destination application.
In other embodiments, can be can be parsed to local mounted all application programs, and answered to be all Corresponding tag along sort is distributed with program.For example, can classify to all mounted application programs in electronic equipment, Such as Meitu Xiu Xiu, quick worker can be divided into photography and vedio recording class;It takes journey, go tourism hotel's class etc. where can be divided into.
Then, can be determined according to the corresponding tag along sort of web application in local belong to web application it is of a sort Application program is installed, and generates and corresponding the application list has been installed.Then search in background application set whether In the presence of the identical application program in the program listing, if being determined as destination application in the presence of if.Such as:Electronic equipment is current The web application of operation is KuGoo music, and KuGoo music assorting label is music class, then can obtain mounted music in mobile phone Class application program, such as QQ music, Netease's cloud music, to generate music class the application list, in current electronic device after If Netease's cloud will then be determined such as Netease's cloud music by including the application program in above-mentioned list in the pool of applications of platform operation Music is destination application.
Step S104 closes the destination application in pool of applications.
In one embodiment, before the destination application in closing above application collection of programs, it can also generate and carry A prompting message, the prompting message may include the Apply Names of destination application, then receive user's operation, and according to The destination application is closed in family operation.For example, pop-up " whether the closing XX music " on electronic equipment screen before closing, If user clicks button "Yes", the XX music is closed, to save the system resource of electronic equipment.The system resource may include Running memory, equipment electricity etc..
In actual use, the memory usage in view of electronic equipment also more needs to clear up memory when higher, and if When the current memory usage of electronic equipment is not high, also needs not move through and close application program to promote memory usage.Cause This before the destination application in executing closing pool of applications, can also obtain the electronics in one embodiment The current memory usage of equipment is just further turned off the destination application when the memory usage is more than a threshold value. That is, before destination application in above-mentioned closing pool of applications, this method can also include;
Obtain the current memory usage of electronic equipment;
Judge whether memory usage is more than default occupancy;
If more than, then execute close pool of applications in destination application the step of.
It should be noted that the current memory usage of above-mentioned acquisition electronic equipment and judging whether step more than preset value Suddenly, it can be placed on before entire scheme namely above-mentioned when running web application, obtain the step of the tag along sort of web application It before rapid, be equivalent to and provide an execution condition to closing application program method provided by the embodiments of the present application, when condition meets When, then execute closing application program method provided by the embodiments of the present application.Further improve the flexibility for closing application program And practicability.
In the embodiment of the present invention, above-mentioned electronic equipment can be any intelligent electronic device with network savvy, such as: Mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), individual digital Assistant (personal digital assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, ) or wearable device (Wearable Device) etc. MID.
From the foregoing, it will be observed that the embodiment of the present application can obtain the tag along sort of web application when running web application, obtain The pool of applications that electronic equipment current background is currently running, being searched in pool of applications according to tag along sort has The destination application of same category label closes the destination application in pool of applications.The embodiment of the present application can be with It is automatic to detect in backstage with the presence or absence of the application journey with the web application same type when electronic equipment opens a web application Sequence, and if it exists, then close the application program to reduce the occupied system resource of background application, promote making for electronic equipment Use efficiency.
According to the description of a upper embodiment, illustrate the closing application program method of the application by further below.
Referring to Fig. 4, Fig. 4 is the flow diagram of another closing application program method provided by the embodiments of the present application, Include the following steps:
Step S201 obtains the application identities of web application when running web application.
In one embodiment, electronic equipment is by obtaining the configuration information of the web application, electronic equipment root to server The page that web application is generated according to configuration file, specifically, can load and run the script file in operating system.
Wherein, above application mark can be the web application Apply Names, such as " QQ music ", " dried shrimp music ", " Netease's cloud music " etc..
Step S202 searches corresponding tag along sort according to application identities in the database, and storage is using mark in database Know the mapping relations with tag along sort.
In an embodiment, which shows the classification belonging to web application, for example, may include game, purchase The tag along sorts such as object, financing, communication.Specifically, corresponding tag along sort, data can in the database be searched according to application name The mapping relations of application name and tag along sort are stored in library.For example, " Netease's cloud music " corresponding tag along sort is music label, " Web bank of China Construction Bank " corresponding tag along sort is financing label, and " youku.com's video " corresponding tag along sort is video Label etc..
Step S203 obtains the pool of applications that electronic equipment current background is currently running.
In practical application, currently running background application can be obtained by opening the back-stage management page of electronic equipment Program can include one or more application program in the pool of applications.
Step S204 searches the intended application with same category label according to tag along sort in pool of applications Program.
In one embodiment, which can be by obtaining the classification of all application programs in pool of applications respectively Then label is searched with the tag along sort of above-mentioned web application into identical tag along sort in these tag along sorts, is determined Application program corresponding with the tag along sort is destination application, it should be noted that above-mentioned destination application can be one A can be multiple.
Step S205 obtains the operation duration of web application.
In actual use, in view of user opens a certain web application, it may be only due to accidentally touching or opening Carry out fast browsing just to close, therefore when the operation duration for appealing web application is shorter, need not in pass hull closure with its point The identical application program of class label.Therefore in an embodiment, the operation duration of the web application can also further be obtained. For example, when electronic equipment runs the web application, timer starts timing, until closing the web application, then timer stops Timing, therefore the duration recorded on timer is the operation duration of the web application.
Step S206, judges whether operation duration meets preset duration, if satisfied, S207 is thened follow the steps, if not satisfied, Then terminate current process.
It should be noted that if the operation duration of above-mentioned web application is shorter, it is unsatisfactory for default market, then may not necessarily be closed Close background application identical with the web application tag along sort.Wherein, above-mentioned preset duration can have electronic equipment automatic Setting, can also be by user according to actual demand sets itself, such as 5 minutes or 10 minutes etc., and this will not be repeated here.
Step S207 closes the destination application in pool of applications.
In one embodiment, before the destination application in closing above application collection of programs, it can also generate and carry A prompting message, the prompting message may include the Apply Names of destination application, then receive user's operation, and according to The destination application is closed in family operation.For example, pop-up " whether the closing XX music " on electronic equipment screen before closing, If user clicks button "Yes", the XX music is closed, to save the system resource of electronic equipment.
From the foregoing, it will be observed that the embodiment of the present application can obtain the application identities of web application when running web application, according to Application identities search corresponding tag along sort in the database, and the mapping that application identities and tag along sort are stored in database is closed System obtains the pool of applications that electronic equipment current background is currently running, according to tag along sort in pool of applications The destination application with same category label is searched, the operation duration of web application is obtained, judges whether operation duration is full Sufficient preset duration, if satisfied, then closing the destination application in pool of applications.The embodiment of the present application can be set in electronics It is automatic to detect with the presence or absence of the application program with the web application same type in backstage, if depositing when one web application of standby opening The application program is then being closed to reduce the occupied system resource of background application, is promoting the service efficiency of electronic equipment.
For the ease of preferably implementing closing application program method provided by the embodiments of the present application, the embodiment of the present application also carries A kind of device based on above application stop method is supplied.Wherein in the meaning of noun and above application stop method Identical, specific implementation details can be with the explanation in reference method embodiment.
Referring to Fig. 5, Fig. 5 is a kind of structural schematic diagram of closing application program device provided by the embodiments of the present application, it should Closing application program device 30 includes:Label acquisition module 301, set acquisition module 302, searching module 303 and closing mould Block 304;
The label acquisition module 301, for when running web application, obtaining the tag along sort of web application;
The set acquisition module 302, the pool of applications being currently running for obtaining electronic equipment current background;
The searching module 303 has same category label for being searched in pool of applications according to tag along sort Destination application;
The closedown module 304, for closing the destination application in pool of applications.
With continued reference to Fig. 6, in an embodiment, above-mentioned label acquisition module 301 may include:Identify acquisition submodule 3011 and label acquisition submodule 3012;
The mark acquisition submodule 3011, for when running web application, obtaining the application identities of web application;
The label acquisition submodule 3012, for searching corresponding tag along sort in the database according to application identities, number According to the mapping relations for storing application identities and tag along sort in library.
In one embodiment, which can also include:Duration acquisition module 305 and judgment module 306;
The duration acquisition module 305, before the destination application in closedown module closing pool of applications, Obtain the operation duration of web application;
The judgment module 306, for judging whether operation duration meets preset duration;
Closedown module 304, specifically for when judgment module 306 is judged as YES, closing the target in pool of applications Application program.
From the foregoing, it will be observed that closing application program device 30 provided by the embodiments of the present application can be worked as by label acquisition module 301 When running web application, the tag along sort of web application is obtained, set acquisition module 302 is obtaining electronic equipment current background The pool of applications of operation, searching module 303, which is searched according to tag along sort in pool of applications, has same category The destination application of label, closedown module 304 close the destination application in pool of applications.The embodiment of the present application can When electronic equipment opens web application, whether there is the application journey with the web application same type in automatic detection backstage Sequence, and if it exists, then close the application program to reduce the occupied system resource of background application, promote making for electronic equipment Use efficiency.
The application also provides a kind of storage medium, is stored thereon with computer program, which is characterized in that the computer journey The closing application program method that implementation method embodiment provides when sequence is executed by processor.
The application also provides a kind of electronic equipment, including memory, and processor and storage on a memory and can handled The computer program run on device, which is characterized in that implementation method embodiment provides when the processor executes described program Closing application program method.
A kind of electronic equipment is also provided in the another embodiment of the application, which can be smart mobile phone, tablet Apparatus such as computer.As shown in fig. 7, electronic equipment 400 includes processor 401, memory 402.Wherein, processor 401 and storage Device 402 is electrically connected.
Processor 401 is the control centre of electronic equipment 400, utilizes various interfaces and the entire electronic equipment of connection Various pieces by the application program of operation or load store in memory 402, and are called and are stored in memory 402 Data, execute electronic equipment various functions and processing data, to electronic equipment carry out integral monitoring.
In the present embodiment, processor 401 in electronic equipment 400 can according to following step, by one or one with On the corresponding instruction of process of application program be loaded into memory 402, and be stored in memory by processor 401 to run Application program in 402, to realize various functions:
When running web application, the tag along sort of the web application is obtained;
Obtain the pool of applications that electronic equipment current background is currently running;
The intended application with same category label is searched in the pool of applications according to the tag along sort Program;
Close the destination application in the pool of applications.
Referring to Fig. 8, Fig. 8 is electronic devices structure schematic diagram provided by the embodiments of the present application.The electronic equipment 500 can be with Including radio frequency (RF, Radio Frequency) circuit 501, include one or more computer readable storage mediums Memory 502, input unit 503, display unit 504, sensor 504, voicefrequency circuit 506, Wireless Fidelity (WiFi, Wireless Fidelity) module 507, include there are one or more than one processing core processor 508 and power supply 509 equal components.It will be understood by those skilled in the art that electronic devices structure shown in Fig. 8 is not constituted to electronic equipment It limits, may include either combining certain components or different components arrangement than illustrating more or fewer components.
Radio circuit 501 can be used for receiving and sending messages or communication process in signal send and receive, particularly, by base station Downlink information receive after, transfer to one or more than one processor 508 processing;In addition, the data for being related to uplink are sent To base station.In general, radio circuit 501 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillations Device, subscriber identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low noise amplification Device (LNA, Low Noise Amplifier), duplexer etc..In addition, radio circuit 501 can also by radio communication with network It is communicated with other equipment.The wireless communication can use any communication standard or agreement, including but not limited to global mobile communication System (GSM, Global System of Mobile communication), general packet radio service (GPRS, General Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is more Location (WCDMA, Wideband Code Division Multiple Access), long term evolution (LTE, Long Term Evolution), Email, short message service (SMS, Short Messaging Service) etc..
Memory 502 can be used for storing application program and data.Include that can hold in the application program that memory 502 stores Line code.Application program can form various functions module.Processor 508 is stored in the application journey of memory 502 by operation Sequence, to perform various functions application and data processing.Memory 502 can include mainly storing program area and storage data Area, wherein storing program area can storage program area, needed at least one function application program (such as sound-playing function, Image player function etc.) etc.;Storage data field can be stored uses created data (such as audio number according to electronic equipment According to, phone directory etc.) etc..In addition, memory 502 may include high-speed random access memory, can also include non-volatile deposit Reservoir, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 502 can also include Memory Controller, to provide the access of processor 508 and input unit 503 to memory 502.
Input unit 503 can be used for receiving number, character information or the user's characteristic information (such as fingerprint) of input, and Generate keyboard related with user setting and function control, mouse, operating lever, optics or the input of trace ball signal.Specifically Ground, in a specific embodiment, input unit 503 may include touch sensitive surface and other input equipments.Touch sensitive surface, Referred to as touch display screen or Trackpad, collect user on it or neighbouring touch operation (such as user using finger, touch The operations of any suitable object or attachment on touch sensitive surface or near touch sensitive surface such as pen), and according to preset Formula drives corresponding attachment device.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller. Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, transmit a signal to touch Controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processing Device 508, and order that processor 508 is sent can be received and executed.
Display unit 504 can be used for showing information input by user or the information and electronic equipment that are supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and its arbitrary combination. Display unit 504 may include display panel.Optionally, liquid crystal display (LCD, Liquid Crystal may be used Display), the forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display surface Plate.Further, touch sensitive surface can cover display panel, when touch sensitive surface detects on it or after neighbouring touch operation, Processor 508 is sent to determine the type of touch event, is followed by subsequent processing device 508 according to the type of touch event in display panel It is upper that corresponding visual output is provided.Although in fig. 8, touch sensitive surface and display panel are realized as two independent components Input and input function, but in some embodiments it is possible to it is touch sensitive surface and display panel is integrated and realize and input and defeated Go out function.
Electronic equipment may also include at least one sensor 505, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel, and proximity sensor can close display surface when electronic equipment is moved in one's ear Plate and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally three axis) The size of acceleration can detect that size and the direction of gravity when static, the application that can be used to identify mobile phone posture is (such as vertical and horizontal Shield switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;As for electronics The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor that equipment can also configure, it is no longer superfluous herein It states.
Voicefrequency circuit 506 can provide the audio interface between user and electronic equipment by loud speaker, microphone.Audio-frequency electric The audio data received can be converted into electric signal by road 506, be transferred to loud speaker, and it is defeated to be converted to voice signal by loud speaker Go out;On the other hand, the voice signal of collection is converted to electric signal by microphone, and audio is converted to after being received by voicefrequency circuit 506 Data, then by audio data output processor 508 processing after, through radio circuit 501 to be sent to such as another electronic equipment, or Person exports audio data to memory 502 to be further processed.Voicefrequency circuit 506 is also possible that earphone jack, to carry For the communication of peripheral hardware earphone and electronic equipment.
Wireless Fidelity (WiFi) belongs to short range wireless transmission technology, and electronic equipment can be with by wireless fidelity module 507 Help user to send and receive e-mail, browse webpage and access streaming video etc., it has provided wireless broadband internet to the user It accesses.Although Fig. 8 shows wireless fidelity module 507, but it is understood that, and it is not belonging to the necessary structure of electronic equipment At, completely can as needed do not change invention essence range in and omit.
Processor 508 is the control centre of electronic equipment, utilizes each of various interfaces and the entire electronic equipment of connection A part by running or execute the application program being stored in memory 502, and is called and is stored in memory 502 Data execute the various functions and processing data of electronic equipment, to carry out integral monitoring to electronic equipment.Optionally, it handles Device 508 may include one or more processing cores;Preferably, processor 508 can integrate application processor and modulation /demodulation processing Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 508.
Electronic equipment further includes the power supply 509 (such as battery) powered to all parts.Preferably, power supply can pass through electricity Management system and processor 508 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 509 can also include one or more direct current or AC power, recharging system, power supply event Hinder the random components such as detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown in Fig. 8, electronic equipment can also include camera, bluetooth module etc., and details are not described herein.
When it is implemented, the above modules can be realized as independent entity, arbitrary combination can also be carried out, is made It is realized for same or several entities, the specific implementation of the above modules can be found in the embodiment of the method for front, herein not It repeats again.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or Part steps are relevant hardware can be instructed to complete by program, which can be stored in computer-readable storage medium It in matter, is such as stored in the memory of terminal, and is executed by least one processor in the terminal, can be wrapped in the process of implementation Include the flow of the embodiment such as closing application program method.Wherein, storage medium may include:Read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Above to a kind of closing application program method, apparatus provided by the embodiments of the present application, storage medium and electronic equipment It is described in detail, each function module can be integrated in a processing chip, can also be the independent physics of modules In the presence of, can also two or more modules be integrated in a module.Hardware both may be used in above-mentioned integrated module Form is realized, can also be realized in the form of software function module.Principle of the specific case to the application used herein And embodiment is expounded, the explanation of above example is only intended to help to understand that the present processes and its core are thought Think;Meanwhile for those skilled in the art, according to the thought of the application, can in specific embodiments and applications There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of closing application program method, which is characterized in that include the following steps:
When running web application, the tag along sort of the web application is obtained;
Obtain the pool of applications that electronic equipment current background is currently running;
The destination application with same category label is searched in the pool of applications according to the tag along sort;
Close the destination application in the pool of applications.
2. closing application program method according to claim 1, which is characterized in that it is described when running web application, it obtains The step of tag along sort for taking the web application includes:
When running web application, the application identities of the web application are obtained;
Corresponding tag along sort is searched in the database according to the application identities, and the application identities are stored in the database With the mapping relations of the tag along sort.
3. closing application program method according to claim 1, which is characterized in that it is described according to the tag along sort in institute Stating the step of destination application with same category label is searched in pool of applications includes:
Obtain the tag along sort set of whole application programs in the pool of applications;
Judge to whether there is target classification mark identical with the tag along sort of the web application in the tag along sort set Label;
If in the presence of, it is determined that the corresponding application program of the target classification label is destination application.
4. closing application program method according to claim 1, which is characterized in that close the application program collection described Before destination application in conjunction, the method further includes:
Obtain the operation duration of the web application;
Judge whether the operation duration meets preset duration;
If satisfied, then executing the step of closing the destination application in the pool of applications.
5. closing application program method according to claim 1, which is characterized in that close the application program collection described Before destination application in conjunction, the method further includes;
Obtain the current memory usage of the electronic equipment;
Judge whether the memory usage is more than default occupancy;
If more than then executing the step of closing the destination application in the pool of applications.
6. a kind of closing application program device, which is characterized in that including:Label acquisition module, set acquisition module, searching module And closedown module;
The label acquisition module, for when running web application, obtaining the tag along sort of the web application;
The set acquisition module, the pool of applications being currently running for obtaining electronic equipment current background;
The searching module has same category mark for being searched in the pool of applications according to the tag along sort The destination application of label;
The closedown module, for closing the destination application in the pool of applications.
7. closing application program device according to claim 6, which is characterized in that the label acquisition module includes:Mark Know acquisition submodule and label acquisition submodule;
The mark acquisition submodule, for when running web application, obtaining the application identities of the web application;
The label acquisition submodule, it is described for searching corresponding tag along sort in the database according to the application identities The mapping relations of the application identities and the tag along sort are stored in database.
8. closing application program device according to claim 7, which is characterized in that described device further includes:Duration obtains Module and judgment module;
The duration acquisition module, for closed in the closedown module destination application in the pool of applications it Before, obtain the operation duration of the web application;
The judgment module, for judging whether the operation duration meets preset duration;
The closedown module, specifically for when the judgment module is judged as YES, closing the mesh in the pool of applications Mark application program.
9. a kind of storage medium, is stored thereon with computer program, which is characterized in that the computer program is executed by processor The step of any one of Shi Shixian such as claim 1-5 the methods.
10. a kind of electronic equipment, including memory, processor and storage are on a memory and the calculating that can run on a processor Machine program, which is characterized in that the processor realizes the step such as any one of claim 1-5 the method when executing described program Suddenly.
CN201810150629.2A 2018-02-13 2018-02-13 Closing application program method, apparatus, storage medium and electronic equipment Pending CN108459884A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810150629.2A CN108459884A (en) 2018-02-13 2018-02-13 Closing application program method, apparatus, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810150629.2A CN108459884A (en) 2018-02-13 2018-02-13 Closing application program method, apparatus, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN108459884A true CN108459884A (en) 2018-08-28

Family

ID=63216951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810150629.2A Pending CN108459884A (en) 2018-02-13 2018-02-13 Closing application program method, apparatus, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108459884A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502677A (en) * 2019-04-18 2019-11-26 杭州海康威视数字技术股份有限公司 A kind of device identification method, device and equipment, storage medium
CN113474756A (en) * 2019-04-12 2021-10-01 深圳市欢太科技有限公司 Application processing method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013167022A2 (en) * 2013-02-22 2013-11-14 中兴通讯股份有限公司 Method and device for achieving mobile terminal power saving and mobile terminal
CN104834517A (en) * 2015-04-08 2015-08-12 来安县新元机电设备设计有限公司 Mobile terminal power-saving method and mobile terminal
CN105677445A (en) * 2016-01-25 2016-06-15 上海斐讯数据通信技术有限公司 Application installation managing method, device and intelligent terminal
CN106293901A (en) * 2015-05-22 2017-01-04 腾讯科技(深圳)有限公司 The process management method of a kind of terminal applies and device
CN107423127A (en) * 2017-07-31 2017-12-01 广东欧珀移动通信有限公司 Management-control method, device, storage medium and the electronic equipment of application program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013167022A2 (en) * 2013-02-22 2013-11-14 中兴通讯股份有限公司 Method and device for achieving mobile terminal power saving and mobile terminal
CN104834517A (en) * 2015-04-08 2015-08-12 来安县新元机电设备设计有限公司 Mobile terminal power-saving method and mobile terminal
CN106293901A (en) * 2015-05-22 2017-01-04 腾讯科技(深圳)有限公司 The process management method of a kind of terminal applies and device
CN105677445A (en) * 2016-01-25 2016-06-15 上海斐讯数据通信技术有限公司 Application installation managing method, device and intelligent terminal
CN107423127A (en) * 2017-07-31 2017-12-01 广东欧珀移动通信有限公司 Management-control method, device, storage medium and the electronic equipment of application program

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
温浩宇: "《商务网站设计与开发》", 31 December 2016 *
黄丽霞: "《信息检索教程》", 31 July 2014 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113474756A (en) * 2019-04-12 2021-10-01 深圳市欢太科技有限公司 Application processing method and device, storage medium and electronic equipment
CN110502677A (en) * 2019-04-18 2019-11-26 杭州海康威视数字技术股份有限公司 A kind of device identification method, device and equipment, storage medium
CN110502677B (en) * 2019-04-18 2022-09-16 杭州海康威视数字技术股份有限公司 Equipment identification method, device and equipment, and storage medium

Similar Documents

Publication Publication Date Title
US20210191996A1 (en) Method for displaying application page, non-transitory storage medium and electronic device
CN108228305A (en) Display methods, device, storage medium and the electronic equipment of five application page
CN108319489A (en) Startup method, apparatus, storage medium and the electronic equipment of five application page
CN108287918B (en) Music playing method and device based on application page, storage medium and electronic equipment
CN103702297B (en) Short message enhancement, apparatus and system
CN107329985B (en) Page collection method and device and mobile terminal
CN108430101A (en) Antenna method for closing, device, storage medium and electronic equipment
CN108391009A (en) Display methods, device, storage medium and the electronic equipment of five application page
CN108364644A (en) A kind of voice interactive method, terminal and computer-readable medium
CN108363792A (en) Link generation method, device, storage medium and the electronic equipment of five application page
CN108363528A (en) Startup method, apparatus, storage medium and the electronic equipment of five application page
CN109154946A (en) A kind of method and terminal of display collection object
CN107734616A (en) Closing application program method, apparatus, storage medium and electronic equipment
CN109062467A (en) Split screen application switching method, device, storage medium and electronic equipment
CN108287917A (en) file open method, device, storage medium and electronic equipment
CN108549519A (en) split screen processing method, device, storage medium and electronic equipment
CN108984064A (en) Multi-screen display method, device, storage medium and electronic equipment
CN103455330A (en) Application program management method, terminal, equipment and system
CN104298686B (en) The method and apparatus for modifying server profile
CN108549568A (en) Using entrance processing method, apparatus, storage medium and electronic equipment
CN108769234A (en) Using method for down loading, device, storage medium and electronic equipment
CN109062468A (en) Multi-screen display method, device, storage medium and electronic equipment
CN109062464A (en) touch operation method, device, storage medium and electronic equipment
CN108932093A (en) Split screen application switching method, device, storage medium and electronic equipment
CN106529332B (en) A kind of authority control method of mobile terminal, device and mobile terminal

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
CB02 Change of applicant information

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

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

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

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20180828

RJ01 Rejection of invention patent application after publication