CN106557317A - A kind of method and apparatus that shortcut is created in desktop - Google Patents

A kind of method and apparatus that shortcut is created in desktop Download PDF

Info

Publication number
CN106557317A
CN106557317A CN201610972583.3A CN201610972583A CN106557317A CN 106557317 A CN106557317 A CN 106557317A CN 201610972583 A CN201610972583 A CN 201610972583A CN 106557317 A CN106557317 A CN 106557317A
Authority
CN
China
Prior art keywords
application
shortcut
desktop
blacklist
create
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
CN201610972583.3A
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.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610972583.3A priority Critical patent/CN106557317A/en
Publication of CN106557317A publication Critical patent/CN106557317A/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/451Execution arrangements for user interfaces

Abstract

A kind of method and apparatus that shortcut is created in desktop is embodiments provided, the method includes:The request to create of shortcut is received in desktop;It is determined that sending the application of the request to create;Judge whether to forbid creating shortcut for the application;If so, then forbid creating shortcut for the application;If it is not, being then that the application creates shortcut in desktop according to the request to create.The embodiment of the present invention can avoid creating the shortcut for repeating for the application, avoid wasting the resource of mobile terminal, due to without the shortcut for repeating establishment, whether user efficiently adds and is allowed to without going manually to arrange, improve the simplicity of operation, and, it also avoid shielding some rational addition demands.

Description

