CN104462219A - Information agent interface and application system based on information agent interface - Google Patents

Information agent interface and application system based on information agent interface Download PDF

Info

Publication number
CN104462219A
CN104462219A CN201410627400.5A CN201410627400A CN104462219A CN 104462219 A CN104462219 A CN 104462219A CN 201410627400 A CN201410627400 A CN 201410627400A CN 104462219 A CN104462219 A CN 104462219A
Authority
CN
China
Prior art keywords
information agency
unit
information
event
agency interface
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
CN201410627400.5A
Other languages
Chinese (zh)
Other versions
CN104462219B (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201410627400.5A priority Critical patent/CN104462219B/en
Publication of CN104462219A publication Critical patent/CN104462219A/en
Application granted granted Critical
Publication of CN104462219B publication Critical patent/CN104462219B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an information agent interface on the basis of information units. The capacity of calling a series of basic logic function units for information segmentations under various scene modes is provided, and a responding mechanism oriented to incidents of information-unit-oriented is provided, so that good structural support is provided for content utilization and function expansion of the information units. By means of the interface mechanism, complex processing with the information segments as target objects is easily achieved by an application under various scene modes, and finally various practical functions are provided for a user so that the user generating or having access to information segments can obtain more experience through the application.

Description

A kind of information agency interface and the application system based on this information agency interface
Technical field
The present invention relates to computer technology, more specifically, relate to a kind of information agency interface and the application system based on this information agency interface.
Background technology
Along with the development of mobile Internet, each class of electronic devices has become a requisite part in people's life, and people get used to electronic equipment and carry out work, study, amusement, record and share life.In this course, naturally various valuable information fragmentation can be produced, some statements such as annotated and commented in read electronic documents process, the keyword outline that arranges when writing document, audio frequency such as the voice of the picture of record life moment or video, recording or melody etc.
Valuable information fragmentation can be divided into two classes, one class is a part of information segment extracted in complete data, the annotation of such as document and quoted passage, the key frame etc. intercepted from audio-video document, another kind of is that independence is formed and self has the information segment of complete structure, the outline of such as article, the Voice & Video sample etc. of test strip.These valuable information fragmentation are called information segment by us.
In order to utilize information segment in addition fully and efficiently, a series of utility functions such as we wish to realize sharing around information segment, pushes, comment, thus need the application of structure Information fragment.Such as, application number be 201210433984.3 Chinese patent application provide a kind of disposal route of sharing contents, system and electric terminal, wherein receive the information segment that user chooses in the content, obtain the locating information of this information segment in whole content according to selected information segment; Locating information corresponding for selected information segment and/or markup information push on take over party's electric terminal by transmit leg user; The information segment that transmit leg user chooses is marked according to locating information by take over party's electric terminal in the content, and on screen, demonstrate the content carrying mark and/or markup information, thus enable the people that shared of content pay close attention to described information segment and relevant markup information.
But in the middle of above-mentioned prior art, information segment is all be employed directly to call as the target processed.But this pattern is also applied the complex process performed by information segment under being not easy to be supported in several scenes pattern, therefore, we wish to provide a kind of interface mechanism be based upon on a certain customizing messages fragment.This interface can perform a series of basic logic functions possessing extensibility, as content matching, adeditive attribute parsing, event response etc. for this customizing messages fragment downwards; Upwards then for application provides the entrance calling described logic function, and call operation result after described logic function to application feedback for this information segment.Pass through interface mechanism, all be easy under making to be applied in various scene mode realize the complex process using information segment as destination object, finally for user provides various utility function, make the user of generation or visit information fragment can obtain more experience by application.
Summary of the invention
In order to meet above-mentioned needs of the prior art, the invention provides a kind of information agency interface and the application system based on this information agency interface.
The present invention is that basic foundation of data has reading and writing data, the message unit of the basic functions such as position extraction with information segment.And then, on the basis of message unit, the invention provides information agency interface.Information agency interface is based upon on message unit, with described message unit one_to_one corresponding, for loading on message unit and performing basic logic functions unit.The logical function treatment that to perform with described data content on the data content that described basic logic functions unit can provide at message unit be object, as content matching, adeditive attribute parsing, event response etc., described information agency interface can be chosen according to concrete scene mode and integrate corresponding basic logic functions unit, thus realizes the business function under this scene mode.Application system is called by one or more information agency Interface realization pair message unit corresponding to information agency interface and relevant basic logic function unit, thus the scene mode integrated under one or more information agency interface and realize applying the service logic of self entirety.
A kind of information agency interface provided by the present invention, is characterized in that, comprising:
Information agency to connection module, for obtaining and/or keep the corresponding relation of information agency interface and message unit;
Basic logic functions Single Component Management module, for determining the basic logic functions unit that can call under at least one scene mode;
Information agency operational management module, for the event of response surface to described message unit.
Preferably, the response of described information agency operational management module to the event towards described message unit comprises: resolve the described event towards described message unit.
Preferably, the response of described information agency operational management module to the event towards described message unit comprises: the basic logic functions unit called under special scenes pattern according to the event towards described message unit.
Preferably, described information agency interface comprises further: scene adaptation module, for determining the basic logic functions the called unit with current scene patterns match, and basic logic functions unit with towards the corresponding relation of the event of described message unit.
Further preferably, the basic logic functions the called unit that described basic logic functions Single Component Management module is determined according to described scene adaptation module, provides the mark of the basic logic functions unit that can call to described information agency operational management module.
Further preferably, the basic logic functions unit that described information agency operational management module is determined according to described scene adaptation module and the relation towards the event of described message unit, call the basic logic functions unit of process current event.
Further preferably, described scene adaptation module also inputs data type for determining with the permission of the described basic logic functions unit of current scene patterns match.
Preferably, described information agency operational management module provides described event to invoked basic logic functions unit and inputs data accordingly, and obtains feedback event and the feedback data of basic logic functions unit.
Further preferably, whether can respond described feedback event and call corresponding basic logic functions unit under described information agency operational management module determination current scene pattern, and externally export described feedback event in not treatable situation.
The present invention and then provide a kind of message unit disposal route based on information agency interface, is characterized in that, comprising:
The basic logic functions unit that can call under at least one scene mode is determined by described information agency interface;
According to the corresponding relation of information agency interface and message unit, by the event of described information agency interface response surface to described message unit.
Preferably, the response of the event towards described message unit is comprised: resolve the described event towards described message unit.
Preferably, the response of the event towards described message unit is comprised: the basic logic functions unit called under special scenes pattern according to the event towards described message unit.
Preferably, described message unit disposal route comprises further: determine the basic logic functions the called unit with current scene patterns match by described information agency interface, and basic logic functions unit with towards the corresponding relation of the event of described message unit.
Further preferably, according to the determined described basic logic functions unit with current scene patterns match, the mark of the basic logic functions unit that can call is determined.
Further preferably, according to basic logic functions unit and the relation towards the event of described message unit, the basic logic functions unit of process current event is called.
Further preferably, also determine to input data type with the permission of the described basic logic functions unit of current scene patterns match by information agency interface.
Preferably, provide described event by described information agency interface to invoked basic logic functions unit and input data accordingly, and obtaining feedback event and the feedback data of basic logic functions unit.
Further preferably, by whether corresponding basic logic functions unit can be called according to described feedback event under described information agency interface determination current scene pattern, and externally export described feedback event in not treatable situation.
The invention provides a kind of application system based on information agency interface, it is characterized in that, comprising:
Interrupt switch unit, for determining the information agency interface relevant to current event, and obtain described event from described information agency interface and/or provide described event to described information agency interface;
Information agency interface, for determining the basic logic functions unit that can call under at least one scene mode, and according to the corresponding relation of information agency interface and message unit, response surface is to the event of described message unit.
Preferably, the response of described information agency interface to the event towards described message unit comprises: resolve the described event towards described message unit.
Preferably, the response of described information agency interface to the event towards described message unit comprises: the basic logic functions unit called under special scenes pattern according to described event.
Preferably, described application system comprises further: information agency linkage record module, for preserving information agency interface and the corresponding relation interrupting switch unit under at least one scene mode, and according to exporting the information agency interface identifier of described current event, current scene mark and current event and determine receiving the interruption switch unit of current event.
Preferably, described interruption switch unit provides scene identity, current event and input data to the information agency interface of response current event.
Based on a message unit application process for information agency interface, it is characterized in that, comprise the following steps:
Determine the information agency interface relevant to current event, and obtain described event from described information agency interface and/or provide described event to described information agency interface;
Determine the basic logic functions unit that can call under at least one scene mode, and according to the corresponding relation of information agency interface and message unit, by the event of information agency interface response surface to described message unit.
Preferably, the response of described information agency interface to the event towards described message unit comprises: resolve the described event towards described message unit.
Preferably, the response of described information agency interface to the event towards described message unit comprises: the basic logic functions unit called under special scenes pattern according to described event.
Preferably, determine receiving the interruption switch unit of current event according to exporting the information agency interface identifier of described current event, current scene mark and current event, and determine by described interruption switch unit the information agency interface responding current event.
Preferably, described message unit application process comprises further: the information agency interface to response current event provides scene identity, current event and input data.
The invention provides a kind of constructing system of information agency interface, it is characterized in that, comprising:
Information agency, to connection module, determines the message unit corresponding with information agency interface;
Basic logic functions Single Component Management module, for the basic logic functions unit that can call under determining at least one scene mode.
Preferably, the corresponding relation of described information agency interface and message unit is preserved in described information agency to connection module.
Preferably, the constructing system of described information agency interface comprises further: scene adaptation module, for obtaining scene mode mark, and the corresponding relation of the basic logic functions unit that can call under determining scene mode mark and this scene mode, and determine the processed event of basic logic functions unit.
Further preferably, described scene adaptation module is also for determining the permission input data type of the basic logic functions unit entered in information agency interface.
Preferably, the constructing system of described information agency interface comprises further: basic logic functions unit access module, for judging whether alternative basic logic functions unit meets the restrictive condition entering information agency interface.
Further preferably, described basic logic functions unit access module creates the user profile of described information agency interface according to the position of the exportable data type of message unit, message unit and content, application, judge whether to meet described restrictive condition.
Further preferably, the constructing system of described information agency interface comprises further: information channel administration module, for determining the exportable data type of the message unit corresponding with information agency interface.
The invention provides a kind of construction method of information agency interface, it is characterized in that, comprise the following steps:
Determine the message unit corresponding with information agency interface;
Determine the basic logic functions unit that can call under at least one scene mode.
Preferably, the corresponding relation of described information agency interface and message unit is preserved.
Preferably, the construction method of described information agency interface comprises further: obtain scene mode mark, and the corresponding relation of the basic logic functions unit that can call under determining scene mode mark and this scene mode, and determine the processed event of basic logic functions unit.
Further preferably, the construction method of described information agency interface also comprises: the permission input data type determining basic logic functions unit.
Preferably, the construction method of described information agency interface comprises further: judge whether alternative basic logic functions unit meets the restrictive condition entering described list.
Further preferably, create the user profile of described information agency interface according to the position of the exportable data type of message unit, message unit and content, application, judge whether to meet described restrictive condition.
The invention provides a kind of application build system based on information agency interface, it is characterized in that, comprising:
Module is selected in information agency, for information agency interface included under determining to be applied at least one scene mode;
Interrupt switch unit and build module, for creating or quote the interruption switch unit for docking at least one information agency interface, described interruption switch unit for determining the information agency interface relevant to a certain event, and obtains described event from described information agency interface and/or provides described event to described information agency interface.
Preferably, described information agency selects module for generating the scene identity representing at least one scene mode.
Preferably, described application build system comprises further: state creation module, for generating corresponding state according to the service logic of application, and is that each state generates corresponding scene mode;
Preferably, described application build system comprises further: information agency functional module, for the described information agency interface under special scenes pattern chooses the basic logic functions unit of this scene mode of coupling.
Preferably, described information agency functional module is also for determining the event, input data and the event sequence that accept for described basic logic functions unit.
Further preferably, described event be information agency interface provide feedback event, user or other the event that provides is provided.
Further preferably, described application build system also comprises: information agency linkage record module, for preserving information agency interface and the corresponding relation interrupting switch unit under special scenes pattern.
The invention provides a kind of application construction method based on information agency interface, it is characterized in that, comprising:
Information agency interface included under determining to be applied at least one scene mode;
The interruption switch unit creating or quote for docking at least one information agency interface, described interruption switch unit for determining the information agency interface relevant to a certain event, and obtains described event from described information agency interface and/or provides described event to described information agency interface.
Preferably, the scene identity representing at least one scene mode is generated.
Preferably, described application construction method comprises further: the service logic according to application generates corresponding state, and is that each state generates corresponding scene mode;
Preferably, described application construction method comprises further: for the described information agency interface under special scenes pattern chooses the basic logic functions unit of this scene mode of coupling.
Preferably, described application construction method also comprises: for described basic logic functions unit determines the event, the input data and event sequence that accept.
Further preferably, described event be information agency interface provide feedback event, user or other the event that provides is provided.
Further preferably, described application construction method also comprises: information agency interface and the corresponding relation interrupting switch unit under preservation special scenes pattern.
Thus, the present invention is based on the information agency interface be based upon on message unit, provide the ability of the basic logic functions calling a series of extendability under various scene mode for information segment, and the response mechanism provided the event towards message unit, thus provide good structural support for the utilization of information element content and the expansion of function.Pass through interface mechanism, all be easy under making to be applied in various scene mode realize the complex process using information segment as destination object, finally realizing various utility function for user provides, making the user of generation or visit information fragment can obtain more experience by being applied as entrance.
Accompanying drawing explanation
Below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation:
Fig. 1 is the structural representation of message unit in the embodiment of the present invention;
Fig. 2 is the structural representation of the information agency interface of the embodiment of the present invention;
Fig. 3 is the process flow diagram of the embodiment of the present invention based on the message unit disposal route of information agency Interface realization;
Fig. 4 is the structural representation of application system described in the embodiment of the present invention;
Fig. 5 is the process flow diagram of the embodiment of the present invention based on the message unit application process of information agency interface;
Fig. 6 is for building the system architecture schematic diagram of information agency interface described in the embodiment of the present invention;
Fig. 7 and Fig. 8 is the construction method process flow diagram of information agency interface described in the embodiment of the present invention;
Fig. 9 is the application build system based on information agency interface of the embodiment of the present invention;
Figure 10 is the application construction method based on information agency interface described in the embodiment of the present invention.
Embodiment
In order to make those skilled in the art person understand technical scheme of the present invention better, and enable above-mentioned purpose of the present invention, feature and advantage become apparent more, below in conjunction with embodiment and embodiment accompanying drawing, the present invention is further detailed explanation.
In the present invention, be that basic foundation of data has reading and writing data, the message unit of the basic functions such as position extraction with information segment.Information unit structure as shown in Figure 1, wherein, fragment acquisition module based on the information segment manually or automatically chosen from information data as the substance of this message unit.Position acquisition module is used for the carry position of locating information unit, such as, when information segment derives from electronic document, the carry position of comformed information unit is come in position acquisition module synthesis electronic document address in a network and the position of information segment in electronic document; When information segment exists independent of outside electronic document, be that message unit to select in a certain electronic document position as its carry position by position acquisition module.Message unit outwards provides the channel of information operating by resource controlled block, can realize the substance relevant to message unit by described resource controlled block, carry position, context, the operation of the information such as additional content.
For example, certain electronic document system one section of article about rose, the fragment word " rose " of existence in the middle of this article can be chosen as described information segment, or choose the picture, video etc. that embed in this electronic document as information segment, also or also can construct the keyword of " rose " independent of this electronic document as information segment.The present invention is based on information segment is that corresponding message unit is set up on data basis, comprise: obtain above-mentioned word by fragment acquisition module, picture, video is as the substance of message unit, and by above-mentioned position acquisition module by this message unit carry on the ad-hoc location of described electronic document, to realize the location to this message unit, pass through resource controlled block, the external world can realize the information interaction with this message unit " rose ", obtain the substance of this message unit, carry position, context, the information such as additional content, wherein context is in the word as described information segment in electronic document, picture, content before and after video in certain limit, and additional content comprises the founder of this information segment, the information such as visitor list.
And then, on the basis of message unit, the invention provides information agency interface.Information agency interface is based upon on message unit, with described message unit one_to_one corresponding, for loading on message unit and performing basic logic functions unit.The logical function treatment that to perform with described data content on the data content that described basic logic functions unit can provide at message unit be object, as content matching, adeditive attribute parsing, event response etc., described information agency interface can be chosen according to concrete scene mode and integrate corresponding basic logic functions unit, thus realizes the business function under this scene mode.Application system is called by one or more information agency Interface realization pair message unit corresponding to information agency interface and relevant basic logic function unit, thus the scene mode integrated under one or more information agency interface and realize applying the service logic of self entirety.
Such as, for above-mentioned message unit " rose ", the present invention can set up information agency interface on the basis of this message unit, information agency interface can determine the basic logic functions unit that can call towards one or more different scene mode, to perform the logical process to this message unit " rose " by basic logic functions unit; Information agency interface also can realize the response to the event towards this message unit " rose ".Thus application system is by the calling described message unit and corresponding basic logic functions unit of the information agency Interface realization on one or more message unit, to realize the function of application self.For user, above-mentioned framework of the present invention achieves with this message unit for entrance and collect the system of various application, thus the application making the user of visit information unit can obtain more relevant information and more horn of plenty is experienced.Such as, certain application system may be used for described message unit " rose " to be pushed to may to its interested user, our hypothesis " carnation " and " tulip " is the message unit similar with above-mentioned " rose ", and on message unit " carnation " and " tulip ", also establish corresponding information agency interface, the application then realizing push function obtains the information segment substance of each message unit by the basic logic functions unit of recalls information proxy interface, judge that the similarity of the information segment substance of " carnation " and " tulip " these two message units and information segment " rose " is within preset range through comparison, then and then obtained visitor's list of these two information segments by the information agency interface on message unit " carnation " and " tulip ", therefrom filter out and push targeted customer's inventory, and " rose " this message unit is pushed to targeted customer.
Fig. 2 shows the structural representation of information agency interface of the present invention.As shown in Figure 2, information agency interface unit comprises: information agency is to connection module, basic logic functions Single Component Management module, scene adaptation module and information agency operational management module.
Above mention, information agency interface is based upon on message unit, and the two has relation one to one, described information agency to connection module for obtaining and/or keep the corresponding relation of information agency interface and message unit.Information agency can obtain this message unit carry position in an electronic document by the position acquisition module of message unit to connection module, thus sets up the platform of information agency interface as extend information Elementary Function in this carry position.
Basic logic functions Single Component Management module is for determining the basic logic functions unit that can call under at least one scene mode.An information agency interface can use among the different business scene of different application, thus represents each business scenario with scene mode.Under different scene modes, by the basic logic functions unit that same information agency interface interchange is different.Thus, information agency interface determines to call which basic logic functions unit under each scene mode by basic logic functions Single Component Management module.Such as, basic logic functions Single Component Management module can preserve corresponding basic logic functions unit inventory for each scene mode, the mark of the basic logic functions unit that can call record each scene mode in each inventory under.
The function of scene adaptation module comprises following three aspects: first, for determining the basic logic functions the called unit with current scene patterns match; For current scene mode, scene adaptation module determines basic logic functions unit inventory corresponding under this scene mode, by above-mentioned basic logic functions Single Component Management module, the mark of the basic logic functions unit in corresponding inventory is supplied to information agency operational management module; Secondly, basic logic functions unit and the corresponding relation towards the event of described message unit is determined; 3rd, input data type for determining with the permission of the described basic logic functions unit of current scene patterns match; Like this, information agency operational management module can obtain basic logic functions unit, the event of mating with current scene from scene adaptation module and input the comparison table of data.
Information agency operational management module responds is towards the event of described message unit.Response surface comprises this event of parsing to the mode of the event of message unit, and according under current scene pattern towards the event of message unit and input data and basic logic functions unit between relation, utilize the mark of basic logic functions unit to find and call corresponding basic logic functions unit, this event and input data are injected in invoked basic logic functions unit and perform arithmetic logic, obtain the feedback data as operation result and feedback event, transfer to current information proxy interface or next information agency interface to process.
Fig. 3 shows the message unit disposal route based on above-mentioned information agency Interface realization, namely by process that information agency interface response surface realizes from basic logic functions cell call to the event of message unit.For the event towards certain message unit, according to the corresponding relation of information agency interface and message unit, responded by the information agency interface corresponding with this message unit.The information agency operational management module of information agency interface is resolved this event and obtains current scene pattern, will represent that the scene identity of current scene pattern sends scene adaptation module to; Scene adaptation module, according to this scene identity, determines whether there is the basic logic functions unit inventory corresponding with this scene mode, if existed, the mark of basic logic functions unit inventory is sent to basic logic functions Single Component Management module; The mark of the basic logic functions unit that basic logic functions Single Component Management module can be called under can preserving each scene mode by the form of inventory, thus according to the mark of this basic logic functions unit inventory, the mark of all basic logic functions unit under can transferring out this inventory, and these marks are supplied to information agency operational management module; Each mark by the basic logic functions unit in corresponding inventory is supplied to information agency operational management module; Scene adaptation module can be determined the event of basic logic functions unit and Information unit under current scene pattern, input the comparison table of data, thus the basic logic functions unit that can respond current event is called by the mark of basic logic functions unit, event and input data are injected in invoked basic logic functions unit and perform arithmetic logic.The feedback event after arithmetic logic and feedback data is performed in basic logic functions unit, whether described information agency operational management module can respond described feedback event under determining current scene pattern, if this feedback event can be responded, then continue to call corresponding basic logic functions unit; In not treatable situation, externally export described feedback event.
Based on above-mentioned information agency interface, the present invention and then achieve the application system that various function and service are provided on message unit.Fig. 4 is the structural representation of application system of the present invention, comprises information agency interface and interrupts switch unit.The effect interrupting switch unit is the incoming event receiving other application and user, collects the operation result of multiple information agency interface, thus realizes the switching between information agency interface.Interrupt the starting point that switch unit can be used as application, trigger application system by the event accepted from user interactions and other application.Interrupt switch unit and can dock one or more information agency interface, obtain described event from information agency interface and/or provide described event to described information agency interface; For event, interrupt switch unit module and be set in the condition criterion after receiving one or more event, and determine next step information agency interface after condition criterion each time, and export scene identity, event type and data to this information agency interface.
Fig. 5 shows the message unit application process based on information agency interface.The inventory of basic logic functions unit of information agency interface by calling under scene identity determination current scene pattern, and by the basic logic functions unit in inventory, the event towards message unit is responded, the basic logic functions unit etc. under comprising parsing event above-mentioned and calling special scenes pattern according to described event.When event handling is complete, basic logic functions unit can produce feedback event and feedback data.If there is no this feedback event of basic logic functions cell response in current information agency interface, judge by other information agency interfaces director part, then this information agency interface is dished out this feedback event, and exports mark and the scene identity of current information proxy interface.Application system of the present invention also has information agency linkage record module, for preserving information agency interface and the corresponding relation interrupting switch unit under at least one scene mode, and according to exporting the information agency interface identifier of described current event, current scene mark and above-mentioned event of dishing out and determine receiving the interruption switch unit of current event.Information agency linkage record module is interrupted switch unit accordingly this event transfer, carries out searching of next step information agency interface and be connected by it.Now, the event that switch unit still can receive user interactions and other application is interrupted.
For example, mention above that be pushed to by message unit " rose " may to the application system of its interested user.The service logic of this application system comprises following state:
First state, obtains the out of Memory fragment similar with information segment " rose ";
Second state, obtains the visitor of out of Memory fragment;
The third state, obtains the sequence of the visitor of out of Memory fragment;
4th state, pushes targeted customer according to sequence is selected;
5th state, determines representing form and performing propelling movement of pushed information fragment " rose ".
Before the first state, interrupt the starting point of switch unit as application system using one, the receivable incoming event of this interruption switch unit comprises pushed information fragment " rose " to potential user, and this event may be triggered by user.This interruption switch unit can by with user interactions, the required argument obtaining analog information fragment is set, such as: belong to similar when how highly reaching to the matching degree between information segment and define, obtain the restriction of analog information segment ranges, the founder of message unit is made and limits or give with different weights, the analog information number of fragments of each information source is limited etc.This interruption switch unit determines that responding its information agency interface exported is the information agency interface set up on message unit " rose ", and export the event of " obtaining analog information fragment " to this information agency interface, and export above-mentioned required argument.
Realize in the application of push function above-mentioned, the information agency interface set up on message unit " rose " can respond above-mentioned " obtaining analog information fragment " event, obtains the eigenwert of this information segment and carry out similarity-rough set based on this eigenwert towards this message unit " rose ".Using this described first state realizing the application of push function as a kind of scene mode, information agency interface determines the inventory of the basic logic functions unit that can call under this scene mode by its scene adaptation module, comprising the eigenwert of obtaining information fragment " rose " with carry out similarity mode two basic logic functions unit by information segment eigenwert; The event of the eigenwert of information agency operational management module responds obtaining information fragment " rose " of information agency interface, call the basic logic functions unit of the eigenwert of obtaining information fragment " rose ", this basic logic functions unit feeds back the eigenwert of " the eigenwert of obtaining information fragment " this event and information segment " rose " after performing relevant function logic; This feedback event of information agency operational management module responds and call the basic logic functions unit being carried out similarity mode by information segment eigenwert, the eigenwert of this basic logic functions unit reception information segment " rose " and the eigenwert of out of Memory fragment (comprising " carnation " mentioned above and " tulip ") are as input data, carry out similarity mode computing, feedback " coupling completes " this feedback event, and feed back analog information fragment list as feedback data; Information agency operational management module is based on " coupling completes " this feedback event, and this event of dishing out, transfers to interrupt switch unit accordingly and process.
Information agency linkage record module, according to the information agency interface identifier of " coupling completes " event of dishing out, the corresponding scene identity of the first state and above-mentioned by the event of dishing out, is determined to interrupt by first in this application system the event that switch unit receives " coupling completes ".And, after first interruption switch unit receives " coupling completes " event, according to the analog information fragment obtained in the first state (i.e. " carnation " and " tulip "), determine that next step is by the information agency interface set up on message unit " carnation " and " tulip " " acquisition user Visitor Logs " event, thus enter the second state of application.Here, interrupting the determined information agency interface adopted in next step of switch unit is not set in advance, but interrupt the acquiring way that switch unit to know in next step involved information agency interface in advance, thus can set up with this information agency interface and contact.Further, interrupt switch unit by first, user can arrange the dimension of the Visitor Logs obtaining user, and such as visitor comments on number, visitor authority weight etc., also can set the restrictive condition for calling party.These users arrange the information agency interface that will be sent to together with " obtaining user's Visitor Logs " event as input data on message unit " carnation " and " tulip ".
The above-mentioned information agency interface receiving " obtaining user's Visitor Logs " event can enter in the basic logic functions unit inventory corresponding with representing the scene identity of the second state, by " calling party statistics " this this event of basic logic functions cell processing, from the information segment of correspondence, obtain the user's inventory meeting restrictive condition, send the event of " calling party inventory is collected ".
When receiving the response of all information agency interfaces in given range, after comprising feedback events such as " calling party inventory are collected ", information agency linkage record module determines that interrupting switch unit by second receives this event.Event that second interruption switch unit will send " carrying out sequence screening to the user in inventory ", input data are the multiple calling party inventory and user's setting or default setting just collected, enter the third state thus.Before " user in inventory being carried out to sequence screening " event sends, second interrupts switch unit can also receive the arrangement of user for institute's Consideration priority in sequencer procedure, as technorati authority (creating visitor's number of information segment), liveness (quantity of visit information fragment), participation (quantity of review information fragment) etc., and determine the final number of users needed.
There is the information agency interface that some are general, these information agency interfaces provide public general service for various scene, and screening of sorting is exactly one of them.One of basic logic functions unit that sequence screening comprises as certain general information agency interface, receive the event of " screening of sorting is carried out to the user in inventory " of interrupting switch unit from second, arrange (if do not have user to arrange according to the user in input data, can default setting be used) user in multiple calling party inventory is sorted, number of users as required determines final candidate user inventory.
Determine candidate user inventory when general semantic agent interface and send corresponding event, entering the 3rd and interrupt switch unit, this interruption switch unit will send event " candidate user completes, selects final user ", thus enter the 4th state.The information agency interface that 3rd interruption switch unit determines next step will go back to information agency interface corresponding to message unit " rose ", " candidate user completes, selects final user " event that the basic logic functions unit calling show candidate user by it under this scene mode receives and reception candidate user inventory are as input data.In the middle of the basic logic functions unit of show candidate user, user can browse the details of checking candidate user, determine whether to select to each user, when completing after inventory browses, user will make the selection determining to push targeted customer's inventory, thus this basic logic functions unit will send " for targeted customer's pushed information fragment " event, enter the 5th state.
Information agency interface on message unit " rose " confirms under the scene mode that the 5th state is corresponding, and " for targeted customer's pushed information fragment " event is by the process of this information agency interface; Under scene mode by the 5th state, information agency interface can call another basic logic functions unit and receive propelling movement targeted customer inventory as input data, and sends the information segment of " rose ".What user can push targeted customer's comformed information fragment " rose " to each represents form, word, picture etc., then performs push operation, and after receiving the response reaching and push targeted customer, whole operation flow terminates.
In order to realize above-mentioned application system based on information agency interface, user needs to build information agency interface, and builds corresponding application system based on information agency interface.
Fig. 6 shows the present invention for building the system of information agency interface, comprises information agency to connection module, information channel administration module, basic logic functions unit access module, basic logic functions Single Component Management module and scene adaptation module.
Information agency for determining the message unit corresponding with information agency interface to connection module, thus is set up and safeguards information agency interface mentioned above and the one-to-one relationship of message unit.
Information channel administration module is for determining the exportable data type of the message unit corresponding with information agency interface.The data type relevant with information segment that this message unit can externally export can be determined by the resource controlled block of message unit, data type can be divided into user type (as founder, user), information segment content type (as information segment self and context thereof), association type (as contacting of message unit and other location points) etc.Message unit can carry out authority setting to data type, after described information channel administration module obtains this authority setting, provides term restriction when adding in information agency interface or run basic logic functions unit according to this setting.
Described basic logic functions unit access module creates the factors such as the user profile of described list according to the position of the exportable data type of message unit, message unit and content, application, judges whether alternative basic logic functions unit meets the restrictive condition entering information agency interface.
In order to add each basic logic functions unit to information agency interface to call, the scene mode being obtained each scene mode by scene adaptation module identifies, and the corresponding relation of the basic logic functions unit that can call under determining scene mode mark and this scene mode, and determine the processed event of basic logic functions unit and allow input data type.
Basic logic functions Single Component Management module for the basic logic functions unit that can call under determining each scene mode, such as, is set up inventory for each scene mode, is included the mark of the basic logic functions unit that can call with the form of this inventory.
Fig. 7 to Fig. 8 shows the construction method of information agency interface.As shown in Figure 7, when creating a new information agency interface, by information agency to the first selected message unit corresponding with it of connection module, can select existing message unit also can be newly-built; During newly-built message unit, carry out initial detecting by the fragment acquisition module of this message unit, position acquisition module, resource controlled block.After comformed information unit, first can create the blank information agency interface not adding any basic logic functions unit.Information channel administration module obtains the kind that message unit externally can provide data afterwards, and basic logic functions unit access module preserves the kind of information channel, the content of message unit and position, as the restrictive condition adding basic logic functions unit.
As shown in Figure 8, information agency interface adds basic logic functions unit under each scene mode to call.When increasing basic logic functions unit for information agency interface, obtain scene identity by scene adaptation module, basic logic functions Single Component Management module determines whether there is the inventory corresponding with this scene identity.If do not had, obtaining request is increased newly the relevant information of the applicant of inventory by scene adaptation module, and basic logic functions unit access module judges after considering channel, position, content and user profile whether the basic logic functions unit increased newly can run in current information proxy interface.By the identity inventory of basic logic functions unit can be created after examination & verification, identified and the corresponding relation of inventory by scene adaptation module saving scenario, and determine the accepted event type of the basic logic functions unit run in each scene mode and input data type.
Present invention also offers a kind of application build system based on information agency interface, as shown in Figure 9, comprise state creation module, module, information agency functional module are selected in information agency, interrupt switch unit structure module and information agency linkage record module.
State creation module is used for generating corresponding state according to the service logic of application, and is that each state generates corresponding scene mode, thus the service logic flow process of application system is converted into each scene mode.
The information agency interface that information agency is included under selecting module to determine to be applied at least one scene mode, generates the scene identity representing at least one scene mode.Information agency functional module is the basic logic functions unit that the described information agency interface under special scenes pattern chooses this scene mode of coupling.Information agency functional module also for determining the event, the input data and event sequence that accept for described basic logic functions unit, described event comprise feedback event that information agency interface provides, user or other event provided is provided.
Interrupt switch unit and build module for creating or quote the interruption switch unit for docking at least one information agency interface, described interruption switch unit for determining the information agency interface relevant to a certain event, and obtains described event from described information agency interface and/or provides described event to described information agency interface.
The application construction method based on information agency interface as shown in Figure 10, by state creation module, the service logic of application can describe and be converted into various state by user, and each state wherein forms the concrete scene mode in information agency interface.Information agency is selected module to identify according to the description generating scene of each state and is determined the information agency interface that relates to.After the scope determining optional information proxy interface, from first information agency interface, mate the basic logic functions unit corresponding with scene identity by information agency functional module by the scene adaptation module of current information proxy interface.Further, be that basic logic functions unit is determined to accept event type and corresponding input data by information agency functional module, the event respective sequence of setting basic logic functions unit.
Further, when need to collect multiple information agency interface operation result, realize the switching between information agency interface and receive the incoming event of other application and user time, build module creation by interrupting switch unit or quote interruption switch unit.
Information agency linkage record module to preserve in operation flow information agency interface and next connection of interrupting switch unit under each state, and receiving information agency interface internal cannot response events, carries out the transfer of information agency interface to interruption switch unit.
Thus, the present invention is based on the information agency interface be based upon on message unit, provide the ability calling a series of basic logic functions under various scene mode for information segment, and the response mechanism provided the event towards message unit, thus provide good structural support for the utilization of information element content and the expansion of function.Pass through interface mechanism, all be easy under making to be applied in various scene mode realize the complex process using information segment as destination object, finally for user provides various utility function, make the user of generation or visit information fragment can obtain more experience by application.
The above, be only the specific embodiment of the present invention, and the present invention can also be applied in miscellaneous equipment; Size in more than describing and quantity are all only informative, and those skilled in the art can select suitable application size according to actual needs, and do not depart from the scope of the present invention.Protection scope of the present invention is not limited thereto, and is anyly familiar with those skilled in the art in the technical scope that the present invention discloses, the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, the protection domain that protection scope of the present invention should define with claim is as the criterion.

Claims (10)

1. an information agency interface, is characterized in that, comprising:
Information agency to connection module, for obtaining and/or keep the corresponding relation of information agency interface and message unit;
Basic logic functions Single Component Management module, for determining the basic logic functions unit that can call under at least one scene mode;
Information agency operational management module, for the event of response surface to described message unit.
2. information agency interface according to claim 1, it is characterized in that, described information agency interface comprises further: scene adaptation module, for determining the basic logic functions the called unit with current scene patterns match, and basic logic functions unit with towards the corresponding relation of the event of described message unit.
3., based on a message unit disposal route for information agency interface, it is characterized in that, comprising:
The basic logic functions unit that can call under at least one scene mode is determined by described information agency interface;
According to the corresponding relation of information agency interface and message unit, by the event of described information agency interface response surface to described message unit.
4. message unit disposal route according to claim 3, it is characterized in that, determine the basic logic functions the called unit with current scene patterns match by described information agency interface, and basic logic functions unit with towards the corresponding relation of the event of described message unit.
5. based on an application system for information agency interface, it is characterized in that, comprising:
Interrupt switch unit, for determining the information agency interface relevant to current event, and obtain described event from described information agency interface and/or provide described event to described information agency interface;
Information agency interface, for determining the basic logic functions unit that can call under at least one scene mode, and according to the corresponding relation of information agency interface and message unit, response surface is to the event of described message unit.
6., based on a message unit application process for information agency interface, it is characterized in that, comprise the following steps:
Determine the information agency interface relevant to current event, and obtain described event from described information agency interface and/or provide described event to described information agency interface;
Determine the basic logic functions unit that can call under at least one scene mode, and according to the corresponding relation of information agency interface and message unit, by the event of information agency interface response surface to described message unit.
7. a constructing system for information agency interface, is characterized in that, comprising:
Information agency, to connection module, determines the message unit corresponding with information agency interface;
Basic logic functions Single Component Management module, for the basic logic functions unit that can call under determining at least one scene mode.
8. a construction method for information agency interface, is characterized in that, comprises the following steps:
Determine the message unit corresponding with information agency interface;
Determine the basic logic functions unit that can call under at least one scene mode.
9., based on an application build system for information agency interface, it is characterized in that, comprising:
Module is selected in information agency, for information agency interface included under determining to be applied at least one scene mode;
Interrupt switch unit and build module, for creating or quote the interruption switch unit for docking at least one information agency interface, described interruption switch unit for determining the information agency interface relevant to a certain event, and obtains described event from described information agency interface and/or provides described event to described information agency interface.
10. based on an application construction method for information agency interface, it is characterized in that, comprising:
Information agency interface included under determining to be applied at least one scene mode;
The interruption switch unit creating or quote for docking at least one information agency interface, described interruption switch unit for determining the information agency interface relevant to a certain event, and obtains described event from described information agency interface and/or provides described event to described information agency interface.
CN201410627400.5A 2014-11-10 2014-11-10 A kind of information agency interface and the application system based on the information agency interface Active CN104462219B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410627400.5A CN104462219B (en) 2014-11-10 2014-11-10 A kind of information agency interface and the application system based on the information agency interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410627400.5A CN104462219B (en) 2014-11-10 2014-11-10 A kind of information agency interface and the application system based on the information agency interface

Publications (2)

Publication Number Publication Date
CN104462219A true CN104462219A (en) 2015-03-25
CN104462219B CN104462219B (en) 2019-06-18

Family

ID=52908255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410627400.5A Active CN104462219B (en) 2014-11-10 2014-11-10 A kind of information agency interface and the application system based on the information agency interface

Country Status (1)

Country Link
CN (1) CN104462219B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106502809A (en) * 2016-11-08 2017-03-15 深圳天珑无线科技有限公司 A kind of multi-platform application program adaptation method, device and terminal unit
CN108326846A (en) * 2017-12-19 2018-07-27 北京可以科技有限公司 Modularization robot and its modular unit position calculating method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080040731A1 (en) * 2006-07-11 2008-02-14 International Business Machines Corporation Dynamically inserting proxies into java environments without coding explicit proxy hooks into java applications
CN104036027A (en) * 2014-06-27 2014-09-10 吴涛军 Methods and systems for connection establishment and information transmission between positions of electronic documents
CN104036028A (en) * 2014-06-27 2014-09-10 吴涛军 Processing system, generation method, processing method and differential displaying method for electronic document information fragments
CN104111768A (en) * 2014-07-30 2014-10-22 吴涛军 Interactive window, methods and systems for defining, quoting and synchronizing interactive windows

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080040731A1 (en) * 2006-07-11 2008-02-14 International Business Machines Corporation Dynamically inserting proxies into java environments without coding explicit proxy hooks into java applications
CN104036027A (en) * 2014-06-27 2014-09-10 吴涛军 Methods and systems for connection establishment and information transmission between positions of electronic documents
CN104036028A (en) * 2014-06-27 2014-09-10 吴涛军 Processing system, generation method, processing method and differential displaying method for electronic document information fragments
CN104111768A (en) * 2014-07-30 2014-10-22 吴涛军 Interactive window, methods and systems for defining, quoting and synchronizing interactive windows

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106502809A (en) * 2016-11-08 2017-03-15 深圳天珑无线科技有限公司 A kind of multi-platform application program adaptation method, device and terminal unit
CN106502809B (en) * 2016-11-08 2019-10-08 上海基连网络科技有限公司 A kind of multi-platform application program adaptation method, device and terminal device
CN108326846A (en) * 2017-12-19 2018-07-27 北京可以科技有限公司 Modularization robot and its modular unit position calculating method
CN108326846B (en) * 2017-12-19 2020-11-03 北京可以科技有限公司 Modular robot and module unit position calculation method thereof

Also Published As

Publication number Publication date
CN104462219B (en) 2019-06-18

Similar Documents

Publication Publication Date Title
KR101626474B1 (en) Apparatus for providing document sharing service based messenger and method using the same
CN105808649B (en) A kind of search result ordering method and its equipment
CN104580179B (en) A kind of message treatment method, device and server
CN112019820B (en) Interface generation method and device
CN106101747A (en) A kind of barrage content processing method and application server, user terminal
CN107659850B (en) Media information processing method and device
KR101772361B1 (en) Method, system and recording medium for providing content in messenger
CN108228770A (en) A kind of method and device of application file source inquiry
WO2021087684A1 (en) Method and apparatus for processing user behavior data, server, and storage medium
CN104636394A (en) Displaying method, system and device for user generated content information
CN105607749A (en) Shortcut operation method, shortcut operation device and terminal
CN106844731A (en) Advertisement shields method and system
CN111557014B (en) Method and system for providing multiple personal data
CN112068923A (en) Interface updating method and device
CN103999082A (en) Method, computer program, and computer for detecting community in social medium
CN106506568A (en) Information interaction system
CN104580438A (en) Method for co-browsing and editing webpage by using more than two intelligent terminals
CN104462219A (en) Information agent interface and application system based on information agent interface
CN104090878B (en) A kind of multimedia lookup method, terminal, server and system
WO2019033718A1 (en) Third party information notification method, system, and computer readable storage medium
CN113364915B (en) Information display method and device and electronic equipment
JP6200545B2 (en) Method and server for providing content service
CN113821704B (en) Method, device, electronic equipment and storage medium for constructing index
CN111031354B (en) Multimedia playing method, device and storage medium
CN106302821A (en) A kind of data request method and equipment thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant