CN110321252A - A kind of method and apparatus of craft services scheduling of resource - Google Patents
A kind of method and apparatus of craft services scheduling of resource Download PDFInfo
- Publication number
- CN110321252A CN110321252A CN201910588581.8A CN201910588581A CN110321252A CN 110321252 A CN110321252 A CN 110321252A CN 201910588581 A CN201910588581 A CN 201910588581A CN 110321252 A CN110321252 A CN 110321252A
- Authority
- CN
- China
- Prior art keywords
- resource
- node
- scheduling
- target
- target area
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1479—Generic software techniques for error detection or fault masking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of method and apparatus of craft services scheduling of resource, are related to field of computer technology.One specific embodiment of this method includes: the domain-name information instructed according to the scheduling of resource of parsing, and target area resource node is determined from multiple regions resource node;Judge that the scheduling of resource whether is stored in the target area resource node instructs corresponding target craft services resource;If it is, obtaining the target craft services resource in the target area resource node;Otherwise, scheduling of resource instruction is sent to center resources node, and obtains the target craft services resource in the center resources node;Wherein, the data stored in the center resources node are the set of storing data in the multiple region resource node.This method can be realized the efficient access of scheduling of resource, and have very strong redundancy ability, reduce the waste of resource.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of method and apparatus of craft services scheduling of resource.
Background technique
Storage for craft services resource is usually that all resources are stored in the storage system of oneself at present,
And the operations such as all scheduling of resource need to access the system.For example, existing many for intelligent sound platform in the market
Craft services resource, most of companies are that the craft services resource is stored in in-company storage system or private clound,
When IOT equipment accesses technical ability (needing to dispatch associative skills Service Source), the same resource system can be dispatched.Its exist with
Lower problem: what it is due to all scheduling access is a resource system, so in the case where a large amount of access, system pressure mistake
Greatly, can not only there is a problem of that access efficiency is lower, but also if the resource system breaks down, will affect all access.
Alternatively, some companies can safeguard multiple resource systems, it is ensured that it is standby to may be implemented calamity when individual system failure, but more
What a resource system saved is identical resource data, there are the problem of include: the waste that will cause synchronizing relay and resource.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method and apparatus of craft services scheduling of resource, money can be realized
The efficient access of source scheduling, and there is very strong redundancy ability, reduce the waste of resource.
To achieve the above object, according to an aspect of an embodiment of the present invention, a kind of craft services scheduling of resource is provided
Method.
The method of the craft services scheduling of resource of the embodiment of the present invention includes: the domain name instructed according to the scheduling of resource of parsing
Information determines target area resource node from multiple regions resource node;Judge be in the target area resource node
It is no to be stored with the corresponding target craft services resource of the scheduling of resource instruction;If it is, in the target area resource section
The target craft services resource is obtained in point;Otherwise, scheduling of resource instruction is sent to center resources node, and in institute
It states center resources node and obtains the target craft services resource;Wherein, the data stored in the center resources node, for institute
State the set of storing data in multiple regions resource node.
Optionally, judge that the scheduling of resource whether is stored in the target area resource node instructs corresponding target
The step of craft services resource, comprises determining that in the target area resource node, is stored with the scheduling of resource instruction and corresponds to
Target technical ability identification hit resource;The target technical ability identification hit resource is obtained in the target area resource node;
Hit resource is identified according to the target technical ability, judges whether be stored with the scheduling of resource in the target area resource node
Instruct corresponding target craft services resource.
Optionally, it whether is stored with the scheduling of resource in judging the target area resource node and instructs corresponding mesh
Before mark craft services resource, further includes: count the history scheduling data of the target area resource node;According to the history
Data are dispatched in the center resources node, obtain region technical ability identification hit resource or region craft services resource;It will be described
Region technical ability identification hit resource or region craft services resource, store to the target area resource node.
Optionally, scheduling of resource instruction is being sent to center resources node, and is being obtained in the center resources node
After taking the target craft services resource, further includes: the target craft services resource that will acquire is stored to the target
Region resource node.
Optionally, it in the domain-name information instructed according to the scheduling of resource of parsing, is determined from multiple regions resource node
Before the resource node of target area, further includes: receive user and instructed by the scheduling of resource that voice platform is sent;Wherein, described
Scheduling of resource instruction is voice data.
To achieve the above object, other side according to an embodiment of the present invention provides a kind of craft services resource tune
The device of degree.
The device of the craft services scheduling of resource of the embodiment of the present invention includes:
Determine target area resource node module, the domain-name information for instructing according to the scheduling of resource of parsing, from multiple
Target area resource node is determined in region resource node;
Judgment module, for judging that whether being stored with the scheduling of resource instruction in the target area resource node corresponds to
Target craft services resource;
Source obtaining module, for obtaining the target craft services resource in the target area resource node;With
And scheduling of resource instruction is sent to center resources node, and obtain the target technical ability in the center resources node
Service Source;
Wherein, the data stored in the center resources node are storing data in the multiple region resource node
Set.
Optionally, the judgment module is also used to, and is determined in the target area resource node, and the resource tune is stored with
Degree instructs corresponding target technical ability identification hit resource;The target technical ability identification is obtained in the target area resource node
Hit resource;Hit resource is identified according to the target technical ability, judges whether store in the target area resource node
It states scheduling of resource and instructs corresponding target craft services resource.
Optionally, the device of the craft services scheduling of resource of the embodiment of the present invention further includes resource synchronization module, for uniting
Count the history scheduling data of the target area resource node;Data are dispatched in the center resources node according to the history,
Obtain region technical ability identification hit resource or region craft services resource;The region technical ability is identified into hit resource or region skill
Energy Service Source, stores to the target area resource node.
Optionally, the device of the craft services scheduling of resource of the embodiment of the present invention further includes that region resource node resource updates
Module, the target craft services resource for will acquire are stored to the target area resource node.
Optionally, the device of the craft services scheduling of resource of the embodiment of the present invention further includes command reception module, for connecing
User is received to instruct by the scheduling of resource that voice platform is sent;Wherein, the scheduling of resource instruction is voice data.
To achieve the above object, another aspect according to an embodiment of the present invention, provides a kind of electronic equipment.
The electronic equipment of the embodiment of the present invention includes: one or more processors;Storage device, for storing one or more
A program, when one or more of programs are executed by one or more of processors, so that one or more of processing
The method that device realizes the craft services scheduling of resource of any of the above-described.
To achieve the above object, another aspect according to an embodiment of the present invention provides a kind of computer-readable medium,
It is stored thereon with computer program, which is characterized in that the technical ability clothes of any of the above-described are realized when described program is executed by processor
The method for scheduling of resource of being engaged in.
One embodiment in foregoing invention has the following advantages that or the utility model has the advantages that due to being stored in center resources node
The relevant all resource datas of business are stored with part resource data in each region resource node.It does not need in each node
The resource data for all storing full dose, reduces the waste of resource.And different zones resource node can be according to the hot spot of one's respective area
Access storage corresponding resource data, the resource data can be craft services resource, can also be technical ability identification hit resource.At some
In the case that region resource node sends failure, corresponding resource data can be got in center resources node.And
Receive scheduling of resource instruction after, first according to the domain-name information of dispatch command, judge in region resource node with the presence or absence of pair
The craft services resource answered.If it is present directly getting corresponding craft services resource in the region resource node, in turn
The nearest acquisition for ensuring craft services resource, improves access efficiency.Otherwise, then corresponding skill is obtained in center resources node
It can Service Source.
Further effect possessed by above-mentioned non-usual optional way adds hereinafter in conjunction with specific embodiment
With explanation.
Detailed description of the invention
Attached drawing for a better understanding of the present invention, does not constitute an undue limitation on the present invention.Wherein:
Fig. 1 is the schematic diagram of the main flow of the method for according to embodiments of the present invention one craft services scheduling of resource;
Fig. 2 is that the method for according to embodiments of the present invention one craft services scheduling of resource realizes the schematic diagram of system;
Fig. 3 is the schematic diagram of the method for according to embodiments of the present invention two craft services scheduling of resource;
Fig. 4 is the schematic diagram of the method for according to embodiments of the present invention three craft services scheduling of resource;
Fig. 5 is the schematic diagram of the main modular of the device of according to embodiments of the present invention four craft services scheduling of resource;
Fig. 6 is that the embodiment of the present invention can be applied to exemplary system architecture figure therein;
Fig. 7 is adapted for the structural representation of the computer system for the terminal device or server of realizing the embodiment of the present invention
Figure.
Specific embodiment
Below in conjunction with attached drawing, an exemplary embodiment of the present invention will be described, including the various of the embodiment of the present invention
Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize
It arrives, it can be with various changes and modifications are made to the embodiments described herein, without departing from scope and spirit of the present invention.Together
Sample, for clarity and conciseness, descriptions of well-known functions and structures are omitted from the following description.
Fig. 1 is the schematic diagram of the main flow of the method for according to embodiments of the present invention one craft services scheduling of resource;Fig. 2
It is that the method for according to embodiments of the present invention one craft services scheduling of resource realizes the schematic diagram of system.
As shown in Figure 1, the method for the determination craft services scheduling of resource of the embodiment of the present invention specifically includes that
Step S101: the domain-name information instructed according to the scheduling of resource of parsing is determined from multiple regions resource node
Target area resource node.As shown in Fig. 2, being wrapped in the method realization system of the craft services scheduling of resource of the embodiment of the present invention one
Include a center resources node and at least one region resource node.Wherein, to be stored with business in center resources node relevant
All craft services resources, and each region resource node is only stored with part craft services resource.User can be directly in region
Required resource is dispatched on resource node or center resources node.If not being dispatched to resource in region resource node,
Then dispatch command can be forwarded to center resources node by the region resource node, be deployed into accordingly by the center resources node
Resource.The data stored in center resources node are the set of storing data in multiple regions resource node.
And craft services resource refers to that some technical ability (such as weather lookup technical ability or online shopping commodity skill may be implemented
Can be equal) data resource.
Step S102: judge that scheduling of resource whether is stored in the resource node of target area instructs corresponding target technical ability clothes
Business resource.If so, thening follow the steps S103;Otherwise, step S104 is executed.
Optionally, it whether is stored with scheduling of resource in judging target area resource node and instructs corresponding target technical ability clothes
Before resource of being engaged in, the history of statistics target area resource node dispatches data.History scheduling data include the history of one's respective area
Scheduling of resource instruction, dispatching data by the history can determine that the hot spot of one's respective area accesses data.Then, number is dispatched according to history
According in center resources node, region technical ability identification hit resource or region craft services resource are obtained.Region technical ability is identified and is ordered
Middle resource or region craft services resource, store to target area resource node.In turn, the flowing of access according to region is realized
All kinds of resource datas of technical ability are distributed in the storage cloud of different zones, a center resources node multizone resource node is formed
Resource dissemination network.The hot spot data of different zones resource node is buffered in the cloud storage of different zones, it is ensured that technical ability
Hit nearby and scheduling.When region resource node can not identify hit, center resources node is forwarded requests to, it is complete by storing
The center resources node of amount resource is serviced.
Step S103: target craft services resource is obtained in the resource node of target area.
Step S104: scheduling of resource instruction is sent to center resources node, and obtains target skill in center resources node
It can Service Source.
For the embodiment of the present invention, due to being stored with the relevant all resource datas of business in center resources node, each
Part resource data are stored in region resource node.The resource data for storing full dose in each node is not needed, is reduced
The waste of resource.And different zones resource node can access storage corresponding resource data, the resource according to the hot spot of one's respective area
Data can be craft services resource, can also be technical ability identification hit resource.The case where some region resource node sends failure
Under, corresponding resource data can be got in center resources node.
And after receiving scheduling of resource instruction, first according to the domain-name information of dispatch command, judge region resource section
It whether there is corresponding craft services resource in point.If it is present directly getting corresponding skill in the region resource node
Energy Service Source, and then ensure the nearest acquisition of craft services resource, improve access efficiency.Otherwise, then in center resources
Node obtains corresponding craft services resource.
Fig. 3 is the schematic diagram of the method for according to embodiments of the present invention two craft services scheduling of resource, as shown in figure 3, this
The method of the craft services scheduling of resource of inventive embodiments two includes:
Step S301: the domain-name information instructed according to the scheduling of resource of parsing is determined from multiple regions resource node
Target area resource node.
Step S302: judge in the resource node of target area, if be stored with scheduling of resource and instruct corresponding target technical ability
Identification hit resource.If so, thening follow the steps S303;Otherwise, step S306 is executed.
During realization, multiple technical ability can be generally added in a product, such as product P has broadcasting music, inquiry
Weather, the functions such as tell a story then are added in product P and multiple technical ability such as play music, inquiry weather, tell a story.For production
Multiple technical ability in product P have a hit resource, may include multiple technical ability identification hit resources in the hit resource.Cause
This using the product send voice data arrive speech-recognition services when, receive scheduling of resource instruction after, determine correspond to technical ability
The resource data of identification hit resource and craft services resource.Wherein, including in product identification, product in scheduling of resource instruction
Technical ability signature identification.
For example, having sent voice data (scheduling of resource instruction) to product P, dispatched after receiving scheduling of resource instruction
Layer parses its characteristic information, and this feature information can be User ID, can be closed by the mapping of pre-set User ID and resource
System determines the Area Node position for being stored with the place that scheduling of resource instructs corresponding target technical ability identification hit resource, and
The speech-recognition services that voice data turns to the Area Node are done into speech recognition.If not finding matched area after extracting feature
Domain node can then forward the request to central node.And dispatch layer can further choose suitable region resource node, it will
The resource data that central node is determined is pushed to the region resource node, and updates the feature database of dispatch layer.
After above-mentioned steps complete technical ability identification resource hit, the available text identified to voice data of dispatch layer
Word information.Due to being added to multiple technical ability in a product, thus identify that text results needs carried out in multiple technical ability
Semanteme parsing, in order to mitigate the pressure of central node, dispatch layer is by technical ability according to certain mode (such as technical ability ID mark, skill
Can classify) different nodes has been divided, it can be only done the parsing of certain skills in corresponding node.It is false by taking the said goods P as an example
If recognition result is " inquiry X zone weather forecast " after technical ability identifies resource hit, dispatch layer can be according to the spy of technical ability in product
Sign, makes requests to node A, B, C where three music, weather, story technical ability do semantic parsing respectively.The language of each technical ability
The process of justice parsing needs to rely on the Service Source of technical ability.Which after being parsed, go to complete that technical ability hit by dispatch layer
Decision.
If the technical ability added in fruit product does not find matched region resource node after feature extraction comes out, then dispatch layer
It, will after request be gone to center resources node and carry out semantic parsing by meeting, while dispatch layer can choose suitable region resource node
Resource shifts region resource node onto and updates the feature database of dispatch layer.
Step S303: target technical ability identification hit resource is obtained in the resource node of target area.
Step S304: hit resource is identified according to target technical ability, judges whether be stored with money in the resource node of target area
The corresponding target craft services resource of source dispatch command.If so, thening follow the steps S305;Otherwise, step S306 is executed.First
Identify that hit resource determines that scheduling of resource instructs corresponding target technical ability by target technical ability, then according to the target technical ability
Feature judges that scheduling of resource whether is stored in the resource node of target area instructs corresponding target craft services resource.
Since technical ability identifies that hit resource is relatively small, multinode technical ability identification hit resource network, center can be established
Resource node stores all technical ability identification hit resources, and region resource node is from the corresponding skill of center resource node Timing Synchronization
It can identification hit resource data.When resource scheduling request is when region resource node can not identify hit (in region resource node
It is not stored with scheduling of resource and instructs corresponding technical ability identification hit resource), it forwards requests to center resources node and is known
The case where not hitting, avoiding technical ability that from can not identifying hit.
And identify that hit resource network establishes craft services resource storage cloud, different zones resource node according to technical ability
Store the craft services resource that amount of access is larger in the region or zonal relevancy is strong.Wherein, in creation technical ability and progress
During skill training, according to the temperature of the type of technical ability and similar technical ability, resource and craft services are hit into the identification of technical ability
Source synchronous is aggregated into center resources node into corresponding region resource node.It is established between region and central node
Network special line, and establish region system synchronous with the data of central node, the synchronous efficiency of the quickening resource of maximum possible.
Step S305: target craft services resource is obtained in the resource node of target area.
Step S306: scheduling of resource instruction is sent to center resources node, and obtains target skill in center resources node
It can Service Source.
Fig. 4 is the schematic diagram of the method for according to embodiments of the present invention three craft services scheduling of resource;As shown in figure 4, this
The method of the craft services scheduling of resource of inventive embodiments three includes:
Step S401: receiving the scheduling of resource instruction that user is sent by voice platform, and to scheduling of resource instruct into
Row parsing, to obtain the domain-name information of scheduling of resource instruction.Wherein, scheduling of resource instruction is voice data.Getting this
After language data, it can be handled, to obtain its text data.
Step S402: the domain-name information instructed according to the scheduling of resource of parsing is determined from multiple regions resource node
Target area resource node.
Step S403: judge that scheduling of resource whether is stored in the resource node of target area instructs corresponding target technical ability clothes
Business resource.If so, thening follow the steps S404;Otherwise, step S405 is executed.
Step S404: target craft services resource is obtained in the resource node of target area.
Step S405: scheduling of resource instruction is sent to center resources node, and obtains target skill in center resources node
It can Service Source.
Step S406: the target craft services resource that will acquire is stored to target area resource node.By the target technical ability
Service Source is stored to the purpose of target area resource node, is to guarantee that there are the scheduling target craft services in next time again in the region
In the case where resource, can directly it be obtained on the target area resource node, it is not necessary to obtain, provide into center resources node again
The high efficiency of access.
Fig. 5 is the schematic diagram of the main modular of the device of four craft services scheduling of resource according to embodiments of the present invention, such as Fig. 5
It is shown, the device 500 of the craft services scheduling of resource of the embodiment of the present invention include determine target area resource node module 501,
Judgment module 502 and source obtaining module 503.
Determine that target area resource node module 501 is used for, according to the domain-name information that the scheduling of resource of parsing instructs, from more
Target area resource node is determined in a region resource node.
Judgment module 502 is used for, and judges that scheduling of resource whether is stored in the resource node of target area instructs corresponding mesh
Mark craft services resource.Judgment module is also used to, and is determined in the resource node of target area, and it is corresponding to be stored with scheduling of resource instruction
Target technical ability identification hit resource.And target technical ability identification hit resource is obtained in the resource node of target area;According to mesh
Technical ability identification hit resource is marked, judges that whether being stored with scheduling of resource in the resource node of target area instructs corresponding target technical ability
Service Source.
Source obtaining module 503 is used for, and judges to be stored with scheduling of resource in the resource node of target area in judgment module
When instructing corresponding target craft services resource, target craft services resource is obtained in the resource node of target area.And
Judgment module judges that scheduling of resource is not stored in the resource node of target area instructs corresponding target craft services resource
When, scheduling of resource instruction is sent to center resources node, and obtain target craft services resource in center resources node.Its
In, the data stored in center resources node are the set of storing data in multiple regions resource node.
The device of the craft services scheduling of resource of the embodiment of the present invention further includes resource synchronization module, in judgment module 502
Before judging that whether being stored with scheduling of resource in the resource node of target area instructs corresponding target craft services resource, resource is same
Step module is used to count the history scheduling data of target area resource node, and, data are dispatched in center resources according to history
Node obtains region technical ability identification hit resource or region craft services resource.Also, by region technical ability identify hit resource or
Region craft services resource is stored to target area resource node.
The device of the craft services scheduling of resource of the embodiment of the present invention further includes region resource node resource update module,
For source obtaining module 503 after center resources node obtains target craft services resource, region resource node resource updates mould
The target craft services resource that block is used to will acquire is stored to target area resource node.
The device of the craft services scheduling of resource of the embodiment of the present invention further includes command reception module, is determining target area
The domain-name information that resource node module 501 is instructed according to the scheduling of resource of parsing, determines mesh from multiple regions resource node
Before marking region resource node, command reception module is used to receive user and is instructed by the scheduling of resource that voice platform is sent.Its
In, scheduling of resource instruction is voice data.
For the embodiment of the present invention, due to being stored with the relevant all resource datas of business in center resources node, each
Part resource data are stored in region resource node.The resource data for storing full dose in each node is not needed, is reduced
The waste of resource.And different zones resource node can access storage corresponding resource data, the resource according to the hot spot of one's respective area
Data can be craft services resource, can also be technical ability identification hit resource.The case where some region resource node sends failure
Under, corresponding resource data can be got in center resources node.
And after receiving scheduling of resource instruction, first according to the domain-name information of dispatch command, judge region resource section
It whether there is corresponding craft services resource in point.If it is present directly getting corresponding skill in the region resource node
Energy Service Source, and then ensure the nearest acquisition of craft services resource, improve access efficiency.Otherwise, then in center resources
Node obtains corresponding craft services resource.
Fig. 6 is shown can be using the method or craft services resource tune of the craft services scheduling of resource of the embodiment of the present invention
The exemplary system architecture 600 of the device of degree.
As shown in fig. 6, system architecture 600 may include terminal device 601,602,603, network 604 and server 605.
Network 604 between terminal device 601,602,603 and server 605 to provide the medium of communication link.Network 604 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 601,602,603 and be interacted by network 604 with server 605, to receive or send out
Send message etc..Various telecommunication customer end applications, such as the application of shopping class, net can be installed on terminal device 601,602,603
(merely illustrative) such as the application of page browsing device, searching class application, instant messaging tools, mailbox client, social platform softwares.
Terminal device 601,602,603 can be the various electronic equipments with display screen and supported web page browsing, packet
Include but be not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 605 can be to provide the server of various services, such as utilize terminal device 601,602,603 to user
The shopping class website browsed provides the back-stage management server (merely illustrative) supported.Back-stage management server can be to reception
To the data such as information query request carry out the processing such as analyzing, and processing result is fed back into terminal device.
It should be noted that the method for craft services scheduling of resource is generally by server provided by the embodiment of the present invention
605 execute, and correspondingly, the device of craft services scheduling of resource is generally positioned in server 605.
It should be understood that the number of terminal device, network and server in Fig. 6 is only schematical.According to realization need
It wants, can have any number of terminal device, network and server.
Below with reference to Fig. 7, it illustrates the computer systems 700 for the terminal device for being suitable for being used to realize the embodiment of the present invention
Structural schematic diagram.Terminal device shown in Fig. 7 is only an example, function to the embodiment of the present invention and should not use model
Shroud carrys out any restrictions.
As shown in fig. 7, computer system 700 includes central processing unit (CPU) 701, it can be read-only according to being stored in
Program in memory (ROM) 702 or be loaded into the program in random access storage device (RAM) 703 from storage section 708 and
Execute various movements appropriate and processing.In RAM 703, also it is stored with system 700 and operates required various programs and data.
CPU 701, ROM 702 and RAM 703 are connected with each other by bus 704.Input/output (I/O) interface 705 is also connected to always
Line 704.
I/O interface 705 is connected to lower component: the importation 706 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 707 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 708 including hard disk etc.;
And the communications portion 709 of the network interface card including LAN card, modem etc..Communications portion 709 via such as because
The network of spy's net executes communication process.Driver 710 is also connected to I/O interface 705 as needed.Detachable media 711, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 710, in order to read from thereon
Computer program be mounted into storage section 708 as needed.
Particularly, disclosed embodiment, the process described above with reference to flow chart may be implemented as counting according to the present invention
Calculation machine software program.For example, embodiment disclosed by the invention includes a kind of computer program product comprising be carried on computer
Computer program on readable medium, the computer program include the program code for method shown in execution flow chart.?
In such embodiment, which can be downloaded and installed from network by communications portion 709, and/or from can
Medium 711 is dismantled to be mounted.When the computer program is executed by central processing unit (CPU) 701, system of the invention is executed
The above-mentioned function of middle restriction.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the present invention, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In invention, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned
Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule
The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
Being described in module involved in the embodiment of the present invention can be realized by way of software, can also be by hard
The mode of part is realized.Described module also can be set in the processor, for example, can be described as: a kind of processor packet
Include determining target area resource node module, judgment module and source obtaining module.Wherein, the title of these modules is in certain feelings
The restriction to the module itself is not constituted under condition, for example, determining that resource node module in target area is also described as " root
According to the domain-name information that the scheduling of resource of parsing instructs, the mould of target area resource node is determined from multiple regions resource node
Block ".
As on the other hand, the present invention also provides a kind of computer-readable medium, which be can be
Included in equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying equipment.Above-mentioned calculating
Machine readable medium carries one or more program, when said one or multiple programs are executed by the equipment, makes
Obtaining the equipment includes: the domain-name information instructed according to the scheduling of resource of parsing, determines target from multiple regions resource node
Region resource node;Judge that scheduling of resource whether is stored in the resource node of target area instructs corresponding target craft services money
Source;If it is, obtaining target craft services resource in the resource node of target area;Otherwise, scheduling of resource is instructed and is sent
Target craft services resource is obtained to center resources node, and in center resources node;Wherein, it is stored in center resources node
Data are the set of storing data in multiple regions resource node.
For the embodiment of the present invention, due to being stored with the relevant all resource datas of business in center resources node, each
Part resource data are stored in region resource node.The resource data for storing full dose in each node is not needed, is reduced
The waste of resource.And different zones resource node can access storage corresponding resource data, the resource according to the hot spot of one's respective area
Data can be craft services resource, can also be technical ability identification hit resource.The case where some region resource node sends failure
Under, corresponding resource data can be got in center resources node.
And after receiving scheduling of resource instruction, first according to the domain-name information of dispatch command, judge region resource section
It whether there is corresponding craft services resource in point.If it is present directly getting corresponding skill in the region resource node
Energy Service Source, and then ensure the nearest acquisition of craft services resource, improve access efficiency.Otherwise, then in center resources
Node obtains corresponding craft services resource.
Above-mentioned specific embodiment, does not constitute a limitation on the scope of protection of the present invention.Those skilled in the art should be bright
It is white, design requirement and other factors are depended on, various modifications, combination, sub-portfolio and substitution can occur.It is any
Made modifications, equivalent substitutions and improvements etc. within the spirit and principles in the present invention, should be included in the scope of the present invention
Within.
Claims (12)
1. a kind of method of craft services scheduling of resource characterized by comprising
According to the domain-name information that the scheduling of resource of parsing instructs, target area resource section is determined from multiple regions resource node
Point;
Judge that the scheduling of resource whether is stored in the target area resource node instructs corresponding target craft services money
Source;
If it is, obtaining the target craft services resource in the target area resource node;Otherwise, by the resource
Dispatch command is sent to center resources node, and obtains the target craft services resource in the center resources node;
Wherein, the data stored in the center resources node are the set of storing data in the multiple region resource node.
2. the method according to claim 1, wherein judging whether be stored in the target area resource node
The scheduling of resource instructs the step of corresponding target craft services resource to include:
It determines in the target area resource node, is stored with the scheduling of resource and instructs corresponding target technical ability identification hit money
Source;
The target technical ability identification hit resource is obtained in the target area resource node;
Hit resource is identified according to the target technical ability, judges whether be stored with the resource in the target area resource node
The corresponding target craft services resource of dispatch command.
3. according to the method described in claim 2, it is characterized in that, whether being stored in judging the target area resource node
Before thering is the scheduling of resource to instruct corresponding target craft services resource, further includes:
Count the history scheduling data of the target area resource node;
Data are dispatched in the center resources node according to the history, obtain region technical ability identification hit resource or region technical ability
Service Source;
The region technical ability is identified into hit resource or region craft services resource, is stored to the target area resource node.
4. the method according to claim 1, wherein scheduling of resource instruction is sent to center resources section
Point, and after the center resources node obtains the target craft services resource, further includes:
The target craft services resource that will acquire is stored to the target area resource node.
5. the method according to claim 1, wherein in the domain-name information instructed according to the scheduling of resource of parsing,
Before determining target area resource node in multiple regions resource node, further includes:
User is received to instruct by the scheduling of resource that voice platform is sent;Wherein, the scheduling of resource instruction is voice data.
6. a kind of device of craft services scheduling of resource characterized by comprising
Determine target area resource node module, the domain-name information for instructing according to the scheduling of resource of parsing, from multiple regions
Target area resource node is determined in resource node;
Judgment module, for judging that whether being stored with the scheduling of resource in the target area resource node instructs corresponding mesh
Mark craft services resource;
Source obtaining module, for obtaining the target craft services resource in the target area resource node;And it will
The scheduling of resource instruction is sent to center resources node, and obtains the target craft services money in the center resources node
Source;
Wherein, the data stored in the center resources node are the set of storing data in the multiple region resource node.
7. device according to claim 6, which is characterized in that the judgment module is also used to, and determines the target area
In resource node, it is stored with the scheduling of resource and instructs corresponding target technical ability identification hit resource;It is provided in the target area
The target technical ability identification hit resource is obtained in source node;Hit resource is identified according to the target technical ability, judges the mesh
The scheduling of resource, which whether is stored with, in mark region resource node instructs corresponding target craft services resource.
8. device according to claim 7, which is characterized in that further include resource synchronization module, for counting the target
The history of region resource node dispatches data;Data are dispatched in the center resources node according to the history, obtain region skill
It can identification hit resource or region craft services resource;The region technical ability is identified into hit resource or region craft services money
Source is stored to the target area resource node.
9. device according to claim 6, which is characterized in that further include region resource node resource update module, be used for
The target craft services resource that will acquire is stored to the target area resource node.
10. device according to claim 6, which is characterized in that further include command reception module, pass through for receiving user
The scheduling of resource instruction that voice platform is sent;Wherein, the scheduling of resource instruction is voice data.
11. a kind of electronic equipment characterized by comprising
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as method as claimed in any one of claims 1 to 5.
12. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is held by processor
Such as method as claimed in any one of claims 1 to 5 is realized when row.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910588581.8A CN110321252B (en) | 2019-07-02 | 2019-07-02 | Skill service resource scheduling method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910588581.8A CN110321252B (en) | 2019-07-02 | 2019-07-02 | Skill service resource scheduling method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110321252A true CN110321252A (en) | 2019-10-11 |
CN110321252B CN110321252B (en) | 2022-02-08 |
Family
ID=68122293
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910588581.8A Active CN110321252B (en) | 2019-07-02 | 2019-07-02 | Skill service resource scheduling method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110321252B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113179308A (en) * | 2021-04-23 | 2021-07-27 | 上海商汤智能科技有限公司 | Service request processing method and device, electronic equipment and storage medium |
CN113642924A (en) * | 2021-08-30 | 2021-11-12 | 北京沃东天骏信息技术有限公司 | Service resource matching method and device |
CN115174364A (en) * | 2022-06-30 | 2022-10-11 | 济南浪潮数据技术有限公司 | Data recovery method, device and medium in disaster tolerance scene |
CN116708455A (en) * | 2023-02-03 | 2023-09-05 | 天翼云科技有限公司 | Resource acquisition method and device, readable storage medium and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102801792A (en) * | 2012-07-26 | 2012-11-28 | 华南理工大学 | Statistical-prediction-based automatic cloud CDN (Content Delivery Network) resource automatic deployment method |
US20140112164A1 (en) * | 2012-10-19 | 2014-04-24 | Telefonaktiebolaget L M Ericsson (Publ) | Method, apparatus, and system for interference and noise estimation |
US20170235601A1 (en) * | 2015-07-13 | 2017-08-17 | Palo Alto Research Center Incorporated | Dynamically adaptive, resource aware system and method for scheduling |
CN108243215A (en) * | 2016-12-26 | 2018-07-03 | 中兴通讯股份有限公司 | The dispatching method and dispatching device of content delivery network service device |
CN108737500A (en) * | 2018-04-20 | 2018-11-02 | 青岛海尔科技有限公司 | Target resource acquisition, providing method, device, storage medium and computer equipment |
-
2019
- 2019-07-02 CN CN201910588581.8A patent/CN110321252B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102801792A (en) * | 2012-07-26 | 2012-11-28 | 华南理工大学 | Statistical-prediction-based automatic cloud CDN (Content Delivery Network) resource automatic deployment method |
US20140112164A1 (en) * | 2012-10-19 | 2014-04-24 | Telefonaktiebolaget L M Ericsson (Publ) | Method, apparatus, and system for interference and noise estimation |
US20170235601A1 (en) * | 2015-07-13 | 2017-08-17 | Palo Alto Research Center Incorporated | Dynamically adaptive, resource aware system and method for scheduling |
CN108243215A (en) * | 2016-12-26 | 2018-07-03 | 中兴通讯股份有限公司 | The dispatching method and dispatching device of content delivery network service device |
CN108737500A (en) * | 2018-04-20 | 2018-11-02 | 青岛海尔科技有限公司 | Target resource acquisition, providing method, device, storage medium and computer equipment |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113179308A (en) * | 2021-04-23 | 2021-07-27 | 上海商汤智能科技有限公司 | Service request processing method and device, electronic equipment and storage medium |
CN113179308B (en) * | 2021-04-23 | 2023-04-07 | 上海商汤智能科技有限公司 | Service request processing method and device, electronic equipment and storage medium |
CN113642924A (en) * | 2021-08-30 | 2021-11-12 | 北京沃东天骏信息技术有限公司 | Service resource matching method and device |
CN115174364A (en) * | 2022-06-30 | 2022-10-11 | 济南浪潮数据技术有限公司 | Data recovery method, device and medium in disaster tolerance scene |
CN116708455A (en) * | 2023-02-03 | 2023-09-05 | 天翼云科技有限公司 | Resource acquisition method and device, readable storage medium and electronic equipment |
CN116708455B (en) * | 2023-02-03 | 2024-01-05 | 天翼云科技有限公司 | Resource acquisition method and device, readable storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110321252B (en) | 2022-02-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110019211A (en) | The methods, devices and systems of association index | |
CN110083660A (en) | A kind of method, apparatus of synchrodata, medium and electronic equipment | |
CN110321252A (en) | A kind of method and apparatus of craft services scheduling of resource | |
US10558655B2 (en) | Data query method supporting natural language, open platform, and user terminal | |
CN109325213A (en) | Method and apparatus for labeled data | |
CN108897854A (en) | A kind of monitoring method and device of overtime task | |
CN110348771A (en) | The method and apparatus that a kind of pair of order carries out group list | |
CN110209677A (en) | The method and apparatus of more new data | |
CN108776692A (en) | Method and apparatus for handling information | |
CN109684624A (en) | A kind of method and apparatus in automatic identification Order Address road area | |
CN110427304A (en) | O&M method, apparatus, electronic equipment and medium for banking system | |
CN110019539A (en) | A kind of method and apparatus that the data of data warehouse are synchronous | |
CN110046178A (en) | The method and apparatus of distributed data inquiry | |
CN110070394A (en) | Data processing method, system, medium and calculating equipment | |
CN110110196A (en) | A kind of information push method and device | |
CN109597810A (en) | A kind of task cutting method, device, medium and electronic equipment | |
CN110505074A (en) | A kind of application module integrated approach and device | |
CN113297287B (en) | Automatic user policy deployment method and device and electronic equipment | |
CN110442803A (en) | Data processing method, device, medium and the calculating equipment executed by calculating equipment | |
CN109961308A (en) | The method and apparatus of assessment tag data | |
CN108959294A (en) | A kind of method and apparatus accessing search engine | |
CN108959636A (en) | Data processing method, device, system, computer-readable medium | |
CN110389976A (en) | A kind of dispatching method and device of multi-interface data | |
CN108985805A (en) | A kind of method and apparatus that selectivity executes push task | |
CN110347654A (en) | A kind of method and apparatus of online cluster features |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 215123 building 14, Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou City, Jiangsu Province Applicant after: Sipic Technology Co.,Ltd. Address before: 215123 building 14, Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou City, Jiangsu Province Applicant before: AI SPEECH Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |