CN110532113A - Information processing method, device, computer readable storage medium and electronic equipment - Google Patents

Information processing method, device, computer readable storage medium and electronic equipment Download PDF

Info

Publication number
CN110532113A
CN110532113A CN201910818514.0A CN201910818514A CN110532113A CN 110532113 A CN110532113 A CN 110532113A CN 201910818514 A CN201910818514 A CN 201910818514A CN 110532113 A CN110532113 A CN 110532113A
Authority
CN
China
Prior art keywords
information
component
information processing
processed
processing
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
CN201910818514.0A
Other languages
Chinese (zh)
Other versions
CN110532113B (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.)
Beijing Horizon Robotics Technology Research and Development Co Ltd
Original Assignee
Beijing Horizon Robotics Technology Research and Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Horizon Robotics Technology Research and Development Co Ltd filed Critical Beijing Horizon Robotics Technology Research and Development Co Ltd
Priority to CN201910818514.0A priority Critical patent/CN110532113B/en
Publication of CN110532113A publication Critical patent/CN110532113A/en
Application granted granted Critical
Publication of CN110532113B publication Critical patent/CN110532113B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/94Hardware or software architectures specially adapted for image or video understanding
    • G06V10/95Hardware or software architectures specially adapted for image or video understanding structured as a network, e.g. client-server architectures

Abstract

The embodiment of the present disclosure discloses a kind of information processing method and device, wherein this method comprises: determining target information processing component from least one information processing component based on the type from the received information to be processed of communication component;Information to be processed is sent to target information processing component;What reception target information processing component was sent carries out information to be processed to handle obtained processing result;Based on processing result, determine from communication component and at least one information processing component for receiving the component of processing result as receiving unit;Processing result is sent to receiving unit.The embodiment of the present disclosure, which is realized, is handled information by multiple assembly synergistics, realize the decoupling of information distribution and information processing, it ensure that the instantaneity of information response, and each component individually handles the information received, without being related to the type of the message of other assemblies processing, so as to improve the efficiency of information processing.

Description

