CN109861984A - Information processing method and device - Google Patents
Information processing method and device Download PDFInfo
- Publication number
- CN109861984A CN109861984A CN201811647874.0A CN201811647874A CN109861984A CN 109861984 A CN109861984 A CN 109861984A CN 201811647874 A CN201811647874 A CN 201811647874A CN 109861984 A CN109861984 A CN 109861984A
- Authority
- CN
- China
- Prior art keywords
- information
- protocol
- networking
- depending
- data base
- 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
Links
Abstract
The present invention provides a kind of information processing method and devices, are applied in view networking.Wherein method includes: in uplink, the first information for the internet protocol-based that internet client is sent is received depending on networking distributed data base frame client, the first information of internet protocol-based is converted into the first information based on view networking protocol, and view networking distributed data base framework services end will be forwarded to based on the first information depending on networking protocol;The first information based on view networking protocol is received depending on networking distributed data base framework services end, the first information of internet protocol-based will be converted to based on the first information depending on networking protocol, and the first information of internet protocol-based is sent to database.The present invention realizes that the information between the internet client and database that do not connect by internet directly is transmitted by view networking, and transmission speed is faster.
Description
Technical field
The present invention relates to view networking technology fields, more particularly to a kind of information processing method and a kind of information processing apparatus
It sets.
Background technique
Database (Database) is the warehouse for coming tissue, storage and management data according to data structure.With information skill
The development of art and market, data management is only no longer storage and management data, and is transformed into various data required for user
The mode of management.Database is there are many kinds of type, from the simplest table for being stored with various data to being able to carry out magnanimity number
It is all widely used in all fields according to the large-scale database system of storage.
Existing database is all based on Internet protocol to carry out data transmission, and entire transmission link depends on mutually
Networking is reliably connected, and client can operate database by internet.And if client and database do not have
It is directly connected by internet, then the data transmission between client and database will be unable to continue, to influence user
It uses.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind
A kind of information processing method and a kind of corresponding information processing unit to solve the above problems.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of information processing method, the method is applied to view
It include view networking distributed data base frame client and view networking distributed data base framework services in view networking in networking
End includes internet client and database in internet, which comprises
It is described that the base that the internet client is sent is received depending on networking distributed data base frame client in uplink
In the first information of Internet protocol, the first information of the internet protocol-based is converted to the based on view networking protocol
One information, and the first information based on depending on networking protocol is forwarded to the view networking distributed data base framework services
End;
View networking distributed data base framework services end receives the first information based on view networking protocol, by institute
The first information for being converted to internet protocol-based based on the first information depending on networking protocol is stated, and described will be based on internet protocol
The first information of view is sent to the database.
Optionally, the method also includes: in downlink, view networking distributed data base framework services end receives institute
The second information for stating the internet protocol-based of database return, is converted to base for the second information of the internet protocol-based
The view networking distribution is forwarded in the second information of view networking protocol, and by second information based on depending on networking protocol
Database framework client;The view networking distributed data base frame client receives second based on view networking protocol
Second information based on depending on networking protocol, is converted to the second information of internet protocol-based by information, and by the base
The internet client is back in the second information of Internet protocol.
Optionally, the method also includes: in connection, view networking distributed data base frame client reception institute
The connection request for stating the internet protocol-based of internet client transmission, the connection request of the internet protocol-based is turned
It changes the connection request based on view networking protocol into, and the view networking distribution will be sent to based on the connection request depending on networking protocol
Formula database framework server-side;View networking distributed data base framework services end receives the company based on view networking protocol
Request is connect, by the connection request depending on being converted into internet protocol-based based on the connection request depending on networking protocol, and by base
The database is sent in the connection request of Internet protocol;View networking distributed data base framework services end receives institute
The connection response for stating the internet protocol-based of database return, is converted to base for the connection response of the internet protocol-based
In the connection response of view networking protocol, and the view networking distributed data will be forwarded to based on the connection response depending on networking protocol
Library frame client;The view networking distributed data base frame client receives the connection based on view networking protocol and rings
It answers, the connection response based on depending on networking protocol is converted to the connection response of internet protocol-based, and will be based on interconnection
The connection response of fidonetFido is back to the internet client.
Optionally, the first information by the internet protocol-based is converted to the first letter based on view networking protocol
The step of breath, comprising: the first information of the view networking distributed data base frame client to the internet protocol-based
It is parsed, extracts the first information;The view networking distributed data base frame client is using view networking protocol to institute
It states the first information to be packaged, obtains the first information based on view networking protocol.
Optionally, first letter that the first information based on depending on networking protocol is converted to internet protocol-based
The step of breath, comprising: the view networking distributed data base framework services end is to the first information based on view networking protocol
It is parsed, extracts the first information;The view networking distributed data base framework services end is using Internet protocol to institute
It states the first information to be packaged, obtains the first information of internet protocol-based.
On the other hand, the embodiment of the invention also discloses a kind of information processing unit, described device is applied in view networking,
It include view networking distributed data base frame client and view networking distributed data base framework services end in view networking, mutual
It include internet client and database in networking;
It is described to include: depending on networking distributed data base frame client
First information receiving module, in uplink, receive that the internet client sends based on internet protocol
The first information of view;
First information forwarding module, for being converted to the first information of the internet protocol-based based on view networking association
The first information of view, and the first information based on depending on networking protocol is forwarded to the view networking distributed data base frame
Server-side;
It is described to include: depending on networking distributed data base framework services end
Second information receiving module, for receiving the first information based on view networking protocol;
Second information forwarding module, for being converted to the first information based on depending on networking protocol based on internet protocol
The first information of view, and the first information of the internet protocol-based is sent to the database.
Optionally, view networking distributed data base framework services end further include: third information receiving module is used for
When downlink, the second information of the internet protocol-based that the database returns is received;Third information forwarding module is used for institute
The second information for stating internet protocol-based is converted to the second information based on view networking protocol, and will be described based on view networking association
Second information of view is forwarded to the view networking distributed data base frame client.The view networking distributed data base frame
Client further include: the 4th information receiving module, for receiving second information based on view networking protocol;4th information turns
Module is sent out, for second information based on depending on networking protocol to be converted to the second information of internet protocol-based, and will
Second information of the internet protocol-based is back to the internet client.
Optionally, the view networking distributed data base frame client further include: the first request receiving module is used for
When connection, the connection request for the internet protocol-based that the internet client is sent is received;First request forwarding module, is used
It is converted by the connection request of the internet protocol-based based on the connection request for regarding networking protocol, and will be described based on view
The connection request of networking protocol is sent to view networking distributed data base framework services end.The view networking distributed data
Library framework services end further include: the second request receiving module, for receiving the connection request based on view networking protocol;Second
Forwarding module is requested, for asking the connection depending on being converted into internet protocol-based based on the connection request depending on networking protocol
It asks, and the connection request of the internet protocol-based is sent to the database;First response receiving module, for receiving
The connection response for the internet protocol-based that the database returns;First response forwarding module, for described interconnection will to be based on
The connection response of fidonetFido is converted to the connection response based on view networking protocol, and the connection based on view networking protocol is rung
The view networking distributed data base frame client should be forwarded to.It is described also to be wrapped depending on networking distributed data base frame client
It includes: the second response receiving module, for receiving the connection response based on view networking protocol;Second response forwarding module, is used
In the connection response that the connection response based on depending on networking protocol is converted to internet protocol-based, and will be described based on mutual
The connection response of networking protocol is back to the internet client.
Optionally, the first information forwarding module includes: the first analyzing sub-module, for being based on internet protocol to described
The first information of view is parsed, and the first information is extracted;First encapsulation submodule, for using view networking protocol to described
The first information is packaged, and obtains the first information based on view networking protocol.
Optionally, second information forwarding module includes: the second analyzing sub-module, for being assisted to described based on view networking
The first information of view is parsed, and the first information is extracted;Second encapsulation submodule, for using Internet protocol to described
The first information is packaged, and obtains the first information of internet protocol-based.
In the embodiment of the present invention, in uplink, internet client is received depending on networking distributed data base frame client
The first information of the internet protocol-based of transmission is converted to the first information of internet protocol-based based on view networking protocol
The first information, and will based on the first information depending on networking protocol be forwarded to view networking distributed data base framework services end;Depending on
The reception of distributed data base framework services end network based on the first information for regarding networking protocol, by first based on view networking protocol
Information is converted to the first information of internet protocol-based, and the first information of internet protocol-based is sent to database.
It therefore, can be by view networking distributed data base frame client and view networking distributed data base frame in the embodiment of the present invention
Server-side carries out protocol conversion and information forwarding, realizes the Internet subscribers not connected by internet directly by view networking
Information transmission between end and database, and transmission speed is faster.
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 information processing method of the embodiment of the present invention one;
Fig. 6 is a kind of step flow chart of information processing method of the embodiment of the present invention two;
Fig. 7 is a kind of structural block diagram of information processing unit of the embodiment of the present invention three.
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 information processing scheme of the embodiment of the present invention is proposed, it then follows regard the association of networking
View can realize that the information between the internet client and database that do not connect by internet directly is passed by view networking
It is defeated.
Embodiment one
The information processing method of the embodiment of the present invention can be applied in view networking.It include view networking distribution in view networking
Formula database framework client and view networking distributed data base framework services end, in internet include internet client and
Database.Internet client is connect with depending on networking distributed data base frame client, passes through Internet protocol interaction.Depending on connection
Net distributed data base frame client is connect with depending on networking distributed data base framework services end, is handed over by view networking protocol
Mutually.It is connect depending on networking distributed data base framework services end with database, passes through Internet protocol interaction.Internet client can
Think APP (application program), information collection front web terminal etc., database can be MySQL database etc., and Internet protocol can
Think TCP (Transmission Control Protocol, transmission control protocol) etc..
Referring to Fig. 5, a kind of step flow chart of information processing method of the embodiment of the present invention one is shown.
The information processing method of the embodiment of the present invention may comprise steps of:
Step 501, in uplink, the view networking distributed data base frame client receives the internet client
The first information of the internet protocol-based of transmission is converted to the first information of the internet protocol-based based on view networking
The first information of agreement, and the first information based on depending on networking protocol is forwarded to the view networking distributed data base frame
Frame server-side.
In the embodiment of the present invention, uplink refers to by the direction of internet client to database.
Internet client encapsulates the first information using Internet protocol (such as TCP), obtains the Internet protocol data packet, the
One information is added in the Payload (load) of the Internet protocol data packet.Since the first information will be sent to database, because
The format of this first information is that database corresponds to format, if the corresponding format of MySQL database is MySQL format.
Internet client is by TCP connection, by the first information of internet protocol-based (namely itself the first letter of encapsulation
Cease obtained the Internet protocol data packet) it is sent to view networking distributed data base frame client.
The first information that internet protocol-based is received depending on networking distributed data base frame client, is converted into
The first information based on view networking protocol.Specifically, depending on networking distributed data base frame client to internet protocol-based
The first information parsed, extract the first information;The first information is packaged using depending on networking protocol, is obtained based on view connection
The first information of fidonetFido.In the implementation, depending on networking distributed data base frame client to the Internet protocol number received
It is parsed according to packet, the first information that database corresponds to format is extracted from Payload, for example carry out the parsing of MySQL sentence, mentioned
Take the first information of MySQL format;Again using view networking protocol encapsulate the first information, obtain view networking protocol data packet, first
Information is added to the Payload of view networking protocol data packet.
Depending on networking distributed data base frame client by view networking, by based on view networking protocol the first information (
I.e. itself encapsulation the first information obtain depending on networking protocol data packet) be forwarded to view networking distributed data base framework services end.
Step 502, the first information based on view networking protocol is received depending on networking distributed data base framework services end,
The first information based on depending on networking protocol is converted to the first information of internet protocol-based, and will be described based on interconnection
The first information of fidonetFido is sent to the database.
The first information based on view networking protocol is received depending on networking distributed data base framework services termination, is converted into
The first information of internet protocol-based.Specifically, depending on networking distributed data base framework services end to based on view networking protocol
The first information parsed, extract the first information;Internet protocol pair is used depending on networking distributed data base framework services end
The first information is packaged, and obtains the first information of internet protocol-based.In the implementation, depending on distributed data base frame of networking
Server-side is parsed to what is received depending on networking protocol data packet, and database is extracted from Payload and corresponds to the first of format
Information, for example the parsing of MySQL sentence is carried out, extract the first information of MySQL format;Again using the first letter of Internet protocol encapsulation
Breath, obtains the Internet protocol data packet, the first information is added to the Payload of the Internet protocol data packet.
Depending on networking distributed data base framework services end by TCP connection, by the first information of internet protocol-based (
I.e. itself encapsulates the Internet protocol data packet that the first information obtains) it is forwarded to database.To realize by internet client
Information to the direction of database is transmitted.
It can be by view networking distributed data base frame client and view networking distributed data base in the embodiment of the present invention
Framework services end carries out protocol conversion and information forwarding, realizes the internet not connected by internet directly by view networking
Information transmission between client and database, and transmission speed is faster.
Embodiment two
Referring to Fig. 6, a kind of step flow chart of information processing method of the embodiment of the present invention two is shown.
The information processing method of the embodiment of the present invention may comprise steps of:
Step 601, in connection, the view networking distributed data base frame client receives the internet client
The connection request of the internet protocol-based is converted into based on view networking by the connection request of the internet protocol-based of transmission
The connection request of agreement, and the connection request based on depending on networking protocol is sent to the view networking distributed data base frame
Frame server-side.
Before carrying out the information transmission between internet client and database, can first establish internet client with
Connection between database.
Internet client encapsulates connection request using Internet protocol (such as TCP), and by TCP connection, will be based on mutual
The connection request of networking protocol is sent to view networking distributed data base frame client.
The connection request that internet protocol-based is received depending on networking distributed data base frame client, is converted into
Connection request based on view networking protocol.Specifically, depending on networking distributed data base frame client to internet protocol-based
Connection request parsed, extract the related data of connection request;Connection request is packaged using depending on networking protocol, is obtained
To the connection request based on view networking protocol.
Depending on networking distributed data base frame client by view networking, the connection request based on view networking protocol is forwarded
To view networking distributed data base framework services end.
Step 602, the connection request based on view networking protocol is received depending on networking distributed data base framework services end,
By the connection request depending on being converted into internet protocol-based based on the connection request depending on networking protocol, and will be described based on mutual
The connection request of networking protocol is sent to the database.
The connection request based on view networking protocol is received depending on networking distributed data base framework services termination, is converted into
The connection request of internet protocol-based.Specifically, depending on networking distributed data base framework services end to based on view networking protocol
Connection request parsed, extract the related data of connection request;Depending on networking distributed data base framework services end using mutual
Networking protocol is packaged connection request, obtains the connection request of internet protocol-based.
Depending on networking distributed data base framework services end by TCP connection, the connection request of internet protocol-based is turned
It is sent to database.
Step 603, depending on networking distributed data base framework services end receive that the database returns based on internet protocol
The connection response of the internet protocol-based is converted to the connection response based on view networking protocol by the connection response of view, and
The connection response based on depending on networking protocol is forwarded to the view networking distributed data base frame client.
After database receives connection request, connection response can be returned to for connection request.For example, can verify is
It is no that internet client connection (whether such as verifying internet client is legal) allowed, permission is returned if allowing to connect
Connection response returns if forbidding connection and forbids connection response.
Database encapsulates connection response using Internet protocol (such as TCP), and by TCP connection, will be based on internet protocol
The connection response of view is back to view networking distributed data base framework services end.
The connection response that internet protocol-based is received depending on networking distributed data base framework services termination, is converted into
Connection response based on view networking protocol.Specifically, depending on networking distributed data base framework services end to internet protocol-based
Connection response parsed, extract the related data of connection response;Connection response is packaged using depending on networking protocol, is obtained
To the connection response based on view networking protocol.
Depending on networking distributed data base framework services end by view networking, the connection response based on view networking protocol is forwarded
To view networking distributed data base frame client.
Step 604, the connection response based on view networking protocol is received depending on networking distributed data base frame client,
The connection response based on depending on networking protocol is converted to the connection response of internet protocol-based, and will be described based on interconnection
The connection response of fidonetFido is back to the internet client.
The connection response based on view networking protocol is received depending on networking distributed data base frame client, is converted into
The connection response of internet protocol-based.Specifically, depending on networking distributed data base frame client to based on view networking protocol
Connection response parsed, extract the related data of connection response;Depending on networking distributed data base frame client using mutual
Networking protocol is packaged connection response, obtains the connection response of internet protocol-based.
Depending on networking distributed data base frame client by TCP connection, the connection response of internet protocol-based is turned
It is sent to internet client.
If internet client receives permission connection response, successful connection forbids connection response if received
Then connection failure.The information transmission between internet client and database can be carried out after successful connection.
Step 605, in uplink, the view networking distributed data base frame client receives the internet client
The first information of the internet protocol-based of transmission is converted to the first information of the internet protocol-based based on view networking
The first information of agreement, and the first information based on depending on networking protocol is forwarded to the view networking distributed data base frame
Frame server-side.
Step 605 is identical as above-mentioned steps 501, referring in particular to the associated description of step 501.
Step 606, the first information based on view networking protocol is received depending on networking distributed data base framework services end,
The first information based on depending on networking protocol is converted to the first information of internet protocol-based, and will be described based on interconnection
The first information of fidonetFido is sent to the database.
Step 606 is identical as above-mentioned steps 502, referring in particular to the associated description of step 502.
Step 607, described to receive what the database returned depending on networking distributed data base framework services end in downlink
Second information of internet protocol-based is converted to the second information of the internet protocol-based based on view networking protocol
Second information, and second information based on depending on networking protocol is forwarded to the view networking distributed data base frame client
End.
In the embodiment of the present invention, downlink refers to by the direction of database to internet client.
Database obtains corresponding second information for the first information, using the second letter of Internet protocol (such as TCP) encapsulation
Breath, obtains the Internet protocol data packet, the second information is added in the Payload of the Internet protocol data packet.Due to second
Information is sent by database, therefore the format of the second information is that database corresponds to format.
Database is by TCP connection, and by the second information of internet protocol-based, (namely itself encapsulates obtained internet
Protocol data packet) it is back to view networking distributed data base framework services end.
The second information that internet protocol-based is received depending on networking distributed data base framework services termination, is converted into
The second information based on view networking protocol.Specifically, depending on networking distributed data base framework services end to internet protocol-based
The second information parsed, extract the second information;The second information is packaged using depending on networking protocol, is obtained based on view connection
Second information of fidonetFido.In the implementation, depending on networking distributed data base framework services end to the Internet protocol number received
It is parsed according to packet, the second information that database corresponds to format is extracted from Payload, for example carry out the parsing of MySQL sentence, mentioned
Take the second information of MySQL format;Again using view networking protocol encapsulate the second information, obtain view networking protocol data packet, second
Information is added to the Payload of view networking protocol data packet.
Depending on networking distributed data base framework services end by view networking, by based on view networking protocol the second information (
I.e. itself encapsulation the second information obtain depending on networking protocol data packet) be forwarded to view networking distributed data base frame client.
Step 608, second information based on view networking protocol is received depending on networking distributed data base frame client,
Second information based on depending on networking protocol is converted to the second information of internet protocol-based, and will be described based on interconnection
Second information of fidonetFido is back to the internet client.
The second information based on view networking protocol is received depending on networking distributed data base frame client, is converted into
Second information of internet protocol-based.Specifically, depending on networking distributed data base frame client to based on view networking protocol
The second information parsed, extract the second information;Internet protocol pair is used depending on networking distributed data base frame client
Second information is packaged, and obtains the second information of internet protocol-based.In the implementation, depending on distributed data base frame of networking
Client is parsed to what is received depending on networking protocol data packet, and database is extracted from Payload and corresponds to the second of format
Information, for example the parsing of MySQL sentence is carried out, extract the second information of MySQL format;Again using the second letter of Internet protocol encapsulation
Breath, obtains the Internet protocol data packet, the second information is added to the Payload of the Internet protocol data packet.
Depending on networking distributed data base frame client by TCP connection, by the second information of internet protocol-based (
I.e. itself encapsulates the Internet protocol data packet that the second information obtains) it is forwarded to internet client.To realize by database
Information to the direction of internet client is transmitted.
In a kind of optionally embodiment, the first information may include data, it is also possible to which comprising signaling, (signaling be can wrap
Include request and response).If the first information includes data, it is distributed depending on networking distributed data base frame client to view networking
There may be packet drops when formula database framework server-side sends the first information, thus by described based on view networking protocol
The first information is converted to the first information of internet protocol-based, and the first information of the internet protocol-based is sent to
Before the database further include: the judgement first information based on view networking protocol whether packet loss.
Based on the first information for regarding networking protocol as the view networking protocol data packet form comprising data, the first information has
Packet serial number.Judgement it is described based on first information depending on networking protocol whether packet loss the step of may include: view networking distribution number
The first information based on depending on networking protocol is parsed according to library framework services end, extracts the Bao Xu of the first information
Number;According to the packet serial number of the first information judge the first information whether packet loss.In the implementation, depending on distributed data of networking
Library framework services end is parsed to what is received depending on networking protocol data packet, therefrom extracts packet serial number;Again by the Bao Xu of extraction
Number with historical reception to the packet serial number of the first information be compared, if the packet serial number for the first information that historical reception arrives and the
There is the packet serial number lost between the packet serial number of one information, it is determined that first information packet loss loses view networking protocol data packet
The corresponding view networking protocol data packet of the packet serial number of as above-mentioned loss.
In non-packet loss, the first information based on view networking protocol is converted depending on networking distributed data base framework services end
For the first information of internet protocol-based, and the first information of internet protocol-based is sent to database.Referring in particular to
The associated description of above-mentioned steps 502.
In packet loss, first based on view networking protocol is retransmitted into request hair depending on networking distributed data base framework services end
It send to view networking distributed data base frame client.Depending on networking distributed data base framework services end using view networking protocol pair
First, which retransmits request, is packaged, and obtains first based on view networking protocol and retransmits request;By that will be networked based on view depending on networking
The first of agreement retransmits request and is forwarded to view networking distributed data base frame client.It may include losing in first repeating transmission request
The packet serial number of mistake.
The first repeating transmission request is received depending on networking distributed data base frame client, the packet serial number pair of loss can be retransmitted
The view networking protocol data packet (namely first information based on view networking protocol) answered.Depending on distributed data base framework services of networking
It terminates rating networking distributed data base frame client and retransmits request, first based on view networking protocol of repeating transmission for first
Information.It can judge the first information based on view networking protocol received again depending on networking distributed data base framework services end
Whether packet loss, and as procedure described above circulation execute corresponding operating.
In a kind of optionally embodiment, the second information may include data, it is also possible to which comprising signaling, (signaling be can wrap
Include request and response).If the second information includes data, it is distributed depending on networking distributed data base framework services end to view networking
There may be packet drops when formula database framework client sends the second information, thus by described based on view networking protocol
Second information is converted to the second information of internet protocol-based, and the second information of the internet protocol-based is back to
Before the internet client further include: judgement second information based on view networking protocol whether packet loss.
Based on the second information for regarding networking protocol as the view networking protocol data packet form comprising data, the second information has
Packet serial number.Judgement it is described based on the second information depending on networking protocol whether packet loss the step of may include: view networking distribution number
Second information based on depending on networking protocol is parsed according to library frame client, extracts the Bao Xu of second information
Number;According to the packet serial number of second information judge second information whether packet loss.Reference judges the first information in the implementation
Whether the process of packet loss.
In non-packet loss, the second information based on view networking protocol is converted depending on networking distributed data base frame client
For the second information of internet protocol-based, and the second information of internet protocol-based is back to internet client.Tool
Associated description of the body referring to above-mentioned steps 608.
In packet loss, second based on view networking protocol is retransmitted into request hair depending on networking distributed data base frame client
It send to view networking distributed data base framework services end.Depending on networking distributed data base frame client using view networking protocol pair
Second, which retransmits request, is packaged, and obtains second based on view networking protocol and retransmits request;By that will be networked based on view depending on networking
The second of agreement retransmits request and is forwarded to view networking distributed data base framework services end.It may include losing in second repeating transmission request
The packet serial number of mistake.
The second repeating transmission request is received depending on networking distributed data base framework services termination, the packet serial number pair of loss can be retransmitted
The view networking protocol data packet (namely second information based on view networking protocol) answered.Depending on the distributed data base frame client that networks
It terminates rating networking distributed data base framework services end and retransmits request, second based on view networking protocol of repeating transmission for second
Information.It can judge the second information based on view networking protocol received again depending on networking distributed data base frame client
Whether packet loss, and as procedure described above circulation execute corresponding operating.
By judging packet loss situation, it can guarantee that data proactive notification opposite end when losing carries out repeating transmission behaviour
Make, to guarantee the reliability of data transmission, reduces the maintenance cost generated by the error of loss of data initiator.
In a kind of optionally embodiment, in order to reduce the burden of database, multiple databases, every number can be set
A region is respectively corresponded to according to library.For example a database can be set for each province, or be arranged one for each city
Database, etc..Therefore, therefore, the first information based on depending on networking protocol is being converted into internet protocol-based
The first information, and the first information of the internet protocol-based is sent to before the database further include: described in determining
The corresponding target database of the first information based on view networking protocol.If being made whether the judgement of packet loss, in non-packet loss,
The first information based on depending on networking protocol is converted to the first information of internet protocol-based, and will be described based on interconnection
The first information of fidonetFido is sent to before the database, determines the corresponding mesh of the first information based on view networking protocol
Mark database.
The first information includes the information of target area.Determine the corresponding target data of the first information based on view networking protocol
The step of library may include: view networking distributed data base framework services end to it is described based on view networking protocol the first information into
Row parsing, extracts the information of the target area;According to the information of the target area, search which the target area is located at
In the corresponding region of database, determine that the database found is target database.Wherein, the information of target area can be mutual
The information of networked clients affiliated area, or the information in region, etc. of user's input.
After determining target database, depending on networking distributed data base framework services end by based on view networking protocol first
Information is converted to the first information of internet protocol-based, and the first information of internet protocol-based is sent to target data
Library.Referring in particular to the associated description of above-mentioned steps 502.
In the case of this kind, in downlink, view networking distributed data base framework services end receives the target data
Second information of the internet protocol-based that library returns is converted to the second information of the internet protocol-based based on view connection
Second information of fidonetFido, and second information based on depending on networking protocol is forwarded to the view networking distributed data base
Frame client;The view networking distributed data base frame client receives second information based on view networking protocol,
Second information based on depending on networking protocol is converted to the second information of internet protocol-based, and will be described based on interconnection
Second information of fidonetFido is back to the internet client.
It is described that the base that the internet client is sent is received depending on networking distributed data base frame client in connection
In the connection request of Internet protocol, the connection request of the internet protocol-based is converted into the company based on view networking protocol
Request is connect, and the connection request based on depending on networking protocol is sent to the view networking distributed data base framework services
End;View networking distributed data base framework services end receives the connection request based on view networking protocol, by the view
It is converted into the connection request of internet protocol-based based on the connection request depending on networking protocol, and by the internet protocol-based
Connection request be respectively sent to each database;View networking distributed data base framework services end receives each database
The connection response of the internet protocol-based respectively returned is converted to the connection response of the internet protocol-based based on view
The connection response of networking protocol, and the connection response based on depending on networking protocol is forwarded to the view networking distributed data
Library frame client;The view networking distributed data base frame client receives the connection based on view networking protocol and rings
It answers, the connection response based on depending on networking protocol is converted to the connection response of internet protocol-based, and be based on by described in
The connection response of Internet protocol is back to the internet client.
By distributed data base, data can be dispersed to be stored in multiple and different databases, and dynamic
Increase database to realize the linear expansion of memory capacity, to enhance the scalability of system, stability and execution efficiency, protects
Card system can store the data of magnanimity, and by the database of the access of region convenient storage and any one region of management.
In practical applications, data, such as write-in monitoring resource information can be written in internet client into database,
The login account information, etc. of user is written.In the case of this kind, internet client sends the first information comprising data, warp
By view networking distributed data base frame client and view networking distributed data base framework services end, by first comprising data
Information is sent to database.Database receives the first information comprising data and stores to it, and database is returned comprising letter
The second information for enabling (such as memory response), via view networking distributed data base framework services end and view networking distributed data base
The second information comprising signaling is returned to internet client by frame client.
Internet client can read data from database, for example read monitoring resource information, read the note of user
Volume account information, etc..In the case of this kind, internet client sends the first information comprising signaling (such as read requests), warp
By view networking distributed data base frame client and view networking distributed data base framework services end, by first comprising signaling
Information is sent to database.Database receives the first information comprising signaling and inquires corresponding data, as wrapped in read requests
The information for including target data, inquires the corresponding data of information of target data, and database returns to the comprising the data that inquire
Two information via view networking distributed data base framework services end and regard networking distributed data base frame client, will include
Second information of the data inquired returns to internet client.
For example, user by internet terminal carry out higher level (such as the region of internet terminal be city, then higher level be
Save) server carry out account register.Internet terminal first can superior server registration correction verification module send verification ask
It asks, after registration correction verification module receives verification request, inquires the local login account information that whether there is the user from database,
And query result is returned into internet terminal.Internet terminal receives query result, if there is no the registration account of the user
Family information then completes the registration of the user by registration module.After succeeding in registration, the login account of the internet terminal user is believed
Breath is saved in local primary database.Internet terminal is by the login account information of the user increased newly in primary database according to upper
Information processing method is stated to be written to from database.In the implementation, internet terminal is by the user's increased newly in primary database
Login account information is written in binglog file, and sends binglog file to by TCP connection point of view networking
Cloth database framework client, depending on networking distributed data base frame client by sending binglog file depending on networking
Distributed data base framework services end is given, binglog file is sent to by distributed data base framework services end by TCP connection
From database, it is written to locally in database from database by the data information in binglog file.Therefore, when with
Family is in registration, it is ensured that the uniqueness of the login account information of user.
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.
Embodiment three
Referring to Fig. 7, a kind of structural block diagram of information processing unit of the embodiment of the present invention three is shown.The embodiment of the present invention
Information processing unit can be applied to view networking in, view networking in include view networking distributed data base frame client and
It include internet client and database in internet depending on distributed data base framework services end of networking.
The information processing unit of the embodiment of the present invention may include following positioned at view networking distributed data base frame client
Module in end and view networking distributed data base framework services end:
It is described to include: depending on networking distributed data base frame client
First information receiving module 701, in uplink, receive that the internet client sends based on internet
The first information of agreement;
First information forwarding module 702, for being converted to the first information of the internet protocol-based based on view connection
The first information of fidonetFido, and the first information based on depending on networking protocol is forwarded to the view networking distributed data base
Framework services end;
It is described to include: depending on networking distributed data base framework services end
Second information receiving module 703, for receiving the first information based on view networking protocol;
Second information forwarding module 704, for being converted to the first information based on depending on networking protocol based on interconnection
The first information of fidonetFido, and the first information of the internet protocol-based is sent to the database.
In a kind of optional embodiment, view networking distributed data base framework services end further include: third information
Receiving module, in downlink, receiving the second information of the internet protocol-based that the database returns;Third information turns
Module is sent out, for the second information of the internet protocol-based to be converted to the second information based on view networking protocol, and will
Second information based on depending on networking protocol is forwarded to the view networking distributed data base frame client.The view networking
Distributed data base frame client further include: the 4th information receiving module, for receiving the based on view networking protocol
Two information;4th information forwarding module, for being converted to second information based on depending on networking protocol based on internet protocol
Second information of view, and the second information of the internet protocol-based is back to the internet client.
In a kind of optional embodiment, the view networking distributed data base frame client further include: the first request
Receiving module, for receiving the connection request for the internet protocol-based that the internet client is sent in connection;First
Forwarding module is requested, for the connection request of the internet protocol-based to be converted into asking based on the connection depending on networking protocol
It asks, and the connection request based on depending on networking protocol is sent to view networking distributed data base framework services end.Institute
State view networking distributed data base framework services end further include: the second request receiving module, it is described based on view networking for receiving
The connection request of agreement;Second request forwarding module, for by described depending on being converted into base based on the connection request depending on networking protocol
The database is sent in the connection request of Internet protocol, and by the connection request of the internet protocol-based;First
Receiving module is responded, for receiving the connection response for the internet protocol-based that the database returns;First response forwarding mould
Block, for the connection response of the internet protocol-based to be converted to the connection response based on view networking protocol, and will be described
The view networking distributed data base frame client is forwarded to based on the connection response depending on networking protocol.The view networking distribution
Formula database framework client further include: the second response receiving module is rung for receiving the connection based on view networking protocol
It answers;Second response forwarding module, for the connection response based on depending on networking protocol to be converted to internet protocol-based
Connection response, and the connection response of the internet protocol-based is back to the internet client.
In a kind of optional embodiment, the first information forwarding module includes: the first analyzing sub-module, for institute
The first information for stating internet protocol-based is parsed, and the first information is extracted;First encapsulation submodule, for using view
Networking protocol is packaged the first information, obtains the first information based on view networking protocol.
In a kind of optional embodiment, second information forwarding module includes: the second analyzing sub-module, for institute
It states and is parsed based on the first information depending on networking protocol, extract the first information;Second encapsulation submodule, for using mutual
Networking protocol is packaged the first information, obtains the first information of internet protocol-based.
In a kind of optional embodiment, view networking distributed data base framework services end further include: the first judgement
Module, for the first information based on depending on networking protocol to be converted to internet protocol-based in the second information forwarding module
The first information, and before the first information of the internet protocol-based is sent to the database, be based on described in judgement
Depending on networking protocol the first information whether packet loss.Second information forwarding module, for view networking described will to be based in non-packet loss
The first information of agreement is converted to the first information of internet protocol-based, and by the first information of the internet protocol-based
It is sent to the database.
In a kind of optional embodiment, the view networking distributed data base frame client further include: the second judgement
Module, for second information based on depending on networking protocol to be converted to internet protocol-based in the 4th information forwarding module
The second information, and before the second information of the internet protocol-based is back to the internet client, judge institute
State based on view networking protocol the second information whether packet loss.4th information forwarding module, for being based on by described in non-packet loss
Be converted to the second information of internet protocol-based depending on the second information of networking protocol, and by the of the internet protocol-based
Two information are back to the internet client.
In a kind of optional embodiment, view networking distributed data base framework services end further include: determining module,
For the first information based on depending on networking protocol to be converted to the of internet protocol-based in the second information forwarding module
One information, and before the first information of the internet protocol-based is sent to the database, it determines described based on view connection
The corresponding target database of the first information of fidonetFido.Second information forwarding module, for by described based on view networking protocol
The first information is converted to the first information of internet protocol-based, and the first information of the internet protocol-based is sent to
The target database.
It can be by view networking distributed data base frame client and view networking distributed data base in the embodiment of the present invention
Framework services end carries out protocol conversion and information forwarding, realizes the internet not connected by internet directly by view networking
Information transmission between client and database, and transmission speed is faster.
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 information processing method provided by the present invention and a kind of information processing unit, 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 information processing method, which is characterized in that the method is applied in view networking, includes view networking in view networking
Distributed data base frame client and view networking distributed data base framework services end, include Internet subscribers in internet
End and database, which comprises
In uplink, it is described depending on networking distributed data base frame client receive that the internet client sends based on mutual
The first information of the internet protocol-based is converted to the first letter based on view networking protocol by the first information of networking protocol
Breath, and the first information based on depending on networking protocol is forwarded to view networking distributed data base framework services end;
View networking distributed data base framework services end receives the first information based on view networking protocol, by the base
The first information of internet protocol-based is converted in the first information depending on networking protocol, and by the internet protocol-based
The first information is sent to the database.
2. the method according to claim 1, wherein the method also includes:
In downlink, it is described depending on networking distributed data base framework services end receive that the database returns based on internet protocol
Second information of the internet protocol-based is converted to the second information based on view networking protocol by the second information of view, and
Second information based on depending on networking protocol is forwarded to the view networking distributed data base frame client;
The view networking distributed data base frame client receives second information based on view networking protocol, by the base
The second information of internet protocol-based is converted in the second information depending on networking protocol, and by the internet protocol-based
Second information is back to the internet client.
3. the method according to claim 1, wherein the method also includes:
In connection, the view networking distributed data base frame client receive internet client transmission based on mutual
The connection request of the internet protocol-based is converted into asking based on the connection depending on networking protocol by the connection request of networking protocol
It asks, and view networking distributed data base framework services end will be sent to based on the connection request depending on networking protocol;
View networking distributed data base framework services end receives the connection request based on view networking protocol, by the view
It is converted into the connection request of internet protocol-based based on the connection request depending on networking protocol, and by the company of internet protocol-based
It connects request and is sent to the database;
The connection that the internet protocol-based that the database returns is received depending on networking distributed data base framework services end
The connection response of the internet protocol-based is converted to the connection response based on view networking protocol by response, and will be based on view
The connection response of networking protocol is forwarded to the view networking distributed data base frame client;
The view networking distributed data base frame client receives the connection response based on view networking protocol, by the base
The connection response of internet protocol-based is converted in the connection response depending on networking protocol, and by the connection of internet protocol-based
Response is back to the internet client.
4. the method according to claim 1, wherein the first information by the internet protocol-based turns
The step of being changed to the first information based on view networking protocol, comprising:
It is described that the first information of the internet protocol-based is parsed depending on networking distributed data base frame client, it mentions
Take the first information;
Described use depending on networking distributed data base frame client is packaged the first information depending on networking protocol, obtains
The first information based on view networking protocol.
5. the method according to claim 1, wherein described turn the first information based on view networking protocol
The step of being changed to the first information of internet protocol-based, comprising:
It is described that the first information based on depending on networking protocol is parsed depending on networking distributed data base framework services end, it mentions
Take the first information;
It is described that the first information is packaged using Internet protocol depending on networking distributed data base framework services end, it obtains
The first information of internet protocol-based.
6. a kind of information processing unit, which is characterized in that described device is applied in view networking, includes view networking in view networking
Distributed data base frame client and view networking distributed data base framework services end, include Internet subscribers in internet
End and database;
It is described to include: depending on networking distributed data base frame client
First information receiving module is used in uplink, receives the internet protocol-based that the internet client is sent
The first information;
First information forwarding module, for being converted to the first information of the internet protocol-based based on view networking protocol
The first information, and the first information based on depending on networking protocol is forwarded to the view networking distributed data base framework services
End;
It is described to include: depending on networking distributed data base framework services end
Second information receiving module, for receiving the first information based on view networking protocol;
Second information forwarding module, for the first information based on depending on networking protocol to be converted to internet protocol-based
The first information, and the first information of the internet protocol-based is sent to the database.
7. device according to claim 6, which is characterized in that
View networking distributed data base framework services end further include:
Third information receiving module, in downlink, receiving the second letter of the internet protocol-based that the database returns
Breath;
Third information forwarding module, for being converted to the second information of the internet protocol-based based on view networking protocol
Second information, and second information based on depending on networking protocol is forwarded to the view networking distributed data base frame client
End;
The view networking distributed data base frame client further include:
4th information receiving module, for receiving second information based on view networking protocol;
4th information forwarding module, for second information based on depending on networking protocol to be converted to internet protocol-based
Second information, and the second information of the internet protocol-based is back to the internet client.
8. device according to claim 6, which is characterized in that
The view networking distributed data base frame client further include:
First request receiving module, for receiving the internet protocol-based that the internet client is sent in connection
Connection request;
First request forwarding module, for being converted into the connection request of the internet protocol-based based on view networking protocol
Connection request, and the connection request based on depending on networking protocol is sent to the view networking distributed data base framework services
End;
View networking distributed data base framework services end further include:
Second request receiving module, for receiving the connection request based on view networking protocol;
Second request forwarding module, for by described depending on being converted into internet protocol-based based on the connection request depending on networking protocol
Connection request, and the connection request of the internet protocol-based is sent to the database;
First response receiving module, for receiving the connection response for the internet protocol-based that the database returns;
First response forwarding module, for being converted to the connection response of the internet protocol-based based on view networking protocol
Connection response, and the connection response based on depending on networking protocol is forwarded to the view networking distributed data base frame client
End;
The view networking distributed data base frame client further include:
Second response receiving module, for receiving the connection response based on view networking protocol;
Second response forwarding module, for the connection response based on depending on networking protocol to be converted to internet protocol-based
Connection response, and the connection response of the internet protocol-based is back to the internet client.
9. device according to claim 6, which is characterized in that the first information forwarding module includes:
First analyzing sub-module is parsed for the first information to the internet protocol-based, extracts first letter
Breath;
First encapsulation submodule, for using being packaged depending on networking protocol to the first information, obtaining based on view networking association
The first information of view.
10. device according to claim 6, which is characterized in that second information forwarding module includes:
Second analyzing sub-module extracts first letter for parsing to the first information based on depending on networking protocol
Breath;
Second encapsulation submodule is obtained for being packaged using Internet protocol to the first information based on internet protocol
The first information of view.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811647874.0A CN109861984A (en) | 2018-12-29 | 2018-12-29 | Information processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811647874.0A CN109861984A (en) | 2018-12-29 | 2018-12-29 | Information processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109861984A true CN109861984A (en) | 2019-06-07 |
Family
ID=66893517
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811647874.0A Pending CN109861984A (en) | 2018-12-29 | 2018-12-29 | Information processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109861984A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106161335A (en) * | 2015-03-25 | 2016-11-23 | 北京视联动力国际信息技术有限公司 | A kind for the treatment of method and apparatus of network packet |
CN108075920A (en) * | 2016-11-14 | 2018-05-25 | 北京视联动力国际信息技术有限公司 | A kind of management method and system regarding networked terminals |
CN108173804A (en) * | 2016-12-07 | 2018-06-15 | 北京视联动力国际信息技术有限公司 | It is a kind of to access the method for internet and regarding connection cat client by regarding networking |
CN108173803A (en) * | 2016-12-07 | 2018-06-15 | 北京视联动力国际信息技术有限公司 | It is a kind of to access the method for internet and regarding connection cat server-side by regarding networking |
CN108234421A (en) * | 2016-12-21 | 2018-06-29 | 北京视联动力国际信息技术有限公司 | It is a kind of to regard networked terminals and the method and system of internet terminal audio data intercommunication |
CN108881141A (en) * | 2017-11-23 | 2018-11-23 | 北京视联动力国际信息技术有限公司 | A kind of data processing method and device based on view networking |
-
2018
- 2018-12-29 CN CN201811647874.0A patent/CN109861984A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106161335A (en) * | 2015-03-25 | 2016-11-23 | 北京视联动力国际信息技术有限公司 | A kind for the treatment of method and apparatus of network packet |
CN108075920A (en) * | 2016-11-14 | 2018-05-25 | 北京视联动力国际信息技术有限公司 | A kind of management method and system regarding networked terminals |
CN108173804A (en) * | 2016-12-07 | 2018-06-15 | 北京视联动力国际信息技术有限公司 | It is a kind of to access the method for internet and regarding connection cat client by regarding networking |
CN108173803A (en) * | 2016-12-07 | 2018-06-15 | 北京视联动力国际信息技术有限公司 | It is a kind of to access the method for internet and regarding connection cat server-side by regarding networking |
CN108234421A (en) * | 2016-12-21 | 2018-06-29 | 北京视联动力国际信息技术有限公司 | It is a kind of to regard networked terminals and the method and system of internet terminal audio data intercommunication |
CN108881141A (en) * | 2017-11-23 | 2018-11-23 | 北京视联动力国际信息技术有限公司 | A kind of data processing method and device based on view networking |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108023910B (en) | A kind of terminal monitoring method and system based on view networking | |
CN109120962A (en) | The method and apparatus of software terminal connection view networking | |
CN108965224A (en) | A kind of method and apparatus of video on demand | |
CN108616549A (en) | A kind of file uploading method and file server | |
CN108965223A (en) | It is a kind of based on view networking web page processing method, proxy server and view networked terminals | |
CN109996086A (en) | A kind of view networking service method for inquiring status and device | |
CN108880851A (en) | A kind of method and interactive system that configuration updates | |
CN109889779A (en) | A kind for the treatment of method and apparatus of packet out-ordering | |
CN110062195A (en) | A kind of video conference cut-in method and system | |
CN109743526A (en) | A kind of communication connection method for building up and system based on view networking | |
CN108307212A (en) | A kind of file order method and device | |
CN110048903A (en) | A kind of association turns gateway status monitoring method and device | |
CN110138633A (en) | A kind of storage gateway method of network entry and device | |
CN109347844A (en) | A kind of method and device of equipment access internet | |
CN110138513A (en) | A kind of data transmission method and view networked system | |
CN109151519A (en) | A kind of configuration distribution method and system based on view networking | |
CN110278244A (en) | A kind of method of network entry and view networked terminals based on view networking | |
CN110266577A (en) | A kind of tunnel establishing method and view networked system | |
CN110022500A (en) | A kind of loss treating method and device | |
CN110022353A (en) | It is a kind of to service shared method and view networked system | |
CN109698859A (en) | A kind of date storage method and device based on view networking | |
CN109587524A (en) | It is a kind of to regard networked resources and device to internet terminal is synchronous | |
CN109586851A (en) | Data transmission method and device based on view networking | |
CN110392289A (en) | A kind of processing method and system of account | |
CN108964966A (en) | A kind of parameter information update method and device based on view networking |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190607 |
|
RJ01 | Rejection of invention patent application after publication |