A kind of method and apparatus that shortcut is created in desktop
Technical field
The present invention relates to communication technical field, more particularly to a kind of method and one kind that shortcut is created in desktop The device of shortcut is created in desktop.
Background technology
As the mobile terminals such as the development of mobile communication technology, mobile phone are increasingly popularized, give people life, learn Practise, work brings great convenience.
In order to strengthen the performance of mobile terminal, user Jing often installs various applications in the terminal, and these applications are installed Afterwards, typically a shortcut can be created in desktop, facilitate user to start the application.
But, due to the operating system of mobile terminal it is numerous, and be generally not application manufacturer exploitation, and apply Manufacturer is typically only a for the application developed by a certain operating system, therefore, the quick side of mobile terminal administration application Formula is more chaotic.
Installation application in an operating system, the operating system may can actively be the application establishment shortcut, and in order to Ensure the use of application, shortcut is created using active request itself is likely to.
Therefore, in some cases, as shown in figure 1, same application may repeat to create multiple quick sides in desktop Formula, wastes the resource of mobile terminal.
In order to avoid repetition creates multiple shortcuts, need user goes to arrange efficiently to add whether to be permitted manually at present Perhaps, not only complex operation, especially for the user for being unfamiliar with mobile terminal operation, such as old people, and, do not allowing it is quick In the case that mode is added, also result in a part of rational addition demand and shielded, such as, certain customers may be needed in table Add the shortcut of lower contact person on face.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome the problems referred to above or at least in part solve on State a kind of method that shortcut is created in desktop and a kind of corresponding device that shortcut is created in desktop of problem.
According to one aspect of the present invention, there is provided a kind of method that shortcut is created in desktop, including:
The request to create of shortcut is received in desktop;
It is determined that sending the application of the request to create;
Judge whether to forbid creating shortcut for the application;If so, then forbid creating shortcut for the application; If it is not, being then that the application creates shortcut in desktop according to the request to create.
Alternatively, it is described to include the step of the request to create of reception shortcut in desktop:
The broadcast for creating shortcut is received in desktop.
Alternatively, it is described to determine that the step of sending the application of the request to create includes:
Application identities are extracted from the broadcast for creating shortcut.
Alternatively, it is described to judge whether that the step of forbidding the application to create shortcut includes:
The application is inquired about in desktop in preset blacklist;
When in the blacklist, record has the application, it is determined that forbidding creating shortcut for the application.
Alternatively, it is described to judge whether that the step of forbidding the application to create shortcut also includes:
When the application has not been recorded in the blacklist, it is determined that allowing to create shortcut for the application;
Or,
Whether when the application not having be recorded in the blacklist, be loaded with the quick side of the application in checking desktop Formula;
If so, then confirm to forbid creating shortcut for the application;
If it is not, then confirming to allow to create shortcut for the application.
Alternatively, in the blacklist, record has the application identities of the application for forbidding creating shortcut;
It is described to include the step of inquire about the application in preset blacklist:
It is compared using the application identities and the application identities in the blacklist of the application;
When the application identities of the application are identical with the application identities in the blacklist, remember in determining the blacklist Record has the application;
When the application identities in application identities and the blacklist of the application are differed, in determining the blacklist The application is not recorded.
Alternatively, in the shortcut tables of data of desktop, the data include the data storage of the shortcut of desktop Application identities;
The step of shortcut of the application whether is loaded with the inspection desktop includes:
It is compared using the application identities and the application identities in the shortcut tables of data of the application;
When the application identities of the application are identical with the application identities in the shortcut tables of data, determine desktop Load the shortcut of the application;
When the application identities in application identities and the desktop database of the application are differed, determine that desktop does not add Carry the shortcut of the application.
Alternatively, it is described to forbid the step of creating shortcut for the application to include:
Ignore the broadcast for creating shortcut.
Alternatively, also include:
When the blacklist for detecting server issue updates, the blacklist that the server is issued is downloaded;
The blacklist issued using the server, is updated to local preset blacklist.
According to a further aspect in the invention, there is provided it is a kind of in desktop create shortcut device, including:
Request to create receiver module, is suitable to the request to create of shortcut is received in desktop;
Using determining module, the application for sending the request to create is adapted to determine that;
Forbid judge module, be suitable to judge whether to forbid shortcut being created for the application;If so, then call and forbid wound Modeling block, if it is not, then calling shortcut creation module;
Forbid creation module, be suitable to forbid shortcut being created for the application;
Shortcut creation module, it is that the application creates shortcut in desktop to be suitable to according to the request to create.
Alternatively, the request to create receiver module includes:
Broadcast reception submodule, is suitable to receive the broadcast for creating shortcut in desktop.
Alternatively, the application determining module includes:
Application identities extracting sub-module, is suitable to extract application identities from the broadcast for creating shortcut.
Alternatively, it is described to forbid judge module to include:
Blacklist inquires about submodule, and the application is inquired about in being suitable to preset blacklist in desktop;
First forbids determination sub-module, when being suitable in the blacklist record and having the application, it is determined that forbidding as described Using establishment shortcut.
Alternatively, it is described to forbid judge module also to include:
First allows determination sub-module, when being suitable to not record the application in the blacklist, it is determined that allowing as institute State using establishment shortcut;
Or,
Whether desktop detection sub-module, when being suitable to not record the application in the blacklist, add in checking desktop It is loaded with the shortcut of the application;If so, second is then called to forbid determination sub-module, if it is not, then calling the second permission to determine Submodule;
Second forbids determination sub-module, is suitable to confirmation and forbids creating shortcut for the application;
Second allows determination sub-module, is suitable to confirm to allow to create shortcut for the application.
Alternatively, in the blacklist, record has the application identities of the application for forbidding creating shortcut;
The blacklist inquiry submodule includes:
First comparing unit, for being compared with the application identities in the blacklist using the application identities of the application Compared with;
First record determining unit, is suitable to identical with the application identities in the blacklist in the application identities of the application When, in determining the blacklist, record has the application;
Second record determining unit, is suitable to application identities in the application identities in the application and the blacklist not phase Meanwhile, the application has not been recorded in determining the blacklist.
Alternatively, in the shortcut tables of data of desktop, the data include the data storage of the shortcut of desktop Application identities;
The desktop detection sub-module includes:
Second comparing unit, the application identities and the application in the shortcut tables of data for being suitable for use with the application are marked Knowledge is compared;
First loading determining unit, the application being suitable in the application identities in the application and the shortcut tables of data When identifying identical, determine that desktop has loaded the shortcut of the application;
Second loading determining unit, the application identities being suitable in the application identities in the application and the desktop database When differing, determine that desktop does not load the shortcut of the application.
Alternatively, it is described to forbid creation module to include:
Submodule is ignored in broadcast, is suitable to ignore the broadcast for creating shortcut.
Alternatively, also include:
Blacklist download module, is suitable to, when the blacklist for detecting server issue updates, download the server and send out The blacklist of cloth;
Blacklist update module, is suitable for use with the blacklist that the server is issued, and local preset blacklist is carried out Update.
When the embodiment of the present invention receives the request to create of shortcut in desktop, confirm to determine answering for transmission request to create With, and judge whether to forbid to be using creating shortcut, for the application of identical shortcut problem is created with repetition, then Can forbid shortcut being created for the application, otherwise, be, using establishment shortcut, to pass through according to request to create in desktop Desktop create shortcut when, to apply attribute judge, so as to decide whether create shortcut, can avoid for The application creates the shortcut for repeating, it is to avoid waste the resource of mobile terminal, due to the shortcut created without repetition, user Without going manually to arrange efficiently to add whether to be allowed to, the simplicity of operation is improve, and, it also avoid shielding Rational addition demand.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of description, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of the drawings
By the detailed description for reading hereafter preferred implementation, various other advantages and benefit are common for this area Technical staff will be clear from understanding.Accompanying drawing is only used for the purpose for illustrating preferred implementation, and is not considered as to the present invention Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical part.In the accompanying drawings:
Fig. 1 shows a kind of exemplary plot for repeating to create shortcut;
Fig. 2 show it is according to an embodiment of the invention it is a kind of in desktop create shortcut method the step of flow Cheng Tu;
Fig. 3 shows a kind of structural representation of desktop according to an embodiment of the invention;And
Fig. 4 shows a kind of structural frames of device that shortcut is created in desktop according to an embodiment of the invention Figure.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should not be by embodiments set forth here Limited.On the contrary, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
With reference to Fig. 2, a kind of method that shortcut is created in desktop according to an embodiment of the invention is shown Flow chart of steps, specifically may include steps of:
Step 201, receives the request to create of shortcut in desktop.
In implementing, the embodiment of the present invention can be applied in various mobile terminals, for example, mobile phone, panel computer, Personal digital assistant, wearable device (such as glasses, wrist-watch etc.) etc..
The operating system of the mobile terminal can be including Android (ARIXTRA), IOS, Windows Phone, Windows etc. Deng in these operating systems, typically with desktop, for loading the data such as shortcut, widget, file.
To make those skilled in the art more fully understand the embodiment of the present invention, in this manual, android system is made A kind of example for operating system is illustrated.
In android system, desktop (Launcher) is first application program loaded after os starting, Launcher is an entrance of other application programs.
As shown in figure 3, Launcher can be responsible for the display of application icon and widget with split screen (CellLayout) 301, Following part can specifically be included:
First, WorkSpace (main body) 302
The parent of WorkSpaced is PageView, and the part of intermediate slideable can specifically include following desktop elements:
ShortCut:305 shortcuts
Appwidget:Desktop widget, figure are irregular
LiveFolder:File
WallPaper:Wallpaper
2nd, HotSeats (base) 303
HotSeats is generally used for placing conventional application icon, does not slide with split screen, can specifically include following desktop Element:
Call_Phone:Call
AllAppList:The list of all applications
Browse:Browser
3rd, SearchDropTargetbar (search column) 304
It should be noted that desktop can be customized by the manufacturer of design operation system or third-party manufacturer, it is above-mentioned The structure of desktop is intended only as example, when the embodiment of the present invention is implemented, the knot of other desktops can be arranged according to practical situation Structure, such as LinearLayout (length presses screen into the view of editing interface), AppsCustomizeTabHost (show all The view of application icon and widget), Cling (help view), (page iden-tity of split screen, generally divides PageIndicator Dot under screen), etc., the embodiment of the present invention is not any limitation as to this.In addition, in addition to the structure of above-mentioned desktop, ability Field technique personnel can also according to actual needs using the structure of other desktops, and the embodiment of the present invention is not also any limitation as to this.
In implementing, apply under the conditions of installation, startup etc., request to create can be triggered, send to desktop, Request desktop creates shortcut for the application.
Certainly, user can also manually add shortcut at the interface of desktop or application, the embodiment of the present invention to this not It is any limitation as.
For example, user can grow by desktop or click on " Menu " button, in the option for ejecting addition desktop component, select " Shortcuts " adds shortcut.
Again for example, the communication information of other users can be sent out by user with address list or the buddy list of immediate communication tool Desktop is delivered to, shortcut is created.
In android system, Launcher have registered one to allow other application customize the shortcut icon of oneself Individual BroadcastReceiver (radio receiver), receives the customized information of the shortcut that other application sends.
Therefore, application can adopt the broadcast mechanism of android system, be constructed according to the BroadcastReceiver Corresponding Intent (intention) simultaneously loads customized information, calls sendBroadcast methods to send a broadcast, Launcher In InstallShortcutReceiver receive this broadcast after, you can for this application create shortcut.
The customized information of shortcut typically by the overloaded method of putExtra, by specifying corresponding key assignments, by this A little customized informations are put in the Bundle objects of additional information, i.e., the Intent being broadcasted is stored in the form of additional information In object, the customized information can include the category such as application icon, title and event (such as starting the Intent of target element) Property.
Relatively, the broadcast of establishment shortcut is received in desktop, if receiving the broadcast for creating shortcut, can To think to receive the request to create of shortcut.
Step 202, it is determined that sending the application of the request to create.
In Android, request to create can show as a broadcast, typically carry and send the broadcast in the broadcast Using application identities, then can from create shortcut broadcast in extract application identities, to characterize the application.
Wherein, application identities can refer to the information of unique mark application, such as packageName (bag name), link, etc..
Step 203, judges whether to forbid creating shortcut for the application;If so, then execution step 204, if it is not, then Execution step 205.
In implementing, some attributes of the application can be identified, to determine whether that it is fast that the application is created Prompt mode.
In one embodiment of the invention, step 203 can include following sub-step:
Sub-step S11, inquires about the application in desktop in preset blacklist;
In embodiments of the present invention, blacklist can be stored in advance in the data base of desktop, such as/data/data/ Com.android.launcher/, in the blacklist, record has the application identities of the application for forbidding creating shortcut.
When blacklist is inquired about, the application identities of the application can be adopted to be compared with the application identities in blacklist Compared with.
When the application identities of the application are identical with the application identities in blacklist, in determining blacklist, record has this to answer With.
When the application identities in the application identities and blacklist of the application are differed, in determining blacklist, this has not been recorded Using.
Using the embodiment of the present invention, the user of the whole network can be it is determined that certain applies to exist in mobile terminal repeats establishment soon The problem of prompt mode, then can be by mobile terminal reporting to server.
Information of the collection of server user by mobile terminal reporting, analyzes its application identities, updates in blacklist.
Certainly, the operation personnel on backstage can be verified to the information of reporting of user, just updated in blacklist.
In embodiments of the present invention, server can safeguard blacklist, operation personnel's login service in the way of with data base Device, issues, updates the blacklist of server.
More whether mobile terminal can be by the blacklist of the mode detection service device such as the version number of blacklist, renewal time Newly.
When the blacklist for detecting server issue updates, the blacklist that download server is issued;Sent out using server The blacklist of cloth, is updated to local preset blacklist.
In implementing, full mobile terminal can replace local blacklist, i.e., with whole blacklist in download server Amount updates, it is also possible to the partial data that blacklist updates in download server, and the legacy data in local blacklist is replaced, I.e. residual quantity updates.
Sub-step S12, when record has the application in the blacklist, it is determined that forbidding creating quick side for the application Formula;
If record has the application in blacklist, represent that the application there is a problem of repeating to create shortcut, to prevent The shortcut for repeating is created, and confirmation is forbidden shortcut being created for the application.
Sub-step S13, when the application has not been recorded in the blacklist, it is determined that allowing to create quick for the application Mode;
If the application has not been recorded in blacklist, represent that the application may not have repetition and create asking for shortcut Topic, can allow to be using establishment shortcut.
Whether sub-step S14, when the application has not been recorded in the blacklist, be loaded with described answering in checking desktop Shortcut;If so, sub-step S15 is then performed, if it is not, then performing sub-step S16;
Sub-step S15, confirmation forbid creating shortcut for the application;
Sub-step S16, confirms to allow to create shortcut for the application.
Although the application has not been recorded in blacklist, the application also likely to be present the problem that repetition creates shortcut, Repeat to create the possibility of shortcut to further exclude the application, in embodiments of the present invention, can be in desktop be checked Whether the shortcut of the application is loaded with.
If desktop is loaded with the shortcut of the application, if this time shortcut is created for the application, belong to repetition wound Build, confirmation is forbidden creating shortcut for the application.
If desktop is not loaded with the shortcut of the application, if this time creating shortcut for the application, belong to first Create, can allow to be using establishment shortcut.
In embodiments of the present invention, the data storage of the shortcut of desktop is in the shortcut tables of data of desktop, such as/ Data/data/com.android.launcher/databases/launcher.db, meanwhile, operating system is externally provided One LauncherProvider, conducts interviews for the external world.
The specific data of shortcut are saved in the favorites tables of launcher.db, can be passed through Authorities in LauncherProvider adds the form of favorites to access favorites tables.
In shortcut tables of data, the data of shortcut storage include application identities.
Therefore, in desk checking [software], the application identities and the application in shortcut tables of data that can adopt the application are marked Knowledge is compared.
When the application identities of the application are identical with the application identities in shortcut tables of data, determine that desktop has loaded this Using shortcut.
When the application identities in the application identities and desktop database of the application are differed, determine that desktop does not load this and answers Shortcut.
Step 204, forbids creating shortcut for the application.
In implementing, if forbidding shortcut being created for the application, can ignore the establishment that the application sends Request.
For example, in Android, request to create can show as a broadcast, then can ignore and create shortcut Broadcast.
Step 205, is that the application creates shortcut according to the request to create in desktop.
In implementing, if allowing shortcut to be created for the application, can respond the establishment that the application sends Request, is using establishment shortcut in desktop.
For example, in Android, request to create can show as a broadcast, then can be from the extraction application of the broadcast The data such as icon, title, event, the application icon, title are carried in desktop, bind the event to the application icon, such as Start which application, dial session window of which phone, opening and which good friend, etc., by the data of these shortcuts Store into shortcut tables of data.
When the embodiment of the present invention receives the request to create of shortcut in desktop, confirm to determine answering for transmission request to create With, and judge whether to forbid to be using creating shortcut, for the application of identical shortcut problem is created with repetition, then Can forbid shortcut being created for the application, otherwise, be, using establishment shortcut, to pass through according to request to create in desktop Desktop create shortcut when, to apply attribute judge, so as to decide whether create shortcut, can avoid for The application creates the shortcut for repeating, it is to avoid waste the resource of mobile terminal, due to the shortcut created without repetition, user Without going manually to arrange efficiently to add whether to be allowed to, the simplicity of operation is improve, and, it also avoid shielding Rational addition demand.
For embodiment of the method, in order to be briefly described, therefore which is all expressed as a series of combination of actions, but this area Technical staff should know that the embodiment of the present invention is not limited by described sequence of movement, because according to present invention enforcement Example, some steps can adopt other orders or while carry out.Secondly, those skilled in the art should also know, description Described in embodiment belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
With reference to Fig. 4, a kind of device that shortcut is created in desktop according to an embodiment of the invention is shown Structured flowchart, specifically can include such as lower module:
Request to create receiver module 401, is suitable to the request to create of shortcut is received in desktop;
Using determining module 402, the application for sending the request to create is adapted to determine that;
Forbid judge module 403, be suitable to judge whether to forbid shortcut being created for the application;If so, then call taboo Only creation module 404, if it is not, then calling shortcut creation module 405;
Forbid creation module 404, be suitable to forbid shortcut being created for the application;
Shortcut creation module 405, it is that the application creates quick side in desktop to be suitable to according to the request to create Formula.
In one embodiment of the invention, the request to create receiver module 401 can include following submodule:
Broadcast reception submodule, is suitable to receive the broadcast for creating shortcut in desktop.
In one embodiment of the invention, the application determining module 402 can include following submodule:
Application identities extracting sub-module, is suitable to extract application identities from the broadcast for creating shortcut.
In one embodiment of the invention, it is described to forbid judge module 403 include following submodule:
Blacklist inquires about submodule, and the application is inquired about in being suitable to preset blacklist in desktop;
First forbids determination sub-module, when being suitable in the blacklist record and having the application, it is determined that forbidding as described Using establishment shortcut.
In one embodiment of the invention, it is described to forbid judge module 403 include following submodule:
First allows determination sub-module, when being suitable to not record the application in the blacklist, it is determined that allowing as institute State using establishment shortcut;
Or,
Whether desktop detection sub-module, when being suitable to not record the application in the blacklist, add in checking desktop It is loaded with the shortcut of the application;If so, second is then called to forbid determination sub-module, if it is not, then calling the second permission to determine Submodule;
Second forbids determination sub-module, is suitable to confirmation and forbids creating shortcut for the application;
Second allows determination sub-module, is suitable to confirm to allow to create shortcut for the application.
In the example of the embodiment of the present invention, in the blacklist, record has the application for forbidding creating shortcut Application identities;
The blacklist inquiry submodule can be included such as lower unit:
First comparing unit, for being compared with the application identities in the blacklist using the application identities of the application Compared with;
First record determining unit, is suitable to identical with the application identities in the blacklist in the application identities of the application When, in determining the blacklist, record has the application;
Second record determining unit, is suitable to application identities in the application identities in the application and the blacklist not phase Meanwhile, the application has not been recorded in determining the blacklist.
In an example of the embodiment of the present invention, the shortcut number of the data storage of the shortcut of desktop in desktop According to table, the data include application identities;
The desktop detection sub-module can be included such as lower unit:
Second comparing unit, the application identities and the application in the shortcut tables of data for being suitable for use with the application are marked Knowledge is compared;
First loading determining unit, the application being suitable in the application identities in the application and the shortcut tables of data When identifying identical, determine that desktop has loaded the shortcut of the application;
Second loading determining unit, the application identities being suitable in the application identities in the application and the desktop database When differing, determine that desktop does not load the shortcut of the application.
In one embodiment of the invention, it is described to forbid creation module 404 include following submodule:
Submodule is ignored in broadcast, is suitable to ignore the broadcast for creating shortcut.
In one embodiment of the invention, the device can also be included such as lower module:
Blacklist download module, is suitable to, when the blacklist for detecting server issue updates, download the server and send out The blacklist of cloth;
Blacklist update module, is suitable for use with the blacklist that the server is issued, and local preset blacklist is carried out Update.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, it is related Part is illustrated referring to the part of embodiment of the method.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together based on teaching in this.As described above, construct required by this kind of system Structure be obvious.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use it is various Programming language realizes the content of invention described herein, and the description done to language-specific above is to disclose this Bright preferred forms.
In description mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case where not having these details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand one or more in each inventive aspect, exist Above to, in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes In example, figure or descriptions thereof.However, should the method for the disclosure be construed to reflect following intention:I.e. required guarantor The more features of feature is expressly recited in each claim by the application claims ratio of shield.More precisely, such as following Claims it is reflected as, inventive aspect is less than all features of single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as the separate embodiments of the present invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more different from embodiment equipment.Can be the module or list in embodiment Unit or component are combined into a module or unit or component, and can be divided in addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit is excluded each other, can adopt any Combine to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (includes adjoint power Profit is required, summary and accompanying drawing) disclosed in each feature can it is identical by offers, be equal to or the alternative features of similar purpose carry out generation Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In some included features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection appoint One of meaning can in any combination mode using.
The present invention all parts embodiment can be realized with hardware, or with one or more processor operation Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) are realizing according to embodiments of the present invention shortcut being created in desktop The some or all functions of some or all parts in equipment.The present invention is also implemented as being retouched for performing here Some or all equipment of the method stated or program of device (for example, computer program and computer program). Such program for realizing the present invention can be stored on a computer-readable medium, or can have one or more signal Form.Such signal can be downloaded from internet website and be obtained, or on carrier signal provide, or with it is any its He provides form.
It should be noted that above-described embodiment the present invention will be described rather than limits the invention, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference markss between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element listed in the claims or step.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and be run after fame Claim.
The embodiment of the invention discloses a kind of method that shortcut is created in desktop, including:
The request to create of shortcut is received in desktop;
It is determined that sending the application of the request to create;
Judge whether to forbid creating shortcut for the application;If so, then forbid creating shortcut for the application; If it is not, being then that the application creates shortcut in desktop according to the request to create.
A2, the method as described in A1, it is described to include the step of the request to create of reception shortcut in desktop:
The broadcast for creating shortcut is received in desktop.
A3, the method as described in A2, include the step of the determination sends the application of the request to create:
Application identities are extracted from the broadcast for creating shortcut.
A4, the method as described in A1 or A2 or A3, it is described to judge whether the step of forbidding the application to create shortcut Including:
The application is inquired about in desktop in preset blacklist;
When in the blacklist, record has the application, it is determined that forbidding creating shortcut for the application.
A5, the method as described in A4, it is described to judge whether that the step of forbidding the application to create shortcut also includes:
When the application has not been recorded in the blacklist, it is determined that allowing to create shortcut for the application;
Or,
Whether when the application not having be recorded in the blacklist, be loaded with the quick side of the application in checking desktop Formula;
If so, then confirm to forbid creating shortcut for the application;
If it is not, then confirming to allow to create shortcut for the application.
A6, the method as described in A4, in the blacklist, record has the application identities of the application for forbidding creating shortcut;
It is described to include the step of inquire about the application in preset blacklist:
It is compared using the application identities and the application identities in the blacklist of the application;
When the application identities of the application are identical with the application identities in the blacklist, remember in determining the blacklist Record has the application;
When the application identities in application identities and the blacklist of the application are differed, in determining the blacklist The application is not recorded.
A7, the method as described in A5, the data storage of the shortcut of desktop in the shortcut tables of data of desktop, institute Stating data includes application identities;
The step of shortcut of the application whether is loaded with the inspection desktop includes:
It is compared using the application identities and the application identities in the shortcut tables of data of the application;
When the application identities of the application are identical with the application identities in the shortcut tables of data, determine desktop Load the shortcut of the application;
When the application identities in application identities and the desktop database of the application are differed, determine that desktop does not add Carry the shortcut of the application.
A8, the method as described in A2, it is described to forbid the step of creating shortcut for the application to include:
Ignore the broadcast for creating shortcut.
A9, the method as described in A4, also include:
When the blacklist for detecting server issue updates, the blacklist that the server is issued is downloaded;
The blacklist issued using the server, is updated to local preset blacklist.
The embodiment of the invention also discloses B10, a kind of device that shortcut is created in desktop, including:
Request to create receiver module, is suitable to the request to create of shortcut is received in desktop;
Using determining module, the application for sending the request to create is adapted to determine that;
Forbid judge module, be suitable to judge whether to forbid shortcut being created for the application;If so, then call and forbid wound Modeling block, if it is not, then calling shortcut creation module;
Forbid creation module, be suitable to forbid shortcut being created for the application;
Shortcut creation module, it is that the application creates shortcut in desktop to be suitable to according to the request to create.
B11, the device as described in B10, the request to create receiver module include:
Broadcast reception submodule, is suitable to receive the broadcast for creating shortcut in desktop.
B12, the device as described in B10, the application determining module include:
Application identities extracting sub-module, is suitable to extract application identities from the broadcast for creating shortcut.
B13, the device as described in B10 or B11 or B12, it is described to forbid judge module to include:
Blacklist inquires about submodule, and the application is inquired about in being suitable to preset blacklist in desktop;
First forbids determination sub-module, when being suitable in the blacklist record and having the application, it is determined that forbidding as described Using establishment shortcut.
B14, the device as described in B13, it is described to forbid judge module also to include:
First allows determination sub-module, when being suitable to not record the application in the blacklist, it is determined that allowing as institute State using establishment shortcut;
Or,
Whether desktop detection sub-module, when being suitable to not record the application in the blacklist, add in checking desktop It is loaded with the shortcut of the application;If so, second is then called to forbid determination sub-module, if it is not, then calling the second permission to determine Submodule;
Second forbids determination sub-module, is suitable to confirmation and forbids creating shortcut for the application;
Second allows determination sub-module, is suitable to confirm to allow to create shortcut for the application.
B15, the device as described in B13, in the blacklist, record has the application mark of the application for forbidding creating shortcut Know;
The blacklist inquiry submodule includes:
First comparing unit, for being compared with the application identities in the blacklist using the application identities of the application Compared with;
First record determining unit, is suitable to identical with the application identities in the blacklist in the application identities of the application When, in determining the blacklist, record has the application;
Second record determining unit, is suitable to application identities in the application identities in the application and the blacklist not phase Meanwhile, the application has not been recorded in determining the blacklist.
B16, the device as described in B14, the data storage of the shortcut of desktop in the shortcut tables of data of desktop, The data include application identities;
The desktop detection sub-module includes:
Second comparing unit, the application identities and the application in the shortcut tables of data for being suitable for use with the application are marked Knowledge is compared;
First loading determining unit, the application being suitable in the application identities in the application and the shortcut tables of data When identifying identical, determine that desktop has loaded the shortcut of the application;
Second loading determining unit, the application identities being suitable in the application identities in the application and the desktop database When differing, determine that desktop does not load the shortcut of the application.
B17, the device as described in B11, it is described to forbid creation module to include:
Submodule is ignored in broadcast, is suitable to ignore the broadcast for creating shortcut.
B18, the device as described in B13, also include:
Blacklist download module, is suitable to, when the blacklist for detecting server issue updates, download the server and send out The blacklist of cloth;
Blacklist update module, is suitable for use with the blacklist that the server is issued, and local preset blacklist is carried out Update.

