CN109618119A - Method and device for business processing - Google Patents

Method and device for business processing Download PDF

Info

Publication number
CN109618119A
CN109618119A CN201811290249.5A CN201811290249A CN109618119A CN 109618119 A CN109618119 A CN 109618119A CN 201811290249 A CN201811290249 A CN 201811290249A CN 109618119 A CN109618119 A CN 109618119A
Authority
CN
China
Prior art keywords
services
sub
service
networking
service request
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.)
Pending
Application number
CN201811290249.5A
Other languages
Chinese (zh)
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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information 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 Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201811290249.5A priority Critical patent/CN109618119A/en
Publication of CN109618119A publication Critical patent/CN109618119A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • H04N21/25816Management of client data involving client authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Abstract

The present invention provides a kind of method for processing business and devices, are applied in view networking.It include preset unified interface and multiple monomer operation systems depending on networking service system, each monomer operation system is divided into multiple sub-services objects for being each responsible for different kinds of business depending on including view networking service system and terminal in networking.Wherein method includes: and regards networking service system to receive the first service request that terminal is sent by unified interface;The corresponding target sub-services object of the first service request is determined depending on networking service system, and the first service request is routed into target sub-services object;Target sub-services object is obtained depending on networking service system, the first business datum returned for the first service request;The first business datum is sent to by terminal by unified interface depending on networking service system.The service request that the present invention is capable of handling is more, and service request that can be different with concurrent processing, therefore the present invention can more quickly and accurately handle corresponding service request.

Description

Method and device for business processing
Technical field
The present invention relates to view networking technology fields, fill more particularly to a kind of method for processing business and a kind of business processing It sets.
Background technique
With the fast development of the network technology, it is increasing by the various businesses that network carries out.Such as video conference, view Frequency teaching, the two way traffics such as videophone, the life of user, work, in terms of it is widely available.
In the prior art, an operation system can be respectively configured for the business of different field, such as O&M field Business can configure O&M operation system etc..But with the continuous increase of portfolio, whole business in same field are all logical Operation system unified management is crossed, so that easilying lead to the operation system mistake occurs, and the operation system is capable of handling Portfolio it is limited, be unable to satisfy the timely processing to a large number of services.Therefore operation system in the prior art cannot rapidly, Accurately carry out corresponding business processing.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State a kind of method for processing business and a kind of corresponding business processing device of problem.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of method for processing business, the method is applied to view It include view networking service system and terminal in view networking in networking, described depending on networking service system includes preset unification Interface and multiple monomer operation systems, each monomer operation system are divided into multiple son clothes for being each responsible for different kinds of business Business object, which comprises
It is described that the first service request that the terminal is sent is received by the unified interface depending on networking service system;
It is described to determine the corresponding target sub-services object of first service request depending on networking service system, and by described One service request routes to the target sub-services object;
The view networking service system obtains the target sub-services object, the returned for first service request One business datum;
It is described that first business datum is sent to by the terminal by the unified interface depending on networking service system.
Preferably, described depending on networking service system further includes preset registration center, logical in the view networking service system It crosses before the step of unified interface receives the first service request that the terminal is sent, further includes: the view networking service System respectively registers each sub-services object in the registration center, so that the registration center is the sub-services pair As distributing corresponding registered address.
Preferably, first service request includes destination request address, described to determine described depending on networking service system The corresponding target sub-services object of one service request, and first service request is routed into the target sub-services object Step, comprising: described to search the corresponding registered place in the destination request address from the registration center depending on networking service system Location, using the corresponding sub-services object in the registered address found as the corresponding target sub-services pair of first service request As;The view networking service system is according to the corresponding registered address of the target sub-services object, by first service request Route to the target sub-services object.
Preferably, the method also includes: the registration center receives each sub-services object according to setting time respectively It is spaced the heartbeat message sent;The registration center is not if it is determined that continuous preset times receive the transmission of some sub-services object Heartbeat message, then delete the corresponding registered address of sub-services object.
Preferably, the method also includes: the first sub-services objects is sent by REST agreement to the second sub-services object Second service request;The first sub-services object receives the second sub-services object and is directed to second service request, leads to Cross the second business datum of REST agreement return.
Preferably, the monomer operation system includes at least one of: can pipe operation system, O&M operation system, net Pipe operation system.
On the other hand, the embodiment of the invention also discloses a kind of business processing device, described device is applied in view networking, It include view networking service system and terminal in view networking, described depending on networking service system includes preset unified interface and more A monomer operation system, each monomer operation system are divided into multiple sub-services objects for being each responsible for different kinds of business, It is described to include: depending on networking service system
Receiving module, for receiving the first service request that the terminal is sent by the unified interface;
Routing module, for determining the corresponding target sub-services object of first service request, and by first industry Business request routes to the target sub-services object;
Module is obtained, for obtaining the target sub-services object, for the first industry of first service request return Business data;
Sending module, for first business datum to be sent to the terminal by the unified interface.
Preferably, described depending on networking service system further includes preset registration center, described also to wrap depending on networking service system It includes: registration module, for respectively registering each sub-services object in the registration center, so that the registration center is The sub-services object distributes corresponding registered address.
Preferably, first service request includes destination request address, and the routing module includes: lookup submodule, It is for searching the corresponding registered address in the destination request address from the registration center, the registered address found is corresponding Sub-services object as the corresponding target sub-services object of first service request;Request routing submodule, is used for foundation The corresponding registered address of the target sub-services object, routes to the target sub-services object for first service request.
Preferably, the registration center includes: update module, when for receiving each sub-services object respectively according to setting Between be spaced the heartbeat message of transmission;If it is determined that the heartbeat that continuous preset times have not received the transmission of some sub-services object disappears Breath, then delete the corresponding registered address of sub-services object.
It may include view networking service system and terminal in depending on networking, depending on connection present invention could apply to regard in networking Network service system may include preset unified interface and multiple monomer operation systems, and each monomer operation system is divided into more A sub-services object for being each responsible for different kinds of business.When carrying out business processing, pass through the system depending on networking service system The first service request that terminal described in one interface is sent;Determine that first service request is corresponding depending on networking service system Target sub-services object, and first service request is routed into the target sub-services object;It is obtained depending on networking service system The target sub-services object is taken, the first business datum returned for first service request;It is logical depending on networking service system It crosses the unified interface and first business datum is sent to the terminal.It follows that the present invention is respectively each type Business configuration sub-services object, each sub-services object can request with a large number of services of independent process corresponding types, can be located The service request of reason is more, and service request that can be different with concurrent processing, thus the present invention can more quickly, Accurately handle corresponding service request.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the invention;
Fig. 2 is a kind of hardware structural diagram of node server of the invention;
Fig. 3 is a kind of hardware structural diagram of access switch of the invention;
Fig. 4 is the hardware structural diagram that a kind of Ethernet association of the invention turns gateway;
Fig. 5 is a kind of step flow chart of method for processing business of the embodiment of the present invention;
Fig. 6 is a kind of interaction schematic diagram of business procession of the embodiment of the present invention;
Fig. 7 is a kind of structural block diagram of business processing device of the embodiment of the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission, Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or Computer realizes that high-definition quality video plays.
Embodiment in order to enable those skilled in the art to better understand the present invention is introduced to depending on networking below:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network Switching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technology Flexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch type The seamless connection of road and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type " Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal. Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
1, view networked devices classification
1.1 embodiment of the present invention can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or National net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet; And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded: 1) port if meeting the following conditions It is less than to send caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, including The operation such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown) Protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table) Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module 302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met, It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engine Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet; If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier (stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in embodiments of the present invention:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1) It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded: 1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and, Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module 402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking destination address of measured data packet DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410 (2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, if there is Bao Ze is according to the view of packet networking purpose Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server. Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes, payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA SA Reserved Payload CRC
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address, Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different data packets, is if it is various protocol packages 64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment System, introduces parameter in embodiments of the present invention: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into 0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN) Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA SA Reserved Label Payload CRC
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position Set is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic of view networking, the business processing scheme of the embodiment of the present invention is proposed, it then follows regard the association of networking View, can more quickly and accurately handle corresponding service request.
The method for processing business of the embodiment of the present invention can be applied in view networking.It at least may include view in depending on networking Networking service system and terminal.
View networking can mainly be covered to establish distributed system on the basis of regarding networking by regarding networking service system In various view networking services.It may include preset unified interface depending on networking service system, which can be gateway, Or be API (Application Programming Interface, application programming interface), depending on networking service system It can be interacted by the other equipment such as the unified interface and terminal.It can also include multiple monomer industry depending on networking service system Business system, each monomer operation system can be responsible for the view networking service in a field.For example monomer operation system can wrap Include at least one of: can pipe operation system (being mainly used for being responsible for business relevant to view networking meeting), O&M operation system (being mainly used for being responsible for and business relevant depending on networking operation maintenance), network management operation system (are mainly used for being responsible for and view networking net Network manages relevant business).Each monomer operation system can be divided into multiple son clothes for being each responsible for different kinds of business Business object, sub-services object are referred to as micro services, and micro services are a kind of design styles in system architecture, its purport is The independent monomer operation system of one substance is split into multiple small services.For example, can pipe operation system can be divided into User authentication sub-services object, conference dispatching sub-services object etc., O&M operation system can be divided into operation monitoring son clothes It is engaged in object, troubleshooting sub-services object etc., network management operation system can be divided into networking monitoring sub-services object, at suspension Manage sub-services object etc..
Terminal can be view networked terminals, be view connection operational line landing equipment depending on networked terminals, depending on the reality of networking service Border participant or server, regarding networked terminals can be various meeting set-top boxes, videophone set-top box, operation pilot teaching machine top Box, Streaming Media gateway, storage gateway, media synthesizer, etc., view networked terminals need to be registered to (can be with depending on networked server For above-mentioned node server) on can carry out regular traffic.Terminal may be registered to view networked server on mobile phone, The software terminals such as the mobile terminals such as tablet computer or application program, plug-in unit.
Referring to Fig. 5, a kind of step flow chart of method for processing business of the embodiment of the present invention is shown.
The method for processing business of the embodiment of the present invention may comprise steps of:
Step 501, the first service request that the terminal is sent is received by the unified interface depending on networking service system.
It further include preset registration center depending on networking service system in the embodiment of the present invention.In each monomer operation system It is divided into after multiple sub-services objects for being each responsible for different kinds of business, respectively takes every height depending on networking service system Business object is registered in registration center.For example, when being registered for some sub-services object, it can be by the sub-services object The information such as title be sent to registration center, can be the sub-services pair after registration center receives the information of sub-services object As distributing corresponding registered address, the corresponding relationship of the information such as the title of sub-services object and registered address is established.Pass through registration Address can navigate to corresponding sub-services object.
For example, when registering to user authentication sub-services object, registration center can be for the registered address of its distribution www.yonghurenzheng.com.For another example, when registering to conference dispatching sub-services object, registration center distributes for it Registered address can be www.huiyidiaodu.com.Other sub-services objects are processed similarly.
When user wants to carry out certain view networking service, corresponding operating can be executed, at the terminal to trigger first Service request.For example, user wants to log into video conference, then user's log in page of video conference can be opened at the terminal Face, and the information such as corresponding username and password are inputted in the page, after clicking login button, that is, it can trigger and log in meeting Service request.For another example, user wants to initiate video conference, then can open the initiation page of video conference at the terminal, and The information such as terminal iidentification, terminal role of attending a meeting accordingly are inputted in the page, are clicked after initiating button, that is, be can trigger and initiated meeting The service request of view.
Terminal with can be by being interacted depending on the unified interface in networking service system depending on networking service system.It is triggering After first service request, terminal can be based on encapsulating first service request depending on networking protocol, and will by above-mentioned unified interface The first service request after encapsulation is sent to view networking service system, and the first service request is also sent to view networking service system Unified interface on system.
Step 502, the corresponding target sub-services object of first service request is determined depending on networking service system, and by institute It states the first service request and routes to the target sub-services object.
It, can be according to first after the first service request for receiving terminal transmission by unified interface depending on networking service system Service request determines corresponding target sub-services object, and the first service request is routed to target sub-services object.
It in a preferred embodiment, may include destination request address, terminal iidentification, terminal in the first service request The information such as Subscriber Number.Corresponding target of the first service request can be determined according to destination request address depending on networking service system Service object.Therefore, step 502 may include: that the destination request is searched from the registration center depending on networking service system The corresponding registered address in address, it is corresponding using the corresponding sub-services object in the registered address found as first service request Target sub-services object;The view networking service system is according to the corresponding registered address of the target sub-services object, by institute It states the first service request and routes to the target sub-services object.
Wherein, the process for searching the corresponding registered address in destination request address may include: to obtain in destination request address Including prefix addresses, search the corresponding registered address of the prefix addresses.
For example, if the first service request be log in meeting service request, including destination request address be Www.yonghurenzheng.com/aaa/bbb, then the available prefix addresses for including into the destination request address be Www.yonghurenzheng.com, therefore the corresponding registered address of the prefix addresses can be found from registration center and be Www.yonghurenzheng.com, using the corresponding user authentication sub-services object in the registered address as first service request Corresponding target sub-services object.For another example, if the first service request be initiating conference service request, including mesh Mark request address be www.huiyidiaodu.com/ccc/ddd, then it is available include into the destination request address before Sewing address is www.huiyidiaodu.com, therefore the corresponding registered place of the prefix addresses can be found from registration center Location is www.huiyidiaodu.com, is asked using the corresponding conference dispatching sub-services object in the registered address as first business Seek corresponding target sub-services object.
Step 503, the target sub-services object is obtained depending on networking service system, is returned for first service request The first business datum.
Target sub-services object can carry out corresponding position for the first service request after receiving the first service request Reason, obtains corresponding first business datum of the first service request.
For example, target sub-services object is user authentication if the first service request is to log in the service request of meeting Service object, then for the service request for logging in meeting, obtain corresponding business datum can wrap user authentication sub-services object Include allow log-on message, Yao Denglu view networking meeting information (such as meeting title, parliamentary dimension, terminal of attending a meeting), etc.. For another example, if the first service request is the service request of initiating conference, target sub-services object is conference dispatching sub-services pair As then conference dispatching sub-services object is directed to the service request of initiating conference, and obtaining corresponding business datum may include creation The view networking meeting title of meeting, conference number, parliamentary dimension, etc..
Step 504, first business datum is sent to by the end by the unified interface depending on networking service system End.
The first business number that the first service request returns is directed to depending on the available target sub-services object of networking service system According to, and the first business datum can be sent to by terminal by unified interface.It in the concrete realization, can be with depending on networking service system The first business datum is encapsulated based on view networking protocol, and by unified interface is sent to the first business datum after encapsulation above-mentioned Initiate the terminal of the first service request.
It after terminal receives the first data, can perform corresponding processing, such as decoding, display, the embodiment of the present invention pair This is no longer discussed in detail.
The embodiment of the present invention can be respectively each type of business configuration sub-services object, and each sub-services object can be with The a large number of services of independent process corresponding types is requested, and the service request being capable of handling is more, and can be with concurrent processing Different service requests, therefore the embodiment of the present invention can more quickly and accurately handle corresponding service request.
In a preferred embodiment, registration center can also carry out health examination to each sub-services object.Specifically It may include: that registration center receives the heartbeat message that each sub-services object is sent according to setting time interval respectively;In registration The heart if it is determined that continuous preset times do not receive some sub-services object transmission heartbeat message, then delete the sub-services object Corresponding registered address.
Each sub-services object can send heartbeat message to registration center every setting time interval.If registration center The heartbeat message for receiving the transmission of some sub-services object does not make specially treated it may be considered that the sub-services object is normal.Note If volume center is not received by the heartbeat message of some sub-services object transmission, which can be recorded;And If the heartbeat message that continuous preset times do not receive the transmission of some sub-services object is recorded, it may be considered that the sub- clothes Being engaged in, object is abnormal, and registration center can delete the corresponding information of sub-services object at this time, title, note such as the sub-services object The information such as volume address.
For the specific data of above-mentioned prefixed time interval and preset times, those skilled in the art select based on practical experience With any suitable value, the embodiment of the present invention to this with no restriction.Such as can choose prefixed time interval be 100ms, 200ms, 300ms etc., preset times can choose 3 times, 4 times, it is 5 inferior.
It can be timely updated to the information for the sub-services object for including in registration center by above-mentioned detection mode, It avoids due to mistake caused by updating not in time.For example registration center does not delete in time after some sub-services object exception, then The service request can be also routed to the sub-services pair when sending service request relevant to the sub-services object by subsequent user As upper, so as to cause that can not handle the service request.
In a preferred embodiment, two-way interactive can also be carried out between each sub-services object.Specifically it can wrap Include: the first sub-services object passes through REST (Representational State Transfer, presentation layer condition conversion) agreement The second service request is sent to the second sub-services object;First sub-services object receives the second sub-services object for described Second service request, the second business datum returned by REST agreement.
For example, conference dispatching sub-services object is when video conference is initiated in processing, it may be desirable to user authentication sub-services User information in object.Therefore, conference dispatching sub-services object can be by REST agreement, to user authentication sub-services object Send the second service request;User authentication sub-services object is directed to the available corresponding user information of second service request, And the user information got is returned to conference dispatching sub-services object by REST agreement.
REST is a kind of framework style for distributed Design of Hypermedia System.Framework based on Web, actually respectively The set of kind specification, these specifications have collectively constituted Web framework.It, will when increasing new specification on the basis of original specification Form new framework.And REST is exactly such a framework, he combines a series of specification, and form it is a kind of new based on The framework style of Web.REST increases three newly on original B/S (Browser/Server, browser/server) framework Specification: unified interface, hierarchical system and on-demand code.
By the communication between above-mentioned sub-services object, the data realized between each independent sub-services object are handed over Mutually, the coupling between sub-services object is reduced.
In summary, the embodiment of the present invention, which is directed to, faces more wide in range business, and monomer operation system application becomes more next It is more too fat to move, even if the function of one very little of modification, in order to dispose the online normal operation that may will affect other function, and meanwhile it is single Body operation system has that concurrency is small and resource interacts, and proposes the original monomer operation system of view networking, Multiple sub-services objects are split into according to specific business function, corresponding industry is handled by each sub-services object respectively Business.
Referring to Fig. 6, a kind of interaction schematic diagram of business procession of the embodiment of the present invention is shown.It will be appreciated from fig. 6 that with Service request is sent to the unified interface of view networking service system by family.Unified interface can be according to service request from registration center It is middle to search corresponding registered address, to determine target sub-services object.Depending on may include user authentication in networking service system Service request can be routed to corresponding target clothes by sub-services object, conference dispatching sub-services object, etc., unified interface Business object.Every seed service object can correspond to the database of business datum to being applied to store the sub-services object, and target is sub Service object can find the corresponding business datum of service request from its corresponding database.Herein it should be noted that For business datum to be returned to the process of user, it is not shown in Fig. 6, is described referring in particular to above-mentioned related text.Note The operation such as registration and health examination of sub-services object may be implemented in volume center.REST can be passed through between each sub-services object Agreement carries out two-way interactive.The load balancing of various sub-services objects is also related in Fig. 6, load balancing herein is understood that Can have for, every seed service object multiple, for example there can be multiple user authentication sub-services objects, multiple conference dispatching clothes Being engaged in object can be balancedly by this multiple service requests routing when having multiple service requests for certain sub-services object Onto multiple seed service objects.
The embodiment of the present invention can more quickly and accurately handle corresponding service request by refining business function.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Referring to Fig. 7, a kind of structural block diagram of business processing device of the embodiment of the present invention is shown.The embodiment of the present invention Business processing device can be applied in view networking, include view networking service system and terminal, the view connection in the view networking Network service system includes preset unified interface and multiple monomer operation systems, and each monomer operation system is divided into multiple points Not Fu Ze different kinds of business sub-services object.
The business processing device of the embodiment of the present invention may include the following module being located in view networking service system:
Receiving module 701, for receiving the first service request that the terminal is sent by the unified interface;
Routing module 702, for determining the corresponding target sub-services object of first service request, and by described first Service request routes to the target sub-services object;
Module 703 is obtained, for obtaining the target sub-services object, for the first of first service request return Business datum;
Sending module 704, for first business datum to be sent to the terminal by the unified interface.
In a preferred embodiment, described depending on networking service system further includes preset registration center, the view connection Network service system further include: registration module, for each sub-services object to be registered in the registration center respectively, so that The registration center is that the sub-services object distributes corresponding registered address.
In a preferred embodiment, first service request includes destination request address, the routing module packet Include: searching submodule will find for searching the corresponding registered address in the destination request address from the registration center The corresponding sub-services object in registered address as the corresponding target sub-services object of first service request;Request routing Module, for according to the corresponding registered address of the target sub-services object, first service request to be routed to the mesh Mark sub-services object.
In a preferred embodiment, the registration center includes: update module, for receiving each sub-services respectively The heartbeat message that object is sent according to setting time interval;If it is determined that continuous preset times do not receive some sub-services object The heartbeat message of transmission then deletes the corresponding registered address of sub-services object.
In a preferred embodiment, the first sub-services object includes: interactive module, for by REST agreement to the Two sub-services objects send the second service request, and, it receives the second sub-services object and is directed to second service request, The second business datum returned by REST agreement.
In a preferred embodiment, the monomer operation system includes at least one of: can pipe operation system, fortune Tie up operation system, network management operation system.
The embodiment of the present invention is respectively each type of business configuration sub-services object, and each sub-services object can be independent The a large number of services request of corresponding types is handled, the service request being capable of handling is more, and can be with concurrent processing difference Service request, therefore the embodiment of the present invention can more quickly and accurately handle corresponding service request.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of method for processing business provided by the present invention and a kind of business processing device, detailed Jie has been carried out It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage Solution is limitation of the present invention.

