CN107368334A - A kind of business plug-in unit interactive system and method - Google Patents

A kind of business plug-in unit interactive system and method Download PDF

Info

Publication number
CN107368334A
CN107368334A CN201710606899.5A CN201710606899A CN107368334A CN 107368334 A CN107368334 A CN 107368334A CN 201710606899 A CN201710606899 A CN 201710606899A CN 107368334 A CN107368334 A CN 107368334A
Authority
CN
China
Prior art keywords
plug
business datum
business
unit
message body
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
CN201710606899.5A
Other languages
Chinese (zh)
Other versions
CN107368334B (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 QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology 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 QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201710606899.5A priority Critical patent/CN107368334B/en
Publication of CN107368334A publication Critical patent/CN107368334A/en
Application granted granted Critical
Publication of CN107368334B publication Critical patent/CN107368334B/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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/03Protocol definition or specification 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of business plug-in unit interactive system and method, the system includes:Agreement making device, the plug-in registration protocol entity communicated for formulating plug-in unit group with host APP;Service end, for business datum to be handled according to the plug-in registration agreement, first business datum of the generation comprising message header and message body is simultaneously sent to host APP;Host APP, for content of first business datum according to message header to be grouped, and the business datum after packet is forwarded to corresponding business plug-in unit in the plug-in unit group respectively;Business plug-in unit, for by parsing the business datum after the packet that receives, obtaining the message body of the business datum after the packet, and the content in message body carries out corresponding service response.Solve the problems, such as that host APP and plug-in unit APP transmits and parsed the cumbersome flow of business datum by the present invention.

Description

A kind of business plug-in unit interactive system and method
Technical field
The present invention relates to technical field of internet application, a kind of application system more particularly to plug-in registration agreement and Method.
Background technology
Recent years, with the increasingly extensive of smart mobile phone application, Android (android) plug-in unit technology is also carried out therewith Promote.Plug-in unit is the program that a kind of application programming interfaces for following certain specification are write out.It can only operate in procedure stipulation System platform under (multiple platforms may be supported simultaneously), and the platform isolated operation specified can not be departed from.Many softwares have Plug-in unit, plug-in unit have countless.Application software provide enable the respective services that plug-in unit is applied, including provide load mode, Plug-in unit is set to be loaded into application program and the network transmission protocol.
APP is commonly known as cell phone software, the client software being just mounted on smart mobile phone, for improving original system The deficiency of system and personalization.When software installation bag is installed, whole APP is split into many modules, these modules Including a host APP and multiple business plug-in units, wherein host APP needs to carry out information exchange with business plug-in unit.As APP is set The more and more comprehensive of function is counted, host APP access plug numbers increase, and so allow for the interaction of host APP and business plug-in unit Complicate, because there is different communication rules each business side.A kind of host APP and the puppy parc of newsletter are needed, For solving host APP and the transmission of business plug-in unit and the cumbersome flow of parsing business datum.
The content of the invention
Be directed to above mentioned problem, the present invention provides a kind of business plug-in unit interactive system and method, based on a kind of host APP and The plug-in registration agreement of business plug-in unit, solve host APP and the transmission of business plug-in unit and the cumbersome flow of parsing business datum The problem of.
To achieve these goals, according to the first aspect of the invention, a kind of business plug-in unit interactive system, the system bag Include:Agreement making device, service end, host APP and the plug-in unit group for including multiple business plug-in units;
The agreement making device, the plug-in registration system communicated for formulating the plug-in unit group with the host APP Agreement, wherein, the plug-in registration agreement is used to indicate that the service end is generated as presetting to the data processing being transmitted The data of data format, the preset data form include message header and message body;
The service end, for business datum to be handled according to the plug-in registration agreement, generation includes message First business datum of head and message body is simultaneously sent to the host APP;
The host APP, for content of first business datum according to message header to be grouped, and by after packet Business datum be forwarded to corresponding business plug-in unit in the plug-in unit group respectively;
The plug-in unit, for by parsing the business datum after the packet that receives, obtaining the business number after the packet According to message body, and content in message body carries out corresponding service response.
Preferably, the service end includes message header structural unit, message body structural unit and transmitting element, wherein,
The message header structural unit, for extracting the mark of the service attribute in the business datum, by the business Attribute-bit is configured to the message header of the first business datum according to the plug-in registration agreement;
The message body structural unit, for extracting the service response information in the business datum, by the business Response message is configured to the message body of the first business datum according to the plug-in registration agreement;
The transmitting element, for posttectonic the first business datum comprising the message header and the message body to be sent out Deliver to the host APP.
Preferably, the host APP includes receiving unit, grouped element and retransmission unit, wherein,
The receiving unit, the first business datum sent for receiving the service end;
The grouped element, the service attribute mark in the message header for parsing first business datum, foundation The service attribute mark, will be divided into one group with the first business datum that identical service attribute identifies;
The retransmission unit, inserted for the business datum after packet to be respectively sent into corresponding business in the plug-in unit group Part.
Preferably, the business plug-in unit includes:Resolution unit and response unit, wherein,
The resolution unit, for by parsing the business datum after the packet that receives, obtaining the industry after the packet The service response information included in the message body for data of being engaged in;
The response unit, for the service response information obtained according to parsing, the service response information is entered The corresponding service response of row.
According to the second aspect of the invention, there is provided a kind of business plug-in unit exchange method, this method include:
The plug-in registration agreement that plug-in unit group is communicated with the host APP is formulated, wherein, the plug-in registration system association Discuss for indicating that the service end is generated as preset data form data, the preset data lattice to the data processing being transmitted Formula includes message header and message body;
Business datum is handled according to the plug-in registration agreement, generation includes the first of message header and message body Business datum is simultaneously sent to the host APP;
By first business datum, the content according to message header is grouped the host APP, and by the industry after packet Business data are forwarded to corresponding business plug-in unit in the plug-in unit group respectively;
The plug-in unit obtains disappearing for the business datum after the packet by the business datum after parsing the packet received Body is ceased, and the content in the message body carries out corresponding service response.
Preferably, it is described to be handled business datum according to the plug-in registration agreement, generation comprising message header and First business datum of message body is simultaneously sent to the host APP, including:
The service attribute mark in the business datum is extracted, the service attribute is identified according to the plug-in registration Agreement processed is configured to the message header of the first business datum;
The service response information in the business datum is extracted, by the service response information according to the plug-in registration Agreement processed is configured to the message body of the first business datum;
Posttectonic the first business datum comprising the message header and the message body is sent to the host APP.
Preferably, by first business datum, the content according to message header is grouped the host APP, and will be divided Business datum after group is forwarded to the plug-in unit group respectively, including:
Receive the first business datum;
Separate out service attribute in the message header of first business datum to identify, identify, will have according to the service attribute The first business datum for having identical service attribute to identify is divided into one group;
The business datum after packet is respectively sent to corresponding business plug-in unit in the plug-in unit group.
Preferably, the plug-in unit obtains the business after the packet by the business datum after parsing the packet received The message body of data, and the content in the message body carries out corresponding service response, including:
Business datum after the packet received by parsing, obtains wrapping in the message body of the business datum after the packet The service response information contained;
The obtained service response information is parsed, corresponding service response is carried out to the service response information.
Compared to prior art, the present invention is noted by having formulated business plug-in unit with the plug-in unit that the host APP is communicated Volume agreement processed, business datum carry out processing construction, posttectonic industry to the data in service end according to plug-in registration agreement Message header and message body are included in business data, host APP forwards according to the message body of business datum to the business datum To business plug-in unit, the content that business plug-in unit parses message body is responded accordingly, because host APP need not pay close attention to business number According to body matter business datum can be forwarded, when business plug-in unit and host APP are interacted, it is only necessary to according to system Fixed plug-in registration agreement carries out data configuration, and different communication associations is chosen without the species according to business plug-in unit View, and then solve the problems, such as host APP and the transmission of business plug-in unit and the cumbersome flow of parsing business datum.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of structural representation for business plug-in unit interactive system that the embodiment of the present invention one provides;
Fig. 2 is a kind of schematic flow sheet for business plug-in unit exchange method that the embodiment of the present invention two provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Embodiment one
Referring to the structural representation that Fig. 1 is a kind of business plug-in unit interactive system that the embodiment of the present invention 1 provides, the system bag Include:
Agreement making device 1, service end 2, host APP3 and the plug-in unit group 4 for including multiple business plug-in units;
The agreement making device 1, the plug-in registration system communicated for formulating the plug-in unit group with the host APP Agreement, wherein, the plug-in registration agreement is used to indicate that the service end is generated as presetting to the data processing being transmitted The data of data format, the preset data form include message header and message body;
For example, when Android client installs software kit, because Android is inserted during software kit is installed Part, which melts hair, to split into many modules by whole software, and these modules just include a host APP and business plug-in unit.With The quantity of the business plug-in unit of host APP accesses gradually increases, if using original communications protocol, each business will be caused to insert Part is required for an independent communications protocol when being interacted with host APP, so having formulated a kind of plug-in unit in the present embodiment Registration system agreement, as a kind of general communications protocol, service end can be made to be carried out according to this agreement to the data of transmission corresponding Processing, generate default data format, message header and message body included in this data format.Accordingly, one kind has been formulated General plug-in registration agreement can meet the communication rule of different business plug-in unit, and the extension to plug-in unit business, which has, actively to be made With.
The service end 2, for business datum to be handled according to the plug-in registration agreement, generation includes message First business datum of head and message body is simultaneously sent to the host APP 3;
Specifically, the service end includes message header structural unit 21, message body structural unit 22 and transmitting element 23, its In,
The message header structural unit 21, for extracting the mark of the service attribute in the business datum, by the industry Business attribute-bit is configured to the message header of the first business datum according to the plug-in registration agreement;
The message body structural unit 22, for extracting the service response information in the business datum, by the industry Business response message is configured to the message body of the first business datum according to the plug-in registration agreement;
Transmitting element 23, for posttectonic the first business datum comprising the message header and the message body to be sent To the host APP.
It should be understood that because host APP and business plug-in unit will be communicated, so the data transmitted between them will The plug-in registration agreement of formulation is followed, the business datum of transmission is constructed according to this agreement, extracts the industry first Service attribute mark in data of being engaged in, the service attribute is identified and is configured to the business according to the plug-in registration agreement The message header of data, that is, formulate the business business_id that each business plug-in unit needs, the message as business datum forwarding Head, this is the unique mark of the business datum.
The message body structural unit, for extracting the service response information in the business datum, by the business Response message is configured to the message body of the business datum according to the plug-in registration agreement, that is, formulating each business plug-in unit needs The call parameter wanted, including business_params, business_plugins, these parameters are message body, are inserted for business Part parsing business datum, processing business.
Accordingly, business datum is carried out to unified construction, that is, is configured to contain the business datum of message header and message body, Host APP can be caused to only focus on header contents, most of host APP in the prior art has been broken away from and participated in business The cumbersome flow of plug-in's data resolving.
The host APP3, for content of first business datum according to message header to be grouped, and will packet Business datum afterwards is forwarded to corresponding business plug-in unit 4 in the plug-in unit group respectively;
Specifically, the host APP includes receiving unit 31, grouped element 32 and retransmission unit 33, wherein,
The receiving unit, the first business datum sent for receiving the service end;
The grouped element, the service attribute mark in the message header for parsing first business datum, foundation The service attribute mark, will be divided into one group with the first business datum that identical service attribute identifies;
The retransmission unit, inserted for the business datum after packet to be respectively sent into corresponding business in the plug-in unit group Part.
Identified it should be understood that the host APP parses service attribute by the message header of the business datum, due to Multiple business plug-in units be present, and the business tine corresponding to each business plug-in unit is different, then needs to identify according to service attribute The business datum is grouped, and business datum corresponding to different business attribute-bit is respectively sent to corresponding business Plug-in unit, the host APP have only parsed the message header part in the business datum, have not paid close attention to its message body i.e. business datum In business tine, be intended only as the transfer side of business datum, that is, realize host APP be not involved in business plug-in unit parsing business Cumbersome flow.
The plug-in unit, for by parsing the business datum after the packet that receives, obtaining the business number after the packet According to message body, and content in message body carries out corresponding service response.
Specifically, the business plug-in unit includes:Resolution unit and response unit, wherein,
The resolution unit, for by parsing the business datum after the packet that receives, obtaining the industry after the packet The service response information included in the message body for data of being engaged in;
Response unit, for the service response information obtained according to parsing, phase is carried out to the service response information The service response answered.
For example, if host APP is video APP, corresponding plug-in unit group will include show field plug-in unit, live insert Part and store plug-in unit etc., when the host APP interacts with the plug-in unit group, i.e., described plug-in unit group is linked into the host In APP, the business datum that the video APP receives correlation is that it is store to parse message header, by this industry into store homepage For data forwarding of being engaged in store plug-in unit, message body that store plug-in unit parses business datum is into homepage, and then carries out corresponding, is entered Enter the homepage in the store.
By technical scheme disclosed in the embodiment of the present invention one, carried out by having formulated business plug-in unit with the host APP The plug-in registration agreement of communication, business datum carry out processing structure according to plug-in registration agreement in service end to the data Make, message header and message body are included in posttectonic business datum, host APP is according to the message body of business datum to the business Data are carried out being forwarded to business plug-in unit, and the content that business plug-in unit parses message body is responded accordingly, due to host APP without The body matter i.e. message body of business datum need to be paid close attention to, so that it may business datum is forwarded, when business plug-in unit and host APP enter During row interaction, it is only necessary to data configuration is carried out according to the plug-in registration agreement of formulation, without the kind according to business plug-in unit Class and choose different communications protocol, and then solve host APP and the transmission of business plug-in unit and parse the cumbersome stream of business datum The problem of journey.
Embodiment two
With the embodiment of the present invention one disclosed in a kind of business plug-in unit interactive system it is corresponding, embodiments of the invention two also carry A kind of business plug-in unit exchange method has been supplied, has been a kind of business plug-in unit exchange method that the embodiment of the present invention two provides referring to Fig. 2 Schematic flow sheet, this method include:
S11, the plug-in registration agreement that plug-in unit group is communicated with host APP is formulated, wherein, the plug-in registration system association Discuss for indicating that the service end is generated as preset data form data, the preset data lattice to the data processing being transmitted Formula includes message header and message body;
S12, business datum handled according to the plug-in registration agreement, generation is comprising message header and message body First business datum is simultaneously sent to the host APP;
Specifically, described handled business datum according to the plug-in registration agreement, generation comprising message header and First business datum of message body is simultaneously sent to the host APP, including:
The service attribute mark in the business datum is extracted, the service attribute is identified according to the plug-in registration Agreement processed is configured to the message header of the first business datum;
The service response information in the business datum is extracted, by the service response information according to the plug-in registration Agreement processed is configured to the message body of the first business datum;
Posttectonic the first business datum comprising the message header and the message body is sent to the host APP.
By first business datum, the content according to message header is grouped by S13, the host APP, and by after packet Business datum be forwarded to corresponding business plug-in unit in the plug-in unit group respectively;
Accordingly, by first business datum, the content according to message header is grouped the host APP, and will be divided Business datum after group is forwarded to the plug-in unit group respectively, including:
Receive the first business datum;
Separate out service attribute in the message header of first business datum to identify, identify, will have according to the service attribute The first business datum for having identical service attribute to identify is divided into one group;
The business datum after packet is respectively sent to corresponding business plug-in unit in the plug-in unit group.
S14, the business plug-in unit obtain the business after the packet by the business datum after parsing the packet received The message body of data, and the content in the message body carries out corresponding service response.
Corresponding, the plug-in unit obtains the business after the packet by the business datum after parsing the packet received The message body of data, and the content in the message body carries out corresponding service response, including:
Business datum after the packet received by parsing, obtains wrapping in the message body of the business datum after the packet The service response information contained;
The obtained service response information is parsed, corresponding service response is carried out to the service response information.
It should be understood that the puppy parc formulated by the present invention can also be applied in plug-in unit operation expanding field, than Such as when there is new business plug-in unit to be linked into host APP, i.e., new business plug-in unit is communicated with host APP, can be according to system Fixed plug-in registration agreement carries out the construction of unified form to the data for carrying out communication transfer, without introducing new communication rule Then.
In embodiments of the invention two, by formulating a kind of plug-in registration agreement, when business plug-in unit is linked into host Communicated therebetween during APP, because the quantity of business plug-in unit is more, it is possible to using the plug-in registration agreement pair The business datum being transmitted is configured to unified data format, and host APP only needs disappearing in posttectonic data Breath head carries out the forwarding of corresponding message, and corresponding business plug-in unit is then responded by the content parsed in message body, host APP Do not pay close attention to the content of message body during message forwards, business datum resolving is become more simple, solve place The problem of main APP and plug-in unit APP is transmitted and is parsed the cumbersome flow of business datum.
Term " first " and " second " in description and claims of this specification and above-mentioned accompanying drawing etc. are to be used for area Not different objects, rather than for describing specific order.In addition term " comprising " and " having " and their any deformations, It is intended to cover non-exclusive include.Such as contain the process of series of steps or unit, method, system, product or set It is standby not to be set in the step of having listed or unit, but the step of may include not list or unit.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment For, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is said referring to method part It is bright.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (8)

1. a kind of business plug-in unit interactive system, it is characterised in that the system includes:Agreement making device, service end, host APP With the plug-in unit group for including multiple business plug-in units;
The agreement making device, the plug-in registration agreement communicated for formulating the plug-in unit group with the host APP, Wherein, the plug-in registration agreement is used to indicate that the service end is generated as preset data lattice to the data processing being transmitted The data of formula, the preset data form include message header and message body;
The service end, for business datum to be handled according to the plug-in registration agreement, generation comprising message header and First business datum of message body is simultaneously sent to the host APP;
The host APP, for first business datum to be grouped according to the content of message header, and by the industry after packet Business data are forwarded to corresponding business plug-in unit in the plug-in unit group respectively;
The business plug-in unit, for by parsing the business datum after the packet that receives, obtaining the business number after the packet According to message body, and content in message body carries out corresponding service response.
2. system according to claim 1, it is characterised in that the service end includes message header structural unit, message body Structural unit and transmitting element, wherein,
The message header structural unit, for extracting the mark of the service attribute in the business datum, by the service attribute Mark is configured to the message header of the first business datum according to the plug-in registration agreement;
The message body structural unit, for extracting the service response information in the business datum, by the service response Information is configured to the message body of the first business datum according to the plug-in registration agreement;
The transmitting element, for by posttectonic the first business datum comprising the message header and the message body send to The host APP.
3. system according to claim 1, it is characterised in that the host APP includes receiving unit, grouped element and turned Bill member, wherein,
The receiving unit, the first business datum sent for receiving the service end;
The grouped element, the service attribute mark in the message header for parsing first business datum, according to described in Service attribute identifies, and will be divided into one group with the first business datum that identical service attribute identifies;
The retransmission unit, for the business datum after packet to be respectively sent into corresponding business plug-in unit in the plug-in unit group.
4. system according to claim 1, it is characterised in that the business plug-in unit includes:Resolution unit and response unit, Wherein,
The resolution unit, for by parsing the business datum after the packet that receives, obtaining the business number after the packet According to message body in the service response information that includes;
The response unit, for the service response information obtained according to parsing, phase is carried out to the service response information The service response answered.
5. a kind of business plug-in unit exchange method, it is characterised in that this method includes:
The plug-in registration agreement that plug-in unit group is communicated with the host APP is formulated, wherein, the plug-in registration agreement is used Preset data form data, the preset data form bag are generated as to the data processing being transmitted in the instruction service end Include message header and message body;
Business datum is handled according to the plug-in registration agreement, first business of the generation comprising message header and message body Data Concurrent delivers to the host APP;
By first business datum, the content according to message header is grouped the host APP, and by the business number after packet According to being forwarded to corresponding business plug-in unit in the plug-in unit group respectively;
The business plug-in unit obtains disappearing for the business datum after the packet by the business datum after parsing the packet received Body is ceased, and the content in the message body carries out corresponding service response.
6. according to the method for claim 5, it is characterised in that it is described by business datum according to the plug-in registration agreement Being handled, first business datum of the generation comprising message header and message body is simultaneously sent to the host APP, including:
The service attribute mark in the business datum is extracted, service attribute mark is assisted according to the plug-in registration system View is configured to the message header of the first business datum;
The service response information in the business datum is extracted, the service response information is assisted according to the plug-in registration system View is configured to the message body of the first business datum;
Posttectonic the first business datum comprising the message header and the message body is sent to the host APP.
7. according to the method for claim 5, it is characterised in that the host APP disappears first business datum, foundation The content of breath head is grouped, and the business datum after packet is forwarded into the plug-in unit group respectively, including:
Receive the first business datum;
Separate out service attribute in the message header of first business datum to identify, identified according to the service attribute, there will be phase First business datum of same service attribute mark is divided into one group;
The business datum after packet is respectively sent to corresponding business plug-in unit in the plug-in unit group.
8. system according to claim 5, its special type is, the plug-in unit passes through the business after parsing the packet received Data, the message body of the business datum after the packet is obtained, and the content in the message body carries out corresponding business Response, including:
Business datum after the packet received by parsing, obtains what is included in the message body of the business datum after the packet Service response information;
The obtained service response information is parsed, corresponding service response is carried out to the service response information.
CN201710606899.5A 2017-07-24 2017-07-24 Business plug-in interaction system and method Active CN107368334B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710606899.5A CN107368334B (en) 2017-07-24 2017-07-24 Business plug-in interaction system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710606899.5A CN107368334B (en) 2017-07-24 2017-07-24 Business plug-in interaction system and method

Publications (2)

Publication Number Publication Date
CN107368334A true CN107368334A (en) 2017-11-21
CN107368334B CN107368334B (en) 2020-08-28

Family

ID=60307717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710606899.5A Active CN107368334B (en) 2017-07-24 2017-07-24 Business plug-in interaction system and method

Country Status (1)

Country Link
CN (1) CN107368334B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595220A (en) * 2018-04-25 2018-09-28 上海掌门科技有限公司 Processing method, equipment and the computer readable storage medium of application component
CN108958842A (en) * 2018-07-12 2018-12-07 北京猫眼文化传媒有限公司 The business plug-in unit application method of application program and application program
CN109286558A (en) * 2018-10-09 2019-01-29 武汉斗鱼网络科技有限公司 Message distributing method, device, electronic equipment and storage medium
CN114422625A (en) * 2022-01-26 2022-04-29 杭州鸿泉物联网技术股份有限公司 Data access method and gateway

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013364A (en) * 2006-01-30 2007-08-08 国际商业机器公司 Method and system for extensible user interface
US20090193444A1 (en) * 2008-01-29 2009-07-30 Microsoft Corporation Techniques for creating and managing extensions
CN101699405A (en) * 2009-10-26 2010-04-28 中兴通讯股份有限公司 Method and device for interaction between host program and plug-in and interaction between plug-ins
CN101771960A (en) * 2009-01-04 2010-07-07 ***通信集团公司 Service invoking method for mobile network, and service gateway, service platform and system thereof
CN103747035A (en) * 2013-12-20 2014-04-23 深圳市金证科技股份有限公司 Message middleware multi-target routing and copying technology based on rule
CN104778042A (en) * 2015-03-30 2015-07-15 江苏省邮电规划设计院有限责任公司 Stream data processing method based on event stream processing and plug-in type development framework
CN105653335A (en) * 2015-12-31 2016-06-08 北京锐安科技有限公司 Plug-in procedure control method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013364A (en) * 2006-01-30 2007-08-08 国际商业机器公司 Method and system for extensible user interface
US20090193444A1 (en) * 2008-01-29 2009-07-30 Microsoft Corporation Techniques for creating and managing extensions
CN101771960A (en) * 2009-01-04 2010-07-07 ***通信集团公司 Service invoking method for mobile network, and service gateway, service platform and system thereof
CN101699405A (en) * 2009-10-26 2010-04-28 中兴通讯股份有限公司 Method and device for interaction between host program and plug-in and interaction between plug-ins
CN103747035A (en) * 2013-12-20 2014-04-23 深圳市金证科技股份有限公司 Message middleware multi-target routing and copying technology based on rule
CN104778042A (en) * 2015-03-30 2015-07-15 江苏省邮电规划设计院有限责任公司 Stream data processing method based on event stream processing and plug-in type development framework
CN105653335A (en) * 2015-12-31 2016-06-08 北京锐安科技有限公司 Plug-in procedure control method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595220A (en) * 2018-04-25 2018-09-28 上海掌门科技有限公司 Processing method, equipment and the computer readable storage medium of application component
CN108595220B (en) * 2018-04-25 2021-04-16 上海掌门科技有限公司 Application component processing method and device and computer readable storage medium
CN108958842A (en) * 2018-07-12 2018-12-07 北京猫眼文化传媒有限公司 The business plug-in unit application method of application program and application program
CN109286558A (en) * 2018-10-09 2019-01-29 武汉斗鱼网络科技有限公司 Message distributing method, device, electronic equipment and storage medium
CN114422625A (en) * 2022-01-26 2022-04-29 杭州鸿泉物联网技术股份有限公司 Data access method and gateway
CN114422625B (en) * 2022-01-26 2024-01-26 杭州鸿泉物联网技术股份有限公司 Data access method and gateway

Also Published As

Publication number Publication date
CN107368334B (en) 2020-08-28

Similar Documents

Publication Publication Date Title
CN107368334A (en) A kind of business plug-in unit interactive system and method
CN101336427B (en) Digital object routing based on a service request
CN101252509B (en) Application of dual-NAT method in packet data processing and routing of dynamic virtual private network (VPN)
JP5925074B2 (en) Transmitting apparatus, receiving apparatus, and operation method of these apparatuses
CN101848235B (en) Real-time multimedia data P2P transmission scheme for supporting NAT traversal
CN105847108B (en) Communication means and device between container
CN102244593A (en) Network communication at unaddressed network devices
CN101986648A (en) Negotiation method, device and network device of TCP option
CN106911778A (en) A kind of flow bootstrap technique and system
CN102308534A (en) Application switch system and application switch method
CN102571749A (en) Data transmission system and method using relay server
CN105530666B (en) Binding session method and system
CN107483592A (en) A kind of transaction processing method based on General Front End Processor and a kind of General Front End Processor
CN103414725A (en) Method and device used for detecting and filtering data message
CN101789949B (en) Method and router equipment for realizing load sharing
CN101640645A (en) Message transmission method and system
CN103327129B (en) For the domain name analytic method of more WAN mouthfuls of gateway devices
CN104205729B (en) Method, device, and system for configuring device in network
SE520287C2 (en) Method of communication using WAP protocol
CN103888307A (en) Method, user side board card and broadband access gateway used for optimizing deep packet detection
CN101557354A (en) Method for sending picture by client service personnel on line
CN102594892B (en) Data access method and device
CN103731345B (en) A kind of network message processing method and equipment
CN103001966A (en) Processing and identifying method and device for private network IP
CN101150818A (en) A method and mobile terminal for access to built-in WWW server of user recognition card

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