[go: up one dir, main page]

CN111144495A - A service distribution method, device and medium - Google Patents

A service distribution method, device and medium Download PDF

Info

Publication number
CN111144495A
CN111144495A CN201911382465.7A CN201911382465A CN111144495A CN 111144495 A CN111144495 A CN 111144495A CN 201911382465 A CN201911382465 A CN 201911382465A CN 111144495 A CN111144495 A CN 111144495A
Authority
CN
China
Prior art keywords
distributed
service
services
deployment
feature selection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911382465.7A
Other languages
Chinese (zh)
Other versions
CN111144495B (en
Inventor
魏光建
黄霁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201911382465.7A priority Critical patent/CN111144495B/en
Publication of CN111144495A publication Critical patent/CN111144495A/en
Application granted granted Critical
Publication of CN111144495B publication Critical patent/CN111144495B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/243Classification techniques relating to the number of classes
    • G06F18/24323Tree-organised classifiers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明公开了一种业务分发方法、装置及介质。其中,所述方法包括:基于决策树模型,根据待分发业务的设备编码、算法模型以及布控状态,对所述待分发业务进行分类,以将所述待分发业务分为待分发业务组;将所述待分发业务组下发至目标分析单元,用于指示所述目标分析单元对接收的业务组进行分析。本实施例的技术方案,基于分类树特征选择实现待分发业务自动分拣组合,提高了待分发业务的组合效率,实现了待分发业务的批量下发,节约了人力成本。

Figure 201911382465

The invention discloses a service distribution method, device and medium. Wherein, the method includes: based on a decision tree model, according to the device code, algorithm model and deployment control state of the to-be-distributed service, classifying the to-be-distributed service, so as to divide the to-be-distributed service into to-be-distributed service groups; The to-be-distributed service group is delivered to the target analysis unit, to instruct the target analysis unit to analyze the received service group. The technical solution of this embodiment implements automatic sorting and combination of services to be distributed based on classification tree feature selection, improves the combination efficiency of services to be distributed, realizes batch delivery of services to be distributed, and saves labor costs.

Figure 201911382465

Description

Service distribution method, device and medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a service distribution method, a device and a medium.
Background
With the development of the times and the intellectualization of security systems, there are more and more demands for intellectualized video analysis of activity places where various kinds of people are concentrated, such as prisoners, airports, subways and the like, and the information analyzed by the intelligent analysis system is used for timely processing potential safety hazards, so that the stability of the society can be effectively guaranteed.
An analysis unit in the intelligent analysis system is only used for analyzing the service of a certain specified algorithm model, when a single camera is needed to analyze multiple services simultaneously in certain intelligent analysis scenes, the algorithm model to which the service belongs generally needs to be manually judged, and one path of configuration and combination tasks are issued.
Disclosure of Invention
The invention provides a service distribution method, a device and a medium, which are used for realizing automatic batch issuing of services, greatly reducing repeated workload and being beneficial to improving the efficiency of service combination.
In a first aspect, an embodiment of the present invention provides a service distribution method, where the method includes:
classifying the services to be distributed according to equipment codes, algorithm models and deployment and control states of the services to be distributed based on a decision tree model so as to divide the services to be distributed into service groups to be distributed;
and sending the service group to be distributed to a target analysis unit for indicating the target analysis unit to analyze the received service group.
In a second aspect, an embodiment of the present invention further provides a service distribution apparatus, where the apparatus includes:
the service classification module is used for classifying the services to be distributed according to equipment codes, algorithm models and deployment and control states of the services to be distributed based on the decision tree model so as to divide the services to be distributed into service groups to be distributed;
and the service issuing module is used for issuing the service group to be distributed to the target analysis unit and indicating the target analysis unit to analyze the received service group.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements a service distribution method according to any one of the embodiments of the present invention.
The method is based on a decision tree model, and classifies the services to be distributed according to equipment codes, algorithm models and deployment and control states of the services to be distributed so as to divide the services to be distributed into service groups to be distributed; and further, the service group to be distributed is sent to the target analysis unit for instructing the target analysis unit to analyze the received service group. According to the technical scheme, automatic sorting and combining of the services are achieved based on classification tree feature selection, combining efficiency of the services to be distributed is improved, batch issuing of the services to be distributed is achieved, and labor cost is saved.
Drawings
Fig. 1 is a flowchart of a service distribution method according to an embodiment of the present invention;
fig. 2 is a flowchart of another service distribution method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a decision tree model according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a service distribution apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a service distribution device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a flowchart of a service data method according to an embodiment of the present invention, where the embodiment is applicable to issue service data, and typically, the method may be applied to intelligent analysis based on video streams. The method can be executed by a business data device, and the device can be realized by software and/or hardware. Referring to fig. 1, the method specifically includes the following steps:
and step 110, classifying the services to be distributed according to the equipment codes, the algorithm models and the distribution control states of the services to be distributed based on the decision tree model so as to divide the services to be distributed into service groups to be distributed.
The service to be distributed is various services configured by the user in batch, and the configuration information of the service comprises relevant information such as equipment codes, algorithm models, deployment and control states and the like.
The decision tree is a basic classification and regression method, and in this embodiment, a classification model of the decision tree is used. The model is a tree structure for classifying examples, and data is classified and generalized through the sequence of feature selection.
In general, in order to save analysis resources in an intelligent analysis system, analysis units in the intelligent analysis system are divided according to different algorithm models, and each analysis unit only loads a corresponding algorithm model and only supports services associated with the algorithm model. In addition, in an actual application scenario, different services need to be analyzed in different time periods, that is, time-period distribution needs to be performed, and therefore, in order to reduce the influence caused by distribution time switching, services in the same distribution state need to be allocated to the same group for processing.
Therefore, in the embodiment, the device code, the algorithm model and the deployment state are used as the feature selection points of the sorting combination of the services to be distributed.
Specifically, the services to be distributed configured by the user in batch are obtained, configuration information such as equipment codes, algorithm models and distribution control states of the services to be distributed is collected and arranged in a container queue, the equipment codes, the algorithm models and the distribution control states are respectively used as a first dictionary sequence, a second dictionary sequence and a third dictionary sequence based on a decision tree model, and the services in the container queue are classified and ordered according to the dictionary sequence.
Illustratively, table 1 shows the traffic to be distributed before sorting:
service ID Camera encoding Algorithm model Whether to deploy or not
ruletype1 Camera3 Model1 Is that
ruletype2 Camera2 Model2 Whether or not
ruletype3 Camera1 Model3 Is that
ruletype4 Camera2 Model2 Whether or not
ruletype5 Camera3 Model1 Is that
Based on a decision tree model, according to the device code, the algorithm model and the deployment and control state of the service to be distributed, the service to be distributed after the service to be distributed is classified is as follows:
Figure BDA0002342625200000041
Figure BDA0002342625200000051
in the above table, two services to be distributed, whose service IDs are Ruletype1 and Ruletype5, may be divided into the same service group to be distributed, where the service IDs are Ruletype2 and Ruletype4 are used as the same service group to be distributed, and the service to be distributed, whose service ID is Ruletype3, is used individually as a group of service groups to be distributed. By utilizing the decision tree model, the automatic combination of the services to be distributed is realized according to the equipment codes, the algorithm model and the deployment and control state of the services to be distributed, and the combination efficiency of the services to be distributed is improved.
Step 120, sending the service group to be distributed to a target analysis unit, for instructing the target analysis unit to analyze the received service group.
The target analysis unit is an actual calculation unit for executing intelligent analysis, and each target analysis unit is loaded with a corresponding algorithm model. And distributing the service group to be distributed to a target analysis unit which is the same as the algorithm model of the service group to be distributed, and analyzing the received service group through the target analysis unit.
In the technical scheme of the embodiment, the service to be distributed is classified based on a decision tree model according to the equipment code, the algorithm model and the deployment and control state of the service to be distributed, so that the service to be distributed is divided into service groups to be distributed; and further, the service group to be distributed is sent to the target analysis unit for instructing the target analysis unit to analyze the received service group. The automatic sorting and combining of the services are realized based on the classification tree feature selection, the combining efficiency of the services to be distributed is improved, the batch issuing of the services to be distributed is realized, and the labor cost is saved.
Fig. 2 is a flowchart of another service distribution method according to an embodiment of the present invention. The embodiment of the present invention further refines step 210 on the basis of the above-mentioned embodiment.
With further reference to fig. 3, in this embodiment, the decision tree model includes an apparatus coding feature selection point, an algorithm model feature selection point, and a deployment and control state feature selection point, where the apparatus coding feature selection point is a parent node of the algorithm model feature selection point, and the algorithm model feature selection point is a parent node of the deployment and control state feature selection point.
Specifically, the order of the feature selection points in the decision tree is determined according to the information gain of the variables, and the feature selection points with larger information gain are ranked more front in the hierarchy of the decision number. In this embodiment, the order of the information gain of the feature selection points calculated by the training data set is camera encoding > algorithm model > deployment time. Therefore, in this embodiment, the device coding feature selection point is used as a parent node of the algorithm model feature selection point, and the algorithm model feature selection point is used as a parent node of the deployment and control state feature selection point.
Wherein the information entropy represents the uncertainty of the random variable; the conditional entropy represents the uncertainty of a random variable under a certain condition; the information gain is equal to the information entropy minus the conditional entropy, representing the degree of information uncertainty reduction under certain conditions.
It should be noted that the sorting manner of the feature selection points in this embodiment is only an example, and different hierarchical sorting manners of the decision tree feature selection points may be obtained for different training data sets.
Referring to fig. 2, the method specifically includes:
step 210, selecting points based on the device coding features, and classifying the services to be distributed according to the device codes of the services to be distributed to obtain service groups to be distributed associated with the device codes.
In this embodiment, first, a point is selected based on the device coding feature of the decision tree model, and the services to be distributed are classified according to the device codes of the services to be distributed, so that the services to be distributed with the same device codes are grouped into a group, so as to obtain a service group to be distributed associated with the device codes.
And step 220, selecting points based on the characteristics of the algorithm model, and classifying the service group to be distributed associated with the equipment codes according to the algorithm model of the service to be distributed so as to obtain the service group to be distributed associated with the algorithm model.
After the service group to be distributed with the same equipment code is obtained, the service group to be distributed with the same equipment code is classified according to the algorithm model of the service to be distributed based on the algorithm model feature selection points of the decision tree model, so that the services to be distributed with the same equipment code and algorithm model are divided into a group to obtain the service group to be distributed associated with the algorithm model.
And 230, selecting points based on the deployment state characteristics, and grouping the service groups to be distributed associated with the algorithm model according to the deployment state of the service to be distributed to obtain the service groups to be distributed associated with the deployment state.
After the service groups to be distributed with the same equipment codes and the same algorithm models are obtained, the service groups to be distributed with the same equipment codes and the same algorithm models are classified according to the deployment and control states of the services to be distributed based on the deployment and control state feature selection points of the decision tree models, so that the services to be distributed with the same equipment codes, the same algorithm models and the same deployment and control states are divided into a group to obtain the service groups to be distributed associated with the deployment and control states.
Step 240, issuing the service group to be distributed to a target analysis unit, for instructing the target analysis unit to analyze the received service group.
Specifically, issuing the service group to be distributed to a target analysis unit includes:
issuing the service groups to be distributed associated with different deployment and control states to different target analysis units;
and issuing the service groups to be distributed associated with the same deployment and control state to the same target analysis unit.
In this embodiment, the camera codes, the algorithm models, and the deployment states of the services to be distributed in the service group to be distributed associated with the deployment state are all the same, so that the services to be distributed with the same camera codes, algorithm models, and deployment states form the same service group to be distributed, and the service group to be distributed is distributed to the target analysis unit.
Optionally, issuing the service group to be distributed to a target analysis unit, including:
if the number of the services to be distributed in the service group to be distributed associated with any deployment state is detected to be smaller than the threshold value of the number of the grouped services, the services to be distributed are continuously acquired, the acquired services to be distributed are classified until the number of the services to be distributed in the service group to be distributed associated with the deployment state is detected to be larger than or equal to the threshold value of the number of the grouped services, and the service group to be distributed associated with the deployment state is sent to a target analysis unit.
Illustratively, when the classified services to be distributed are combined, if the number of the services in the service group to be distributed is 1, the services to be distributed may be combined with the newly added services to be distributed, and the recombined services to be distributed are sent to the target analysis unit.
According to the technical scheme of the embodiment, the device codes, the algorithm model and the deployment and control state are used as the feature selection points of the decision tree model, the services to be distributed are distributed and sequenced, the combination efficiency of the services to be distributed is improved, and efficient batch distribution of the services to be distributed is realized.
On the basis of the foregoing embodiment, before issuing the service groups to be distributed associated with the same deployment and control state to the same target analysis unit, the method further includes:
and if the number of the services to be distributed in the service group to be distributed associated with any deployment and control state is greater than the threshold value of the number of the one-way services, grouping the service group to be distributed so that the number of the services to be distributed in each group after grouping is less than or equal to the threshold value of the number of the one-way services.
The single-path service quantity threshold is the upper limit of the service quantity which can be analyzed by a single target analysis unit.
Illustratively, if the threshold of the number of single-path services is 3, and the number of services to be distributed in a service group to be distributed associated with any deployment state is 5, the service group to be distributed may be grouped into a service group to be distributed with a service number of 3 and a service number of 2, so that the number of services to be distributed in each group after grouping is less than or equal to the threshold of the number of single-path services, so as to ensure that the target analysis unit can provide sufficient analysis capability for the service group to be distributed.
Fig. 4 is a schematic structural diagram of a service distribution apparatus according to an embodiment of the present invention, where the apparatus is capable of executing a service distribution method according to an embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 4, the apparatus may specifically include:
the service classification module 310 is configured to classify the service to be distributed according to the device code, the algorithm model, and the deployment and control state of the service to be distributed based on the decision tree model, so as to classify the service to be distributed into a service group to be distributed.
The service issuing module 320 is configured to issue the service group to be distributed to a target analysis unit, and instruct the target analysis unit to analyze the received service group.
Specifically, the decision tree model comprises an equipment coding feature selection point, an algorithm model feature selection point and a deployment and control state feature selection point, the equipment coding feature selection point is a father node of the algorithm model feature selection point, and the algorithm model feature selection point is a father node of the deployment and control state feature selection point;
correspondingly, the service classification module 310 is specifically configured to: based on the equipment coding feature selection point, classifying the service to be distributed according to the equipment coding of the service to be distributed so as to obtain a service group to be distributed related to the equipment coding;
based on the algorithm model feature selection points, classifying the service group to be distributed associated with the equipment codes according to the algorithm model of the service to be distributed so as to obtain the service group to be distributed associated with the algorithm model;
and based on the deployment and control state feature selection points, classifying the service group to be distributed associated with the algorithm model according to the deployment and control state of the service to be distributed so as to obtain the service group to be distributed associated with the deployment and control state.
The service issuing module 320 is specifically configured to: issuing the service groups to be distributed associated with different deployment and control states to different target analysis units;
and issuing the service groups to be distributed associated with the same deployment and control state to the same target analysis unit.
Optionally, the apparatus further includes a determining module and a service grouping module, where the determining module is configured to determine whether the number of services to be distributed in the service group to be distributed associated with any deployment and control state is greater than a threshold of the number of single-path services;
and the grouping module is used for grouping the service groups to be distributed if the number of the services to be distributed in the service groups to be distributed associated with any deployment and control state is greater than the threshold value of the number of the single-path services, so that the number of the services to be distributed in each group after grouping is less than or equal to the threshold value of the number of the single-path services.
Optionally, the determining module is further configured to determine whether the number of the to-be-distributed services in the to-be-distributed service group associated with any deployment and control state is smaller than the threshold of the number of the packet services.
The service classification module 310 is further specifically configured to, if the number of services to be distributed in the service group to be distributed associated with any deployment state is smaller than the threshold of the number of packet services, continue to acquire the services to be distributed, and classify the acquired services to be distributed until the number of services to be distributed in the service group to be distributed associated with the deployment state is greater than or equal to the threshold of the number of packet services, where the service issuing module 320 is configured to issue the service group to be distributed associated with the deployment state to the target analysis unit.
The service distribution device provided by the embodiment of the invention can execute the service distribution method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Fig. 5 is a schematic structural diagram of a service distribution device according to an embodiment of the present invention. Fig. 5 illustrates a block diagram of an exemplary device 12 suitable for use in implementing embodiments of the present invention. The device 12 shown in fig. 5 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present invention.
As shown in FIG. 5, device 12 is in the form of a general purpose computing device. The components of device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures.
Device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with device 12, and/or with any devices (e.g., network card, modem, etc.) that enable device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with the other modules of the device 12 via the bus 18. The processing unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, to implement a service distribution method provided by an embodiment of the present invention.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the service distribution method according to the foregoing embodiment of the present invention. Wherein, the method comprises the following steps:
classifying the services to be distributed according to equipment codes, algorithm models and deployment and control states of the services to be distributed based on a decision tree model so as to divide the services to be distributed into service groups to be distributed;
and sending the service group to be distributed to a target analysis unit for indicating the target analysis unit to analyze the received service group.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for service distribution, the method comprising:
classifying the services to be distributed according to equipment codes, algorithm models and deployment and control states of the services to be distributed based on a decision tree model so as to divide the services to be distributed into service groups to be distributed;
and sending the service group to be distributed to a target analysis unit for indicating the target analysis unit to analyze the received service group.
2. The method of claim 1, wherein the decision tree model comprises a device coding feature selection point, an algorithm model feature selection point, and a deployment state feature selection point, and wherein the device coding feature selection point is a parent node of the algorithm model feature selection point, and the algorithm model feature selection point is a parent node of the deployment state feature selection point;
correspondingly, based on the decision tree model, classifying the service to be distributed according to the equipment code, the algorithm model and the deployment and control state of the service to be distributed, including:
based on the equipment coding feature selection point, classifying the service to be distributed according to the equipment coding of the service to be distributed so as to obtain a service group to be distributed related to the equipment coding;
based on the algorithm model feature selection points, classifying the service group to be distributed associated with the equipment codes according to the algorithm model of the service to be distributed so as to obtain the service group to be distributed associated with the algorithm model;
and based on the deployment and control state feature selection points, classifying the service group to be distributed associated with the algorithm model according to the deployment and control state of the service to be distributed so as to obtain the service group to be distributed associated with the deployment and control state.
3. The method of claim 2, wherein issuing the service group to be distributed to a target analysis unit comprises:
issuing the service groups to be distributed associated with different deployment and control states to different target analysis units;
and issuing the service groups to be distributed associated with the same deployment and control state to the same target analysis unit.
4. The method according to claim 3, wherein before sending the service groups to be distributed associated with the same deployment and control state to the same target analysis unit, the method further comprises:
and if the number of the services to be distributed in the service group to be distributed associated with any deployment and control state is greater than the threshold value of the number of the one-way services, grouping the service group to be distributed associated with the deployment and control state, so that the number of the services to be distributed in each group after grouping is less than or equal to the threshold value of the number of the one-way services.
5. The method according to any one of claims 2 to 4, wherein issuing the service group to be distributed to a target analysis unit comprises:
if the number of the services to be distributed in the service group to be distributed associated with any deployment state is detected to be smaller than the threshold value of the number of the grouped services, the services to be distributed are continuously acquired, the acquired services to be distributed are classified until the number of the services to be distributed in the service group to be distributed associated with the deployment state is detected to be larger than or equal to the threshold value of the number of the grouped services, and the service group to be distributed associated with the deployment state is sent to a target analysis unit.
6. A service distribution apparatus, characterized in that the apparatus comprises:
the service classification module is used for classifying the services to be distributed according to equipment codes, algorithm models and deployment and control states of the services to be distributed based on the decision tree model so as to divide the services to be distributed into service groups to be distributed;
and the service issuing module is used for issuing the service group to be distributed to the target analysis unit and indicating the target analysis unit to analyze the received service group.
7. The apparatus of claim 6, wherein the decision tree model comprises a device coding feature selection point, an algorithm model feature selection point, and a deployment state feature selection point, and the device coding feature selection point is a parent node of the algorithm model feature selection point, and the algorithm model feature selection point is a parent node of the deployment state feature selection point;
correspondingly, the service classification module is specifically configured to: based on the equipment coding feature selection point, classifying the service to be distributed according to the equipment coding of the service to be distributed so as to obtain a service group to be distributed related to the equipment coding;
based on the algorithm model feature selection points, classifying the service group to be distributed associated with the equipment codes according to the algorithm model of the service to be distributed so as to obtain the service group to be distributed associated with the algorithm model;
and based on the deployment and control state feature selection points, classifying the service group to be distributed associated with the algorithm model according to the deployment and control state of the service to be distributed so as to obtain the service group to be distributed associated with the deployment and control state.
8. The apparatus of claim 7, wherein the service delivery module is specifically configured to:
issuing the service groups to be distributed associated with different deployment and control states to different target analysis units;
and issuing the service groups to be distributed associated with the same deployment and control state to the same target analysis unit.
9. The apparatus of claim 7 or 8, further comprising a grouping module: and if the number of the services to be distributed in the service group to be distributed associated with any deployment and control state is greater than the threshold value of the number of the one-way services, grouping the service group to be distributed associated with the deployment and control state, so that the number of the services to be distributed in each group after grouping is less than or equal to the threshold value of the number of the one-way services.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out a service distribution method as claimed in any one of the claims 1 to 5.
CN201911382465.7A 2019-12-27 2019-12-27 Service distribution method, device and medium Active CN111144495B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911382465.7A CN111144495B (en) 2019-12-27 2019-12-27 Service distribution method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911382465.7A CN111144495B (en) 2019-12-27 2019-12-27 Service distribution method, device and medium

Publications (2)

Publication Number Publication Date
CN111144495A true CN111144495A (en) 2020-05-12
CN111144495B CN111144495B (en) 2024-03-22

Family

ID=70521295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911382465.7A Active CN111144495B (en) 2019-12-27 2019-12-27 Service distribution method, device and medium

Country Status (1)

Country Link
CN (1) CN111144495B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113806594A (en) * 2020-12-30 2021-12-17 京东科技控股股份有限公司 Business data processing method, device, equipment and storage medium based on decision tree
CN114968272A (en) * 2022-05-31 2022-08-30 京东方科技集团股份有限公司 Algorithm operation method, device, equipment and storage medium
CN115052140A (en) * 2022-05-31 2022-09-13 京东方科技集团股份有限公司 Method and device for testing algorithm index, camera access method and medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309302A (en) * 2008-06-30 2008-11-19 华为技术有限公司 A signaling distribution method and device based on an application server
CN102868874A (en) * 2012-09-21 2013-01-09 浙江宇视科技有限公司 Intelligent analysis service migration method and device
US20150222939A1 (en) * 2010-10-28 2015-08-06 Avvasi Inc. System for monitoring a video network and methods for use therewith
CN106682590A (en) * 2016-12-07 2017-05-17 浙江宇视科技有限公司 Processing method and server for monitoring service
CN107094244A (en) * 2017-05-27 2017-08-25 北方工业大学 Intelligent passenger flow monitoring device and method capable of being managed and controlled in centralized mode
CN107330021A (en) * 2017-06-20 2017-11-07 北京神州泰岳软件股份有限公司 Data classification method, device and equipment based on multiway tree
US20170347159A1 (en) * 2016-05-30 2017-11-30 Samsung Sds Co., Ltd. Qoe analysis-based video frame management method and apparatus
CN108391092A (en) * 2018-03-21 2018-08-10 四川弘和通讯有限公司 Danger identifying system based on deep learning
CN108711074A (en) * 2018-05-21 2018-10-26 阿里巴巴集团控股有限公司 Business sorting technique, device, server and readable storage medium storing program for executing
CN109242012A (en) * 2018-08-27 2019-01-18 平安科技(深圳)有限公司 It is grouped inductive method and device, electronic device and computer readable storage medium
CN109685336A (en) * 2018-12-10 2019-04-26 深圳市小牛普惠投资管理有限公司 Collection task distribution method, device, computer equipment and storage medium
CN110443109A (en) * 2019-06-11 2019-11-12 万翼科技有限公司 Abnormal behaviour monitor processing method, device, computer equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309302A (en) * 2008-06-30 2008-11-19 华为技术有限公司 A signaling distribution method and device based on an application server
US20150222939A1 (en) * 2010-10-28 2015-08-06 Avvasi Inc. System for monitoring a video network and methods for use therewith
CN102868874A (en) * 2012-09-21 2013-01-09 浙江宇视科技有限公司 Intelligent analysis service migration method and device
US20170347159A1 (en) * 2016-05-30 2017-11-30 Samsung Sds Co., Ltd. Qoe analysis-based video frame management method and apparatus
CN106682590A (en) * 2016-12-07 2017-05-17 浙江宇视科技有限公司 Processing method and server for monitoring service
CN107094244A (en) * 2017-05-27 2017-08-25 北方工业大学 Intelligent passenger flow monitoring device and method capable of being managed and controlled in centralized mode
CN107330021A (en) * 2017-06-20 2017-11-07 北京神州泰岳软件股份有限公司 Data classification method, device and equipment based on multiway tree
CN108391092A (en) * 2018-03-21 2018-08-10 四川弘和通讯有限公司 Danger identifying system based on deep learning
CN108711074A (en) * 2018-05-21 2018-10-26 阿里巴巴集团控股有限公司 Business sorting technique, device, server and readable storage medium storing program for executing
CN109242012A (en) * 2018-08-27 2019-01-18 平安科技(深圳)有限公司 It is grouped inductive method and device, electronic device and computer readable storage medium
CN109685336A (en) * 2018-12-10 2019-04-26 深圳市小牛普惠投资管理有限公司 Collection task distribution method, device, computer equipment and storage medium
CN110443109A (en) * 2019-06-11 2019-11-12 万翼科技有限公司 Abnormal behaviour monitor processing method, device, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
鞠伟平;邓忆瑞;: "基于决策树的数据挖掘方法在CRM中的应用研究", 商业经济, no. 01, pages 208 - 211 *
韩忠明 等, 北京邮电大学出版社 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113806594A (en) * 2020-12-30 2021-12-17 京东科技控股股份有限公司 Business data processing method, device, equipment and storage medium based on decision tree
CN114968272A (en) * 2022-05-31 2022-08-30 京东方科技集团股份有限公司 Algorithm operation method, device, equipment and storage medium
CN115052140A (en) * 2022-05-31 2022-09-13 京东方科技集团股份有限公司 Method and device for testing algorithm index, camera access method and medium
CN115052140B (en) * 2022-05-31 2025-07-04 京东方科技集团股份有限公司 A method and device for testing algorithm indicators, a camera access method and a medium

Also Published As

Publication number Publication date
CN111144495B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
CN108536650B (en) Method and device for generating gradient lifting tree model
US9477512B2 (en) Task-based modeling for parallel data integration
CN108776934A (en) Distributed data computational methods, device, computer equipment and readable storage medium storing program for executing
US10834183B2 (en) Managing idle and active servers in cloud data centers
CN111144495A (en) A service distribution method, device and medium
CN112184005B (en) Operation task classification method, device, equipment and storage medium
CN109857550B (en) Resource allocation method, device, equipment and storage medium based on machine learning
CN104580194A (en) Virtual resource management method and device oriented to video applications
CN110807050B (en) Performance analysis method, device, computer equipment and storage medium
CN113191889B (en) Wind control configuration method, configuration system, electronic equipment and readable storage medium
CN113158054A (en) Data pushing method and device based on pre-classification label and electronic equipment
CN113760242B (en) Data processing method, device, server and medium
CN116820714A (en) Scheduling method, device, equipment and storage medium of computing equipment
CN113962401A (en) Federal learning system, and feature selection method and device in federal learning system
CN116501478A (en) Task allocation method, device, equipment, medium and digital twin system
US10305983B2 (en) Computer device for distributed processing
CN111211998A (en) Resource allocation method and device capable of elastically expanding capacity and electronic equipment
KR20230087316A (en) Apparatus and method for determining ai-based cloud service server
CN110659125A (en) Analysis task execution method, device and system and electronic equipment
CN119248492A (en) Task processing method, device, computer equipment and storage medium
CN112949887B (en) Method, device and equipment for planning dispatch path and computer readable storage medium
CN112101718A (en) Multi-user cooperation structured data processing method and device based on Internet
CN114168557B (en) A method, device, computer equipment and storage medium for processing access logs
CN113111367B (en) Security information management method, device and system
CN113779021B (en) Data processing method, device, computer system and readable storage medium

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
GR01 Patent grant
GR01 Patent grant