Claims (10)

1. a kind of method for processing business, which is characterized in that the method is applied in view networking, includes view connection in the view networking Network service system and terminal, described depending on networking service system includes preset unified interface and multiple monomer operation systems, each Monomer operation system is divided into multiple sub-services objects for being each responsible for different kinds of business, which comprises
It is described that the first service request that the terminal is sent is received by the unified interface depending on networking service system;
It is described to determine the corresponding target sub-services object of first service request depending on networking service system, and by first industry Business request routes to the target sub-services object;
The view networking service system obtains the target sub-services object, the first industry returned for first service request Business data;
It is described that first business datum is sent to by the terminal by the unified interface depending on networking service system.
2. depending on networking service system further including in preset registration the method according to claim 1, wherein described The heart, described the step of the first service request that the terminal sends is received by the unified interface depending on networking service system it Before, further includes:
It is described respectively to register each sub-services object in the registration center depending on networking service system, so that the registration Center is that the sub-services object distributes corresponding registered address.
3. according to the method described in claim 2, it is characterized in that, first service request includes destination request address, institute It states and determines the corresponding target sub-services object of first service request depending on networking service system, and by first service request The step of routing to the target sub-services object, comprising:
It is described to search the corresponding registered address in the destination request address from the registration center depending on networking service system, it will look into The corresponding sub-services object in the registered address found is as the corresponding target sub-services object of first service request;
The view networking service system is according to the corresponding registered address of the target sub-services object, by first service request Route to the target sub-services object.
4. according to the method described in claim 2, it is characterized in that, the method also includes:
The registration center receives the heartbeat message that each sub-services object is sent according to setting time interval respectively;
The registration center if it is determined that continuous preset times do not receive some sub-services object transmission heartbeat message, then delete Except the corresponding registered address of sub-services object.
5. the method according to claim 1, wherein the method also includes:
First sub-services object sends the second service request to the second sub-services object by REST agreement;
The first sub-services object receives the second sub-services object and is directed to second service request, passes through REST agreement The second business datum returned.
6. the method according to claim 1, wherein the monomer operation system includes at least one of: meeting Pipe operation system, O&M operation system, network management operation system.
7. a kind of business processing device, which is characterized in that described device is applied in view networking, includes view connection in the view networking Network service system and terminal, described depending on networking service system includes preset unified interface and multiple monomer operation systems, each Monomer operation system is divided into multiple sub-services objects for being each responsible for different kinds of business, the view networking service system packet It includes:
Receiving module, for receiving the first service request that the terminal is sent by the unified interface;
Routing module is asked for determining the corresponding target sub-services object of first service request, and by first business It asks and routes to the target sub-services object;
Module is obtained, for obtaining the target sub-services object, for the first business number of first service request return According to;
Sending module, for first business datum to be sent to the terminal by the unified interface.
8. device according to claim 7, which is characterized in that described depending on networking service system further includes in preset registration The heart, the view networking service system further include:
Registration module, for respectively registering each sub-services object in the registration center, so that the registration center Corresponding registered address is distributed for the sub-services object.
9. device according to claim 8, which is characterized in that first service request includes destination request address, institute Stating routing module includes:
Searching submodule will search for searching the corresponding registered address in the destination request address from the registration center The corresponding sub-services object in the registered address arrived is as the corresponding target sub-services object of first service request;
Request routing submodule, for according to the corresponding registered address of the target sub-services object, first business to be asked It asks and routes to the target sub-services object.
10. device according to claim 8, which is characterized in that the registration center includes:
Update module, the heartbeat message sent for receiving each sub-services object respectively according to setting time interval;If it is determined that Continuous preset times do not receive the heartbeat message of some sub-services object transmission, then delete the corresponding note of sub-services object Volume address.
CN201811290249.5A 2018-10-31 2018-10-31 Method and device for business processing Pending CN109618119A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811290249.5A CN109618119A (en) 2018-10-31 2018-10-31 Method and device for business processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811290249.5A CN109618119A (en) 2018-10-31 2018-10-31 Method and device for business processing

Publications (1)

Publication Number Publication Date
CN109618119A true CN109618119A (en) 2019-04-12

Family

ID=66002936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811290249.5A Pending CN109618119A (en) 2018-10-31 2018-10-31 Method and device for business processing

Country Status (1)

Country Link
CN (1) CN109618119A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176662A (en) * 2020-01-20 2020-05-19 厦门靠谱云股份有限公司 Architecture implementation method capable of being freely assembled and deployed in distributed and single environment and deployment method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040103308A1 (en) * 2002-11-25 2004-05-27 Gabor Paller Self-configuring protocol gateway
CN106254423A (en) * 2016-07-20 2016-12-21 普元信息技术股份有限公司 The method realizing Restful service release quickly based on micro services framework
CN106487594A (en) * 2016-10-31 2017-03-08 中国人民解放军91655部队 Network traffics collection based on micro services assembly and analysis system
CN106533804A (en) * 2016-12-22 2017-03-22 成都西加云杉科技有限公司 Network operation support system
CN106850832A (en) * 2017-03-01 2017-06-13 郑州云海信息技术有限公司 A kind of cloud management system based on micro services framework
CN108306917A (en) * 2017-01-13 2018-07-20 中国移动通信集团江西有限公司 The register method and device of data processing method and device, micro services module
CN108632525A (en) * 2017-09-20 2018-10-09 北京视联动力国际信息技术有限公司 A kind of method and system of business processing

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040103308A1 (en) * 2002-11-25 2004-05-27 Gabor Paller Self-configuring protocol gateway
CN106254423A (en) * 2016-07-20 2016-12-21 普元信息技术股份有限公司 The method realizing Restful service release quickly based on micro services framework
CN106487594A (en) * 2016-10-31 2017-03-08 中国人民解放军91655部队 Network traffics collection based on micro services assembly and analysis system
CN106533804A (en) * 2016-12-22 2017-03-22 成都西加云杉科技有限公司 Network operation support system
CN108306917A (en) * 2017-01-13 2018-07-20 中国移动通信集团江西有限公司 The register method and device of data processing method and device, micro services module
CN106850832A (en) * 2017-03-01 2017-06-13 郑州云海信息技术有限公司 A kind of cloud management system based on micro services framework
CN108632525A (en) * 2017-09-20 2018-10-09 北京视联动力国际信息技术有限公司 A kind of method and system of business processing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176662A (en) * 2020-01-20 2020-05-19 厦门靠谱云股份有限公司 Architecture implementation method capable of being freely assembled and deployed in distributed and single environment and deployment method
CN111176662B (en) * 2020-01-20 2020-12-01 厦门靠谱云股份有限公司 Architecture implementation method capable of being freely assembled and deployed in distributed and single environment and deployment method

Similar Documents

Publication Publication Date Title
CN108632398B (en) A kind of conference access method and system, association turn server and conference management terminal
CN108023910B (en) A kind of terminal monitoring method and system based on view networking
CN107995231B (en) A kind of method and apparatus of remote control equipment
CN108234396B (en) A kind of method and device of monitoring device status information real-time synchronization
CN108234816B (en) The method and device of resource information real-time synchronization is monitored between a kind of monitoring device
CN108881133B (en) A kind of communication means and device of media data
CN108121588B (en) A kind of method and its view networking access server of access external resource
CN108093011B (en) A kind of view networked terminals control method and system
CN108810456B (en) A kind of monitoring video flow transfers method and system
CN107979563B (en) A kind of information processing method and device based on view networking
CN108881357B (en) A kind of method and apparatus that data are synchronous
CN108418778A (en) A kind of internet and method, apparatus and interactive system regarding connected network communication
CN108881933B (en) A kind of live streaming treating method and apparatus of view networking
CN108881798B (en) It is a kind of to be carried out using bridge service device across view networking conference method and system
CN108063741A (en) A kind of transport protocol conversion method and apparatus
CN108011861B (en) A kind of method and system of the cloud resource display control based on view networking
CN106550282A (en) A kind of player method and system of video data
CN106549912A (en) A kind of player method and system of video data
CN108173804B (en) A kind of networked by view accesses the method and view connection cat client of internet
CN108574688A (en) A kind of display methods and device of the side's of attending a meeting information
CN108206926A (en) A kind of method and device of conference management client and exterior terminal state synchronized
CN108012106B (en) A kind of method and system regarding networking monitoring source synchronous
CN108063672B (en) A kind of management method and device of video conference terminal
CN107959665A (en) A kind of communication means and communication system
CN108075920B (en) A kind of management method and system regarding networked terminals

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