Claims (10)

1. it is a kind of in desktop create shortcut method, including:
The request to create of shortcut is received in desktop;
It is determined that sending the application of the request to create;
Judge whether to forbid creating shortcut for the application;If so, then forbid creating shortcut for the application;If It is no, then it is that the application creates shortcut in desktop according to the request to create.
2. the method for claim 1, it is characterised in that the step of the request to create that shortcut is received in desktop Suddenly include:
The broadcast for creating shortcut is received in desktop.
3. method as claimed in claim 2, it is characterised in that the step of determination sends the application of the request to create is wrapped Include:
Application identities are extracted from the broadcast for creating shortcut.
4. the method as described in claim 1 or 2 or 3, it is characterised in that it is described judge whether to forbid the application to create it is quick The step of mode, includes:
The application is inquired about in desktop in preset blacklist;
When in the blacklist, record has the application, it is determined that forbidding creating shortcut for the application.
5. method as claimed in claim 4, it is characterised in that described to judge whether to forbid the application to create shortcut Step also includes:
When the application has not been recorded in the blacklist, it is determined that allowing to create shortcut for the application;
Or,
Whether when the application not having be recorded in the blacklist, be loaded with the shortcut of the application in checking desktop;
If so, then confirm to forbid creating shortcut for the application;
If it is not, then confirming to allow to create shortcut for the application.
6. method as claimed in claim 4, it is characterised in that in the blacklist record have forbid creating shortcut should Application identities;
It is described to include the step of inquire about the application in preset blacklist:
It is compared using the application identities and the application identities in the blacklist of the application;
When the application identities of the application are identical with the application identities in the blacklist, recording in determining the blacklist has The application;
When the application identities in application identities and the blacklist of the application are differed, do not remember in determining the blacklist Record has the application.
7. method as claimed in claim 5, it is characterised in that quick side of the data storage of the shortcut of desktop in desktop In formula tables of data, the data include application identities;
The step of shortcut of the application whether is loaded with the inspection desktop includes:
It is compared using the application identities and the application identities in the shortcut tables of data of the application;
When the application identities of the application are identical with the application identities in the shortcut tables of data, determine that desktop is loaded The shortcut of the application;
When the application identities in application identities and the desktop database of the application are differed, determine that desktop does not load institute State the shortcut of application.
8. method as claimed in claim 2, it is characterised in that described to forbid the step of creating shortcut for the application to wrap Include:
Ignore the broadcast for creating shortcut.
9. method as claimed in claim 4, it is characterised in that also include:
When the blacklist for detecting server issue updates, the blacklist that the server is issued is downloaded;
The blacklist issued using the server, is updated to local preset blacklist.
10. it is a kind of in desktop create shortcut device, including:
Request to create receiver module, is suitable to the request to create of shortcut is received in desktop;
Using determining module, the application for sending the request to create is adapted to determine that;
Forbid judge module, be suitable to judge whether to forbid shortcut being created for the application;If so, then call and forbid creating mould Block, if it is not, then calling shortcut creation module;
Forbid creation module, be suitable to forbid shortcut being created for the application;
Shortcut creation module, it is that the application creates shortcut in desktop to be suitable to according to the request to create.
CN201610972583.3A 2016-10-28 2016-10-28 A kind of method and apparatus that shortcut is created in desktop Pending CN106557317A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610972583.3A CN106557317A (en) 2016-10-28 2016-10-28 A kind of method and apparatus that shortcut is created in desktop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610972583.3A CN106557317A (en) 2016-10-28 2016-10-28 A kind of method and apparatus that shortcut is created in desktop

Publications (1)

Publication Number Publication Date
CN106557317A true CN106557317A (en) 2017-04-05

Family

ID=58443865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610972583.3A Pending CN106557317A (en) 2016-10-28 2016-10-28 A kind of method and apparatus that shortcut is created in desktop

Country Status (1)

Country Link
CN (1) CN106557317A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368304A (en) * 2017-06-28 2017-11-21 北京五八信息技术有限公司 Creation method, terminal and the storage medium of desktop shortcuts
CN110366025A (en) * 2019-07-12 2019-10-22 深圳Tcl新技术有限公司 Show configuration method, intelligent terminal and the computer readable storage medium of content
CN111447500A (en) * 2020-03-31 2020-07-24 山东云缦智能科技有限公司 Method for controlling set top box L aucher page group display

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573489A (en) * 2015-01-19 2015-04-29 北京奇虎科技有限公司 Method and device for forbidding application to establish desktop icon

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573489A (en) * 2015-01-19 2015-04-29 北京奇虎科技有限公司 Method and device for forbidding application to establish desktop icon

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368304A (en) * 2017-06-28 2017-11-21 北京五八信息技术有限公司 Creation method, terminal and the storage medium of desktop shortcuts
CN110366025A (en) * 2019-07-12 2019-10-22 深圳Tcl新技术有限公司 Show configuration method, intelligent terminal and the computer readable storage medium of content
CN111447500A (en) * 2020-03-31 2020-07-24 山东云缦智能科技有限公司 Method for controlling set top box L aucher page group display