Information processing method, device, computer readable storage medium and electronic equipment
Technical field
This disclosure relates to field of computer technology, especially a kind of information processing method, device, computer-readable storage medium Matter and electronic equipment.
Background technique
In recent years, it as machine learning and artificial intelligence technology make a breakthrough progress, is landed around artificial intelligence technology Service architecture it is also increasingly mature.Each algorithm model can be abstracted as a component, such as recognition of face component, Object space detection components, Attribute Recognition component etc..The bottom of these components is typically all by an algorithm model and one group of tune It is formed with the interface of the model.When these component set are become a service, generally require to consider many software and firmly Part factor.Such as the distribution of message management, assembly communication, thread, memory consumption etc..In general, inter-module can be ordered using publication It reads etc. and to rely on the mode of message queue and communicated.
Summary of the invention
Embodiment of the disclosure provides a kind of information processing method, device, computer readable storage medium and electronics and sets It is standby.
Embodiment of the disclosure provides a kind of information processing method, this method comprises: based on received from communication component The type of information to be processed determines target information processing component from least one information processing component;Information to be processed is sent out It send to target information processing component;What reception target information processing component was sent carries out information to be processed to handle obtained place Manage result;Based on processing result, determine from communication component and at least one information processing component for receiving processing result Component is as receiving unit;Processing result is sent to receiving unit.
According to the other side of the embodiment of the present disclosure, a kind of information processing unit is provided, which includes: first true Cover half block, for being determined from least one information processing component based on the type from the received information to be processed of communication component Target information processing component;First sending module, for information to be processed to be sent to target information processing component;First receives Module, for receive target information processing component transmission information to be processed is carried out handle obtained processing result;Second Determining module is determined from communication component and at least one information processing component and is handled for reception for being based on processing result As a result component is as receiving unit;Second sending module, for processing result to be sent to receiving unit.
According to the other side of the embodiment of the present disclosure, a kind of computer readable storage medium is provided, it is computer-readable Storage medium is stored with computer program, and computer program is for executing above- mentioned information processing method.
According to the other side of the embodiment of the present disclosure, a kind of electronic equipment is provided, electronic equipment includes: processor; Memory for storage processor executable instruction;Processor for reading executable instruction from memory, and executes and refers to It enables to realize above- mentioned information processing method.
Above-described embodiment based on the disclosure, by the type of information to be processed based on the received, from least one information Target information processing component is determined in processing component, and information to be processed is sent to target information processing component, then receive mesh Mark information processing component obtains processing result after handling information to be processed, is then based on processing result and determines reception group Part, and processing result is sent to receiving unit, information is handled by multiple assembly synergistics to realize, is realized The decoupling of information distribution and information processing, ensure that the instantaneity of information response, and each component is individually handled and received Information, the type of the message without being related to other assemblies processing, so as to improve the efficiency of information processing.
Below by drawings and examples, the technical solution of the disclosure is described in further detail.
Detailed description of the invention
The embodiment of the present disclosure is described in more detail in conjunction with the accompanying drawings, the above-mentioned and other purposes of the disclosure, Feature and advantage will be apparent.Attached drawing is used to provide to further understand the embodiment of the present disclosure, and constitutes explanation A part of book is used to explain the disclosure together with the embodiment of the present disclosure, does not constitute the limitation to the disclosure.In the accompanying drawings, Identical reference label typically represents same parts or step.
Fig. 1 is the system diagram that the disclosure is applicable in.
Fig. 2 is the flow diagram for the information processing method that one exemplary embodiment of the disclosure provides.
Fig. 3 is the schematic diagram of an application scenarios of the information processing method of embodiment of the disclosure.
Fig. 4 is the structural schematic diagram for the information processing unit that one exemplary embodiment of the disclosure provides.
Fig. 5 is the structural schematic diagram for the information processing unit that disclosure another exemplary embodiment provides.
Fig. 6 is the structure chart for the electronic equipment that one exemplary embodiment of the disclosure provides.
Specific embodiment
In the following, will be described in detail by referring to the drawings according to an example embodiment of the present disclosure.Obviously, described embodiment is only It is only a part of this disclosure embodiment, rather than the whole embodiments of the disclosure, it should be appreciated that the disclosure is not by described herein The limitation of example embodiment.
It should also be noted that unless specifically stated otherwise, the opposite cloth of the component and step that otherwise illustrate in these embodiments It sets, numerical expression and the unlimited the scope of the present disclosure processed of numerical value.
It will be understood by those skilled in the art that the terms such as " first ", " second " in the embodiment of the present disclosure are only used for distinguishing Different step, equipment or module etc., neither represent any particular technology meaning, also do not indicate that the inevitable logic between them is suitable Sequence.
It should also be understood that in the embodiments of the present disclosure, " multiple " can refer to two or more, and "at least one" can refer to One, two or more.
It should also be understood that for the either component, data or the structure that are referred in the embodiment of the present disclosure, clearly limit no or Person may be generally understood to one or more in the case where context provides opposite enlightenment.
In addition, term "and/or" in the disclosure, only a kind of incidence relation for describing affiliated partner, expression can be deposited In three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B. In addition, character "/" in the disclosure, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
It should also be understood that the disclosure highlights the difference between each embodiment to the description of each embodiment, Same or similar place can be referred to mutually, for sake of simplicity, no longer repeating one by one.
Simultaneously, it should be appreciated that for ease of description, the size of various pieces shown in attached drawing is not according to reality Proportionate relationship draw.
Be to the description only actually of at least one exemplary embodiment below it is illustrative, never as to the disclosure And its application or any restrictions used.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable In the case of, the technology, method and apparatus should be considered as part of specification.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, then in subsequent attached drawing does not need that it is further discussed.
The embodiment of the present disclosure can be applied to the electronic equipments such as terminal device, computer system, server, can with it is numerous Other general or specialized computing system environments or configuration operate together.Suitable for electric with terminal device, computer system, server etc. The example of well-known terminal device, computing system, environment and/or configuration that sub- equipment is used together includes but is not limited to: Personal computer system, thin client, thick client computer, hand-held or laptop devices, is based on microprocessor at server computer system System, set-top box, programmable consumer electronics, NetPC Network PC, minicomputer system, large computer system and Distributed cloud computing technology environment, etc. including above-mentioned any system.
The electronic equipments such as terminal device, computer system, server can be in the department of computer science executed by computer system It is described under the general context of system executable instruction (such as program module).In general, program module may include routine, program, mesh Beacon course sequence, component, logic, data structure etc., they execute specific task or realize specific abstract data type.Meter Calculation machine systems/servers can be implemented in distributed cloud computing environment, and in distributed cloud computing environment, task is by by logical What the remote processing devices of communication network link executed.In distributed cloud computing environment, it includes storage that program module, which can be located at, On the Local or Remote computing system storage medium of equipment.
Application is summarized
Currently, each algorithm model can be abstracted as a component, such as recognition of face component, object space detection Component, Attribute Recognition component etc..The bottom of these components is typically all connecing by an algorithm model and one group of calling model Mouth composition.When these component set are become a service, generally require to consider many software and hardware factors.Currently, In order to which these components are cooperated processing information, usual way is the mode that message queue is relied on using distribution subscription etc., these Mode has the following disadvantages:
Need to define distribution subscription relationship;User be easy to miss publication subscription component message;It realizes complexity, needs to set Message queue is counted, frame losing strategy is designed;Extension is complicated, if to increase component newly, it is again fixed based on shared component message to need Justice, and user needs to pay close attention to the input/output relation of component;Performance loss, due to the maintenance band of message forwarding and message queue Come performance loss and reduction of handling up;Thread management is complicated.
Exemplary system
Fig. 1 is shown can be using the information processing method of embodiment of the disclosure or the exemplary system of information processing unit System framework 100.
As shown in Figure 1, system architecture 100 may include component cluster 101, network 102 and message manager 103.Network 102 between component cluster 101 and message manager 103 for providing the medium of communication link.Network 102 may include various Connection type, such as wired, wireless communication link or fiber optic cables etc..
Component cluster 101 may include communication component 1011 and at least one information processing component 1012 (such as in figure Information processing component 1- information processing component n).
Component in component cluster 101 can be hardware, be also possible to software.When component is hardware, can be various Electronic equipment (such as embedded chip).When component is software, may be mounted in above-mentioned electronic equipment.It may be implemented into Multiple softwares or software module (such as providing the software of Distributed Services or software module) also may be implemented into single soft Part or software module.It is not specifically limited herein.
Communication component 1011 can be interacted with user terminal 104, be used to receive information or whole to user from user terminal 104 End 104 sends information.At least one information processing component 1012 can be handled synergistically from the received information of communication component.Example Such as, when the received information of communication component is image, the object space that can include by least one information processing component 1012 Detection components detection object position, by the class for the object identification component recognition object that at least one information processing component 1012 includes Not.
Message manager 103 can be communicated with the various components in component cluster 101, for forwarding the information received To corresponding component.
User can be used user terminal 104 and interact with communication component 1011, to receive or send information.User terminal Various telecommunication customer end applications can be installed, such as image processing class application, searching class are applied, web browser is answered on 104 With, instant messaging tools etc..
User terminal 104 can be various electronic equipments, including but not limited to such as mobile phone, laptop, number Word radio receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), car-mounted terminal The fixed terminal of the mobile terminal of (such as vehicle mounted guidance terminal) etc. and such as number TV, desktop computer etc..
Message manager 103 can be hardware and be also possible to software, when message manager 103 is hardware, can be each Kind electronic equipment (such as server, terminal device etc.).When message manager 103 is software, multiple softwares may be implemented into Or software module, single software or software module also may be implemented into, be not specifically limited herein.
It should be noted that information processing method provided by embodiment of the disclosure is generally held by message manager 103 Row, correspondingly, information processing unit is generally positioned in message manager 103.In addition, component cluster, message manager can be with It is arranged on identical electronic equipment, also can be set on different electronic equipments.
It should be understood that the number of user terminal, component cluster, network in Fig. 1 and message manager is only schematic 's.According to needs are realized, any number of user terminal, component cluster, network and message manager can have.In addition, group The number of component in part cluster can need any setting according to realizing, so as to improve the scalability of system.
Illustrative methods
Fig. 2 is the flow diagram for the information processing method that one exemplary embodiment of the disclosure provides.As shown in Fig. 2, should Method includes the following steps:
Step 201, based on the type from the received information to be processed of communication component, from least one information processing component Determine target information processing component.
In the present embodiment, for the executing subject of execution information processing method (such as message manager shown in FIG. 1 103) can based on from the type of communication component (such as communication component 1011 shown in FIG. 1) received information to be processed, to Target information processing group is determined in a few information processing component (such as at least one information processing component 1012 shown in FIG. 1) Part.Wherein, information to be processed can be various information, such as image, video, audio, text etc..Communication component can be used for connecing Information to be processed is received, is sent to above-mentioned executing subject after information to be processed to be converted to the format for meeting preset communication protocol.
Above-mentioned executing subject can determine the type of information to be processed, according to type from least one information processing component Determine information processing component corresponding with the type as target information processing component.Wherein, type and information processing component Corresponding relationship can use such as list (for example including multiple information types and information processing group corresponding with each information type The number of part) mode characterize.As an example, image can be sent to and be schemed for identification when information to be processed is image The information processing component of picture;When information to be processed is text, image can be sent to the information processing of text for identification Component.
Step 202, information to be processed is sent to target information processing component.
In the present embodiment, information to be processed can be sent to the target letter determined in step 201 by above-mentioned executing subject Cease processing component.Target information processing component can to receive it is to be processed handle, obtain processing result.In general, mesh The processing of ad hoc fashion can be carried out to information to be processed by marking information processing component.For example, when target information processing component is to use When the component and information to be processed for identifying text are text, text can be carried out extracting the processing such as feature, translation.
Step 203, what reception target information processing component was sent carries out information to be processed to handle obtained processing knot Fruit.
In the present embodiment, above-mentioned executing subject can receive target information processing component transmission to information to be processed into Row handles obtained processing result.As an example, when target information processing component is for the component of text for identification and wait locate When to manage information be text, processing result can be the feature vector for Text Feature Extraction, or obtained by being classified to text Classification information, or the text of another language obtained after being translated to text.
Step 204, it is based on processing result, is determined from communication component and at least one information processing component and is used for receiving area The component of result is managed as receiving unit.
In the present embodiment, above-mentioned executing subject can be based on processing result, from communication component and at least one information It manages in component and determines for receiving the component of processing result as receiving unit.Specifically, above-mentioned executing subject can be according to place The type or content for managing result, determine receiving unit.As an example, when processing result is the feature for characterizing the feature of image When data, above-mentioned executing subject can be determined for classifying to characteristic from least one information processing component Information processing component is as receiving unit.For another example when processing result is the information of the classification for characterizing image, it is above-mentioned to hold Row main body can determine communication component as receiving unit.
Step 205, processing result is sent to receiving unit.
In the present embodiment, processing result can be sent to receiving unit by above-mentioned executing subject.Receiving unit can be right Processing result is further processed.The example for continuing above-mentioned steps 204, when processing result is characterized data, reception group Part can classify to processing result.When processing result is the information of classification for characterizing image, receiving unit can be with Processing result is sent to user terminal as shown in Figure 1.
The method provided by the above embodiment of the disclosure, by the type of information to be processed based on the received, from least one Target information processing component is determined in a information processing component, and information to be processed is sent to target information processing component, then It receives after target information processing component handles information to be processed and obtains processing result, be then based on processing result determination and connect Component is received, and processing result is sent to receiving unit, information is handled by multiple assembly synergistics to realize, it is real The decoupling for having showed information distribution and information processing, ensure that the instantaneity of information response, and each component individually handles reception The information arrived, the type of the message without being related to other assemblies processing, so as to improve the efficiency of information processing.
Information processing in some optional implementations, in communication component and at least one above-mentioned information processing component Thread pool can be set in component.Before step 201, above-mentioned executing subject can receive the First Line by communication component The information to be processed that Cheng Chi is obtained.Wherein, first thread pond can be performed in parallel the forwarding task of information.For example, when wait locate Manage information quantity it is more when, multiple information to be processed can be concurrently sent by thread pool to above-mentioned executing subject, thus The efficiency of information forwarding can be improved.
Above-mentioned steps 203 may include:
Reception carries out information to be processed to handle obtained processing by the second thread pool of target information processing component As a result.Wherein, the second thread pool can be performed in parallel being handled information to be processed for task.For example, working as letter to be processed Breath is image, since image processing tasks need a large amount of calculating, target information processing component can pass through the second thread Image processing tasks are decomposed into multiple calculating tasks by pond, realize it is concurrent, efficiently handle image.
In some optional implementations, above-mentioned steps 204 can execute as follows:
Firstly, determining whether processing result includes target information.Wherein, it is to be obtained to can be user terminal for target information Information.As an example, target information can be the object category identified to image when information to be processed is image Information.
If determining that communication component is receiving unit including target information.When processing result includes target information, indicate Processing result is the information that user terminal needs, at this point it is possible to communication component is determined as receiving unit, i.e., it will by communication component Processing result is sent to user terminal.
If not including target information, it is based on processing result, information processing is determined from least one information processing component Component is as receiving unit.When processing result does not include target information, indicate that current processing result does not still include user's end The information needed is held, needs to be further processed processing result, at this point it is possible to determine another information processing component as reception group Part, then processing result is further processed by the information processing component.It should be noted that when receiving unit is to above-mentioned place After reason result is further processed, the information being further processed can be sent to above-mentioned executing subject, above-mentioned execution again Main body can determine whether the information includes target information again, and execute the step in this optional implementation again.
This optional implementation, by determining whether processing result includes target information, so that it is determined that receiving unit, real Having showed makes various components targetedly handle different information, improves the efficiency of multiple assembly synergistic processing information.
In some optional implementations, step 201 may include:
Type in response to determination information to be processed is that image determines object position from least one information processing component Detection components are set as target information processing component.Wherein, object space detection components be determined for subject image to Handle the position in information (image i.e. to be processed).In general, object space detection components may include object space detection model, For example, object space detection model can be based on such as SSD (Single Shot MultiBox Detector), DPM What the target detections network trainings such as (Deformable Part Model), RPN (Region Proposal Networks) generated Model.By the way that information to be processed is sent to object space detection components, being used for detection object position of the task may be implemented Object space detection components are distributed to, since object space Detection task is a part of image recognition tasks, Ke Yishi The distributed treatment of existing image recognition tasks, improves the efficiency of image recognition.
In some optional implementations, above-mentioned target information can be the object category for characterizing the classification of object Information.Based on object space detection components described in this and above-mentioned optional implementation, if processing result include from The above-mentioned received object location information of object space detection components, and do not include object category information, above-mentioned executing subject can be with From at least one information processing component, determine object identification component as receiving unit.In general, above-mentioned executing subject can be into Processing result including object location information is sent to object identification component by one step.Object identification component can be based on object position Confidence breath from extraction subject image in information to be processed (image i.e. to be processed), then identifies subject image, obtains object The object category information of image.
Usual object identification component may include object identification model, object identification model can be based on it is various for pair The model that the neural network (such as MobileNet, LeNet, ResNet etc.) that subject image is classified is trained.This Implementation, by by object space Detection task and object recognition task respectively by object space detection components and object identification Component executes, and realizes and handles image recognition tasks in a distributed manner, improves the efficiency of image recognition.
It should be noted that this optional implementation can mutually be tied with the thread pool of above-mentioned optional implementation description It closes, i.e., includes thread pool in object space detection components and object identification component, image is concurrently handled by thread pool, thus It can be further improved the efficiency of image recognition.
It is above-mentioned to hold after above-mentioned determining object identification component is as receiving unit in some optional implementations Following steps can also be performed in row main body:
Firstly, receiving the object category information that object identification component is sent.
Then, object category information and object location information are sent to communication component.In general, communication component can be into one Object category information and object location information are sent to user terminal as shown in Figure 1 by step, show object on the subscriber terminal Classification information and object location information.This optional implementation can be using received object category information as finally obtained Information is sent to communication component, is identified by multiple assembly synergistics to image to realize, and finally obtains identification Object category information is sent to user terminal by communication component, realizes and efficiently shows image recognition result to user.
Referring to the schematic diagram that Fig. 3, Fig. 3 are according to the application scenarios of the information processing method of the present embodiment.Fig. 3's In application scenarios, user terminal 301 sends image 303 (information i.e. to be processed) to be processed, communication set to communication component 302 first Image 303 to be processed is sent to message manager 304 (i.e. above-mentioned executing subject) by part 302, and message manager 304 is determined wait locate The type for managing information is image, and image 303 to be processed is sent to object space detection components 305.Object space detection components 305 can detecte the position of the subject image (such as facial image) in image 303 to be processed, obtain object location information 306 And object location information 306 is sent to message manager 304.Object location information 306 is sent to object by message manager 304 Body recognizer component 307.Then, object identification component 307 is based on object location information 306, and object is determined from image 303 to be processed Body image (such as facial image), and identifying to subject image obtains object category information 308 (such as to facial image The mark of the personage of instruction).Object category information 308 is sent to message manager 304, message pipe by object identification component 307 Reason device 304 determines that object category information 308 is the information to send to user terminal 301, by object category information 308 and object Location information 306 is sent to communication component 302.Communication component 302 is finally by object category information 308 and object location information 306 are sent to the user terminal 301.Communication component 302, object space detection components 305 and object identification component 307 in Fig. 3 In be provided with thread pool, so as to concurrently handle the information received respectively, improve the efficiency of image recognition.
Exemplary means
Fig. 4 is the structural schematic diagram for the information processing unit that one exemplary embodiment of the disclosure provides.The present embodiment can answer With on an electronic device, as shown in figure 4, information processing unit includes: the first determining module 401, it is used to be based on from communication component The type of received information to be processed determines target information processing component from least one information processing component;First sends Module 402, for information to be processed to be sent to target information processing component;First receiving module 403, for receiving target letter What breath processing component was sent carries out information to be processed to handle obtained processing result;Second determining module 404, for being based on Processing result determines the component for receiving processing result as reception from communication component and at least one information processing component Component;Second sending module 405, for processing result to be sent to receiving unit.
In the present embodiment, the first determining module 401 can be based on from communication component (such as communication component shown in FIG. 1 1011) type of the information to be processed received, from least one information processing component (such as at least one letter shown in FIG. 1 Cease processing component 1012) in determine target information processing component.Wherein, information to be processed can be various information, such as image, Video, audio, text etc..Communication component can be used for receiving information to be processed, information to be processed is converted to meet it is preset Above- mentioned information processing unit is sent to after the format of communication protocol.
Above-mentioned first determining module 401 can determine the type of information to be processed, according to type from least one information It manages and determines information processing component corresponding with the type as target information processing component in component.Wherein, at type and information The corresponding relationship of reason component can use such as list (for example including multiple information types and letter corresponding with each information type Cease processing component number) mode characterize.As an example, image can be sent to use when information to be processed is image In the information processing component of identification image;When information to be processed is text, image can be sent to text for identification Information processing component.
In the present embodiment, information to be processed can be sent to the first determining module 401 and determined by the first sending module 402 Target information processing component.Target information processing component can to receive it is to be processed handle, obtain processing result. In general, target information processing component can carry out the processing of ad hoc fashion to information to be processed.For example, working as target information processing group Part is the component of text and when information to be processed is text for identification, can carry out extracting feature, translation etc. to text Processing.
In the present embodiment, the first receiving module 403 can receive target information processing component transmission to letter to be processed Breath carries out handling obtained processing result.As an example, when target information processing component be for identification the component of text and When information to be processed is text, processing result can be the feature vector for Text Feature Extraction, or carry out classification institute to text Obtained classification information, or the text of another language obtained after being translated to text.
In the present embodiment, the second determining module 404 can be based on processing result, from communication component and at least one information It determines in processing component for receiving the component of processing result as receiving unit.Specifically, above-mentioned second determining module 404 can To determine receiving unit according to the type or content of processing result.As an example, when processing result is the spy for characterizing image When the characteristic of sign, above-mentioned second determining module 404 can be determined from least one information processing component for feature The information processing component that data are classified is as receiving unit.For another example when processing result is the classification for characterizing image Information when, above-mentioned second determining module 404 can determine communication component as receiving unit.
In the present embodiment, processing result can be sent to receiving unit by the second sending module 405.Receiving unit can be with Processing result is further processed.It continues the example presented above, when processing result is characterized data, receiving unit can be right Processing result is classified.When processing result is the information of the classification for characterizing image, receiving unit can be tied processing Fruit is sent to user terminal as shown in Figure 1.
It is the structural schematic diagram for the information processing unit that disclosure another exemplary embodiment provides referring to Fig. 5, Fig. 5.
In some optional implementations, above-mentioned apparatus can also include: the second receiving module 406, logical for receiving Cross the information to be processed that the first thread pond of communication component obtains;First receiving module 403 can be further used for: reception passes through Second thread pool of target information processing component carries out information to be processed to handle obtained processing result.
In some optional implementations, the second determining module 404 may include: the first determination unit 4041, be used for Determine whether processing result includes target information;Second determination unit 4042, if determining communication set for including target information Part is receiving unit;Third determination unit 4043, if processing result is based on, from least one for not including target information Determine information processing component as receiving unit in information processing component.
In some optional implementations, the first determining module 401 can be further used for: to be processed in response to determination The type of information be image, from least one information processing component, determine object space detection components as target information at Manage component.
In some optional implementations, target information is the object category information for characterizing the classification of object;The Three determination units 4043 can be further used for: if processing result includes from the received object space of object space detection components Information, and do not include object category information, from least one information processing component, determine object identification component as reception group Part.
In some optional implementations, above-mentioned apparatus can also include: third receiving module 407, for receiving object The object category information that body recognizer component is sent;Third sending module 408 is used for object category information and object location information It is sent to communication component.
Disclosure information processing unit provided by the above embodiment, by the type of information to be processed based on the received, from Target information processing component is determined at least one information processing component, and information to be processed is sent to target information processing group Part, then receive after target information processing component handles information to be processed and obtain processing result, it is then based on processing result It determines receiving unit, and processing result is sent to receiving unit, by multiple assembly synergistics information is carried out to realize Processing realizes the decoupling of information distribution and information processing, ensure that the instantaneity of information response, and each component is individually located The information received is managed, the type of the message without being related to other assemblies processing, so as to improve the efficiency of information processing.
Example electronic device
In the following, being described with reference to Figure 6 the electronic equipment according to the embodiment of the present disclosure.The electronic equipment can be such as Fig. 1 institute The message manager shown.
Fig. 6 illustrates the block diagram of the electronic equipment according to the embodiment of the present disclosure.
As shown in fig. 6, electronic equipment 600 includes one or more processors 601 and memory 602.
Processor 601 can be central processing unit (CPU) or have data-handling capacity and/or instruction execution capability Other forms processing unit, and can control the other assemblies in electronic equipment 600 to execute desired function.
Memory 602 may include one or more computer program products, and computer program product may include various The computer readable storage medium of form, such as volatile memory and/or nonvolatile memory.Volatile memory is for example It may include random access memory (RAM) and/or cache memory (cache) etc..Nonvolatile memory for example may be used To include read-only memory (ROM), hard disk, flash memory etc..It can store one or more meters on computer readable storage medium Calculation machine program instruction, processor 601 can run program instruction, at the information of each embodiment to realize the disclosure above Reason method and/or other desired functions.Such as input signal, letter can also be stored in a computer-readable storage medium The various contents such as number component, noise component(s).
In one example, electronic equipment 600 can also include: input unit 603 and output device 604, these components It is interconnected by bindiny mechanism's (not shown) of bus system and/or other forms.
For example, the input unit 603 can be communication network connector, for receiving information from various components.
The output device 604 can be output to the outside various information, including information to be processed, processing result etc..The output Equipment 604 may include such as communication network and its remote output devices connected etc..
Certainly, to put it more simply, illustrated only in Fig. 6 it is some in component related with the disclosure in the electronic equipment 600, The component of such as bus, input/output interface etc. is omitted.In addition to this, according to concrete application situation, electronic equipment 600 It can also include any other component appropriate.
Illustrative computer program product and computer readable storage medium
Other than the above method and equipment, embodiment of the disclosure can also be computer program product comprising meter Calculation machine program instruction, it is above-mentioned that the computer program instructions make the processor execute this specification when being run by processor According to the step in the information processing method of the various embodiments of the disclosure described in " illustrative methods " part.
The computer program product can be write with any combination of one or more programming languages for holding The program code of row embodiment of the present disclosure operation, described program design language includes object oriented program language, such as Java, C++ etc. further include conventional procedural programming language, such as " C " language or similar programming language.Journey Sequence code can be executed fully on the user computing device, partly execute on a user device, be independent soft as one Part packet executes, part executes on a remote computing or completely in remote computing device on the user computing device for part Or it is executed on server.
In addition, embodiment of the disclosure can also be computer readable storage medium, it is stored thereon with computer program and refers to It enables, the computer program instructions make the processor execute above-mentioned " the exemplary side of this specification when being run by processor According to the step in the information processing method of the various embodiments of the disclosure described in method " part.
The computer readable storage medium can be using any combination of one or more readable mediums.Readable medium can To be readable signal medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can include but is not limited to electricity, magnetic, light, electricity Magnetic, the system of infrared ray or semiconductor, device or device, or any above combination.Readable storage medium storing program for executing it is more specific Example (non exhaustive list) includes: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory Device (RAM), read-only memory (ROM), erasable programmable read only memory (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.
The basic principle of the disclosure is described in conjunction with specific embodiments above, however, it is desirable to, it is noted that in the disclosure The advantages of referring to, advantage, effect etc. are only exemplary rather than limitation, must not believe that these advantages, advantage, effect etc. are the disclosure Each embodiment is prerequisite.In addition, detail disclosed above is merely to exemplary effect and the work being easy to understand With, rather than limit, it is that must be realized using above-mentioned concrete details that above-mentioned details, which is not intended to limit the disclosure,.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with its The difference of its embodiment, the same or similar part cross-reference between each embodiment.For system embodiment For, since it is substantially corresponding with embodiment of the method, so being described relatively simple, referring to the portion of embodiment of the method in place of correlation It defends oneself bright.
Device involved in the disclosure, device, equipment, system block diagram only as illustrative example and be not intended to It is required that or hint must be attached in such a way that box illustrates, arrange, configure.As those skilled in the art will appreciate that , it can be connected by any way, arrange, configure these devices, device, equipment, system.Such as "include", "comprise", " tool " etc. word be open vocabulary, refer to " including but not limited to ", and can be used interchangeably with it.Vocabulary used herein above "or" and "and" refer to vocabulary "and/or", and can be used interchangeably with it, unless it is not such that context, which is explicitly indicated,.Here made Vocabulary " such as " refers to phrase " such as, but not limited to ", and can be used interchangeably with it.
Disclosed method and device may be achieved in many ways.For example, can by software, hardware, firmware or Software, hardware, firmware any combination realize disclosed method and device.The said sequence of the step of for the method Merely to be illustrated, the step of disclosed method, is not limited to sequence described in detail above, special unless otherwise It does not mentionlet alone bright.In addition, in some embodiments, also the disclosure can be embodied as to record program in the recording medium, these programs Including for realizing according to the machine readable instructions of disclosed method.Thus, the disclosure also covers storage for executing basis The recording medium of the program of disclosed method.
It may also be noted that each component or each step are can to decompose in the device of the disclosure, device and method And/or reconfigure.These decompose and/or reconfigure the equivalent scheme that should be regarded as the disclosure.
The above description of disclosed aspect is provided so that any person skilled in the art can make or use this It is open.Various modifications in terms of these are readily apparent to those skilled in the art, and are defined herein General Principle can be applied to other aspect without departing from the scope of the present disclosure.Therefore, the disclosure is not intended to be limited to Aspect shown in this, but according to principle disclosed herein and the consistent widest range of novel feature.
In order to which purpose of illustration and description has been presented for above description.In addition, this description is not intended to the reality of the disclosure It applies example and is restricted to form disclosed herein.Although already discussed above multiple exemplary aspects and embodiment, this field skill Its certain modifications, modification, change, addition and sub-portfolio will be recognized in art personnel.

Claims (11)

1. a kind of information processing method, comprising:
Based on the type from the received information to be processed of communication component, target information is determined from least one information processing component Processing component;
The information to be processed is sent to the target information processing component;
Receive that the target information processing component sends carries out handling obtained processing result to the information to be processed;
Based on the processing result, determine from the communication component and at least one described information processing component for receiving The component of processing result is stated as receiving unit;
The processing result is sent to the receiving unit.
2. according to the method described in claim 1, wherein, the method also includes:
Receive the information to be processed obtained by the first thread pond of the communication component;
What the reception target information processing component was sent carries out the information to be processed to handle obtained processing knot Fruit, comprising:
Reception handle to the information to be processed obtained by the second thread pool of the target information processing component Processing result.
3. described to be based on the processing result according to the method described in claim 1, wherein, from the communication component and described It determines at least one information processing component for receiving the component of the processing result as receiving unit, comprising:
Determine whether the processing result includes target information;
If determining that the communication component is receiving unit including the target information;
If not including the target information, it is based on the processing result, is determined from least one described information processing component Information processing component is as receiving unit.
4. according to the method described in claim 3, wherein, the type based on from the received information to be processed of communication component, Target information processing component is determined from least one information processing component, comprising:
Type in response to the determination information to be processed is that image determines object from least one described information processing component Body position detection components are as target information processing component.
5. according to the method described in claim 4, wherein, the target information is the object category for characterizing the classification of object Information;
If described does not include the target information, it is based on the processing result, from least one described information processing component Determine information processing component as receiving unit, comprising:
It and does not include object if the processing result includes from the received object location information of object space detection components Classification information determines object identification component as receiving unit from least one described information processing component.
6. according to the method described in claim 5, wherein, after the determining object identification component is as receiving unit, institute State method further include:
Receive the object category information that the object identification component is sent;
The object category information and the object location information are sent to the communication component.
7. a kind of information processing unit, comprising:
First determining module, for based on the type from the received information to be processed of communication component, from least one information processing Target information processing component is determined in component;
First sending module, for the information to be processed to be sent to the target information processing component;
First receiving module carries out processing institute to the information to be processed for receive that the target information processing component sends Obtained processing result;
Second determining module, for being based on the processing result, from the communication component and at least one described information processing group It determines in part for receiving the component of the processing result as receiving unit;
Second sending module, for the processing result to be sent to the receiving unit.
8. device according to claim 7, wherein described device further include:
Second receiving module, the information to be processed that the first thread pond for receiving through the communication component obtains;
First receiving module is further used for:
Reception handle to the information to be processed obtained by the second thread pool of the target information processing component Processing result.
9. device according to claim 7, wherein second determining module includes:
First determination unit, for determining whether the processing result includes target information;
Second determination unit, if determining that the communication component is receiving unit for including the target information;
Third determination unit, if being based on the processing result for not including the target information, from least one described letter It ceases and determines information processing component as receiving unit in processing component.
10. a kind of computer readable storage medium, the storage medium is stored with computer program, and the computer program is used for Execute any method of the claims 1-6.
11. a kind of electronic equipment, the electronic equipment include:
Processor;
For storing the memory of the processor-executable instruction;
The processor, for reading the executable instruction from the memory, and it is above-mentioned to realize to execute described instruction Any method of claim 1-6.
CN201910818514.0A 2019-08-30 2019-08-30 Information processing method and device, computer readable storage medium and electronic equipment Active CN110532113B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910818514.0A CN110532113B (en) 2019-08-30 2019-08-30 Information processing method and device, computer readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910818514.0A CN110532113B (en) 2019-08-30 2019-08-30 Information processing method and device, computer readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN110532113A true CN110532113A (en) 2019-12-03
CN110532113B CN110532113B (en) 2023-03-24

Family

ID=68666045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910818514.0A Active CN110532113B (en) 2019-08-30 2019-08-30 Information processing method and device, computer readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110532113B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112417050A (en) * 2020-11-25 2021-02-26 青岛海尔科技有限公司 Data synchronization method and device, system, storage medium and electronic device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010038714A1 (en) * 2000-04-25 2001-11-08 Daiki Masumoto Picture recognition apparatus and method
CN101151604A (en) * 2005-01-06 2008-03-26 特维拉有限公司 Provisioning and management in a message publish/subscribe system
KR20090123518A (en) * 2008-05-28 2009-12-02 매크로임팩트 주식회사 Real-time data replication system
US20150046483A1 (en) * 2012-04-25 2015-02-12 Tencent Technology (Shenzhen) Company Limited Method, system and computer storage medium for visual searching based on cloud service
CN108241822A (en) * 2016-12-23 2018-07-03 杭州海康威视数字技术股份有限公司 A kind of recognition methods of type of vehicle and device
CN108898587A (en) * 2018-06-19 2018-11-27 Oppo广东移动通信有限公司 Image processing method, picture processing unit and terminal device
CN109242473A (en) * 2018-08-31 2019-01-18 阿里巴巴集团控股有限公司 A kind of method of payment, device and electronic equipment
CN109376844A (en) * 2018-10-30 2019-02-22 银河水滴科技(北京)有限公司 The automatic training method of neural network and device recommended based on cloud platform and model
CN109657674A (en) * 2018-11-28 2019-04-19 新华三技术有限公司 A kind of vehicles identifications determine method and device
CN110110652A (en) * 2019-05-05 2019-08-09 达闼科技(北京)有限公司 A kind of object detection method, electronic equipment and storage medium
CN110111281A (en) * 2019-05-08 2019-08-09 北京市商汤科技开发有限公司 Image processing method and device, electronic equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010038714A1 (en) * 2000-04-25 2001-11-08 Daiki Masumoto Picture recognition apparatus and method
CN101151604A (en) * 2005-01-06 2008-03-26 特维拉有限公司 Provisioning and management in a message publish/subscribe system
KR20090123518A (en) * 2008-05-28 2009-12-02 매크로임팩트 주식회사 Real-time data replication system
US20150046483A1 (en) * 2012-04-25 2015-02-12 Tencent Technology (Shenzhen) Company Limited Method, system and computer storage medium for visual searching based on cloud service
CN108241822A (en) * 2016-12-23 2018-07-03 杭州海康威视数字技术股份有限公司 A kind of recognition methods of type of vehicle and device
CN108898587A (en) * 2018-06-19 2018-11-27 Oppo广东移动通信有限公司 Image processing method, picture processing unit and terminal device
CN109242473A (en) * 2018-08-31 2019-01-18 阿里巴巴集团控股有限公司 A kind of method of payment, device and electronic equipment
CN109376844A (en) * 2018-10-30 2019-02-22 银河水滴科技(北京)有限公司 The automatic training method of neural network and device recommended based on cloud platform and model
CN109657674A (en) * 2018-11-28 2019-04-19 新华三技术有限公司 A kind of vehicles identifications determine method and device
CN110110652A (en) * 2019-05-05 2019-08-09 达闼科技(北京)有限公司 A kind of object detection method, electronic equipment and storage medium
CN110111281A (en) * 2019-05-08 2019-08-09 北京市商汤科技开发有限公司 Image processing method and device, electronic equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
AYMAN MOHAMMAD BAHAA-ELDIN 等: "A comprehensive Software Copy Protection and Digital Rights Management platform", 《AIN SHAMS ENGINEERING JOURNAL》 *
孙倩 等: "应用服务器消息分发组件的设计与实现", 《计算机系统应用》 *
齐梅等: "基于多方向空间词袋模型的物体识别", 《计算机工程与应用》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112417050A (en) * 2020-11-25 2021-02-26 青岛海尔科技有限公司 Data synchronization method and device, system, storage medium and electronic device

Also Published As

Publication number Publication date
CN110532113B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
CN107516090B (en) Integrated face recognition method and system
US11488064B2 (en) Machine learning model for micro-service compliance requirements
CN106686339A (en) Electronic Meeting Intelligence
CN106685916A (en) Electronic meeting intelligence
CN105956082A (en) Real-time data processing and storage system
CN111460112A (en) Online customer service consultation method, device, medium and electronic equipment
US10554613B2 (en) Dynamic hashtag ordering based on projected interest
US10282208B2 (en) Cognitive thread management in a multi-threading application server environment
CN109190114A (en) Method and apparatus for generating return information
US10318639B2 (en) Intelligent action recommendation
CN108833510A (en) Message treatment method and device
CN109495549A (en) Method, equipment and the computer storage medium of work are drawn in a kind of application
CN111126071A (en) Method and device for determining questioning text data and data processing method of customer service group
CN110532113A (en) Information processing method, device, computer readable storage medium and electronic equipment
US11521426B2 (en) Cognitive enablement of presenters
CN103685491B (en) A kind of application service provides method, system and relevant device
CN102902593B (en) Agreement distributing and processing system based on caching mechanism
CN107818538A (en) Processing method, device, equipment and the computer-readable recording medium of watermarking images
CN109617984A (en) A kind of data storage cloud online management system
KR102385702B1 (en) Data analysis service method and data analysis service system using the method
CN110472055B (en) Method and device for marking data
US10554811B2 (en) Predicting ‘usefullness’ of a call by analysing digital footprint of a person
CN114978585B (en) Deep learning symmetric encryption protocol identification method based on flow characteristics
US20230308500A1 (en) Line-drawing video conferencing
US11599742B2 (en) Dynamic image recognition and training using data center resources and data

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