CN109144561A - Method for managing resource and Related product - Google Patents
Method for managing resource and Related product Download PDFInfo
- Publication number
- CN109144561A CN109144561A CN201810791758.XA CN201810791758A CN109144561A CN 109144561 A CN109144561 A CN 109144561A CN 201810791758 A CN201810791758 A CN 201810791758A CN 109144561 A CN109144561 A CN 109144561A
- Authority
- CN
- China
- Prior art keywords
- label
- resource
- marked
- level
- instruction
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/73—Program documentation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the present application discloses a kind of method for managing resource and Related product, this method comprises: obtaining resource to be marked;Extract the set of keywords of the resource to be marked;M label is generated according to the set of keywords, the M is positive integer;The resource to be marked is marked according to the M label.Resource to be marked can be directed to using the embodiment of the present application, keyword extraction can be carried out to it, label is generated according to the keyword extracted, and markup resources are treated with the label and are marked, improve resource management capacity, provide convenience for user.
Description
Technical field
This application involves technical field of electronic equipment, and in particular to a kind of method for managing resource and Related product.
Background technique
With a large amount of popularization and applications of electronic equipment (such as mobile phone, tablet computer), the application that electronic equipment can be supported
More and more, function is stronger and stronger, and electronic equipment develops towards diversification, personalized direction, becomes target object life
In indispensable appliance and electronic.
At present, fast application is the new application form based on mobile phone hardware platform, and standard is by mainstream cell phone manufacturer
The fast application alliance of composition, which combines, to formulate, and the fast birth using standard will be in research and development interface, ability access, developer's service etc.
Level construction criteria platform, it is open to individual developer and the full category of enterprise development person with the ecomodel of hardware and software platform, it is fast to apply
Have traditional APP completely application experience, is use without installation, i.e. point, provide the user convenient platform, still, with answering
With the increase of quantity, number of labels is also more and more huger, increases resource management difficulty, therefore, how for resource to provide one
The problem of kind policy in resource management, is urgently to be resolved.
Summary of the invention
The embodiment of the present application provides a kind of method for managing resource and Related product, can promote resource management capacity, be
User provides convenience.
In a first aspect, the embodiment of the present application provides a kind of method for managing resource, comprising:
Obtain resource to be marked;
Extract the set of keywords of the resource to be marked;
M label is generated according to the set of keywords, the M is positive integer;
The resource to be marked is marked according to the M label.
Second aspect, the embodiment of the present application provide a kind of resource management apparatus, and the resource management apparatus includes: to obtain
Unit, extraction unit, generation unit and marking unit, wherein
The acquiring unit, for obtaining resource to be marked;
The extraction unit, for extracting the set of keywords of the resource to be marked;
The generation unit, for generating M label according to the set of keywords, the M is positive integer;
The marking unit, for the resource to be marked to be marked according to the M label.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including processor, memory, communication interface, and
One or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned
It manages device to execute, above procedure is included the steps that for executing the instruction in the embodiment of the present application first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable
Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as
Step some or all of described in the embodiment of the present application first aspect.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product
Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate
Machine executes the step some or all of as described in the embodiment of the present application first aspect.The computer program product can be one
A software installation packet.
As can be seen that method for managing resource and Related product described in the embodiment of the present application, obtain resource to be marked,
The set of keywords of resource to be marked is extracted, generates M label according to set of keywords, M is positive integer, treats mark according to M label
Note resource is marked, thus, for resource to be marked, keyword extraction can be carried out to it, it is raw according to the keyword extracted
At label, and markup resources are treated with the label and are marked, improve resource management capacity, provides convenience for user.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Figure 1A is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Figure 1B is a kind of flow diagram of method for managing resource disclosed in the embodiment of the present application;
Fig. 1 C is a kind of interface schematic diagram of resource tag disclosed in the embodiment of the present application;
Fig. 1 D is the interface schematic diagram of another kind resource tag disclosed in the embodiment of the present application;
Fig. 2 is the flow diagram of another kind method for managing resource disclosed in the embodiment of the present application;
Fig. 3 is the flow diagram of another kind method for managing resource disclosed in the embodiment of the present application;
Fig. 4 is the structural schematic diagram of another kind electronic equipment disclosed in the embodiment of the present application;
Fig. 5 A is a kind of structural schematic diagram of resource management apparatus disclosed in the embodiment of the present application;
Fig. 5 B is a kind of another structural schematic diagram of resource management apparatus disclosed in the embodiment of the present application;
Fig. 5 C is a kind of another structural schematic diagram of resource management apparatus disclosed in the embodiment of the present application;
Fig. 5 D is a kind of another structural schematic diagram of resource management apparatus disclosed in the embodiment of the present application;
Fig. 5 E is a kind of another structural schematic diagram of resource management apparatus disclosed in the embodiment of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing
Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that
It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have
It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap
Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Electronic equipment involved by the embodiment of the present application may include the various handheld devices with wireless communication function
(such as smart phone), mobile unit, wearable device calculate equipment or are connected to other processing of radio modem and set
Standby and various forms of target object equipment (user equipment, UE), mobile station (mobile station, MS), eventually
End equipment (terminal device), development/testing platform, server etc., it is not limited here.For convenience of description, above
The equipment mentioned is referred to as electronic equipment.
Figure 1A is please referred to, Figure 1A is that the embodiment of the present application provides the structural schematic diagram of a kind of electronic equipment, electronic equipment
Including control circuit and input-output circuit, imput output circuit is connected to the control circuit.
Wherein, control circuit may include storage and processing circuit.Storage circuit in the storage and processing circuit can be with
It is memory, such as hard drive memory, nonvolatile memory (such as flash memory or it is used to form the other of solid state drive
Electrically programmable read only memory etc.), volatile memory (such as either statically or dynamically random access memory etc.) etc., the application
Embodiment is with no restriction.Processing circuit in storage and processing circuit can be used for the operating of controlling electronic devices.Processing electricity
Road can microprocessor based on one or more, microcontroller, digital signal processor, baseband processor, power management unit,
Audio codec chip, specific integrated circuit, display-driver Ics etc. are realized.
Storage and processing circuit can be used for running the software in electronic equipment, such as play incoming call prompting jingle bell application journey
Sequence, play short message prompt jingle bell application program, play alarm clock prompting jingle bell application program, play media file application program,
Voice over internet protocol (voice over internet protocol, VOIP) call application program, operating system function
Energy is equal.These softwares can be used for executing some control operations, for example, playing incoming call prompting jingle bell, playing short message prompt sound
Other functions etc. in bell, broadcasting alarm clock prompting jingle bell, broadcasting media file, progress voice telephone calls and electronic equipment,
The embodiment of the present application is with no restriction.
Wherein, input-output circuit can be used for that electronic equipment is made to realize outputting and inputting for data, i.e. permission electronic equipment
From outer equipment receiving data and electronic equipment is allowed to export data to external equipment from electronic equipment.
Input-output circuit may further include sensor.Sensor may include ambient light sensor, based on light and
The infrared proximity transducer of capacitor, ultrasonic sensor, touch sensor is (for example, be based on light touch sensor and/or condenser type
Touch sensor, wherein touch sensor can be a part of touching display screen, can also be used as a touch sensor knot
Structure independently uses), acceleration transducer, gravity sensor and other sensors etc..Input-output circuit can also be further
Including audio component, audio component can be used for providing audio input and output function for electronic equipment.Audio component can be with
Including tone generator and other components for being used to generate and detect sound.
Input-output circuit can also include one or more display screens.Display screen may include liquid crystal display, organic
Light emitting diode (LED) display screen, electric ink display screen, plasma panel, using a kind of in the display screen of other display technologies or
Several combination of person.Display screen may include touch sensor array (that is, display screen can be touching display screen).Touch sensing
Device can be the capacitance touch sensing formed by transparent touch sensor electrode (such as tin indium oxide (ITO) electrode) array
Device, or can be the touch sensor formed using other touching techniques, such as sound wave touch-control, pressure sensible touch, resistive touch,
Optical touch etc., the embodiment of the present application is with no restriction.
Input-output circuit, which can further include telecommunication circuit, can be used for providing for electronic equipment and external equipment
The ability of communication.Telecommunication circuit may include analog- and digital- input-output interface circuit, and be based on radiofrequency signal and/or light
The radio communication circuit of signal.Radio communication circuit in telecommunication circuit may include radio-frequency transceiver circuitry, power amplifier
Circuit, low-noise amplifier, switch, filter and antenna.For example, the radio communication circuit in telecommunication circuit may include
For supported by emitting and receiving near-field coupling electromagnetic signal near-field communication (near field communication,
NFC circuit).For example, telecommunication circuit may include near-field communication aerial and near-field communication transceiver.Telecommunication circuit can also wrap
Include cellular telephone transceiver and antenna, wireless lan transceiver circuit and antenna etc..
Input-output circuit can further include other input-output units.Input-output unit may include
Button, control stick, click wheel, scroll wheel, touch tablet, keypad, keyboard, camera, light emitting diode and other state instructions
Device etc..
Wherein, electronic equipment can further include battery (not shown), and battery provides electric energy for electron equipment.
It describes in detail below to the embodiment of the present application.
Figure 1B is please referred to, Figure 1B is a kind of flow diagram of method for managing resource disclosed in the embodiment of the present application, application
The electronic equipment described in above-mentioned Figure 1A, the method for managing resource include the following steps 101-104.
101, resource to be marked is obtained.
Wherein, resource to be marked can be following at least one: video file, text file, audio file, using journey
Sequence, desktop icons, cache file, image etc., it is not limited here.In the embodiment of the present application, electronic equipment can read to
Markup resources load resource to be marked according to load instruction, alternatively, resource to be marked is also alternatively, receiving the load instruction of input
It can be to delete after original label the only resource of remaining blank tag.The embodiment of the present application can be applied to application, software fastly
Shop etc., it is not limited here.
102, the set of keywords of the resource to be marked is extracted.
Wherein, electronic equipment can treat markup resources and be parsed, and obtain set of keywords, and set of keywords includes at least one
A keyword.
Optionally, the set of keywords of the resource to be marked is extracted, can be realized as follows in above-mentioned steps 102:
The attribute information for obtaining the resource to be marked, parses the attribute information, obtains set of keywords.
Wherein, attribute information can be following at least one: the version number of resource to be marked, resource to be marked title,
The developer etc. of resource to be marked.Electronic equipment can obtain the attribute information of resource to be marked, belong to it is possible to further treat
Property information parsed, specifically, for example, using machine learning algorithm to attribute information carry out words recognition, obtain keyword
Collection.
Optionally, above-mentioned steps 102 are extracted the set of keywords of the resource to be marked, can be realized as follows,
It includes step 21-22:
21, the source code to the resource to be marked is obtained;
22, semantics recognition is carried out to the source code, obtains set of keywords.
Wherein, the source code of the available resource to be marked of electronic equipment, in the specific implementation, can be to game in source code
Role, and operation are defined, for example, the inside will appear the keywords such as " landlord ", " peasant " by taking fighting landlord game as an example,
In this way, electronic equipment can obtain the source code of resource to be marked, in turn, semantics recognition is carried out to source code, obtains set of keywords.
It is of course possible to therefore in the embodiment of the present application, can be stored in advance in electronic equipment in source code comprising a large amount of keywords
Preset keyword library can be matched the set of keywords obtained after semantics recognition is carried out to source code with preset keyword library,
Final key word library is obtained, in this case, tag control can be improved just to avoid more unrecognized keyword is generated
Victory.
Optionally, above-mentioned steps 102 are extracted the set of keywords of the resource to be marked, can be realized as follows,
It includes step 23-24:
23, the voice data to the resource to be marked is obtained;
24, speech recognition is carried out to the voice data, obtains set of keywords.
Wherein, it not only may include code in resource to be marked, further include voice data certainly, in the specific implementation, with trip
After all include certain voice data for play, in this case, human-computer interaction can be enhanced, promote user interest.Cause
This, in the embodiment of the present application, the voice data of the available resource to be marked of electronic equipment, in turn, can to voice data into
Row speech recognition, obtains set of keywords.It is of course possible to include a large amount of keywords, therefore, the embodiment of the present application in source code
In, preset keyword library can be stored in advance in electronic equipment, the key that voice data will can obtain after speech recognition
Word collection is matched with preset keyword library, obtains final key word library, in this case, can not be known to avoid generation is more
Other keyword improves tag control convenience.
103, M label is generated according to the set of keywords, the M is positive integer.
Wherein, electronic equipment can choose multiple keywords from set of keywords, generate M mark using multiple keyword
Label, M is positive integer.
Optionally, above-mentioned steps 103 generate M label according to the set of keywords, may include steps of:
31, the set of keywords is matched with preset keyword library, obtains multiple target keywords;
32, according to the mapping relations between preset keyword and label, the corresponding M of the multiple target keywords is determined
A label.
Wherein, preset keyword library can be stored in advance in electronic equipment, which can include more in advance
Set of keywords can be matched with preset keyword library in turn, obtain multiple target keywords, electronics is set by a keyword
The mapping relations that can also be stored in advance between preset keyword and label in standby in turn, can be true according to the mapping relations
Determine the corresponding M label of multiple target keywords.
104, the resource to be marked is marked according to the M label.
Wherein, a level-one label can be included at least in above-mentioned M label, when M is 1, then M label is only level-one mark
Label, when M is greater than 1, then M label includes 1 level-one label, M-1 second level label, wherein second level label can be subordinated to
Level-one label.
Specifically, in the embodiment of the present application, the label of resource can be divided into level-one label and second level label, such as Fig. 1 C institute
Show, a resource is shown in Fig. 1 C, which includes level-one label " travelling ", second level label " battle " and " 32038 people are playing ".
Second level label is subordinated to level-one label, and level-one label is mutex relation between each other, i.e., a resource can only have a level-one mark
Label, but allow to have multiple second level labels, and these second level labels can be subordinated to the level-one label of the resource, such as Fig. 1 D, level-one mark
The face of signing may include multiple second level labels, and multiple second level label is subordinated to level-one label.Certainly, level-one label can also claim
For basic tag along sort, second level label can then be referred to as supplemented by tag along sort.
Further, there can be at least one second level label that can just be selected in the embodiment of the present application, under level-one label,
When for resource selection label, can increase empty level-one label newly will not be shown in option.
In the specific implementation, electronic equipment can support developer (CP) selection level-one label and second level in the embodiment of the present application
Label can be audited and be updated to resource tag from the background.
Optionally, when the M is greater than 1, above-mentioned steps 104 carry out the resource to be marked according to the M label
Label, it may include following steps:
41, extract a level-one label and at least one second level label from the M label, it is described at least one two
Grade label is subordinated to the level-one label;
42, the resource to be marked is marked according to the level-one label and at least one described second level label.
Wherein, when M is greater than 1, then electronic equipment can extract a level-one label and at least one from M label
Second level label, each second level label is subordinated to level-one label at least one second level label, can according to level-one label and extremely
A few second level label is treated markup resources and is marked, and is marked for example, preferentially treating markup resources with level-one resource,
It is secondary, then markup resources are treated with second level label and are marked.If M is larger, second level label can be chosen from M label
Quantity can be no more than preset threshold, which can be by user's self-setting, alternatively, system default.
Still optionally further, above-mentioned steps 41, extracted from the M label level-one label and at least one two
Grade label, it may include following steps 411-412:
411, the selection instruction of input is received;
412, described choose is chosen from the M label instructs the label chosen as the level-one label, will
Label in the M label other than the level-one label is as second level label.
Wherein, the selection instruction that electronic equipment can receive user's input is instructed according to the selection from M label in turn
A middle label choosing of selection instruction of choosing is as level-one label, and by the mark in M label other than level-one label
Label are used as second level label.
Optionally, after above-mentioned steps 104, can also include the following steps:
Show the label of the resource to be marked.
Wherein, electronic equipment can show the level-one label of resource to be marked, and certainly, electronic equipment can also be shown wait mark
Remember the level-one label of resource, at least one second level label of level-one.In the specific implementation, electronic equipment can partially hide or completely
Hide the second level label of resource to be marked.
Optionally, after above-mentioned steps 104, it can also include the following steps A1-A2:
A1, the deletion instruction for receiving input, the deletion instruct the level-one label for deleting the resource to be marked;
A2, all labels for deleting the resource to be marked.
Wherein, when electronic equipment receives the deletion instruction of input, if deletion instruction is for deleting resource to be marked
Level-one label, then can delete all labels of resource to be marked, i.e. level-one label and its second level label is deleted together.It is specific real
In existing, if level-one label is empty label, empty label can be directly deleted, if what is deleted is second level label, can directly be deleted
The resource that the label was originally played except label, and after deleting automatically removes the label.
Optionally, after above-mentioned steps 104, it can also include the following steps B1-B2:
B1, the transfer instruction for receiving input, the transfer instruction are used to shift on the second level label of the resource to be marked
To the first marked resource;
B2, the response transfer instruction, are the described first marked money by the level-one tag modification of the resource to be marked
The level-one label in source.
Wherein, in the embodiment of the present application, the first marked resource is any resource labeled in advance, and electronic equipment can connect
The transfer instruction of input is received, which is used to the second level label of resource to be marked being transferred to the first marked resource, ring
Transfer instruction is answered, then can be the level-one label of the first marked resource by the level-one tag modification of resource to be marked.Specifically,
In transfer process, second level label can be supported to be transferred under other level-one labels from affiliated level-one label, two after transfer
Resource is corresponding that level-one label also changes automatically under grade label.
Optionally, after above-mentioned steps 104, it can also include the following steps C1-C2:
C1, receive input modification instruction, it is described modification instruction for the resource to be marked level-one label or
Target labels at least one second level label are modified;
C2, the response modification instruction, the label of the corresponding resource of the target labels is modified.
Wherein, electronic equipment can receive the modification instruction of input, which instructs the level-one mark for treating markup resources
It signs the target labels in perhaps at least one second level label and modifies target labels as level-one label or at least one second level
Any label in label, response modification instruction, then can modify the label of the corresponding resource of target labels, for example,
If target labels were originally " a1 ", if target labels are revised as " b1 ", then mesh of the corresponding resource of original target labels
Mark label is revised as " b1 ".That is, in the specific implementation, if then the label is associated all after modifying to any label
The bookmark name of resource also changes correspondingly.
Optionally, after above-mentioned steps 104, it can also include the following steps D1-D2:
D1, the resource for receiving input merge instruction, and the resource merges instruction for the resource to be marked to be incorporated into
Second marked resource;
D2, the label of the resource to be marked is deleted, and is labeled as the mark of the described second marked resource again
Label.
Wherein, in the embodiment of the present application, the second marked resource is any resource labeled in advance.Electronic equipment can connect
The resource for receiving input merges instruction, which merges instruction for resource to be marked to be incorporated into the second marked resource, then may be used
It to delete the label of resource to be marked, and is again the label of the second marked resource by resource mark to be marked.Tool
During body is realized, resource, which merges instruction, can be used for the resource in a second level label all to import another second level label, and
The resource of transfer automatically removes old label and stamps new label.
Optionally, electronic equipment can update the level-one label of resource, and after modification level-one label, stamp originally
Second level label ceases to be in force automatically, it is of course also possible to modify the second level label of resource.
As can be seen that method for managing resource described in the embodiment of the present application, obtains resource to be marked, extract to be marked
The set of keywords of resource generates M label according to set of keywords, and M is positive integer, treats markup resources progress according to M label
Label, thus, for resource to be marked, keyword extraction can be carried out to it, according to the keyword generation label extracted, and with
The label is treated markup resources and is marked, and resource management capacity is improved, and provides convenience for user.
Consistent with the abovely, Fig. 2 is a kind of flow diagram of method for managing resource disclosed in the embodiment of the present application.Using
In electronic equipment as shown in Figure 1A, which includes the following steps 201-206.
201, resource to be marked is obtained.
202, the set of keywords of the resource to be marked is extracted.
203, M label is generated according to the set of keywords, the M is positive integer.
204, the selection instruction of input is received.
205, described choose is chosen from the M label instructs the label chosen as the level-one label, will
For label in the M label other than the level-one label as second level label, the second level label is subordinated to described one
Grade label.
206, the resource to be marked is marked according to the level-one label and at least one described second level label.
Wherein, the specific descriptions of above-mentioned steps 201- step 206 are referred to method for managing resource described in Figure 1B
Corresponding description, details are not described herein.
As can be seen that method for managing resource described in the embodiment of the present application, obtains resource to be marked, extract to be marked
The set of keywords of resource generates M label according to set of keywords, and M is positive integer, the selection instruction of input is received, from M label
Middle choose instructs the label chosen as level-one label, and the label in M label other than level-one label is made
For second level label, second level label is subordinated to level-one label, treats markup resources according to level-one label and at least one second level label
It is marked, thus, for resource to be marked, keyword extraction can be carried out to it, generate label according to the keyword extracted,
And markup resources are treated with the label and are marked, resource management capacity is improved, provides convenience for user.
Consistent with the abovely, Fig. 3 is a kind of flow diagram of method for managing resource disclosed in the embodiment of the present application.Using
In electronic equipment shown in figure 1A, which includes the following steps 301-306.
301, resource to be marked is obtained.
302, the set of keywords of the resource to be marked is extracted.
303, M label is generated according to the set of keywords, the M is positive integer.
304, the resource to be marked is marked according to the M label.
305, the deletion instruction of input is received, the deletion instructs the level-one label for deleting the resource to be marked.
306, all labels of the resource to be marked are deleted.
Wherein, the specific descriptions of above-mentioned steps 301- step 306 are referred to method for managing resource described in Figure 1B
Corresponding description, details are not described herein.
As can be seen that method for managing resource described in the embodiment of the present application, obtains resource to be marked, extract to be marked
The set of keywords of resource generates M label according to set of keywords, and M is positive integer, treats markup resources progress according to M label
Label receives the deletion instruction of input, deletes the level-one label instructed for deleting resource to be marked, delete resource to be marked
All labels, thus, for resource to be marked, keyword extraction can be carried out to it, generate label according to the keyword extracted,
And markup resources are treated with the label and are marked, resource management capacity is improved, provides convenience for user.
Referring to Fig. 4, Fig. 4 is the structural schematic diagram of another kind electronic equipment disclosed in the embodiment of the present application, as shown,
The electronic equipment includes processor, memory, communication interface, and one or more programs, wherein said one or multiple journeys
Sequence is stored in above-mentioned memory, and is configured to be executed by above-mentioned processor, and above procedure includes for executing following step
Rapid instruction:
Obtain resource to be marked;
Extract the set of keywords of the resource to be marked;
M label is generated according to the set of keywords, the M is positive integer;
The resource to be marked is marked according to the M label.
As can be seen that electronic equipment described in the embodiment of the present application, obtains resource to be marked, extracts resource to be marked
Set of keywords, generate M label according to set of keywords, M is positive integer, and M label of foundation is treated markup resources and be marked,
To which for resource to be marked, keyword extraction can be carried out to it, generates label according to the keyword extracted, and with the mark
Label are treated markup resources and are marked, and improve resource management capacity, provide convenience for user.
In a possible example, the M be greater than 1 when, it is described according to the M label to the money to be marked
Aspect is marked in source, and above procedure includes the instruction for executing following steps:
A level-one label and at least one second level label, at least one described second level are extracted from the M label
Label is subordinated to the level-one label;
The resource to be marked is marked according to the level-one label and at least one described second level label.
In a possible example, a level-one label and at least one are extracted from the M label described
In terms of second level label, above procedure includes the instruction for executing following steps:
Receive the selection instruction of input;
Described choose is chosen from the M label instructs the label chosen as the level-one label, by the M
Label in a label other than the level-one label is as second level label.
In a possible example, above procedure further includes the instruction for executing following steps:
The deletion instruction of input is received, the deletion instructs the level-one label for deleting the resource to be marked;
Delete all labels of the resource to be marked.
In a possible example, above procedure further includes the instruction for executing following steps:
The transfer instruction of input is received, the transfer instruction is used to for the second level label of the resource to be marked to be transferred to the
One marked resource;
The transfer instruction is responded, is the described first marked resource by the level-one tag modification of the resource to be marked
Level-one label.
In a possible example, above procedure further includes the instruction for executing following steps:
The modification instruction of input is received, the modification instruction is for the level-one label to the resource to be marked or at least
Target labels in one second level label are modified;
The modification instruction is responded, the label of the corresponding resource of the target labels is modified.
In a possible example, above procedure further includes the instruction for executing following steps:
The resource for receiving input merges instruction, and the resource merges instruction for the resource to be marked to be incorporated into second
Marked resource;
The label of the resource to be marked is deleted, and is labeled as the label of the described second marked resource again.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that
, in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software mould for electronic equipment
Block.Those skilled in the art should be readily appreciated that, in conjunction with each exemplary unit of embodiment description presented herein
And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with
Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution
Part.Professional technician can specifically realize described function to each using distinct methods, but this reality
Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out the division of functional unit according to above method example to electronic equipment, for example, can
With each functional unit of each function division of correspondence, two or more functions can also be integrated in a processing unit
In.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs
It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical real
It is current that there may be another division manner.
Fig. 5 A is please referred to, Fig. 5 A is a kind of structural schematic diagram of resource management apparatus disclosed in the embodiment of the present application, application
In electronic equipment shown in figure 1A, the resource management apparatus 500 includes acquiring unit 501, extraction unit 502, generation unit
503 and marking unit 504, in which:
The acquiring unit 501, for obtaining resource to be marked;
The extraction unit 502, for extracting the set of keywords of the resource to be marked;
The generation unit 503, for generating M label according to the set of keywords, the M is positive integer;
The marking unit 504, for the resource to be marked to be marked according to the M label.
As can be seen that resource management apparatus described in the embodiment of the present application, obtains resource to be marked, extract to be marked
The set of keywords of resource generates M label according to set of keywords, and M is positive integer, treats markup resources progress according to M label
Label, thus, for resource to be marked, keyword extraction can be carried out to it, according to the keyword generation label extracted, and with
The label is treated markup resources and is marked, and resource management capacity is improved, and provides convenience for user.
In a possible example, the M be greater than 1 when, it is described according to the M label to the money to be marked
Aspect is marked in source, and the marking unit 504 is specifically used for:
A level-one label and at least one second level label, at least one described second level are extracted from the M label
Label is subordinated to the level-one label;
The resource to be marked is marked according to the level-one label and at least one described second level label.
In a possible example, a level-one label and at least one are extracted from the M label described
In terms of second level label, the marking unit 504 is specifically used for:
Receive the selection instruction of input;
Described choose is chosen from the M label instructs the label chosen as the level-one label, by the M
Label in a label other than the level-one label is as second level label.
In a possible example, as shown in Figure 5 B, Fig. 5 B is the another modification of resource management apparatus shown in Fig. 5 A
Structure can also include: the first receiving unit 505 and delete unit 506 compared with Fig. 5 A, specific as follows:
First receiving unit 505, deletion instruction for receiving input, the deletion instruction are described to be marked for deleting
The level-one label of resource;
Unit 506 is deleted, for deleting all labels of the resource to be marked.
In a possible example, as shown in Figure 5 C, Fig. 5 C is the another modification of resource management apparatus shown in Fig. 5 A
Structure can also include: the second receiving unit 507 and buanch unit 508 compared with Fig. 5 A, specific as follows:
Second receiving unit 507, transfer instruction for receiving input, the transfer instruction are used for the money to be marked
The second level label in source is transferred to the first marked resource;
Buanch unit 508, for responding the transfer instruction, the level-one tag modification by the resource to be marked is described
The level-one label of first marked resource.
In a possible example, as shown in Figure 5 D, Fig. 5 D is the another modification of resource management apparatus shown in Fig. 5 A
Structure, compared with Fig. 5 A, can also include: third receiving unit 509 and modification unit 510, it is specific as follows:
Third receiving unit 509, modification instruction for receiving input, the modification instruction is for the money to be marked
Target labels in the level-one label in source or at least one second level label are modified;
Unit 510 is modified, for responding the modification instruction, the label of the corresponding resource of the target labels is repaired
Change.
In a possible example, as shown in fig. 5e, Fig. 5 E is the another modification of resource management apparatus shown in Fig. 5 A
Structure can also include: the 4th receiving unit 511 and combining unit 512 compared with Fig. 5 A, specific as follows:
4th receiving unit 511, resource for receiving input merge instruction, and the resource merging instruction is used for will be described
Resource to be marked is incorporated into the second marked resource;
Combining unit 512 for deleting the label of the resource to be marked, and is labeled as described second again
The label of markup resources.
It should be noted that electronic equipment described in the embodiment of the present application is presented in the form of functional unit.Here
Used term " unit " should be understood as meaning as widest as possible, for realizing pair of function described by each " unit "
As for example can be integrated circuit ASIC, single circuit, for executing the processor of one or more softwares or firmware program (altogether
Enjoying, dedicated or chipset) and memory, combinational logic circuit, and/or provide and realize other suitable groups of above-mentioned function
Part.
Wherein, above-mentioned acquiring unit 501, extraction unit 502, generation unit 503, marking unit 504, the first receiving unit
505, unit 506, the second receiving unit 507, buanch unit 508, third receiving unit 509, modification unit the 510, the 4th are deleted
Receiving unit 511 and combining unit 512 can be control circuit or processor.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity
The computer program of subdata exchange, it is as any in recorded in above method embodiment which execute computer
A kind of some or all of method for managing resource step.
The embodiment of the present application also provides a kind of computer program product, and the computer program product includes storing calculating
The non-transient computer readable storage medium of machine program, the computer program are operable to that computer is made to execute such as above-mentioned side
Some or all of any method for managing resource recorded in method embodiment step.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because
According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of
Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit,
It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also be realized in the form of software program module.
If the integrated unit is realized in the form of software program module and sells or use as independent product
When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or
Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products
Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment
(can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the application
Step.And memory above-mentioned includes: USB flash disk, read-only memory (read-only memory, ROM), random access memory
The various media that can store program code such as (random access memory, RAM), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory
It may include: flash disk, ROM, RAM, disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and
Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas;
At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application
There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.
Claims (10)
1. a kind of method for managing resource characterized by comprising
Obtain resource to be marked;
Extract the set of keywords of the resource to be marked;
M label is generated according to the set of keywords, the M is positive integer;
The resource to be marked is marked according to the M label.
2. the method according to claim 1, wherein the M be greater than 1 when, it is described according to the M label pair
The resource to be marked is marked, comprising:
A level-one label and at least one second level label, at least one described second level label are extracted from the M label
It is subordinated to the level-one label;
The resource to be marked is marked according to the level-one label and at least one described second level label.
3. according to the method described in claim 2, it is characterized in that, described extract a level-one mark from the M label
Label and at least one second level label, comprising:
Receive the selection instruction of input;
Described choose is chosen from the M label instructs the label chosen as the level-one label, and described M is marked
Label in label other than the level-one label is as second level label.
4. method according to claim 1-3, which is characterized in that the method also includes:
The deletion instruction of input is received, the deletion instructs the level-one label for deleting the resource to be marked;
Delete all labels of the resource to be marked.
5. method according to claim 1-3, which is characterized in that the method also includes:
The transfer instruction of input is received, the transfer instruction is used to the second level label of the resource to be marked being transferred to first
Markup resources;
The transfer instruction is responded, is the level-one of the described first marked resource by the level-one tag modification of the resource to be marked
Label.
6. method according to claim 1-3, which is characterized in that the method also includes:
Receive input modification instruction, it is described modification instruction for the resource to be marked level-one label or at least one
Target labels in second level label are modified;
The modification instruction is responded, the label of the corresponding resource of the target labels is modified.
7. method according to claim 1-3, which is characterized in that the method also includes:
The resource for receiving input merges instruction, and the resource merges instruction and marked for the resource to be marked to be incorporated into second
Remember resource;
The label of the resource to be marked is deleted, and is labeled as the label of the described second marked resource again.
8. a kind of resource management apparatus, which is characterized in that the resource management apparatus includes: acquiring unit, extraction unit, generation
Unit and marking unit, wherein
The acquiring unit, for obtaining resource to be marked;
The extraction unit, for extracting the set of keywords of the resource to be marked;
The generation unit, for generating M label according to the set of keywords, the M is positive integer;
The marking unit, for the resource to be marked to be marked according to the M label.
9. a kind of electronic equipment, which is characterized in that including processor, memory, communication interface, and one or more programs,
One or more of programs are stored in the memory, and are configured to be executed by the processor, described program packet
Include the instruction for executing the step in the method according to claim 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that storage is used for the computer program of electronic data interchange,
In, the computer program makes computer execute the method according to claim 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810791758.XA CN109144561A (en) | 2018-07-18 | 2018-07-18 | Method for managing resource and Related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810791758.XA CN109144561A (en) | 2018-07-18 | 2018-07-18 | Method for managing resource and Related product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109144561A true CN109144561A (en) | 2019-01-04 |
Family
ID=64800768
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810791758.XA Pending CN109144561A (en) | 2018-07-18 | 2018-07-18 | Method for managing resource and Related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109144561A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024179373A1 (en) * | 2023-02-27 | 2024-09-06 | 北京字跳网络技术有限公司 | Resource retrieval method and apparatus, label generation method and apparatus, and device and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024786A (en) * | 2012-11-26 | 2013-04-03 | 大唐移动通信设备有限公司 | Resource management method and system |
CN108121752A (en) * | 2016-11-30 | 2018-06-05 | 北京国双科技有限公司 | A kind of processing method and processing device of keyword material |
-
2018
- 2018-07-18 CN CN201810791758.XA patent/CN109144561A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024786A (en) * | 2012-11-26 | 2013-04-03 | 大唐移动通信设备有限公司 | Resource management method and system |
CN108121752A (en) * | 2016-11-30 | 2018-06-05 | 北京国双科技有限公司 | A kind of processing method and processing device of keyword material |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024179373A1 (en) * | 2023-02-27 | 2024-09-06 | 北京字跳网络技术有限公司 | Resource retrieval method and apparatus, label generation method and apparatus, and device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108364644A (en) | A kind of voice interactive method, terminal and computer-readable medium | |
US8893054B2 (en) | Devices, systems, and methods for conveying gesture commands | |
CN107734616A (en) | Closing application program method, apparatus, storage medium and electronic equipment | |
CN107924288A (en) | Electronic equipment and its method for carrying out perform function using speech recognition | |
CN108984095A (en) | gesture interaction method, device, storage medium and electronic equipment | |
CN107809542A (en) | application control method, device, storage medium and electronic equipment | |
CN108549519A (en) | split screen processing method, device, storage medium and electronic equipment | |
CN103713804B (en) | Apparatus control method, device and electronic equipment | |
CN113939814A (en) | Content push method and related product | |
CN103702297A (en) | Short message enhancement method, device and system | |
CN109284261A (en) | Using lookup method, device, storage medium and electronic equipment | |
CN108762835A (en) | Application operation method, apparatus, storage medium and electronic device | |
CN109062464A (en) | touch operation method, device, storage medium and electronic equipment | |
CN106527949A (en) | Fingerprint unlocking method and device and terminal | |
CN108932093A (en) | Split screen application switching method, device, storage medium and electronic equipment | |
CN106022071A (en) | Fingerprint unlocking method and terminal | |
CN109062468A (en) | Multi-screen display method, device, storage medium and electronic equipment | |
CN108769234A (en) | Using method for down loading, device, storage medium and electronic equipment | |
CN107291327A (en) | Application control method and related product | |
CN106569815A (en) | Message display method and terminal | |
CN110837404A (en) | Shortcut operation processing method and device for internal function module and storage medium | |
CN108667588A (en) | Carrier wave aggregation configuration method, relevant device and storage medium | |
CN108536388A (en) | split screen processing method, device, storage medium and electronic equipment | |
CN103634461A (en) | Mobile terminal and control method thereof | |
CN108052356A (en) | A kind of method and terminal device for starting calculator |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190104 |