Similar Documents

Publication Publication Date Title
US8655340B2 (en) Method, apparatus, and computer program product for wireless customer services
CN103078949B (en) The method and system of display telephone number information
CN101286168B (en) Display controller, display control method, display control program, and portable terminal device
CN102981915B (en) A kind of inter-application communication method and device
CN103064737B (en) Prompt operation for iOS system performs method and device
CN104486430A (en) Method, device and client for realizing data sharing in mobile browser client
CN103067559B (en) The method and system of display telephone number related information
CN106708899A (en) Automatic point burying device
CN104200159B (en) Configure the method and device of the authority of application program
CN103607498A (en) Method of displaying related information of unknown incoming call number/calling number and apparatus thereof
CN103034546B (en) The method and device of inter-application communication in iOS system
US9104850B1 (en) Differentiated access for mobile device
CN103034537A (en) Method and device for executing quick operations in internet work operating system (IOS)
CN104270509B (en) Displaying method of interface of mobile terminal, mobile terminal and server
CN106557317A (en) A kind of method and apparatus that shortcut is created in desktop
KR20110090651A (en) Method and apparatus for generating application user adapted in portable terminal
CN104580636B (en) The update method and system of interlock account
CN106095448B (en) Desktop layout method and device for mobile equipment
CN108196747A (en) A kind of method and mobile terminal that application program is added in notifications column
CN105138872A (en) Method and apparatus for displaying menu page
CN108156048A (en) It is a kind of to realize the method and apparatus that application crashes information is obtained in complex scene
CN115470754A (en) Data analysis method and device, computer readable medium and electronic equipment
CN104410744A (en) Intelligent minor-number-based dialing method and device
CN105763650A (en) Method, system, terminal device and server for off-line file transmission
CN103701989A (en) Mobile terminal calling protection method, client, server and system

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
TA01 Transfer of patent application right

Effective date of registration: 20170807

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20170405

RJ01 Rejection of invention patent application after publication