CN107391095A - Icon generating means right management method, data request method, device and terminal - Google Patents

Icon generating means right management method, data request method, device and terminal Download PDF

Info

Publication number
CN107391095A
CN107391095A CN201610326505.6A CN201610326505A CN107391095A CN 107391095 A CN107391095 A CN 107391095A CN 201610326505 A CN201610326505 A CN 201610326505A CN 107391095 A CN107391095 A CN 107391095A
Authority
CN
China
Prior art keywords
generating means
icon generating
icon
authority
election
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.)
Granted
Application number
CN201610326505.6A
Other languages
Chinese (zh)
Other versions
CN107391095B (en
Inventor
陈乐�
梁焯栩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Dongjing Computer 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 Guangzhou Dongjing Computer Technology Co Ltd filed Critical Guangzhou Dongjing Computer Technology Co Ltd
Priority to CN201610326505.6A priority Critical patent/CN107391095B/en
Publication of CN107391095A publication Critical patent/CN107391095A/en
Application granted granted Critical
Publication of CN107391095B publication Critical patent/CN107391095B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Icon generating means right management method, data request method, device and terminal provided in an embodiment of the present invention, belong to computer mobile communication technology field.Methods described includes:When the sovereignty limit failure of current primary mark generating means, multiple each self-corresponding characteristic informations of icon generating means with election authority are obtained;According to the multiple each self-corresponding characteristic information of icon generating means with election authority, target icon generating means are elected;The identification information of the target icon generating means is written in system, so that the target icon generating means operate as home icon generating means exclusive perform corresponding to the sovereignty limit.This method causes when there is multiple icon generating means in system, an only icon generating means operate as home icon generating means exclusive perform corresponding to sovereignty limit, the system resource for repeatedly generating and being consumed during icon is reduced, while reduces the data traffic consumed by network request ad content.

Description

Icon generating means right management method, data request method, device and terminal
Technical field
The present invention relates to computer mobile communication technology field, in particular to a kind of icon generating means authority pipe Reason method, icon generating means data request method, icon generating means and user terminal.
Background technology
With the popularization of mobile terminal, the ad content in mobile terminal also increases therewith.On mobile terminals, except answering Outside advertisement with program itself setting, it can also pass through and be embedded in SDK (Software Development in the application Kit releasing advertisements content) is carried out.The desktop icons that chain is connected to ad content can be generated by being embedded in the SDK of application program, when with After family clickthrough there are the desktop icons of ad content, browser can be triggered to show linked ad content.
The SDK that chain is connected to similar ad content can be embedded in different application programs.When mobile terminal be provided with it is embedding After the application program for having entered SDK, embedded SDK in the application, which can attempt to generate chain on the table, to be connected in similar ad The desktop icons of appearance, the icon for causing mobile terminal to need constantly consumption resource to generate link same advertisement content in desktop. Meanwhile chain is connected to multiple SDK of similar ad content, it all each can ask ad content to server or obtain user profile Deng, cause mobile terminal data traffic waste.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of icon generating means right management method, data Requesting method, device and user terminal, to reduce the system resource consumed during user terminal generation icon, reduce simultaneously The data traffic that user terminal requests ad content is consumed.
In a first aspect, the embodiments of the invention provide a kind of icon generating means right management method, methods described includes: When the sovereignty limit failure of current primary mark generating means, obtain multiple icon generating means with election authority and each correspond to Characteristic information;According to the multiple each self-corresponding characteristic information of icon generating means with election authority, mesh is elected Mark on a map generating means;The identification information of the target icon generating means is written in system, so that the target icon Generating means operate as home icon generating means exclusive perform corresponding to the sovereignty limit.
Second aspect, the embodiments of the invention provide a kind of data request method, methods described includes:In response to the first number According to request, what is stored in inquiry system has the identification information of the home icon generating means of sovereignty limit;When the home icon generates When the identification information of device is consistent with the identification information of itself, the corresponding operation of the sovereignty limit is performed;When the home icon When the identification information of generating means and the inconsistent identification information of itself, sending the second data to the home icon generating means please Ask, receive the home icon generating means and perform feedack after the corresponding operation of the sovereignty limit.
The third aspect, the embodiments of the invention provide a kind of rights management device, described device includes:Characteristic information obtains Unit, for when the sovereignty limit failure of current primary mark generating means, obtaining multiple icon generation dresses with election authority Put each self-corresponding characteristic information;Icon generating means elect unit, for according to the multiple icon with election authority Each self-corresponding characteristic information of generating means, elects target icon generating means;Information writing unit, for by the target The identification information of icon generating means is written in system, so that the target icon generating means are as home icon generating means Exclusive perform operates corresponding to the sovereignty limit.
Fourth aspect, the embodiments of the invention provide a kind of icon generating means, described device includes:Home icon generation dress Query unit is put, in response to the first request of data, what is stored in inquiry system to have the home icon generating means of sovereignty limit Identification information;Sovereignty limit execution unit, for when the identification information and the identification information of itself of the home icon generating means When consistent, the corresponding operation of the sovereignty limit is performed;From authority execution unit, for when the mark of the home icon generating means When knowing information and itself inconsistent identification information, the second request of data is sent to the home icon generating means, described in reception Home icon generating means perform feedack after the corresponding operation of the sovereignty limit.
5th aspect, the embodiments of the invention provide a kind of user terminal, the user terminal includes processor and deposited Reservoir, the memory are couple to the processor, the memory store instruction, when the instruction is by the computing device When the user terminal is performed following operate:When the sovereignty limit failure of current primary mark generating means, acquisition is multiple to be had Elect each self-corresponding characteristic information of icon generating means of authority;Dress is generated according to the multiple icon with election authority Each self-corresponding characteristic information is put, elects target icon generating means;By the identification information of the target icon generating means It is written in system, so that the target icon generating means are corresponding as the home icon generating means exclusive execution sovereignty limit Operation.
Right management method, data request method and device and user terminal provided in an embodiment of the present invention, by working as During the sovereignty limit failure of preceding home icon generating means, multiple each self-corresponding spies of icon generating means with election authority are obtained Reference ceases, and according to the multiple each self-corresponding characteristic information of icon generating means with election authority, elects target figure Mark generating means;The identification information of the target icon generating means is written in system.It is so that more when having in system During individual icon generating means, an only icon generating means are grasped as home icon generating means exclusive perform corresponding to sovereignty limit Make, reduce the system resource for repeatedly generating and being consumed during icon, while reduce by network request ad content institute The data traffic of consumption.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore be not construed as pair The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is the structured flowchart of user terminal provided in an embodiment of the present invention;
Fig. 2 is the structured flowchart of rights management device provided in an embodiment of the present invention;
Fig. 3 is the structured flowchart of icon generating means provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of icon generating means right management method provided in an embodiment of the present invention;
Fig. 5 is the flow chart of another icon generating means right management method provided in an embodiment of the present invention;
Fig. 6 is a kind of timing diagram of icon generating means right management method provided in an embodiment of the present invention;
Fig. 7 is a kind of flow chart of data request method provided in an embodiment of the present invention.
Embodiment
As shown in figure 1, it is the structured flowchart of user terminal 100 provided in an embodiment of the present invention.The user terminal 100 can To be PC (personal computer, PC), tablet personal computer, smart mobile phone, personal digital assistant (personal Digital assistant, PDA), mobile unit, the terminal such as wearable device.
Connect as shown in figure 1, the user terminal 100 includes memory 110, storage control 120, processor 130, peripheral hardware Mouth 140, audio-frequency module 150 and display module 160 etc..The memory 110, storage control 120, processor 130, peripheral hardware Interface 140 and 160 each element of display module are directly or indirectly electrically connected between each other, to realize the transmission of data or friendship Mutually.It is electrically connected with for example, these elements can be realized by one or more communication bus or signal wire between each other.
Wherein, memory 110 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only storage (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc.. Wherein, memory 110 is used for storage program, and the processor 130 performs the memory 110 after execute instruction is received The program of middle storage.For example, after program corresponding to the right management method of the present embodiment offer is provided in memory 110. Processor 130 can perform icon generating means right management method in the embodiment of the present invention, icon generating means data please Seek method.The method performed by user terminal 100 that the stream process that any embodiment of the embodiment of the present invention discloses defines can answer Realized in processor 130, or by processor 130.
Processor 130 is probably a kind of IC chip, has the disposal ability of signal.Above-mentioned processor 130 can To be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), application specific integrated circuit (ASIC), Ready-made programmable gate array (FPGA) either other PLDs, discrete gate or transistor logic, discrete hard Part component.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor 130 can be microprocessor or the processor 130 can also be any conventional processor etc..
Various input/output devices are coupled to processor 130 and memory 110 by the Peripheral Interface 140.At some In embodiment, Peripheral Interface 140, processor 130 and storage control 120 can be realized in one single chip.Other one In a little examples, they can be realized by independent chip respectively.
Display module 160 provides an interactive interface (such as user interface) between the user terminal and user Or referred to for display image data to user.For example, the icon generated by the icon generating means in this implementation can be shown. The display module 160 can be liquid crystal display or touch control display.If touch control display, it can be to support single-point and more Capacitance type touch control screen or resistance type touch control screen of point touch control operation etc..Single-point and multi-point touch operation is supported to refer to touch control display It can sense that one or more positions are with caused touch control operation on the touch control display, and be touched what this was sensed Control operation transfers to processor 130 to be calculated and handled.Sense that user's touch-control chain is connected to the icon of ad content for example, working as When, the touch control operation can be transferred to processor 130 handle, so that triggering browser to show the ad content.
It should be noted that in embodiments of the present invention, icon generating means generally refer to advertisement SDK (Software Development Kit), advertisement SDK has at least one in following authority (the sovereignty limit namely in the embodiment of the present invention) It is individual:The authority of the icon of ad content is connected in desktop generation chain;Access the authority of network;And the use stored in reading system The authority of family information.When there is multiple advertisement SDK in user terminal, i.e., during icon generating means in the present embodiment, if multiple Icon generating means can perform to be operated corresponding to the sovereignty limit, then user terminal can be caused to need constantly consumption resource The icon of link same advertisement content is generated in desktop, network is accessed or reads user profile.Meanwhile if each icon is given birth to Ad content each all is asked to server into device, the data traffic of user terminal can be caused to waste.In order to improve above-mentioned ask Topic, the embodiments of the invention provide a kind of right management method, elects a conduct to monopolize in multiple icon generating means The home icon generating means of above-mentioned sovereignty limit are performed, and other are not used as from icon by the icon generating means in election and generated Device, data can be obtained by home icon generating means from icon generating means, be opened with reducing the system resource of user terminal Pin, save data traffic.
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be configured to arrange and design with a variety of herein.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
As shown in Fig. 2 a kind of rights management device 200 provided in an embodiment of the present invention, described device 200 include:Feature Information acquisition unit 210, icon generating means election unit 220, information writing unit 230 and information radio unit 240.
Characteristic acquisition unit 210, for when the sovereignty limit failure of current primary mark generating means, obtaining multiple tools Each self-corresponding characteristic information of icon generating means of constituent limit.
When the sovereignty limit failure of current primary mark generating means, rights management device 200 can elect new home icon to give birth to Operated into device to perform corresponding to sovereignty limit.Wherein it is possible to directly gone to inquire about current home icon by rights management device 200 Whether the sovereignty limit of generating means fails, and can also be inquired about by other non-home icon formation components, then Query Result is sent out It is sent to rights management device 200.
Whether the sovereignty limit of inquiry current primary mark generating means can also effectively have various ways.For example, it can pass through Whether period of validity corresponding to inquiry current primary mark generating means is expired, is failed if expired.Embedded work as can also be detected Whether the application program of preceding home icon generating means is unloaded, and is failed if being unloaded.
In election process, multiple tools can be got by the characteristic acquisition unit 210 of rights management device 200 Each self-corresponding characteristic information of icon generating means of constituent limit.In the embodiment of the present invention, icon life is imparted in advance Into the authority of device election, these icon generating means have is connected to the icon of ad content, access network in desktop generation chain And at least one authority in the user profile stored in reading system.
As a kind of embodiment, in order to obtain characteristic information, characteristic acquisition unit 210 can first be obtained and is embedded with The identification information of multiple application programs of the icon generating means with election authority.According to the multiple application program Identification information, characteristic information request instruction is sent respectively to the multiple application program, receives the multiple application program each The characteristic information of return.
For example, when user terminal is Android (Android) operating system, characteristic acquisition unit 210 can pass through Sent to PackageManager in queryBroadcastReceivers instructions query systems and be embedded with icon generating means The title of application program.Then according to the title of the application program got, striding course communication is initiated, is sent to application program special Information request instruction is levied, receives the characteristic information that the multiple application program each returns.
Icon generating means elect unit 220, for each according to the multiple icon generating means with election authority Self-corresponding characteristic information, elect target icon generating means.
Characteristic information can include the version number of icon generating means.Version number is used for the version for identifying icon generating means This, icon generating means corresponding to different version numbers do the function having may be different.And the icon generation that version number is higher Device may have stronger function.
As a kind of embodiment, icon generating means election unit 220 can include version number's comparison unit 221, use In contrasting the multiple each self-corresponding version number of icon generating means with election authority, judge that version number's highest has The icon generating means quantity for electing authority is one or multiple, when corresponding version number's highest has the figure of election authority When mark generating means only have one, corresponding version number's highest had into the icon generating means of election authority as the mesh Mark on a map generating means.
When icon generating means have multiple corresponding to version number, for the ease of electing unique home icon generation dress Put, the characteristic information also includes priority, then accordingly, icon generating means election unit 220 can also include priority Comparing unit 222, for that when there are corresponding version number's highest the icon generating means of election authority to have multiple, will correspond to Version number's highest it is multiple have election authority icon generating means in, corresponding highest priority have election authority Icon generating means as the target icon generating means.
It should be noted that when if the icon generating means of corresponding highest priority still have multiple, can also set Put other reduced parameters and carry out contrast selection, or can be by the way of randomly selecting.
Information writing unit 230, for the identification information of the target icon generating means to be written in system, so that The target icon generating means operate as home icon generating means exclusive perform corresponding to the sovereignty limit.
When user profile stored in the generation of icon generating means icon to be performed or access network or reading system etc. , it is necessary to which whether first confirmation has corresponding authority in itself during function.As a kind of mode, the home icon elected can be generated The identification information of device is written in system.When the generation of icon generating means icon to be performed or access network or read system During the functions such as the user profile of middle storage, the identification information that can store in first inquiry system whether the identification information one with itself Cause, can be performed if consistent.Believe after target icon generating means are elected, then by the mark of target icon generating means Breath is written in system, so that icon generating means are inquired about.
As a kind of embodiment, the identification information of icon generating means can be the installation of the application program embedded by it Bag title., can be by the application program embedded by target icon generating means when user terminal is Android operation system Installation kit title is written in the Settings.System of system and stored.
It is appreciated that for the ease of judging whether the sovereignty limit of home icon generating means is expired by period of validity, then When can the identification information of the target icon generating means be written in system, while write new home icon generating means Period of validity.The period of validity can be default value, can also be determined according to actual conditions.
Rights management device 200 can also include information radio unit 240, for having election authority to the multiple Icon generating means send election results, and the election results carry the identification information of the target icon generating means.
It is appreciated that to when electing this section of new home icon generating means after the failure of previous home icon generating means Between between, previous home icon generating means may also be carrying out sovereignty limit corresponding to operate, then electing new master map Mark generating means after, the identification information of new home icon generating means is written in system cover also be carrying out sovereignty limit pair After the identification information of the previous home icon generating means for the operation answered, error in data can be caused.Then in order to avoid above mentioned problem, After new home icon generating means are elected, by the identification information of the target icon generating means be written to system it Before, rights management managing device 200 can first terminate the data manipulation that previous icon generating means are carrying out.
It should be noted that in the present embodiment, rights management device 200 can be individually to be deposited beyond icon generating means Modular unit, can also be served as by icon generating means.When serving as rights management device by icon generating means, in order to Avoid multiple icon generating means from functioning simultaneously as rights management device 200, cause finally to elect multiple home icon generating means, It is multiple before multiple each self-corresponding characteristic informations of icon generating means for having and electing authority are obtained as a kind of mode An icon generating means can be randomly generated in icon generating means as rights management device 200, acquisition is exclusive to perform choosing Lift the authority of the home icon generating means.
For example, when user terminal is Android operation system, the exclusive lock mechanism that system can be utilized to have in itself is real Now monopolize and obtain election authority.As a kind of mode, exclusive lock can be realized by way of LocalServerSocket.Can Corresponding title address is intercepted first to create socket and bind:LocalServerSocket server=new LocalServerSocket (" LocalSocket constants ").In Android operation system, there can only be a process to tie up The fixed title uniquely specified.Other processes reattempt binding and Bind Failed and will reported an error.Therefore this LocalServerSocket, as the exclusive lock between a process, ensure only have a process to take this lock.Icon Generating means can be embedded into multiple application programs, and each application program has an independent process, and this set LocalServerSocket binding logic, is also just embedded in all application programs.One icon generating means thinks triggering choosing Lift, turn into election coordinator it is necessary to first obtain this LocalServerSocket locks, so as to ensure an only icon generation Device can perform the operation of election home icon generating means.
It should be noted that each unit in the present embodiment can be by software code realization, now, above-mentioned each unit It can be stored in the memory 110 of user terminal 100.Above each unit equally can be real by hardware such as IC chip It is existing.
Rights management device provided in an embodiment of the present invention, by when the sovereignty limit failure of current primary mark generating means When, multiple each self-corresponding characteristic informations of icon generating means with election authority are obtained, there is election according to the multiple Each self-corresponding characteristic information of icon generating means of authority, elects target icon generating means;The target icon is given birth to Identification information into device is written in system.So that when there is multiple icon generating means in system, only one figure Mark generating means as home icon generating means are exclusive perform sovereignty limit corresponding to operation, reduce during repeatedly generating icon The system resource consumed, while reduce the data traffic consumed by network request ad content.
As shown in figure 3, a kind of icon generating means 300 provided in an embodiment of the present invention, described device 300 include:Master map Mark generating means query unit 310, sovereignty limit execution unit 320 and from authority execution unit 330.
Home icon generating means query unit 310, in response to the first request of data, what is stored in inquiry system to have The identification information of the home icon generating means of sovereignty limit.
When the sovereignty limit of current home icon generating means is in the legal valid period, home icon generating means are responsible for execution Operated corresponding to sovereignty limit, and it is other from home icon generating means, data can be obtained by home icon generating means, if The data do not wanted at home icon generating means from icon generating means, data are obtained by home icon generating means, if The data wanted from icon generating means are got before home icon generating means, from icon generating means directly by master map Mark and data are obtained at generating means.For each icon generating means, before being intended to perform sovereignty limit corresponding function, need First to inquire about whether itself has sovereignty limit.
Sovereignty limit execution unit 320, for when the identification information and the identification information of itself of the home icon generating means When consistent, the corresponding operation of the sovereignty limit is performed.
When the icon generating means for initiating inquiry operation inquire the mark letter of the home icon generating means stored in system When breath is consistent with the identification information of itself, then judge itself to be current home icon generating means.It can then perform and be given birth in desktop Chaining is connected to the icon of ad content, accesses network and obtains the functions such as user profile.Wherein, the ad content of icon link Network Capture can be passed through.User profile can include the positional information of user terminal, the application name of user terminal installation Terminal user's personal information that title and user terminal are stored etc..
From authority execution unit 330, for when the identification information and the identification information of itself of the home icon generating means When inconsistent, the second request of data is sent to the home icon generating means, is received described in the home icon generating means execution Feedack after the corresponding operation of sovereignty limit.
When the icon generating means for initiating inquiry operation inquire the mark letter of the home icon generating means stored in system When breath and the inconsistent identification information of itself, then judge itself to be from icon generating means.Then can be by being generated to home icon Device sends the second request of data to obtain ad content or user profile.
For example, ad content request can be sent to home icon generating means from icon generating means, and receive home icon Generating means are by the ad content of Network Capture, without individually again by network request ad content, causing user Terminal repeat consumption flow.For another example if multiple icon generating means are being intended to icon and icon link in desktop generation When ad content is the same, then only home icon generating means can generate icon in desktop, avoid multiple icon generating means The ad content same icon of connection is repeatedly generated in desktop, has saved system resource.In addition, when obtaining user profile, from Icon generating means can be passed through by sending user information request to home icon generating means to obtain home icon generating means The user profile obtained from system, without individually obtaining user profile from system again.
It should be noted that when user terminal is Android operation system, home icon generating means can be with Service The form of (service) component, dependent on the process operation where Service.Service is one in Android operation system There is no the application component that time-consuming operation is performed in running background of user interface, other application component can start Service, and And when user is switched to other application scenarios, Service will continue in running background.It is nervous in android system resource, or Person has the cleaning of some internal memories, carries high performance third party software, meeting clean up process and Service, causes closing process and closing Service so that the background process where home icon generating means is inactive.Then in the present embodiment, can pass through StartService, it is ensured that the Service of home icon generating means is enlivened, to avoid operation corresponding to sovereignty limit from not held OK.
Icon generating means provided in an embodiment of the present invention so that when having multiple icon generating means in user terminal, only There are an icon generating means to limit corresponding operation as home icon generating means, the exclusive sovereignty that perform, and it is other from icon Generating means can obtain information by home icon generating means.So as to reduce user terminal generation icon and obtain user The system resource consumed during information, reduce the data traffic that user terminal requests ad content is consumed.
It should be noted that each unit in the present embodiment can be by software code realization, now, above-mentioned each unit It can be stored in the memory 110 of user terminal 100.Above each unit equally can be real by hardware such as IC chip It is existing.
As shown in figure 4, a kind of right management method provided in an embodiment of the present invention, methods described include:
Step S410:When the sovereignty limit failure of current primary mark generating means, multiple figures with election authority are obtained Mark each self-corresponding characteristic information of generating means.
, can be when detecting that period of validity corresponding to current primary mark generating means is expired or inspection as a kind of mode Measure and judge that the sovereignty limit of current primary mark generating means is lost when the application programs of embedded current primary mark generating means is unloaded Effect.
As a kind of mode, the multiple applications for being embedded with the icon generating means with election authority can be first obtained The identification information of program;According to the identification information of the multiple application program, feature is sent respectively to the multiple application program Information request instruction, receive the characteristic information that the multiple application program each returns.
Contrast the multiple each self-corresponding version number of icon generating means with election authority.
Step S420:It is one or more to judge version number's highest to have the icon generating means quantity of election authority It is individual, if one, then step S430 is performed, if multiple (including two and two or more), then performs step S440.
Step S430:, will when there are corresponding version number's highest the icon generating means of election authority there was only one Corresponding version number's highest has the icon generating means of election authority as the target icon generating means.
Step S440:, will be right when there are corresponding version number's highest the icon generating means of election authority to have multiple In the multiple icon generating means with election authority of version number's highest answered, corresponding highest priority has franchise The icon generating means of limit are as the target icon generating means.
Step S450:The identification information of the target icon generating means is written in system, so that the target figure Generating means are marked to operate corresponding to the sovereignty limit as home icon generating means exclusive perform.
It is appreciated that step S410 can be performed by the characteristic acquisition unit 210 in rights management device 200, Step 430 can be performed by version number's comparison unit 221 in rights management device 200, and step 440 can be by rights management Priority comparing unit 222 in device 200 performs, and step S450 can write by the information in rights management device 200 Unit 230 performs.
Fig. 5 is a kind of flow chart of right management method provided in an embodiment of the present invention, Fig. 6 be method shown in Fig. 5 when Sequence figure.Include as shown in figure 5, the embodiment of the present invention provides right management method:
Step S510:When the sovereignty limit failure of current primary mark generating means, obtain exclusive perform and elect the master map Mark the authority of generating means.
As shown in fig. 6, the exclusive lock mechanism realization that system can be utilized to have in itself is exclusive to obtain election authority.As one Kind mode, can realize exclusive lock by way of LocalServerSocket.Then when multiple icon generating means pass through When tryLock () method obtains lock, returning result be success successfully to obtain the icon generating means of exclusive lock, return As a result it is the failed icon generating means for acquisition exclusive lock failure.The icon generating means for then successfully obtaining exclusive lock are made Election flow is performed for rights management device is exclusive.
Step S520:Obtain multiple each self-corresponding characteristic informations of icon generating means with election authority.
Rights management device can be sent by being used to manage the PackageManager of application program into system The title of the application program of icon generating means is embedded with queryBroadcastReceivers instructions query systems. After PackageManager responds the request, it can return and rights management device the application list is returned in a manner of list locallist.The identification information of application program is carried in the application list locallist.
Rights management device initiates IPC (Inter-Process Communication) communications to application program, obtains each The characteristic information of individual icon generating means.
Step S530:According to the multiple each self-corresponding characteristic information of icon generating means with election authority, choosing Enumerate target icon generating means.
Step S540:The identification information of the target icon generating means is written in system, so that the target figure Generating means are marked to operate corresponding to the sovereignty limit as home icon generating means exclusive perform.
After new home icon generating means are elected, then got by getelectinfo () method and lose limit with sovereign right A upper home icon generating means expression information, and the expression information of the home icon generating means newly elected.Upwards One home icon generating means sends instruction, makes a home icon generating means stop operating corresponding to execution sovereignty limit, logical Cross addelementinfotomap () method the identification information of the target icon generating means is written in system and store.
Step S550:Election results, the election knot are sent to the multiple icon generating means with election authority Fruit carries the identification information of the target icon generating means.
After election terminates, there are the icon generating means for electing authority to all by sendbroadcast () method Send election results.
It is appreciated that step S510 and step 520 can obtain list by the characteristic information in rights management device 200 Member 210 performs, and step 530 can elect unit 220 perform by the icon generating means in rights management device 200, walk Rapid 540 can be performed by the information writing unit 230 in rights management device 200, and step S550 can be filled by rights management The information radio unit 240 in 200 is put to perform.
As shown in fig. 7, a kind of data request method provided in an embodiment of the present invention, methods described include:
Step S610:In response to the first request of data, what is stored in inquiry system has the home icon generation dress of sovereignty limit The identification information put.
Step S620:When the identification information of the home icon generating means is consistent with the identification information of itself, institute is performed State the corresponding operation of sovereignty limit.
Step S630:When the identification information and the inconsistent identification information of itself of the home icon generating means, to institute State home icon generating means and send the second request of data, receive the home icon generating means and perform corresponding to the sovereignty limit Feedack after operation.
It is appreciated that step S610 can by the home icon generating means query unit 310 in icon generating means 300 Perform, step S620 can be performed by the sovereignty limit execution unit 320 in icon generating means 300, and step S610 can be by Performing from authority execution unit 330 in icon generating means 300.
It should be noted that it is apparent to those skilled in the art that, for convenience and simplicity of description, on The specific work process of the embodiment of the method for description is stated, may be referred to the corresponding process in aforementioned means embodiment, herein no longer Repeat.
It is to sum up shown, right management method, data request method and device and user terminal provided in an embodiment of the present invention, By when the sovereignty limit failure of current primary mark generating means, obtaining multiple icon generating means with election authority each Corresponding characteristic information, according to the multiple each self-corresponding characteristic information of icon generating means with election authority, election Go out target icon generating means;The identification information of the target icon generating means is written in system.So that ought be When having multiple icon generating means in system, an only icon generating means limit as the exclusive sovereignty that perform of home icon generating means Corresponding operation, the system resource for repeatedly generating and being consumed during icon is reduced, while reduced wide by network request Accuse the data traffic that content is consumed.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can also pass through Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing Show the device of multiple embodiments according to the present invention, method and computer program product architectural framework in the cards, Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code Part, a part for the module, program segment or code are used to realize the executable of defined logic function comprising at least one Instruction.It should also be noted that at some as in the implementation replaced, the function of being marked in square frame can also be with different from attached The order marked in figure occurs.For example, two continuous square frames can essentially perform substantially in parallel, they also may be used sometimes To perform in the opposite order, this is depending on involved function.It is it is also noted that each in block diagram and/or flow chart The combination of square frame and the square frame in block diagram and/or flow chart, can use function or action as defined in performing it is special based on The system of hardware is realized, or can be realized with the combination of specialized hardware and computer instruction.
In addition, each functional module in each embodiment of the present invention can integrate to form an independent portion Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized in the form of software function module and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need Illustrate, herein, such as first and second or the like relational terms be used merely to by an entity or operation with Another entity or operation make a distinction, and not necessarily require or imply between these entities or operation any this reality be present The relation or order on border.Moreover, term " comprising ", "comprising" or its any other variant are intended to the bag of nonexcludability Contain, so that process, method, article or equipment including a series of elements not only include those key elements, but also including The other element being not expressly set out, or also include for this process, method, article or the intrinsic key element of equipment. In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element Process, method, other identical element also be present in article or equipment.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing It is further defined and explained.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Other identical element also be present in process, method, article or equipment including the key element.

Claims (19)

1. a kind of icon generating means right management method, it is characterised in that methods described includes:
When the sovereignty limit failure of current primary mark generating means, multiple icon generating means with election authority are obtained each Corresponding characteristic information;
According to the multiple each self-corresponding characteristic information of icon generating means with election authority, target icon life is elected Into device;
The identification information of the target icon generating means is written in system, so that the target icon generating means conduct Home icon generating means exclusive perform operates corresponding to the sovereignty limit.
2. according to the method for claim 1, it is characterised in that the sovereignty limit includes at least one in following authority:
The authority of the icon of ad content is connected in desktop generation chain;
Access the authority of network;And
The authority of the user profile stored in reading system.
3. according to the method for claim 1, it is characterised in that the characteristic information includes version number, described in the basis Multiple each self-corresponding characteristic informations of icon generating means with election authority, elect target icon generating means, including:
The multiple each self-corresponding version number of icon generating means with election authority is contrasted, when corresponding version number's highest There are the icon generating means of election authority when there was only one, corresponding version number's highest is had to the icon of election authority Generating means are as the target icon generating means.
4. according to the method for claim 3, it is characterised in that the characteristic information also includes priority, described according to institute Multiple each self-corresponding characteristic informations of icon generating means with election authority are stated, elect target icon generating means, also Including:
When there are corresponding version number's highest the icon generating means of election authority to have multiple, by corresponding version number's highest It is multiple have election authority icon generating means in, corresponding highest priority have election authority icon generation dress Put as the target icon generating means.
5. according to the method for claim 1, it is characterised in that described to obtain multiple icon generation dresses with election authority Each self-corresponding characteristic information is put, including:
Obtain the identification information for the multiple application programs for being embedded with the icon generating means with election authority;
According to the identification information of the multiple application program, characteristic information request is sent respectively to the multiple application program and is referred to Order, receives the characteristic information that the multiple application program each returns.
6. according to the method for claim 1, it is characterised in that described to detect that current primary mark generating means fail When, including:
When detecting that period of validity corresponding to current primary mark generating means is expired, or work as and detect embedded current primary mark When the application program of generating means is unloaded.
7. according to the method for claim 1, it is characterised in that methods described also includes:
Election results are sent to the multiple icon generating means with election authority, the election results carry the mesh The identification information for generating means of marking on a map.
8. according to the method for claim 1, it is characterised in that described to obtain multiple icon generation dresses with election authority Before putting each self-corresponding characteristic information, in addition to:
Obtain the exclusive authority for performing and electing the home icon generating means.
9. a kind of data request method, it is characterised in that methods described includes:
In response to the first request of data, what is stored in inquiry system has the identification information of the home icon generating means of sovereignty limit;
When the identification information of the home icon generating means is consistent with the identification information of itself, perform corresponding to the sovereignty limit Operation;
When the identification information and the inconsistent identification information of itself of the home icon generating means, generate and fill to the home icon Put and send the second request of data, receive the home icon generating means and perform the letter fed back after the corresponding operation of the sovereignty limit Breath.
10. a kind of rights management device, it is characterised in that described device includes:
Characteristic acquisition unit, for when the sovereignty limit failure of current primary mark generating means, obtaining multiple with election Each self-corresponding characteristic information of icon generating means of authority;
Icon generating means elect unit, for each self-corresponding according to the multiple icon generating means with election authority Characteristic information, elect target icon generating means;
Information writing unit, for the identification information of the target icon generating means to be written in system, so that the mesh Generating means of marking on a map operate as home icon generating means exclusive perform corresponding to the sovereignty limit.
11. device according to claim 10, it is characterised in that the sovereignty limit includes at least one in following authority It is individual:
The authority of the icon of ad content is connected in desktop generation chain;
Access the authority of network;And
The authority of the user profile stored in reading system.
12. device according to claim 10, it is characterised in that the characteristic information includes version number, the icon life Unit is elected into device, including:
Version number's comparison unit, for contrasting the multiple each self-corresponding version of icon generating means with election authority Number, when there are corresponding version number's highest the icon generating means of election authority there was only one, by corresponding version number most High has the icon generating means of election authority as the target icon generating means.
13. device according to claim 12, it is characterised in that the characteristic information also includes priority, the icon Generating means elect unit, in addition to:
Priority comparing unit, it is multiple for having the icon generating means of election authority to have when corresponding version number highest When, by corresponding version number's highest it is multiple have election authority icon generating means in, the tool of corresponding highest priority The icon generating means of constituent limit are as the target icon generating means.
14. device according to claim 10, it is characterised in that the characteristic acquisition unit, including:
Application program identification information acquisition unit, the more of the icon generating means with election authority are embedded with for obtaining The identification information of individual application program;
Characteristic information request unit, for the identification information according to the multiple application program, to the multiple application program point Not Fa Song characteristic information request instruction, receive the characteristic information that the multiple application program each returns.
15. device according to claim 10, it is characterised in that described to detect that current primary mark generating means fail When, including:
When detecting that period of validity corresponding to current primary mark generating means is expired, or work as and detect embedded current primary mark When the application program of generating means is unloaded.
16. device according to claim 10, it is characterised in that described device also includes:
Information radio unit, for sending election results, the choosing to the multiple icon generating means with election authority Lift the identification information that result carries the target icon generating means.
17. device according to claim 10, it is characterised in that the characteristic acquisition unit, be additionally operable to described Before obtaining multiple each self-corresponding characteristic informations of icon generating means for having and electing authority, exclusive perform described in election is obtained The authority of home icon generating means.
18. a kind of icon generating means, it is characterised in that described device includes:
Home icon generating means query unit, there is sovereignty limit for what is in response to the first request of data, stored in inquiry system Home icon generating means identification information;
Sovereignty limit execution unit, for when the identification information of the home icon generating means is consistent with the identification information of itself, Perform the corresponding operation of the sovereignty limit;
From authority execution unit, for when the identification information of the home icon generating means and itself identification information it is inconsistent When, the second request of data is sent to the home icon generating means, the home icon generating means is received and performs the sovereignty limit Feedack after corresponding operation.
19. a kind of user terminal, it is characterised in that the user terminal includes processor and memory, the memory coupling The processor is connected to, the memory store instruction, makes the user terminal when executed by the processor Perform following operate:
When the sovereignty limit failure of current primary mark generating means, multiple icon generating means with election authority are obtained each Corresponding characteristic information;
According to the multiple each self-corresponding characteristic information of icon generating means with election authority, target icon life is elected Into device;
The identification information of the target icon generating means is written in system, so that the target icon generating means conduct Home icon generating means exclusive perform operates corresponding to the sovereignty limit.
CN201610326505.6A 2016-05-16 2016-05-16 Icon generation device authority management method, data request method, device and terminal Active CN107391095B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610326505.6A CN107391095B (en) 2016-05-16 2016-05-16 Icon generation device authority management method, data request method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610326505.6A CN107391095B (en) 2016-05-16 2016-05-16 Icon generation device authority management method, data request method, device and terminal

Publications (2)

Publication Number Publication Date
CN107391095A true CN107391095A (en) 2017-11-24
CN107391095B CN107391095B (en) 2021-03-12

Family

ID=60338659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610326505.6A Active CN107391095B (en) 2016-05-16 2016-05-16 Icon generation device authority management method, data request method, device and terminal

Country Status (1)

Country Link
CN (1) CN107391095B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651697A (en) * 2009-09-21 2010-02-17 杭州华三通信技术有限公司 Method and equipment for managing network access authority
US20110066477A1 (en) * 2009-04-07 2011-03-17 Fuhu, Inc. Device and method for creating, distributing, managing and monetizing widgets using templates
CN102955910A (en) * 2011-08-25 2013-03-06 阿里巴巴集团控股有限公司 Method and device for multi-account authority control

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110066477A1 (en) * 2009-04-07 2011-03-17 Fuhu, Inc. Device and method for creating, distributing, managing and monetizing widgets using templates
CN101651697A (en) * 2009-09-21 2010-02-17 杭州华三通信技术有限公司 Method and equipment for managing network access authority
CN102955910A (en) * 2011-08-25 2013-03-06 阿里巴巴集团控股有限公司 Method and device for multi-account authority control

Also Published As

Publication number Publication date
CN107391095B (en) 2021-03-12

Similar Documents

Publication Publication Date Title
TWI712955B (en) Method and device for waking up AP application through mobile browser
CN106844067A (en) The processing method and mobile terminal of a kind of content
CN102752450B (en) Terminal and information display method
CN107222485A (en) A kind of authorization method and relevant device
CN107390983B (en) Service instruction execution method, client and storage medium
CN106778389B (en) A kind of loss detection method and mobile terminal of mobile terminal
CN103119589A (en) Method and apparatus for binding mobile device functionality to an application definition
CN102970657B (en) Systems and methods for sharing group status within a social network
CN106125984A (en) The touch-control processing method of a kind of mobile terminal and mobile terminal
CN107563244A (en) A kind of two-dimension code safe verification method and mobile terminal
CN106131000B (en) Identifying code fill method and its mobile terminal
CN106951335A (en) A kind of process guard method and mobile terminal
CN107678884A (en) A kind of data transmission method, mobile terminal and computer-readable recording medium
CN104965690A (en) Method and apparatus for processing data
CN106131828A (en) A kind of WiFi password sharing method, mobile terminal and Cloud Server
CN105430632A (en) Data flow statistical method and mobile terminal
CN103347029B (en) service data interaction method, terminal, server and system
CN106502872B (en) A kind of display methods and terminal of application state information
CN107784484A (en) Model and flow hooking method and device
CN107294905B (en) Method and device for identifying user
CN106445319B (en) A kind of file location method and terminal
CN107659909A (en) The switching method and mobile terminal of a kind of SIM card
CN107567022A (en) A kind of wireless connection method, terminal and computer-readable recording medium
CN106874474A (en) A kind of invalid web pages processing method of web page storage, server and terminal
CN107196767A (en) Certificate request method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200619

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping B radio 14 floor tower square

Applicant before: GUANGZHOU UCWEB COMPUTER TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant